LPCXpresso55S28

Overview

The LPCXpresso55S28 development board provides the ideal platform for evaluation of and development with the LPC552x/S2x MCU based on the Arm® Cortex®-M33 architecture. The board includes a high-performance onboard debug probe, audio subsystem and accelerometer, with several options for adding off-the-shelf add-on boards for networking, sensors, displays, and other interfaces.

Hardware

  • LPC55S28 Arm® Cortex®-M33 microcontroller running at up to 150 MHz

  • 512 KB flash and 256 KB SRAM on-chip

  • Onboard, high-speed USB, Link2 debug probe with CMSIS-DAP and SEGGER J-Link protocol options

  • UART and SPI port bridging from LPC55S28 target to USB via the onboard debug probe

  • Hardware support for external debug probe

  • 3 x user LEDs, plus Reset, ISP (3) and user buttons

  • Micro SD card slot (4-bit SDIO)

  • NXP MMA8652FCR1 accelerometer

  • Stereo audio codec with line in/out

  • High and full speed USB ports with micro A/B connector for host or device functionality

  • MikroEletronika Click expansion option

  • LPCXpresso-V3 expansion option compatible with Arduino UNO

  • PMod compatible expansion / host connector

For more information about the LPC55S28 SoC and LPCXPresso55S28 board, see:

Supported Features

The lpcxpresso55s28 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.
lpcxpresso55s28
/
lpc55s28

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M33F CPU1

arm,cortex-m33f

ADC

on-chip

LPC LPADC1

nxp,lpc-lpadc

ARM architecture

on-chip

LPC Flexcomm node6

nxp,lpc-flexcomm

Clock control

on-chip

LPC SYSCON & CLKCTL IP node1

nxp,lpc-syscon

DMA

on-chip

NXP LPC DMA controller1 1

nxp,lpc-dma

Flash controller

on-chip

NXP (In-Application Programming) flash memory controller for the lpc55xxx family, except lpc553x1

nxp,iap-fmc55

GPIO & Headers

on-chip

LPC GPIO1

nxp,lpc-gpio

on-chip

LPC GPIO port device2

nxp,lpc-gpio-port

on-board

GPIO pins exposed on Mikro BUS headers1

mikro-bus

on-board

GPIO pins exposed on Arduino Uno (R3) headers1

arduino-header-r3

Hardware information

on-chip

NXP LPC 128-bit Unique identifier1

nxp,lpc-uid

I2C

on-chip

LPC I2C1

nxp,lpc-i2c

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv8-M NVIC (Nested Vectored Interrupt Controller)1

arm,v8m-nvic

on-chip

NXP Pin interrupt and pattern match engine (PINT)1

nxp,pint

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

MMU / MPU

on-chip

ARMv8-M MPU (Memory Protection Unit)1

arm,armv8m-mpu

MTD

on-chip

Flash node2

soc-nv-flash

on-board

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

Pin control

on-chip

LPC I/O Pin Configuration (IOCON)1

nxp,lpc-iocon

on-chip

LPC pinctrl node1

nxp,lpc-iocon-pinctrl

PWM

on-chip

NXP SCTimer PWM1

nxp,sctimer-pwm

Reset controller

on-chip

LPC SYSCON Peripheral reset controller1

nxp,lpc-syscon-reset

RNG

on-chip

LPC RNG (Random Number Generator)1

nxp,lpc-rng

Sensors

on-board

FXOS8700 6-axis accelerometer/magnetometer sensor1

nxp,fxos8700

Serial controller

on-chip

LPC USART1

nxp,lpc-usart

SPI

on-chip

NXP LPC SPI controller1

nxp,lpc-spi

SRAM

on-chip

Generic on-chip SRAM description3

mmio-sram

Timer

on-chip

ARMv8-M System Tick1

arm,armv8m-systick

USB

on-chip

NXP LPCIP3511 USB device mode1

nxp,lpcip3511

Watchdog

on-chip

LPC Windowed Watchdog Timer1

nxp,lpc-wwdt

Note

For additional features not yet supported, please also refer to the LPCXPRESSO55S69 , which is the superset board in NXP’s LPC55xx series. NXP prioritizes enabling the superset board with NXP’s Full Platform Support for Zephyr. Therefore, the lpcxpresso55s69 board may have additional features already supported, which can also be re-used on this board.

Connections and IOs

The LPC55S28 SoC has IOCON registers, which can be used to configure the functionality of a pin.

Name

Function

Usage

PIO0_26

SPI

SPI MOSI

PIO0_29

USART

USART RX

PIO0_30

USART

USART TX

PIO1_1

SPI

SPI SSEL

PIO1_2

SPI

SPI SCK

PIO1_3

SPI

SPI MISO

PIO1_4

GPIO

RED LED

PIO1_6

GPIO

BLUE_LED

PIO1_7

GPIO

GREEN LED

PIO1_20

I2C

I2C SCL

PIO1_21

I2C

I2C SDA

System Clock

The LPC55S28 SoC is configured to use PLL1 clocked from the external 24MHz crystal, running at 144MHz as a source for the system clock. When the flash controller is enabled, the core clock will be reduced to 96MHz. The application may reconfigure clocks after initialization, provided that the core clock is always set to 96MHz when flash programming operations are performed.

Serial Port

The LPC55S28 SoC has 8 FLEXCOMM interfaces for serial communication. One is configured as USART for the console and the remaining are not used.

Programming and Debugging

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 integrated MCU-Link 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.

The integrated MCU-Link hardware can also be used as a J-Link probe with a firmware update, as described in MCU-Link JLink Onboard Debug Probe. The J-Link Debug Host Tools should be available in this case.

Configuring a Console

Connect a USB cable from your PC to P6, 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 lpcxpresso55s28 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 v2.4.0 *****
Hello World! lpcxpresso55s28

Debugging

Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b lpcxpresso55s28 samples/hello_world
west debug

Open a serial terminal, step through the application in your debugger, and you should see the following message in the terminal:

***** Booting Zephyr OS zephyr-v2.4.0 *****
Hello World! lpcxpresso55s28

Support Resources for Zephyr