LPCXpresso55S36

Overview

The LPCXpresso55S36 board provides the ideal platform for evaluation of the LPC55S3x/LPC553x MCU family, based on the Arm® Cortex®-M33 architecture. Arduino® UNO compatible shield connectors are included, with additional expansion ports around the Arduino footprint, along with a PMod/host interface port and MikroElektronika Click module site.

Hardware

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

  • 256 KB flash and 112 KB SRAM on-chip

  • LPC-Link2 debug high speed USB probe with VCOM port

  • I2C and SPI USB bridging to the LPC device via LPC-Link2 probe

  • MikroElektronika Click expansion option

  • LPCXpresso expansion connectors compatible with Arduino UNO

  • PMod compatible expansion / host connector

  • Reset, ISP, wake, and user buttons for easy testing of software functionality

  • Tri-color LED

  • Full-speed USB device / host port

  • High-speed USB device / host port

  • UART header for external serial to USB cable

  • CAN Transceiver

  • Stereo audio codec with in/out line

For more information about the LPC55S36 SoC and LPCXPresso55S36 board, see:

Supported Features

NXP considers the LPCXpresso55S36 as a superset board for the LPC55(S)3x family of MCUs. This board is a focus for NXP’s Full Platform Support for Zephyr, to better enable the entire LPC55(S)3x family. NXP prioritizes enabling this board with new support for Zephyr features. Another similar superset board is the LPCXPRESSO55S69, and that board may have additional features already supported, which can also be re-used on this lpcxpresso55s36 board.

The lpcxpresso55s36 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.
lpcxpresso55s36
/
lpc55s36

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 node7

nxp,lpc-flexcomm

CAN

on-chip

NXP LPC SoC series MCAN CAN FD controller1

nxp,lpc-mcan

Clock control

on-chip

LPC SYSCON & CLKCTL IP node1

nxp,lpc-syscon

DAC

on-chip

NXP MCUX LPDAC1 2

nxp,lpdac

DMA

on-chip

NXP LPC DMA controller1 1

nxp,lpc-dma

Flash controller

on-chip

NXP (In-Application Programming) flash memory controller for the lpc553x family1

nxp,iap-fmc553

GPIO & Headers

on-chip

LPC GPIO1

nxp,lpc-gpio

on-chip

LPC GPIO port device3

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

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

NXP Pin interrupt and pattern match engine (PINT)1

nxp,pint

on-chip

ARMv8-M NVIC (Nested Vectored Interrupt Controller)1

arm,v8m-nvic

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 1

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 eFLEX PWM module with mcux-pwm submodules2

nxp,flexpwm

on-chip

NXP MCUX PWM1 7

nxp,imx-pwm

on-chip

NXP SCTimer PWM1

nxp,sctimer-pwm

Regulator

on-chip

NXP VREF SOC peripheral1

nxp,vref

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 description5

mmio-sram

Timer

on-chip

ARMv8-M System Tick1

arm,armv8m-systick

USB

on-chip

NXP LPCIP3511 USB device mode1

nxp,lpcip3511

Connections and IOs

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

Name

Function

Usage

PIO0_17

GPIO

USR SW3

PIO0_22

GPIO

GREEN LED

PIO0_28

GPIO

RED LED

PIO0_29

USART

USART RX

PIO0_30

USART

USART TX

PIO1_11

GPIO

BLUE_LED

PIO1_18

GPIO

Wakeup SW1

PIO1_20

FLEXPPWM0_PWM0_A

pwm

PIO1_17

FLEXPPWM0_PWM0_B

pwm

PIO1_6

FLEXPPWM0_PWM1_A

pwm

PIO1_22

FLEXPPWM0_PWM1_B

pwm

PIO1_8

FLEXPPWM0_PWM2_A

pwm

PIO1_4

FLEXPPWM0_PWM2_B

pwm

PIO1_21

FLEXPPWM1_PWM0_A

pwm

PIO0_3

FLEXPPWM1_PWM0_B

pwm

PIO1_23

FLEXPPWM1_PWM1_A

pwm

PIO0_21

FLEXPPWM1_PWM1_B

pwm

PIO1_25

FLEXPPWM1_PWM2_A

pwm

PIO0_31

FLEXPPWM1_PWM2_B

pwm

PIO1_2

CAN0_TXD

CAN TX

PIO1_3

CAN0_RXD

CAN RX

PIO0_22

USB0_VBUS

USBFS VBUS

System Clock

The LPC55S36 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. Other sources for the system clock are provided in the SOC, depending on your system requirements.

Serial Port

The LPC55S36 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 J1 (LINK2), 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 lpcxpresso55s36 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.2.0 *****
Hello World! lpcxpresso55s36

Debugging

Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b lpcxpresso55s36 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.2.0 *****
Hello World! lpcxpresso55s36

Support Resources for Zephyr