EasyManua.ls Logo

NXP Semiconductors LPC55S0x - User Manual

NXP Semiconductors LPC55S0x
24 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Loading...
1 Introduction
This document guides the hardware engineers to design and test their
LPC55(S)xx processor-based designs. The document provides information
about board layout recommendations and design checklists to ensure first
pass success and avoid any board bring-up problems.
This guide is released with the relevant device-specific hardware
documentation such as data sheets, reference manuals, and application notes
available on nxp.com.
2 LPC55(S)xx family comparison
All LPC55Sxx/LPC55xx family is based on Arm
®
Cortex
®
-M33 core, with
PowerQuad Accelerator and CASPER Accelerator. The S in the middle
of part name means this part provides more security features, such as
TrustZone Support.
Table 1. LPC55Sxx family core features
Family Core
frequency
Dual
core
Power
Quad
CASPER
LPC55S0x/LPC550x 96 MHz YES
LPC55S1x/LPC551x 150 MHz
YES
LPC55S2x/LPC552x 150 MHz YES YES YES
LPC55S6x/LPC556x 150 MHz YES YES YES
Table 2. LPC55Sxx/LPC55xx peripherals
Family Flexcomm 50 MHz HS-
SPI
HS USB FS USB CAN FD SDIO
LPC55S0x/LPC550x 8 1
1
LPC55S1x/LPC551x 8 1 1 1 1
LPC55S2x/LPC552x 8 1 1 1
1
LPC55S6x/LPC556x 8 1 1 1
1
Contents
1 Introduction......................................1
2 LPC55(S)xx family comparison.......1
3 Power supply...................................2
3.1 Introduction.................................. 2
3.2 Bulk and decoupling capacitors... 5
4 Clock circuitry..................................6
4.1 Introduction.................................. 6
4.2 Crystal oscillator...........................7
4.3 RTC oscillator.............................. 8
4.4 Common suggestions for the PCB
layout of oscillator circuit............10
5 Boot mode configurations............. 10
5.1 Boot mode selection.................. 11
6 Debug and programing interface...12
6.1 Debug connector pinouts...........14
7 Communication modules...............14
7.1 CAN interface for CAN-FD module
...................................................14
8 Analog........................................... 15
8.1 ADC impedance.........................15
9 Recommendations........................ 16
9.1 Pin descriptions..........................16
9.2 Termination of unused pins....... 17
9.3 PCB............................................18
9.4 General board layout guidelines
...................................................18
10 References....................................23
11 Revision history.............................23
AN13033
Hardware Design Guidelines for LPC55(S)xx Microcontrollers
Rev. 0 — 30 October 2020
Application Note
Question and Answer IconNeed help?

Do you have a question about the NXP Semiconductors LPC55S0x and is the answer not in the manual?

Summary

Introduction

LPC55(S)xx Family Comparison

Power Supply

3.1 Introduction

Overview of the LPC55Sxx series power supply requirements and internal regulator.

3.2 Bulk and Decoupling Capacitors

Guidance on selecting and placing bulk and decoupling capacitors for stable power supply.

Clock Circuitry

4.1 Introduction

Overview of the clock sources available for the LPC55S1x/2x/6x microcontrollers.

4.2 Crystal Oscillator and PCB Design

Details on crystal oscillator, its PCB layout, and component selection.

4.3 RTC Oscillator and PCB Design

Details on RTC oscillator connection and its PCB layout recommendations.

4.4 Common Suggestions for Oscillator PCB Layout

General advice for designing the PCB layout of oscillator circuits.

Boot Mode Configurations

5.1 Boot Mode Selection

Explains how to select boot mode based on ISP pin states and internal ROM memory.

Debug and Programming Interface

6.1 Debug Connector Pinouts

Details on commonly used debug connectors and their pinouts for JTAG/SWD.

Communication Modules

7.1 CAN Interface for CAN-FD Module

Physical layer characteristics and system overview for CAN-FD interface.

Analog

8.1 ADC Impedance

Details on the ADC block diagram and input resistance values.

Recommendations

9.1 Pin Descriptions and Configurations

