Datasheet
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved.
Product data sheet Rev. 1 — 19 February 2014 98 of 99
continued >>
NXP Semiconductors
LPC15xx
32-bit ARM Cortex-M3 microcontroller
21. Contents
1 General description. . . . . . . . . . . . . . . . . . . . . . 1
2 Features and benefits . . . . . . . . . . . . . . . . . . . . 1
3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4 Ordering information. . . . . . . . . . . . . . . . . . . . . 4
4.1 Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 5
5 Marking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 7
7 Pinning information. . . . . . . . . . . . . . . . . . . . . . 8
7.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
7.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . 12
8 Functional description . . . . . . . . . . . . . . . . . . 21
8.1 ARM Cortex-M3 processor. . . . . . . . . . . . . . . 21
8.2 Memory Protection Unit (MPU). . . . . . . . . . . . 21
8.3 On-chip flash programming memory . . . . . . . 22
8.3.1 ISP pin configuration . . . . . . . . . . . . . . . . . . . 22
8.4 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
8.5 SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.6 On-chip ROM . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.7 AHB multilayer matrix. . . . . . . . . . . . . . . . . . . 24
8.8 Memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 25
8.9 Nested Vectored Interrupt controller (NVIC). . 26
8.9.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
8.9.2 Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 26
8.10 IOCON block . . . . . . . . . . . . . . . . . . . . . . . . . 26
8.10.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
8.10.2 Standard I/O pad configuration. . . . . . . . . . . . 26
8.11 Switch Matrix (SWM) . . . . . . . . . . . . . . . . . . . 27
8.12 Fast General-Purpose parallel I/O (GPIO) . . . 28
8.12.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
8.13 Pin interrupt/pattern match engine (PINT) . . . 28
8.13.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
8.14 GPIO group interrupts (GINT0/1) . . . . . . . . . . 29
8.14.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.15 DMA controller . . . . . . . . . . . . . . . . . . . . . . . . 29
8.15.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.16 Input multiplexing (Input mux) . . . . . . . . . . . . 30
8.17 USB interface . . . . . . . . . . . . . . . . . . . . . . . . 30
8.17.1 Full-speed USB device controller . . . . . . . . . . 30
8.17.1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.18 USART0/1/2 . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.18.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.19 SPI0/1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.19.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.20 I2C-bus interface . . . . . . . . . . . . . . . . . . . . . . 32
8.20.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.21 C_CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.21.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.22 PWM/timer/motor control subsystem. . . . . . . 33
8.22.1 SCtimer/PWM subsystem . . . . . . . . . . . . . . . 33
8.22.2 Timer controlled subsystem . . . . . . . . . . . . . . 34
8.22.3 SCTimer/PWM in the large configuration
(SCT0/1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8.22.3.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8.22.4 State-Configurable Timers in the small
configuration (SCT2/3). . . . . . . . . . . . . . . . . . 37
8.22.4.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.22.5 SCT Input processing unit (SCTIPU). . . . . . . 38
8.22.5.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
8.23 Quadrature Encoder Interface (QEI) . . . . . . . 39
8.23.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
8.24 Analog-to-Digital Converter (ADC). . . . . . . . . 39
8.24.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
8.25 Digital-to-Analog Converter (DAC). . . . . . . . . 40
8.25.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
8.26 Analog comparator (ACMP). . . . . . . . . . . . . . 40
8.26.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
8.27 Temperature sensor. . . . . . . . . . . . . . . . . . . . 41
8.28 Internal voltage reference . . . . . . . . . . . . . . . 41
8.29 Multi-Rate Timer (MRT) . . . . . . . . . . . . . . . . . 42
8.29.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
8.30 Windowed WatchDog Timer (WWDT) . . . . . . 42
8.30.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
8.31 Repetitive Interrupt (RI) timer. . . . . . . . . . . . . 43
8.31.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
8.32 System tick timer . . . . . . . . . . . . . . . . . . . . . . 43
8.33 Real-Time Clock (RTC) . . . . . . . . . . . . . . . . . 43
8.33.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
8.34 Clock generation . . . . . . . . . . . . . . . . . . . . . . 44
8.35 Power domains . . . . . . . . . . . . . . . . . . . . . . . 45
8.36 Integrated oscillators . . . . . . . . . . . . . . . . . . . 45
8.36.1 Internal RC oscillator . . . . . . . . . . . . . . . . . . . 46
8.36.2 System oscillator . . . . . . . . . . . . . . . . . . . . . . 46
8.36.3 Watchdog oscillator . . . . . . . . . . . . . . . . . . . . 46
8.36.4 RTC oscillator . . . . . . . . . . . . . . . . . . . . . . . . 46
8.37 System PLL, USB PLL, and SCT PLL . . . . . . 46
8.38 Clock output. . . . . . . . . . . . . . . . . . . . . . . . . . 47
8.39 Wake-up process . . . . . . . . . . . . . . . . . . . . . . 47
8.40 Power control. . . . . . . . . . . . . . . . . . . . . . . . . 47
8.40.1 Power profiles . . . . . . . . . . . . . . . . . . . . . . . . 47
8.40.2 Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . 47
8.40.3 Deep-sleep mode. . . . . . . . . . . . . . . . . . . . . . 48
8.40.4 Power-down mode. . . . . . . . . . . . . . . . . . . . . 48
8.40.5 Deep power-down mode . . . . . . . . . . . . . . . . 48
8.41 System control . . . . . . . . . . . . . . . . . . . . . . . . 49