English
Language : 

W5500 Datasheet, PDF (52/65 Pages) List of Unclassifed Manufacturers – Supports 8 independent sockets simultaneously
Sn_DIPR (Socket n Destination IP Address Register)
[R/W] [0x000C-0x000F] [0x00000000]
Sn_DIPR configures or indicates the destination IP address of Socket n. It is valid
when Socket n is used in TCP/UDP mode.
In TCP client mode, it configures an IP address of „TCP server‟ before CONNECT
command.
In TCP server mode, it indicates an IP address of „TCP client‟ after successfully
establishing connection.
In UDP mode, it configures an IP address of peer to be received the UDP packet by
SEND or SEND_MAC command.
Ex) In case of Socket 0 Destination IP address = 192.168.0.11, configure as below.
0x000C
0x000D
0x000E
0x000F
192 (0xC0)
168 (0xA8)
0 (0x00)
11 (0x0B)
Sn_DPORT (Socket n Destination Port Register) [R/W] [0x0010-0x0011] [0x00]
Sn_DPORT configures or indicates the destination port number of Socket n. It is
valid when Socket n is used in TCP/UDP mode.
In TCP client mode, it configures the listen port number of „TCP server‟ before
CONNECT command.
In TCP server mode, it indicates the port number of „TCP client‟ after successfully
establishing connection.
In UDP mode, it configures the port number of peer to be transmitted the UDP
packet by SEND/SEND_MAC command.
Ex) In case of Socket 0 Destination Port = 5000(0x1388), configure as below,
0x0010
0x0011
0x13
0x88
52 / 65
W5500 Datasheet Version1.0 (August 2013)