Details pin functions, pull-up/down states, open-drain, wakeup, and JTAG configurations.

9.2 Termination of Unused Pins

Recommendations for terminating unused pins to minimize power consumption.

9.3 PCB

Technical reasons for using multilayer PCBs with dedicated ground and VDD layers.

9.4 Board Layout and Design Guidelines

Covers traces, grounding, EMI/EMC, layer stacking, and injection current.

References

Revision History

Summary

Introduction

LPC55(S)xx Family Comparison

Power Supply

3.1 Introduction

Overview of the LPC55Sxx series power supply requirements and internal regulator.

3.2 Bulk and Decoupling Capacitors

Guidance on selecting and placing bulk and decoupling capacitors for stable power supply.

Clock Circuitry

4.1 Introduction

Overview of the clock sources available for the LPC55S1x/2x/6x microcontrollers.

4.2 Crystal Oscillator and PCB Design

Details on crystal oscillator, its PCB layout, and component selection.

4.3 RTC Oscillator and PCB Design

Details on RTC oscillator connection and its PCB layout recommendations.

4.4 Common Suggestions for Oscillator PCB Layout

General advice for designing the PCB layout of oscillator circuits.

Boot Mode Configurations

5.1 Boot Mode Selection

Explains how to select boot mode based on ISP pin states and internal ROM memory.

Debug and Programming Interface

6.1 Debug Connector Pinouts

Details on commonly used debug connectors and their pinouts for JTAG/SWD.

Communication Modules

7.1 CAN Interface for CAN-FD Module

Physical layer characteristics and system overview for CAN-FD interface.

Analog

8.1 ADC Impedance

Details on the ADC block diagram and input resistance values.

Recommendations

9.1 Pin Descriptions and Configurations

Details pin functions, pull-up/down states, open-drain, wakeup, and JTAG configurations.

9.2 Termination of Unused Pins

Recommendations for terminating unused pins to minimize power consumption.

9.3 PCB

Technical reasons for using multilayer PCBs with dedicated ground and VDD layers.

9.4 Board Layout and Design Guidelines

Covers traces, grounding, EMI/EMC, layer stacking, and injection current.

References

Revision History

Overview

This document, AN13033, provides hardware design guidelines for LPC55(S)xx microcontrollers, aiming to assist hardware engineers in designing and testing their processor-based systems. It offers board layout recommendations and design checklists to ensure successful first-pass designs and prevent board bring-up issues. The guide references relevant device-specific hardware documentation such as datasheets, reference manuals, and other application notes available on nxp.com.

The LPC55Sxx/LPC55xx family of microcontrollers is built around the Arm® Cortex®-M33 core, incorporating PowerQuad Accelerator and CASPER Accelerator. The 'S' in the part name indicates support for enhanced security features, including TrustZone. The family offers various core frequencies, with LPC55S0x/LPC550x operating at 96 MHz and LPC55S1x/LPC551x, LPC55S2x/LPC552x, and LPC55S6x/LPC556x operating at 150 MHz. The higher-frequency parts (LPC55S2x/LPC552x and LPC55S6x/LPC556x) also feature dual cores, PowerQuad, and CASPER accelerators.

In terms of peripherals, all LPC55Sxx/LPC55xx devices include 8 Flexcomm interfaces and 1 50 MHz HS-SPI. The LPC55S1x/LPC551x, LPC55S2x/LPC552x, and LPC55S6x/LPC556x models additionally offer 1 HS USB, 1 FS USB, and 1 CAN FD interface. For timers, all family members provide 5 CTimers, 1 SCT, 1 MRT, 1 WWDT, 1 Code WDT, 1 RTC, and 1 OS-Timer. Analog peripherals across the family include a 16-bit ADC (10 channels) and a 1 comparator (5 inputs). The LPC55S0x/LPC550x and LPC55S1x/LPC551x ADCs operate at 2 Msps, while the LPC55S2x/LPC552x and LPC55S6x/LPC556x ADCs operate at 1 Msps. A 12-bit DAC is also available on all models except the LPC55S0x/LPC550x. The devices are available in various packages, including HVQFN 48, HVQFN 64, HTQFP 64, VFBGA 98, HLQFP 100, HLQFP 144, and VBGA 196, with specific package availability varying by family member.

