wolfIP TCP/IP Stack on the LPC54S018

wolfSSL is announcing wolfIP support for NXP LPC microcontrollers, starting with the LPCXpresso54S018M development board (LPC54S018J4M). This is the first NXP platform supported by wolfIP, extending coverage beyond the existing STM32 and VORAGO VA416xx ports. wolfIP provides DHCP, ICMP ping, and a TCP echo server on this new platform.

About the LPC54S018

The LPC54S018 is an NXP Cortex-M4F microcontroller running at up to 180 MHz, targeting secure IoT and industrial applications. It is a flashless part that boots from external SPIFI flash, with 160 KB of on-chip SRAM. The LPCXpresso54S018M-EVK includes an on-board LAN8720A Ethernet PHY connected via RMII, providing 10/100 Mbps Ethernet connectivity.

wolfIP on the STM32N6

The wolfIP port runs as a fully self-contained bare-metal application with no external SDK dependencies. All peripheral register definitions are inline, and no NXP MCUXpresso SDK, CMSIS headers, or RTOS are required.

The Ethernet driver uses the Synopsys DesignWare Ethernet QoS MAC with enhanced DMA descriptors, the same IP core used in STM32H5/H7/N6. The driver is structured as a shared component (`src/port/lpc_enet/`) that can be reused across other NXP LPC boards (LPC54608, LPC54018, etc.) by providing three board-specific defines: the ENET base address, MDIO clock divider, and 1-microsecond tick value. This mirrors the existing `src/port/stm32/` shared driver pattern.

DHCP is enabled by default, so the board automatically obtains its IP address from the network. A static IP fallback is configurable in `config.h`. Ping latency is under 1 ms and the TCP echo server on port 7 provides immediate response.

The binary is approximately 52 KB, fitting comfortably in the 160 KB SRAM available for RAM-loaded execution during development.

Tested Hardware

  • Board: LPCXpresso54S018M (NXP OM40003)
  • MCU: LPC54S018J4MET180 (Cortex-M4F, 96 MHz FRO HF)
  • PHY: LAN8720A-CP (on-board, RMII, 100 Mbps)
  • Build + Flash: `make && bash flash.sh `

Source Code

The wolfIP NXP LPC54S018 port is available at: PR#96

If you have questions about any of the above, please contact us at facts@wolfssl.com or call us at +1 425 245 8247.

Download wolfSSL Now