How to Build Ethernet-to-UART Conversion with WIZnet W5500 on a PP-ETS-NR-Class Module?
PP-ETS-NR is a compact Ethernet-to-UART converter for commercial embedded systems that need to bridge serial devices to TCP/IP networks.
How to Build Ethernet-to-UART Conversion with WIZnet W5500 on a PP-ETS-NR-Class Module?
Summary
PP-ETS-NR is a compact Ethernet-to-UART converter for commercial embedded systems that need to bridge serial devices to TCP/IP networks. The public product page confirms UART-to-Ethernet conversion, Modbus TCP and Modbus RTU/ASCII conversion, 10/100 Mbps Ethernet, serial speeds up to 921 kbps, AT-command control, web configuration, industrial temperature operation, ESD protection, and a built-in unique MAC address. The page does not identify the internal Ethernet IC, so WIZnet usage cannot be verified from the product page alone. This project does not currently use WIZnet products. A W5500-based implementation would use WIZnet W5500 as the SPI-controlled Ethernet MAC/PHY and hardwired TCP/IP socket engine for a UART bridge.
What the Project Does
PP-ETS-NR acts as a serial-to-Ethernet protocol converter. Data received from serial devices is transmitted as TCP/IP data over Ethernet, and TCP/IP data received from the network is converted back into serial data for the attached device. This is a typical commercial device-server pattern for connecting existing UART equipment to Ethernet without redesigning the serial device itself.
The product page identifies several commercial features: UART-to-Ethernet protocol conversion, Modbus TCP and Modbus RTU/ASCII protocol conversion, 10/100 Mbps Ethernet, serial speeds up to 921 kbps, password protection for device search, UART serial AT commands, configuration through a PC configuration tool, web configuration, -40 to 85°C operating temperature, ESD protection, and a built-in unique MAC address.
The hardware-facing interface is designed for module integration. The product page lists MDI connection to a transformer or RJ45 with integrated transformer, LINK/ACT LED connection, active-low reset, P_SEL mode selection, UART Tx/Rx/RTS/CTS, and UART_RTS behavior for RS-422 or RS-485 selection.
Where WIZnet Fits
The public PP-ETS-NR page does not state that the module uses WIZnet silicon. For a WIZnet-based version of this architecture, the exact WIZnet product would be W5500. W5500 would sit between the host firmware and the Ethernet network, providing the 10/100 Ethernet MAC/PHY, hardwired TCP/IP stack, socket engine, and internal packet buffers.
In a W5500-based Ethernet-to-UART converter, the MCU would handle UART framing, AT-command parsing, Modbus RTU/ASCII parsing, configuration storage, and serial-side flow control. W5500 would handle Ethernet-side TCP/UDP transport, socket state, ARP, ICMP, IPv4, and buffering. WIZnet documents W5500 as a hardwired TCP/IP controller with SPI access up to 80 MHz, 8 independent sockets, and 32 KB internal Tx/Rx buffer memory.
This division is useful for commercial UART bridges because the application firmware can stay focused on serial timing, Modbus framing, configuration, and error handling, while the Ethernet controller handles socket-level network transport.
Implementation Notes
The PP-ETS-NR source is a product page, not a firmware repository, and it does not expose schematic files or source code. No project-specific code can be quoted.
A W5500-based implementation would use this architecture:
// Conceptual integration example based on WIZnet ioLibrary
reg_wizchip_cs_cbfunc(w5500_select, w5500_deselect);
reg_wizchip_spi_cbfunc(w5500_spi_read, w5500_spi_write);
wizchip_init(tx_size, rx_size);
wizchip_setnetinfo(&net_info);
socket(0, Sn_MR_TCP, local_port, 0);
listen(0);This code is conceptual. It shows the minimum W5500 network bring-up pattern: register MCU-specific SPI access, initialize socket buffers, apply network settings, open a TCP socket, and enter listen mode. In a real Ethernet-to-UART converter, the firmware would also run a UART receive loop, packetize serial data, send it through the W5500 socket, receive TCP payloads, and write them back to UART.
The PP-ETS-NR product page confirms that the module can be controlled through Ethernet-TCP using a configuration tool and through serial AT commands. In a W5500 design, those two control paths would normally map to a TCP configuration socket and a UART command parser.
Practical Tips / Pitfalls
- Keep UART and Ethernet buffering separate. W5500’s internal socket buffer does not replace the MCU-side UART ring buffer.
- Add backpressure handling. Serial speeds up to 921 kbps can still overrun firmware if TCP transmission stalls.
- Route reset and mode-selection pins clearly. PP-ETS-NR uses active-low reset and power-on mode selection pins, so the carrier board should avoid ambiguous boot states.
- Validate Modbus conversion with real master tools. Modbus TCP-to-RTU conversion needs transaction mapping, timeout handling, CRC handling on the serial side, and exception behavior.
- Treat LINK/ACT LEDs as service diagnostics. They help distinguish link faults from UART or protocol faults.
- Test ESD, cable removal, duplicate IP, and serial disconnect cases before commercial deployment.
FAQ
Q: Why use WIZnet W5500 for an Ethernet-to-UART converter?
A: W5500 provides a hardwired TCP/IP stack, 10/100 Ethernet MAC/PHY, 8 sockets, SPI host access, and internal packet buffers. That lets the MCU focus on UART, AT commands, Modbus conversion, and configuration instead of running a full software TCP/IP stack.
Q: How would W5500 connect to this type of platform?
A: W5500 connects to the MCU over SPI using chip select, SCLK, MOSI, and MISO. A commercial design should also route reset and interrupt, while the Ethernet side connects through the MDI path, transformer or integrated-magnetics RJ45, and LINK/ACT LEDs. The PP-ETS-NR product page lists MDI, LINK/ACT LED, reset, UART, and mode-selection interfaces for its module integration.
Q: What role would W5500 play in this project?
A: W5500 would be the Ethernet socket engine. The MCU would translate between UART data and TCP/IP sessions, while W5500 would maintain the Ethernet link, TCP/UDP sockets, and packet buffers.
Q: Can beginners follow this design?
A: Yes, if they already understand UART wiring, SPI, IPv4 addressing, and basic TCP server/client behavior. The PP-ETS-NR product is easier to integrate than a bare-chip design because it already exposes a converter-style interface and configuration paths.
Q: How does a W5500-based design compare with a Lantronix Ethernet module?
A: A Lantronix XPort-style module integrates a controller, memory, 10/100 Ethernet transceiver, serial port, LEDs, programmable I/O, a developed TCP/IP stack, and an operating system inside a compact RJ45 package. A W5500-based design is lower-level: W5500 provides the Ethernet MAC/PHY and hardwired TCP/IP sockets, but the product firmware must implement UART bridging, configuration, and protocol logic. Lantronix is more turnkey; W5500 gives more firmware and BOM control.
Source
Original product page: PLATYPUS, PP-ETS-NR. License is not stated on the product page.
WIZnet product reference: W5500 Ethernet Controller documentation.
Alternative comparison reference: Lantronix XPort data sheet and product information.
Tags
#W5500 #WIZnet #PPETSNR #SerialToEthernet #UART #ModbusTCP #ModbusRTU #SPI #Ethernet #Commercial #HardwareWiring #Firmware #Lantronix #DeviceServer
PP-ETS-NR급 모듈에서 WIZnet W5500으로 Ethernet-to-UART 변환을 구현하는 방법은?
요약
PP-ETS-NR은 UART 장치를 TCP/IP 네트워크에 연결해야 하는 상용 임베디드 시스템용 소형 Ethernet-to-UART 변환 모듈입니다. 공개 제품 페이지에서는 UART-to-Ethernet 변환, Modbus TCP 및 Modbus RTU/ASCII 변환, 10/100 Mbps Ethernet, 최대 921 kbps 직렬 속도, AT command 제어, 웹 설정, 산업용 온도 범위, ESD 보호, 내장 고유 MAC 주소를 확인할 수 있습니다.
다만 제품 페이지에서는 내부 Ethernet IC가 무엇인지 명시하지 않습니다. 따라서 해당 제품이 WIZnet 칩을 사용한다고 검증할 수 없습니다.
This project does not currently use WIZnet products.
W5500 기반으로 같은 구조를 구현한다면, WIZnet W5500은 UART bridge를 위한 SPI 제어 Ethernet MAC/PHY 및 하드웨어 TCP/IP 소켓 엔진 역할을 하게 됩니다.
프로젝트가 하는 일
PP-ETS-NR은 serial-to-Ethernet 프로토콜 변환기입니다. 직렬 장치에서 받은 데이터는 Ethernet을 통해 TCP/IP 데이터로 전송되고, 네트워크에서 받은 TCP/IP 데이터는 다시 직렬 데이터로 변환되어 연결된 장치로 전달됩니다. 이는 기존 UART 장치를 재설계하지 않고 Ethernet에 연결할 때 사용하는 전형적인 상용 device-server 구조입니다.
제품 페이지에서 확인되는 주요 기능은 다음과 같습니다. UART-to-Ethernet 프로토콜 변환, Modbus TCP 및 Modbus RTU/ASCII 프로토콜 변환, 10/100 Mbps Ethernet, 최대 921 kbps 직렬 속도, 장치 검색용 비밀번호 보호, UART serial AT command, PC 설정 도구를 통한 설정, 웹 설정, -40~85°C 동작 온도, ESD 보호, 내장 고유 MAC 주소입니다.
하드웨어 인터페이스도 모듈 통합을 전제로 구성되어 있습니다. 제품 페이지는 transformer 또는 transformer 내장 RJ45에 연결되는 MDI, LINK/ACT LED 연결, active-low reset, P_SEL mode selection, UART Tx/Rx/RTS/CTS, RS-422 또는 RS-485 선택을 위한 UART_RTS 동작을 설명합니다.
WIZnet이 들어가는 위치
공개 PP-ETS-NR 페이지는 이 모듈이 WIZnet silicon을 사용한다고 명시하지 않습니다. 따라서 이 제품 자체에 대해 WIZnet 사용을 주장할 수는 없습니다.
WIZnet 기반으로 같은 아키텍처를 만든다면, 사용할 수 있는 제품은 W5500입니다. W5500은 호스트 펌웨어와 Ethernet 네트워크 사이에 위치하며, 10/100 Ethernet MAC/PHY, 하드웨어 TCP/IP 스택, 소켓 엔진, 내부 패킷 버퍼를 제공합니다.
W5500 기반 Ethernet-to-UART 변환기에서 MCU는 UART framing, AT command parsing, Modbus RTU/ASCII parsing, configuration storage, serial-side flow control을 담당합니다. W5500은 Ethernet-side TCP/UDP transport, socket state, ARP, ICMP, IPv4, buffering을 담당합니다. WIZnet 문서 기준으로 W5500은 최대 80 MHz SPI 접근, 8개 독립 소켓, 32 KB 내부 Tx/Rx 버퍼 메모리를 제공하는 하드웨어 TCP/IP 컨트롤러입니다.
이 분업은 상용 UART bridge에서 실용적입니다. 애플리케이션 펌웨어는 serial timing, Modbus framing, configuration, error handling에 집중하고, Ethernet controller는 socket-level network transport를 처리할 수 있기 때문입니다.
구현 참고 사항
PP-ETS-NR 소스는 펌웨어 저장소가 아니라 제품 페이지이며, 회로도 파일이나 소스 코드는 공개되어 있지 않습니다. 따라서 프로젝트별 코드를 인용할 수 없습니다.
W5500 기반 구현은 다음과 같은 구조가 됩니다.
// WIZnet ioLibrary 기반 개념적 통합 예제
reg_wizchip_cs_cbfunc(w5500_select, w5500_deselect);
reg_wizchip_spi_cbfunc(w5500_spi_read, w5500_spi_write);
wizchip_init(tx_size, rx_size);
wizchip_setnetinfo(&net_info);
socket(0, Sn_MR_TCP, local_port, 0);
listen(0);이 코드는 개념적 예제입니다. MCU별 SPI access 함수를 등록하고, W5500 소켓 버퍼를 초기화하고, 네트워크 설정을 적용한 뒤, TCP 소켓을 열고 listen 상태로 진입하는 최소 흐름을 보여줍니다.
실제 Ethernet-to-UART 변환기에서는 여기에 UART 수신 루프, serial data packetizing, W5500 socket 전송, TCP payload 수신, UART 재전송 로직이 추가됩니다.
PP-ETS-NR 제품 페이지는 이 모듈이 Ethernet-TCP 기반 설정 도구와 serial AT command를 통해 제어될 수 있다고 설명합니다. W5500 기반 설계에서는 이 두 제어 경로가 일반적으로 TCP configuration socket과 UART command parser로 나뉩니다.
실무 팁 / 주의점
- UART 버퍼와 Ethernet 버퍼를 분리해야 합니다. W5500 내부 소켓 버퍼는 MCU 측 UART ring buffer를 대체하지 않습니다.
- Backpressure 처리가 필요합니다. Serial speed가 최대 921 kbps까지 올라가면 TCP 전송이 지연될 때 펌웨어 버퍼가 쉽게 넘칠 수 있습니다.
- Reset과 mode-selection pin을 명확히 라우팅해야 합니다. PP-ETS-NR은 active-low reset과 power-on mode selection pin을 사용하므로 carrier board에서 모호한 boot 상태를 만들면 안 됩니다.
- Modbus 변환은 실제 master tool로 검증해야 합니다. Modbus TCP-to-RTU 변환에는 transaction mapping, timeout handling, serial-side CRC handling, exception behavior가 필요합니다.
- LINK/ACT LED는 서비스 진단용으로 활용해야 합니다. 링크 문제와 UART 또는 프로토콜 문제를 구분하는 데 도움이 됩니다.
- 상용 배포 전 ESD, 케이블 제거, 중복 IP, serial disconnect 상황을 테스트해야 합니다.
FAQ
Q: Ethernet-to-UART 변환기에 왜 WIZnet W5500을 사용할 수 있나요?
A: W5500은 하드웨어 TCP/IP 스택, 10/100 Ethernet MAC/PHY, 8개 소켓, SPI host access, 내부 패킷 버퍼를 제공합니다. 이를 통해 MCU는 전체 소프트웨어 TCP/IP 스택 대신 UART, AT command, Modbus 변환, configuration 처리에 집중할 수 있습니다.
Q: W5500은 이런 플랫폼에 어떻게 연결하나요?
A: W5500은 chip select, SCLK, MOSI, MISO를 사용하는 SPI로 MCU에 연결됩니다. 상용 설계에서는 reset과 interrupt도 함께 연결하는 것이 좋습니다. Ethernet 쪽은 MDI path, transformer 또는 integrated-magnetics RJ45, LINK/ACT LED로 구성됩니다. PP-ETS-NR 제품 페이지도 MDI, LINK/ACT LED, reset, UART, mode-selection interface를 모듈 통합 인터페이스로 제시합니다.
Q: 이 프로젝트에서 W5500은 어떤 역할을 하게 되나요?
A: W5500은 Ethernet socket engine 역할을 합니다. MCU는 UART 데이터와 TCP/IP 세션 사이를 변환하고, W5500은 Ethernet link, TCP/UDP socket, packet buffer를 유지합니다.
Q: 초보자도 이 설계를 따라갈 수 있나요?
A: UART 배선, SPI, IPv4 주소 설정, 기본 TCP server/client 동작을 이해하고 있다면 가능합니다. PP-ETS-NR 같은 제품은 converter-style interface와 설정 경로가 이미 노출되어 있어 bare-chip 설계보다 통합이 쉽습니다.
Q: W5500 기반 설계는 Lantronix Ethernet module과 어떻게 다른가요?
A: Lantronix XPort 계열 모듈은 controller, memory, 10/100 Ethernet transceiver, serial port, LEDs, programmable I/O, 개발된 TCP/IP stack, operating system을 소형 RJ45 패키지 안에 통합합니다. W5500 기반 설계는 더 낮은 계층의 접근 방식입니다. W5500은 Ethernet MAC/PHY와 하드웨어 TCP/IP socket을 제공하지만, UART bridging, configuration, protocol logic은 제품 펌웨어가 직접 구현해야 합니다. Lantronix는 더 turnkey에 가깝고, W5500은 펌웨어와 BOM 제어권이 더 큽니다.
출처
Original product page: PLATYPUS, PP-ETS-NR. 제품 페이지에 라이선스는 명시되어 있지 않습니다.
https://us-platypus.com/PRODUCT/?idx=50
WIZnet product reference: W5500 Ethernet Controller documentation.
https://docs.wiznet.io/Product/Chip/Ethernet/W5500/datasheet
Alternative comparison reference: Lantronix XPort data sheet and product information.
https://cdn.lantronix.com/wp-content/uploads/pdf/910-815J_XPort_Data_Sheet_10042022.pdf
태그
#W5500 #WIZnet #PPETSNR #SerialToEthernet #UART #ModbusTCP #ModbusRTU #SPI #Ethernet #Commercial #HardwareWiring #Firmware #Lantronix #DeviceServer