The power supply for the LPC55Sxx series requires a single 1.8 V to 3.6 V operating voltage. For LPC55S0x/LPC550x, LPC55S1x/LPC551x, LPC55S2x/LPC552x, and LPC55S6x/LPC556x, the internal core voltage is supplied by an internal DC/DC regulator, which necessitates an external inductance and two or three capacitors. The document provides a schematic for using the internal DC/DC converter, showing connections for VBAT_PMU, VBAT_DCDC, VDD_PMU, FB, LX, VSS_PMU, and VSS_DCDC, along with recommended capacitor and inductor values (e.g., C1, C2: 22 µF; C3: 100 nF; C4: 47 pF; L1: 4.7 µH).

Detailed power domain information and decoupling capacitor recommendations are provided. For USB0 Analog 3.3 V and USB1 Analog 3.3 V supplies, a 3.3 V voltage is used with a 10 µF bulk/bypass capacitor and a 0.1 µF decoupling capacitor per pin (X7R Ceramic). For the single power supply powering I/Os (VDD), a 1.8-3.3 V voltage is used with a 10 µF bulk/bypass capacitor and a 0.1 µF decoupling capacitor per pin (X7R Ceramic). The core supply (VBAT_PMU) for applications with the DCDC converter requires 22 µF + 100 nF + 47 pF (X7R Ceramic). Analog supply voltage (VDDA) uses 1.8-3.6 V with 10 µF bulk/bypass and 0.1 µF decoupling capacitors. ADC positive reference (VREFP) uses 0.985-VDDA with 10 µF bulk/bypass and 0.1 µF decoupling capacitors. VSS, VSSA, and VREFN must be shorted to GND at the package level. The effectiveness of bulk/bypass and decoupling capacitors relies on optimal placement and connection, with all decoupling capacitors placed as close as possible to their respective power supply pins, and their ground sides connected directly to the internal ground plane via a via.

The clock circuitry section describes the various clock sources available, including the Internal Free Running Oscillator (FRO) providing selectable 96 MHz and 12 MHz outputs (trimmed to +/- 2% accuracy), a 32 kHz Internal FRO (trimmed to +/- 2% accuracy), and a 1 MHz Internal Low Power Oscillator (trimmed to +/- 15% accuracy). Crystal oscillators are supported for 16 MHz or 32 MHz operation, with an option for external clock input (bypass mode) up to 24 MHz. A 32.768 kHz crystal oscillator is also available, with an external clock input option up to 100 kHz. PLL0 and PLL1 allow CPU operation up to the maximum CPU rate, sourcing from the internal FRO 12 MHz output, external oscillator, internal FRO 1 MHz output, or the 32.768 kHz RTC oscillator. The document notes that for external crystal and RTC oscillators, LPC55Sxx devices have a capacitor bank feature, allowing stabilizing capacitors to be unsoldered on both 32 K and 16 MHz XTAL. It is suggested to keep these capacitors as DNP/Do Not Populate on the PCB.

For crystal oscillator design, the crystal (XTAL) and capacitances CX1 and CX2 are connected externally to XTAL32M_P and XTAL32M_N. In bypass mode, an external clock can be connected to XTAL32M_P if XTAL32M_N is left open. The values for CX1 and CX2 can be determined by the formula: CX1 = CX2 = 2CL (CPad + CParasitic), where CL is the crystal load capacitance, CPad is the pad capacitance (~3 pF), and CParasitic is the parasitic capacitance of the external circuit. PCB design guidelines for oscillators emphasize placing components as close as possible to the chip's input/output pins, keeping trace lengths short, ensuring a common ground plane for load capacitors, minimizing loops for noise reduction, and laying out a ground pattern under the crystal unit without other signal lines. Similar guidelines apply to the RTC oscillator circuit, which uses a 32.768 kHz crystal and external capacitances CX1 and CX2 connected to XTAL32K_P and XTAL32K_N.

