Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/01/08 11:29
Read: times


 
#157881 - I am on to UDP now
Responding to: ???'s previous message
Hi Raj,

Sorry I am replying this late. But have been working furiously in the meantime : Bought a WIZ810MJ module; interfaced it to a Silab kit SPI interface ; coded the basic requirements and I am quite happy to say that yesterday the module started responding to Ping requests. Not a award winning achievement - but to learn, understand and do it on your own is the fun part.

Now I want to upgrade to the next level - UDP - and send data to the Laptop once every 100mS. The data is simply this :

"AIN0 Channel xxx.xx Bar
AIN1 Channel yyy.yy Nm"

Just to make sure I am on right track :
- Write the following to the relevant registers on 810MJ module:

* INIT the module.
* Open Socket_0 and assign 8K memory to TX and RX.
* Set the mode to UDP.
* Assign "5000" as the Socket_0 port.
* Open the socket and verify if its in UDP mode.
* Write the IP number of my laptop.
* Write the port number to use on my laptop ( how to find this port number ?)
* Write the data to transmitt memory with proper offset etc.
* Write the command to "Send"

- Would the above be adequate ? Do I need to close the socket after every transmission or do I close when I decide to power down ?

Thanks

Raghu

List of 27 messages in thread
TopicAuthorDate
MCU to Ethernet            01/01/70 00:00      
   Other options            01/01/70 00:00      
      Data throughput            01/01/70 00:00      
         Depends on granularity and reuse of connection.            01/01/70 00:00      
         There's more to it than just ethernet...!            01/01/70 00:00      
            Development kit            01/01/70 00:00      
               describing SILabs            01/01/70 00:00      
         UDP            01/01/70 00:00      
            UDP and other such..            01/01/70 00:00      
            Got the data on the ethernet....then            01/01/70 00:00      
               Most likely            01/01/70 00:00      
                  As much as I guessed..            01/01/70 00:00      
                  Free PC Develeopment Tools            01/01/70 00:00      
   Wiznet module            01/01/70 00:00      
      Wiznet modules...            01/01/70 00:00      
   Wiz810MJ or ENC28J60            01/01/70 00:00      
      web link required            01/01/70 00:00      
         Did you not think to try...            01/01/70 00:00      
            I tried....            01/01/70 00:00      
               Ethernet interface            01/01/70 00:00      
                  I am on to UDP now            01/01/70 00:00      
                     Raj            01/01/70 00:00      
                        UDP but only once !!            01/01/70 00:00      
                     Port Numbers and a Simple UDP Test Tool            01/01/70 00:00      
                        Ports , Test tools ...            01/01/70 00:00      
                           Price            01/01/70 00:00      
                              Amount paid to ESS            01/01/70 00:00      

Back to Subject List