The W55RP20 is a System-in-Package (SiP) developed by WIZnet, integrating Raspberry Pi's RP2040 microcontroller, WIZnet's W5500 Ethernet controller, and 2MB of Flash memory into a single chip. This repository contains firmware that implements Serial to Ethernet using the W55RP20.
These sections will provide how to configure development environment to develop and modify W55RP20-S2E.
To develop and modify W55RP20-S2E, the development environment must be configured so that RP2040 can be used.
These examples were tested after configuring the development environment on Windows. Please refer to 'Chapter 3: Installing the Raspberry Pi Pico VS Code Extension' in the document below and configure accordingly.
If you want development environments other than the development environment for Windows, note that you can find other ways to configure development environment in 'Chapter 9. Building on other platforms' section of the document above.
Image | Name | Etc |
---|---|---|
W55RP20-EVB-PICO | W55RP20 Document |
The W55RP20 has internal connections between the RP2040 and W5500 via GPIO pins. The connection table is as follows:
I/O | Pin Name | Description |
---|---|---|
O | GPIO20 | Connected to CSn on W5500 |
O | GPIO21 | Connected to SCLK on W5500 |
I | GPIO22 | Connected to MISO on W5500 |
O | GPIO23 | Connected to MOSI on W5500 |
I | GPIO24 | Connected to INTn on W5500 |
O | GPIO25 | Connected to RSTn on W5500 |
The function pins are as follows :
Function | Type | Pin Num | GPIO Num | Description |
---|---|---|---|---|
Debug_UART_Tx | O | 65 | 0 | Output Debug Messages |
Debug_UART_Rx | I | 66 | 1 | |
DATA_UART_TX_PIN | O | 9 | 4 | TX pin for Data UART transmission |
DATA_UART_RX_PIN | I | 10 | 5 | RX pin for Data UART reception |
DATA_UART_CTS_PIN | I | 11 | 6 | CTS pin for Data UART flow control |
DATA_UART_RTS_PIN | O | 12 | 7 | RTS pin for Data UART flow control When 485/422 selected by UART_IF_SEL pin, this pin act as 485/422 select pin. NC : 485 Low : 422 |
DATA_DTR_PIN | O | 14 | 8 | DTR pin for Data UART control |
DATA_DSR_PIN | I | 15 | 9 | DSR pin for Data UART control |
STATUS_PHYLINK_PIN | O | 16 | 10 | Output High when the PHY link is established |
STATUS_TCPCONNECT_PIN | O | 17 | 11 | Output High when TCP connection is active |
UART_IF_SEL_PIN | I | 18 | 12 | UART Interface select Input High : RS485/422, Low or Floating : RS232 |
HW_TRIG_PIN | I | 20 | 14 | When this pin is Low during a device reset, it enters AT Command Mode |
BOOT_MODE_PIN | I | 21 | 15 | When this pin is Low during a device reset, it enters Boot Mode |
FAC_RSTn_PIN | I | 40 | 18 | Holding Low for more than 5 seconds triggers a factory reset |
The W232N is an industrial module from WIZnet that applies the W55RP20-S2E firmware. For more detailed information, please refer to the documentation for this product.
Image | Name | Etc |
---|---|---|
W232N | W232N Document |
※ If the board pauses when rebooting using W55RP20-EVB-Pico, patch it as follows.
git apply ./patches/0001_pico_sdk_clocks.patch