Datasheet
Table Of Contents
50 / 66 W5500 Datasheet Version1.0.9
0x42
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
Symbol
Description
0x15
SOCK_SYNSENT
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.
0x16
SOCK_SYNRECV
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’).
0x18
SOCK_FIN_WAIT
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.
0x1A
SOCK_CLOSING
0X1B
SOCK_TIME_WAIT
0X1D
SOCK_LAST_ACK
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’).