LPCXpresso54628
Overview
The LPCXpresso54628 development board (OM13098) uses an NXP LPC54628 MCU based on an Arm Cortex-M4F core.
Hardware
LPC54628 M4F running at up to 220 MHz
Memory
512KB of on-chip flash memory
200KB of on-chip SRAM (160KB main + 32KB SRAMX + 8KB USB)
On-board high-speed USB based debug probe (LPC-Link2) with CMSIS-DAP and J-Link protocol support
External debug probe option
Three user LEDs, target reset, ISP and interrupt/user buttons
Expansion options based on Arduino UNO and PMOD, plus additional expansion port pins
8MB SPIFI serial flash, 128Mb SDRAM
10/100 Mbps Ethernet, full-speed and high-speed USB, CAN
More information can be found here:
Supported Features
The lpcxpresso54628 board supports the hardware features listed below.
- on-chip / on-board
- Feature integrated in the SoC / present on the board.
- 2 / 2
-
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files. -
vnd,foo -
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.
lpcxpresso54628/lpc54628 target
On-target memory for this board target: 160 KiB of RAM, 512 KiB of Flash.
Type |
Location |
Description |
Compatible |
|---|---|---|---|
CPU |
on-chip |
ARM Cortex-M4F CPU1 |
|
ARM architecture |
on-chip |
LPC Flexcomm node9 |
|
CAN |
on-chip |
NXP LPC SoC series MCAN CAN FD controller2 |
|
Clock control |
on-chip |
LPC SYSCON & CLKCTL IP node1 |
|
Flash controller |
on-chip |
NXP (In-Application Programming) flash memory controller for the lpc54xxx family1 |
|
GPIO & Headers |
on-chip |
LPC GPIO1 |
|
on-chip |
LPC GPIO port device6 |
||
Interrupt controller |
on-chip |
ARMv7-M NVIC (Nested Vectored Interrupt Controller)1 |
|
on-chip |
NXP GINT (Grouped GPIO Input Interrupt) controller2 |
||
on-chip |
NXP Pin interrupt and pattern match engine (PINT)1 |
||
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
MTD |
on-chip |
Flash node1 |
|
Pin control |
on-chip |
LPC I/O Pin Configuration (IOCON)1 |
|
on-chip |
LPC pinctrl node1 |
||
Reset controller |
on-chip |
LPC SYSCON Peripheral reset controller1 |
|
Serial controller |
on-chip |
LPC USART1 |
|
SRAM |
on-chip |
Generic on-chip SRAM1 |
|
Timer |
on-chip |
ARMv7-M System Tick1 |
Connections and IOs
The IOCON controller can be used to configure the LPC54628 pins.
Name |
Function |
Usage |
|---|---|---|
PIO0_29 |
UART |
USART RX (VCOM) |
PIO0_30 |
UART |
USART TX (VCOM) |
PIO3_14 |
GPIO |
User LED1 |
PIO3_3 |
GPIO |
User LED2 |
PIO2_2 |
GPIO |
User LED3 |
Programming and Debugging
The lpcxpresso54628 board supports the runners and associated west commands listed below.
| flash | debug | attach | debugserver | |
|---|---|---|---|---|
| linkserver | ✅ (default) | ✅ (default) | ✅ | ✅ |
Build and flash applications as usual (see Building an Application and Run an Application for more details).
Configuring a Debug Probe
LinkServer is the default runner for this board. A debug probe is used for both flashing and debugging the board. This board is configured by default to use the on-board LPC-LINK2 CMSIS DAP Onboard Debug Probe in the CMSIS-DAP mode. To use this probe with Zephyr, you need to install the LinkServer Debug Host Tools and make sure they are in your search path. Refer to the detailed overview about Application Debugging for additional information.
Configuring a Console
Connect a USB cable from your PC to the LPC-Link2 USB connector, and use the serial terminal of your choice (minicom, putty, etc.) with the following settings:
Speed: 115200
Data: 8 bits
Parity: None
Stop bits: 1
Flashing
Here is an example for the Hello World application.
# From the root of the zephyr repository
west build -b lpcxpresso54628 samples/hello_world
west flash
Open a serial terminal, reset the board (press the RESET button), and you should see the following message in the terminal:
*** Booting Zephyr OS build v4.4.0 ***
Hello World! lpcxpresso54628/lpc54628
Debugging
Here is an example for the Hello World application.
# From the root of the zephyr repository
west build -b lpcxpresso54628 samples/hello_world
west debug