Boot mode configurations are detailed, with the internal ROM memory storing the boot code executed after reset or power-on. The bootloader decides whether to boot from internal flash or enter ISP mode based on CMPA bits, ISP pin (PIO0_5), and image header type. If PIO0_5 is HIGH, the device attempts a passive boot from internal flash; if no valid image is found, it enters ISP boot mode. If PIO0_5 is LOW, it enters ISP boot mode, allowing image download via serial interfaces (UART0, I2C1, SPI3, HS_SPI, USB0, USB1). Specific pin assignments for USART, I2C, and SPI ISP modes are provided, which are fixed by the ROM code.

The debug and programming interface section describes common debug connectors. For LPC55Sxx, a 0.05" 10-pin Samtec FTSH-105 connector is recommended for debug, supporting both JTAG and Serial-Wire Debug (SWD) protocols. The JTAG functions (TRST, TCK, TMS, TDI, TDO) are selected on PIO0_2 to PIO0_6 in boundary scan mode but cannot be used for debug mode. SWD/SWV pins are overlaid on JTAG pins. SWD signals include SWCLK (PIO0_11, input, pull-down), SWDIO (PIO0_12, input, pull-up), SWO (PIO0_8, output, Z), and RESET (dedicated pin, pull-up). External pull-up/down resistors for JTAG signals can be added to increase debugger connection robustness.

Communication modules include the CAN-FD interface for LPC55S1x devices, which fully implements the CAN protocol specification, CAN with Flexible Data rate (CAN FD), and CAN 2.0 version B protocol. It supports standard and extended message frames and long payloads up to 64 bytes, with transfer rates up to 8 Mbps. The physical layer characteristics are specified in ISO-11898-2, recommending parallel wires with a nominal impedance of 120 Ω. Shielded twisted pair cables are generally necessary for EMC reasons.

For analog features, the ADC impedance is discussed, with a block diagram showing the simplified input pin equivalent circuit and channel select circuit. The datasheet provides RADIN values for fast input channels (PIO0_16/PIO0_23, PIO0_11/PIO0_10, PIO0_12/PIO0_15, PIO1_0/PIO0_31) ranging from 1 kΩ to 2 kΩ (typical to max), and for standard input channels (PIO1_9/PIO1_8) ranging from 1.4 kΩ to 3.6 kΩ.

General recommendations cover pin termination and PCB layout. All pins have pull-ups, pull-downs, and inputs turned off at reset, except for PIO0_2, PIO0_5, PIO0_11, PIO0_12, PIO0_13, and PIO0_14. Unused pins should be terminated to minimize power consumption; GPIO pins should be configured as outputs set to LOW with internal pull-up disabled. XTAL32K_P should be connected to ground to disable the RTC oscillator, and XTAL32K_N can be left unconnected. VREFN should be tied to VSS, VDDA to VBAT_DCDC, and VSSA to VSS. USBn_DP and USBn_DM can be left unconnected, while USBn_3V3, USB1_VBUS, and USBn_VSS should be tied to VBAT_DCDC and VSS, respectively.

PCB layout guidelines recommend using a multilayer PCB with dedicated ground (VSS) and VDD supply layers for good decoupling and shielding. Traces should avoid right-angle bends, preferring two 45° corners or round bends to minimize impedance changes and reflections. Grounding techniques emphasize a solid and unbroken ground plane, avoiding splits for analog, digital, and power pins. Floating metal/shapes near microcontroller pins should be eliminated by filling unused copper areas with ground and connecting them to the ground plane through vias. EMI/EMC and ESD considerations are crucial, with recommendations including adequate filter capacitors with low equivalent series inductance (ESL), creating ground planes, keeping current loops small, and isolating high-speed signals from input/output ports. For optimal signal integrity, a four-layer PCB is recommended for Ethernet applications, with specific layer stack-ups provided for four, six, and eight-layer boards. Finally, the document reminds users that internal ESD diodes are for short discharge pulses only, and input signals must remain within specified electrical parameters to prevent unexpected behavior or damage to the MCU.

NXP Semiconductors LPC55S0x Specifications

General IconGeneral
BrandNXP Semiconductors
ModelLPC55S0x
CategoryMicrocontrollers
LanguageEnglish

Related product manuals