Features:
- RP2040 microcontroller with 2MByte Flash
- Dual-core cortex M0+ at up to 133MHz
- 264kByte multi-bank high-performance SRAM
- External Quad-SPI Flash with execute In Place (XIP)
- High-performance full-crossbar bus fabric
- 30 multi-function General Purpose IO (4 can be used for ADC)
- 8-3.3V IO Voltage (NOTE. Pico IO voltage is fixed at 3.3V)
- 12-bit 500 ksps Analogue to Digital Converter (ADC)
- Various digital peripherals
- 2 × UART, 2 × I2C, 2 × SPI, 16 × PWM channels
- 1 × Timer with 4 alarms, 1 × Real Time Counter
- 2 × Programmable IO (PIO) blocks, 8 state machines total
- Flexible, user-programmable high-speed IO
- Can emulate interfaces such as SD Card and VGA
- Includes W5500
- Supports Hardwired Internet Protocols: TCP, UDP, ICMP, IPv4, ARP, IGMP, PPPoE
- Supports 8 Independent Hardware SOCKETs simultaneously
- Internal 32 Kbytes Memory for TX/ RX Buffers
- Supports High Speed Serial Peripheral Interface(SPI MODE 0, 3)
- USB type C port for power and data (and for reprogramming the Flash)
- 40 pin 21×51 ‘DIP’ style 1mm thick PCB with 0.1″ through-hole pins also with edge castellation
- 3-pin ARM Serial Wire Debug (SWD) port
- 10 / 100 Ethernet PHY embedded
- Supports Auto-Negotiation
- Full / Half Duplex
- 10 / 100 Based
- Built-in RJ45
- Built-in LDO
W5500 TCP Function: wiznet w5500 evb pico
By setting register and memory operation, W5500 provides internet connectivity.
Application:
- Industrial ethernet-based applications
- To display information via LAN network
- Development Board
Initialization:
You must check PHY LINK (0 bit of PHYCFGR) before attempting to make a network
connection using sockets.
Basic Setting:
For the W5500 operation, select and utilize appropriate registers shown below.
- Mode Register (MR)
- Interrupt Mask Register (IMR)
- Retry Time-value Register (RTR)
- Retry Count Register (RCR)
Data Communications:
After the initialization process, W5500 can transmit and receive the data with others by ‘opening’ the SOCKET of TCP, UDP, IPRAW, and MACRAW mode. The W5500 supports the independently and simultaneously usable 8 SOCKETS. In this section, the communication
method for each mode will be introduced.
TCP:
The TCP is a connection-oriented protocol. The TCP makes the connection SOCKET by using its IP address, port number, and destination IP address, port number. Then transmits and receives the data by using this SOCKET. Methods of making the SOCKET connection are “TCP SERVER” and “TCP CLIENT”. It is divided by transmitting the connect-request (SYN packet). The “TCP SERVER” listens to the connect-request from the “TCP CLIENT”, and makes the connection SOCKET by accepting the transmitted connect-request (Passive-open). The “TCP CLIENT” transmits the connect request first to the “TCP SERVER” to make the connection (Active-open).