LPCXpresso11U68

Overview

The LPCXpresso11u68 development board uses an NXP LPC11U68 MCU based on an ARM Cortex-M0+ core.

Hardware

The LPCxpresso 11U68 board provides the following hardware components:

  • LPC11U68 microcontroller in LQFP100 package

  • ARM Cortex-M0+

  • Memory:

    • 256KB of flash memory

    • 32KB of SRAM

    • 2x2KB of additional SRAM

    • 4 KB EEPROM

  • USB:

    • USB 2.0 Full-Speed device controller

  • DMA controller

  • 5x USART

  • 2x I2C

  • 2x SSP with DMA support

  • Board power supply: through USB bus or external power supply (3V and 5V)

  • Arduino connectors compatible with the ‘Arduino UNO’ platform

  • Tri-color user LED, Power On Led, Reset LED

  • Three push buttons: target reset, ISP and user

More information can be found here:

Supported Features

The lpcxpresso11u68 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.
lpcxpresso11u68
/
lpc11u68

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M0+ CPU1

arm,cortex-m0+

Clock control

on-chip

LPC11U6X clock controller node1

nxp,lpc11u6x-syscon

GPIO & Headers

on-chip

NXP LPC11U6X GPIO3

nxp,lpc11u6x-gpio

on-board

GPIO pins exposed on Arduino Uno (R3) headers1

arduino-header-r3

I2C

on-chip

LPC11U6X I2C Controller1 1

nxp,lpc11u6x-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

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

MTD

on-chip

Flash node1

soc-nv-flash

on-chip

NXP LPC11U6X on-chip EEPROM node1

nxp,lpc11u6x-eeprom

Pin control

on-chip

LPC I/O Pin Configuration (IOCON)1

nxp,lpc-iocon

on-chip

LPC pinctrl node1

nxp,lpc11u6x-pinctrl

on-chip

LPC I/O Pin Configuration (IOCON) Port I/O (PIO)3

nxp,lpc-iocon-pio

Serial controller

on-chip

LPC11U6X UART2 3

nxp,lpc11u6x-uart

SRAM

on-chip

Generic on-chip SRAM1

mmio-sram

Timer

on-chip

ARMv6-M System Tick1

arm,armv6m-systick

Connections and IOs

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

Name

Function

Usage

PIO2_11

UART

USART RX

PIO2_12

UART

USART TX

PIO2_16

GPIO

GREEN LED

PIO2_17

GPIO

RED LED

PIO2_18

GPIO

BLUE_LED

PIO0_4

I2C

I2C SCL

PIO0_5

I2C

I2C SDA

Programming and Debugging

The lpcxpresso11u68 board supports the runners and associated west commands listed below.

flash debug attach debugserver rtt
openocd ✅ (default) ✅ (default)

Flashing

The LPCXpresso11U68 board can be flashed by using the on-board LPC-Link2 debug probe (based on a NXP LPC43xx MCU). This MCU provides either a CMSIS-DAP or a J-Link interface. It depends on the embedded firmware image. The default OpenOCD configuration supports the CMSIS-DAP interface. If you want to switch to J-Link, then you need to edit the boards/nxp/lpcxpresso11u68/support/openocd.cfg file and to replace:

source [find interface/cmsis-dap.cfg]

with:

source [find interface/jlink.cfg]

Note

The firmware image of the LPC-Link2 can be updated using the LPCScrypt tool.

Note

The Mbed project also provides some firmware images here. In addition to a CMSIS-DAP interface, they also provide a convenient update mechanism through a pseudo USB disk.

Here are the steps to flash a firmware you built into a LPCXpresso11U68 board:

  1. Connect the “Link” micro-B USB port to your host computer.

  2. Next, simply run the west flash command

Debugging

Please refer to the Flashing section and run the west debug command instead of west flash.

References

Support Resources for Zephyr