English
Language : 

W3150 Datasheet, PDF (44/59 Pages) List of Unclassifed Manufacturers – WIZnet’s Online Technical Support
1. In case of IP raw, 6byte header is attached to the data received. The header structure is as below.
IP Address (4)
Data Size (2) (*Data size except for 6 bytes of header)
2. Read the value of Socket n RX Read Pointer Register(Sn_RX_RR), and find out the starting
address of received data.
3. Read the header information (6byte) from the address figured out at above ‘2’ of RX Memory.
4. Get the IP address of remote peer and data size from the header.
5. Read the received data from the RX Memory as much as the dat size of above ‘4’. The starting
number is the (vaule of above ‘2’ +6).
6. Increase the value of Socket n RX Read Pointer Register(Sn_RX_RR) as much as “Value of Data
size field + 6”
7. Give RECV command to Socket n Command Register(Sn_CR).
Send DATA? / Sending Process
Data transmission process is as below,
1. Write the IP address information of the remote peer on Socket n Destination IP Address
Register(Sn_DIPR).
2. Find out TX Memory free size by reading the value of Socket n TX Free Size Register
(Sn_TX_FSR).
3. Read the value of Socket n TX Write Pointer Register(Sn_TX_WR) and find out the starting address
to write data to transmit.
4. Write data to transmit on TX Memory with the information of above ‘2’ & ‘3’. The size of transmitting
data should not be larger than the value of Socket n TX Free Size Register(Sn_TX_FSR).
5. Increase the value of Socket n TX Write Pointer Register(Sn_TX_WR) as much as the size of
transmitted data.
6. Give SEND commands to Socket n Command Register(Sn_CR).
Complete Sending
Timeout
Finished? / Socket Closed
Next actions are same as UDP. Refer to 5.2.2 UDP.
© Copyright 2005 WIZnet Co., Inc. All rights reserved.
ìíñëç