English
Language : 

W5500 Datasheet, PDF (50/65 Pages) List of Unclassifed Manufacturers – Supports 8 independent sockets simultaneously
0x02
SOCK_MACRAW
This indicates Socket 0 is opened in MACRAW mode
(S0_MR(P[3:0]) = „0100‟)and is valid only in Socket 0.
It changes to SOCK_MACRAW when S0_MR(P[3:0] = „0100‟
and OPEN command is ordered.
Like UDP mode socket, MACRAW mode Socket 0 can transfer
a MAC packet (Ethernet frame) without the connection-
process.
The following table shows a temporary status indicated during changing the status
of Socket n.
Value
0x15
Symbol
SOCK_SYNSENT
0x16
SOCK_SYNRECV
0x18 SOCK_FIN_WAIT
0x1A
SOCK_CLOSING
0X1B SOCK_TIME_WAIT
0X1D SOCK_LAST_ACK
Description
This indicates Socket n sent the connect-request packet
(SYN packet) to a peer.
It is temporarily shown when Sn_SR is changed from
SOCK_INIT to SOCK_ESTABLISHED by CONNECT command.
If connect-accept(SYN/ACK packet) is received from the
peer at SOCK_SYNSENT, it changes to SOCK_ESTABLISHED.
Otherwise, it changes to SOCK_CLOSED after TCPTO
(Sn_IR[TIMEOUT] = „1‟) is occurred.
It indicates Socket n successfully received the connect-
request packet (SYN packet) from a peer.
If socket n sends the response (SYN/ACK packet) to the
peer successfully, it changes to SOCK_ESTABLISHED. If not,
it changes to SOCK_CLOSED after timeout occurs
(Sn_IR[TIMEOUT] = „1‟).
These indicate Socket n is closing.
These are shown in disconnect-process such as active-close
and passive-close.
When Disconnect-process is successfully completed, or when
timeout occurs, these change to SOCK_CLOSED.
This indicates Socket n is waiting for the response (FIN/ACK
packet) to the disconnect-request (FIN packet) by passive-
close.
It changes to SOCK_CLOSED when Socket n received the
response successfully, or when timeout occurs
(Sn_IR[TIMEOUT] = „1‟).
50 / 65
W5500 Datasheet Version1.0 (August 2013)