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.

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

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

Support Resources for Zephyr