LPCXPRESSO51U68

Overview

The LPCXpresso51u68 development board uses an NXP LPC51U68 MCU based on an ARM CORTEX-M0+ core.

Hardware

  • LPC51U68 M0+ running at up to 150 MHz

  • Memory

    • 256KB of flash memory

    • 96KB of SRAM

  • On-board high-speed USB based debug probe with CMSIS-DAP and J-Link protocol support, can debug the on-board LPC51U68 or an external target

  • External debug probe option

  • Tri-color LED, target reset, ISP & interrupt/user buttons for easy testing of software functionality

  • Expansion options based on Arduino UNO and PMOD™, plus additional expansion port pins

  • FTDI UART Connector

More information can be found here:

Supported Features

The lpcxpresso51u68 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.
lpcxpresso51u68
/
lpc51u68

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M0+ CPU1

arm,cortex-m0+

ARM architecture

on-chip

LPC Flexcomm node5

nxp,lpc-flexcomm

Clock control

on-chip

LPC SYSCON & CLKCTL IP node1

nxp,lpc-syscon

GPIO & Headers

on-chip

LPC GPIO1

nxp,lpc-gpio

on-chip

LPC GPIO port device2

nxp,lpc-gpio-port

I2C

on-chip

LPC I2C1

nxp,lpc-i2c

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv6-M NVIC (Nested Vectored Interrupt Controller) controller1

arm,v6m-nvic

on-chip

NXP Pin interrupt and pattern match engine (PINT)1

nxp,pint

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

MTD

on-chip

Flash node1

soc-nv-flash

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

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 description2

mmio-sram

Timer

on-chip

ARMv6-M System Tick1

arm,armv6m-systick

Connections and IOs

The IOCON controller can be used to configure the LPC51U68 pins.

Name

Function

Usage

PIO0_0

UART

USART RX

PIO0_1

UART

USART TX

PIO1_10

GPIO

GREEN LED

PIO0_29

GPIO

RED LED

PIO1_9

GPIO

BLUE_LED

PIO0_25

I2C

I2C SCL

PIO0_26

I2C

I2C SDA

PIO0_18

SPI

SPI MISO

PIO0_19

SPI

SPI SCK

PIO0_20

SPI

SPI MOSI

PIO1_1

SPI

SPI SSEL2

Programming and Debugging

Build and flash applications as usual (see Building an Application and Run an Application for more details).

Configuring a Debug Probe

A debug probe is used for both flashing and debugging the board. This board is configured by default to use the LPC-Link2 CMSIS-DAP Onboard Debug Probe, however the pyOCD Debug Host Tools do not support this probe so you must reconfigure the board for one of the following debug probes instead.

Configuring a Console

Connect a USB to FTDI RX, TX & GND pins to P3 Connector.

Use the following settings with your serial terminal of choice (minicom, putty, etc.):

  • 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 lpcxpresso51u68 samples/hello_world
west flash
***** Booting Zephyr OS build zephyr-v2.6.0-934-g4c438c0c7d13 *****
Hello World! lpcxpresso51u68

Debugging

Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b lpcxpresso51u68 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 build zephyr-v2.6.0-934-g4c438c0c7d13 *****
Hello World! lpcxpresso51u68

Support Resources for Zephyr