Serial Ports
nXPico W has the same serial ports as nXPico, on the same pins — WiFi lives on the CYW43 chip and takes no UART away.
| Port | Peripheral | Pins | Available to the application |
|---|---|---|---|
| COM1 | USB-CDC | micro-USB | No — CODESYS gateway |
| COM2 | UART0 | GP12 TX / GP13 RX, direction on GP18 | Yes |
| COM3 | UART1 | GP4 TX / GP5 RX | Yes |
The full reference — how to open a port, read and write without blocking the PLC cycle, and what happens to the boot log when you open COM2 — is on the nXPico Serial Ports page. It applies here unchanged.