Datasheet
DRAFT
DRAFT DRAFT DR
DRAFT DRAFT DRAFT
D
RAF
DRAFT DRAFT DRA
F
T D
RAFT DR
AFT D
DRA
F
T DRAFT DRAFT
D
RAFT
DRAFT
D
RAFT
DRA
LPC15xx All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved.
Objective data sheet Rev. 1.0 — 16 January 2014 97 of 98
continued >>
NXP Semiconductors
LPC15xx
32-bit ARM Cortex-M3 microcontroller
19. Contents
1 General description. . . . . . . . . . . . . . . . . . . . . . 1
2 Features and benefits . . . . . . . . . . . . . . . . . . . . 1
3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4 Ordering information. . . . . . . . . . . . . . . . . . . . . 4
4.1 Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 5
5 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6 Pinning information. . . . . . . . . . . . . . . . . . . . . . 7
6.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
7 Functional description . . . . . . . . . . . . . . . . . . 18
7.1 ARM Cortex-M3 processor . . . . . . . . . . . . . . . 18
7.2 Memory Protection Unit (MPU). . . . . . . . . . . . 19
7.3 On-chip flash programming memory . . . . . . . 19
7.3.1 ISP pin configuration . . . . . . . . . . . . . . . . . . . 19
7.4 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7.5 SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7.6 On-chip ROM . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.7 AHB multilayer matrix . . . . . . . . . . . . . . . . . . . 22
7.8 Memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 23
7.9 Nested Vectored Interrupt controller (NVIC) . . 24
7.9.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
7.9.2 Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 24
7.10 IOCON block . . . . . . . . . . . . . . . . . . . . . . . . . 24
7.10.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
7.10.2 Standard I/O pad configuration. . . . . . . . . . . . 24
7.11 Switch Matrix (SWM) . . . . . . . . . . . . . . . . . . . 25
7.12 Fast General-Purpose parallel I/O (GPIO) . . . 26
7.12.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7.13 Pin interrupt/pattern match engine (PINT) . . . 26
7.13.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7.14 GPIO group interrupts (GINT0/1) . . . . . . . . . . 27
7.14.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.15 DMA controller . . . . . . . . . . . . . . . . . . . . . . . . 27
7.15.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.16 Input multiplexing (Input mux) . . . . . . . . . . . . 28
7.17 USB interface . . . . . . . . . . . . . . . . . . . . . . . . 28
7.17.1 Full-speed USB device controller . . . . . . . . . . 28
7.17.1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
7.18 USART0/1/2 . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.18.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.19 SPI0/1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.19.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.20 I2C-bus interface . . . . . . . . . . . . . . . . . . . . . . 30
7.20.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.21 C_CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.21.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.22 PWM/timer/motor control subsystem . . . . . . . 31
7.22.1 PWW/timer subsystem . . . . . . . . . . . . . . . . . . 31
7.22.2 Timer controlled subsystem . . . . . . . . . . . . . . 32
7.22.3 SCTimer/PWM in the large configuration (SCT0/1)
33
7.22.3.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.22.4 State-Configurable Timers in the small
configuration (SCT2/3). . . . . . . . . . . . . . . . . . 35
7.22.4.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
7.22.5 SCT Input processing unit (SCTIPU) . . . . . . . 36
7.22.5.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
7.23 Quadrature Encoder Interface (QEI) . . . . . . . 37
7.23.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.24 Analog-to-Digital Converter (ADC). . . . . . . . . 37
7.24.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
7.25 Digital-to-Analog Converter (DAC). . . . . . . . . 38
7.25.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
7.26 Analog comparator (ACMP). . . . . . . . . . . . . . 38
7.26.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
7.27 Temperature sensor . . . . . . . . . . . . . . . . . . . . 39
7.28 Internal voltage reference . . . . . . . . . . . . . . . 39
7.29 Multi-Rate Timer (MRT) . . . . . . . . . . . . . . . . . 40
7.29.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
7.30 Windowed WatchDog Timer (WWDT) . . . . . . 40
7.30.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
7.31 Repetitive Interrupt (RI) timer. . . . . . . . . . . . . 41
7.31.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
7.32 System tick timer . . . . . . . . . . . . . . . . . . . . . . 41
7.33 Real-Time Clock (RTC) . . . . . . . . . . . . . . . . . 41
7.33.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
7.34 Clock generation . . . . . . . . . . . . . . . . . . . . . . 42
7.35 Power domains . . . . . . . . . . . . . . . . . . . . . . . 43
7.36 Integrated oscillators . . . . . . . . . . . . . . . . . . . 43
7.36.1 Internal RC oscillator . . . . . . . . . . . . . . . . . . . 44
7.36.2 System oscillator . . . . . . . . . . . . . . . . . . . . . . 44
7.36.3 Watchdog oscillator . . . . . . . . . . . . . . . . . . . . 44
7.36.4 RTC oscillator . . . . . . . . . . . . . . . . . . . . . . . . 44
7.37 System PLL, USB PLL, and SCT PLL . . . . . . 44
7.38 Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . 45
7.39 Wake-up process . . . . . . . . . . . . . . . . . . . . . . 45
7.40 Power control . . . . . . . . . . . . . . . . . . . . . . . . . 45
7.40.1 Power profiles . . . . . . . . . . . . . . . . . . . . . . . . 45
7.40.2 Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . 45
7.40.3 Deep-sleep mode. . . . . . . . . . . . . . . . . . . . . . 46
7.40.4 Power-down mode . . . . . . . . . . . . . . . . . . . . . 46
7.40.5 Deep power-down mode . . . . . . . . . . . . . . . . 46
7.41 System control . . . . . . . . . . . . . . . . . . . . . . . . 47
7.41.1 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
7.41.2 Brownout detection . . . . . . . . . . . . . . . . . . . . 47
7.41.3 Code security (Code Read Protection - CRP) 47