LPC540xx
NXP Semiconductors
32-bit ARM Cortex-M4 microcontroller
21. Contents
1
General description. . . . . . . . . . . . . . . . . . . . . . 1
7.14.1.1 USB0 device controller . . . . . . . . . . . . . . . . . 69
7.14.1.2 USB0 host controller . . . . . . . . . . . . . . . . . . . 70
2
Features and benefits . . . . . . . . . . . . . . . . . . . . 1
Ordering information. . . . . . . . . . . . . . . . . . . . . 5
Ordering options. . . . . . . . . . . . . . . . . . . . . . . . 6
Marking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 9
7.14.2
High-speed USB Host/Device interface
3
3.1
4
(USB1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
7.14.2.1 USB1 device controller . . . . . . . . . . . . . . . . . 70
7.14.2.2 USB1 host controller . . . . . . . . . . . . . . . . . . . 70
5
7.14.3
7.14.3.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
7.14.4 SPI Flash Interface (SPIFI) . . . . . . . . . . . . . . 71
7.14.4.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
7.14.5 CAN Flexible Data (CAN FD) interface . . . . . 72
7.14.5.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
7.14.6 DMIC subsystem . . . . . . . . . . . . . . . . . . . . . . 72
7.14.6.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
7.14.7 Smart card interface. . . . . . . . . . . . . . . . . . . . 72
7.14.7.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
7.14.8 Flexcomm Interface serial communication. . . 72
Ethernet AVB . . . . . . . . . . . . . . . . . . . . . . . . . 71
6
6.1
6.2
6.2.1
6.2.2
Pinning information. . . . . . . . . . . . . . . . . . . . . 11
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 13
Termination of unused pins. . . . . . . . . . . . . . . 54
Pin states in different power modes . . . . . . . . 55
7
Functional description . . . . . . . . . . . . . . . . . . 56
Architectural overview . . . . . . . . . . . . . . . . . . 56
ARM Cortex-M4 processor . . . . . . . . . . . . . . . 56
ARM Cortex-M4 integrated Floating Point Unit
(FPU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Memory Protection Unit (MPU). . . . . . . . . . . . 56
Nested Vectored Interrupt Controller (NVIC) for
Cortex-M4. . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 57
System Tick timer (SysTick) . . . . . . . . . . . . . . 57
On-chip static RAM. . . . . . . . . . . . . . . . . . . . . 57
On-chip ROM . . . . . . . . . . . . . . . . . . . . . . . . . 57
Memory mapping . . . . . . . . . . . . . . . . . . . . . . 58
System control . . . . . . . . . . . . . . . . . . . . . . . . 61
Clock sources. . . . . . . . . . . . . . . . . . . . . . . . . 61
7.1
7.2
7.3
7.14.8.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
7.14.8.2 SPI serial I/O controller . . . . . . . . . . . . . . . . . 73
7.14.8.3 I2C-bus interface . . . . . . . . . . . . . . . . . . . . . . 73
7.14.8.4 USART. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
7.14.8.5 I2S-bus interface . . . . . . . . . . . . . . . . . . . . . . 74
7.4
7.5
7.5.1
7.5.2
7.6
7.7
7.8
7.9
7.10
7.10.1
7.15
7.15.1
Digital peripheral . . . . . . . . . . . . . . . . . . . . . . 75
LCD controller . . . . . . . . . . . . . . . . . . . . . . . . 75
7.15.1.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
7.15.2 SD/MMC card interface . . . . . . . . . . . . . . . . . 76
7.15.2.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
7.15.3 External memory controller . . . . . . . . . . . . . . 76
7.15.3.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
7.15.4 DMA controller . . . . . . . . . . . . . . . . . . . . . . . . 78
7.15.4.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
7.10.1.1 Free Running Oscillator (FRO). . . . . . . . . . . . 61
7.10.1.2 Watchdog oscillator (WDOSC) . . . . . . . . . . . . 61
7.10.1.3 Crystal oscillator . . . . . . . . . . . . . . . . . . . . . . . 62
7.10.2
7.10.3
7.10.4
7.10.5
7.10.6
7.10.7
7.11
7.11.1
7.11.2
7.11.3
7.12
7.12.1
7.13
7.16
7.16.1
Counter/timers . . . . . . . . . . . . . . . . . . . . . . . . 78
General-purpose 32-bit timers/external event
counter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
System PLL (PLL0) . . . . . . . . . . . . . . . . . . . . 62
USB PLL (PLL1). . . . . . . . . . . . . . . . . . . . . . . 62
Audio PLL (PLL2) . . . . . . . . . . . . . . . . . . . . . . 62
Clock Generation . . . . . . . . . . . . . . . . . . . . . . 63
Brownout detection. . . . . . . . . . . . . . . . . . . . . 65
Safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Power control . . . . . . . . . . . . . . . . . . . . . . . . . 65
Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Deep-sleep mode . . . . . . . . . . . . . . . . . . . . . . 65
Deep power-down mode . . . . . . . . . . . . . . . . 65
General Purpose I/O (GPIO) . . . . . . . . . . . . . 68
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Pin interrupt/pattern engine . . . . . . . . . . . . . . 68
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Serial peripherals . . . . . . . . . . . . . . . . . . . . . . 69
Full-speed USB Host/Device interface (USB0) . .
69
7.16.1.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
7.16.2 SCTimer/PWM . . . . . . . . . . . . . . . . . . . . . . . . 79
7.16.2.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7.16.3 Windowed WatchDog Timer (WWDT) . . . . . . 80
7.16.3.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
7.16.4
7.16.5
Real Time Clock (RTC) timer. . . . . . . . . . . . . 80
Multi-Rate Timer (MRT) . . . . . . . . . . . . . . . . . 80
7.16.5.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
7.16.6 Repetitive Interrupt Timer (RIT) . . . . . . . . . . . 81
7.16.6.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
7.17
7.17.1
7.18
12-bit Analog-to-Digital Converter (ADC). . . . 81
Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
CRC engine . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
7.13.1
7.14
7.14.1
7.18.1
continued >>
LPC540xx
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2018. All rights reserved.
Product data sheet
Rev. 1.8 — 22 June 2018
167 of 168