Datasheet
LPC122X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
Product data sheet Rev. 2 — 26 August 2011 60 of 61
continued >>
NXP Semiconductors
LPC122x
32-bit ARM Cortex-M0 microcontroller
19. Contents
1 General description. . . . . . . . . . . . . . . . . . . . . . 1
2 Features and benefits . . . . . . . . . . . . . . . . . . . . 1
3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
4 Ordering information. . . . . . . . . . . . . . . . . . . . . 3
4.1 Ordering options. . . . . . . . . . . . . . . . . . . . . . . . 4
5 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 5
6 Pinning information. . . . . . . . . . . . . . . . . . . . . . 6
6.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 8
7 Functional description . . . . . . . . . . . . . . . . . . 16
7.1 ARM Cortex-M0 processor . . . . . . . . . . . . . . . 16
7.1.1 System tick timer . . . . . . . . . . . . . . . . . . . . . . 16
7.2 On-chip flash program memory . . . . . . . . . . . 16
7.3 On-chip SRAM . . . . . . . . . . . . . . . . . . . . . . . . 16
7.4 Memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 16
7.5 Nested Vectored Interrupt Controller (NVIC) . 17
7.5.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
7.5.2 Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 18
7.6 IOCONFIG block . . . . . . . . . . . . . . . . . . . . . . 18
7.6.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
7.7 Micro DMA controller . . . . . . . . . . . . . . . . . . . 18
7.7.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
7.8 CRC engine . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7.8.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7.9 Fast general purpose parallel I/O . . . . . . . . . . 19
7.9.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7.10 UARTs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7.10.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7.11 SSP/SPI serial I/O controller . . . . . . . . . . . . . 20
7.11.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7.12 I
2
C-bus serial I/O controller . . . . . . . . . . . . . . 20
7.12.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7.13 10-bit ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.13.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.14 Comparator block . . . . . . . . . . . . . . . . . . . . . . 21
7.14.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.15 General purpose external event
counter/timers. . . . . . . . . . . . . . . . . . . . . . . . . 22
7.15.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
7.16 Windowed WatchDog timer (WWDT) . . . . . . . 22
7.16.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
7.17 Real-time clock (RTC) . . . . . . . . . . . . . . . . . . 23
7.17.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
7.18 Clocking and power control . . . . . . . . . . . . . . 23
7.18.1 Crystal oscillators . . . . . . . . . . . . . . . . . . . . . . 23
7.18.1.1 Internal RC oscillator . . . . . . . . . . . . . . . . . . . 24
7.18.1.2 System oscillator . . . . . . . . . . . . . . . . . . . . . . 24
7.18.1.3 Watchdog oscillator . . . . . . . . . . . . . . . . . . . . 25
7.18.2 System PLL . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.18.3 Clock output. . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.18.4 Wake-up process . . . . . . . . . . . . . . . . . . . . . . 25
7.18.5 Power control. . . . . . . . . . . . . . . . . . . . . . . . . 25
7.18.5.1 Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.18.5.2 Deep-sleep mode. . . . . . . . . . . . . . . . . . . . . . 26
7.18.5.3 Deep power-down mode . . . . . . . . . . . . . . . . 26
7.19 System control . . . . . . . . . . . . . . . . . . . . . . . . 26
7.19.1 Start logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7.19.2 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7.19.3 Brownout detection . . . . . . . . . . . . . . . . . . . . 27
7.19.4 Code security (Code Read Protection - CRP) 27
7.19.5 APB interface . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.19.6 AHB-Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.19.7 External interrupt inputs . . . . . . . . . . . . . . . . . 27
7.20 Emulation and debugging . . . . . . . . . . . . . . . 28
7.21 Integer division routines. . . . . . . . . . . . . . . . . 28
8 Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 29
9 Thermal characteristics . . . . . . . . . . . . . . . . . 30
9.1 Thermal characteristics . . . . . . . . . . . . . . . . . 30
10 Static characteristics . . . . . . . . . . . . . . . . . . . 31
10.1 Peripheral power consumption . . . . . . . . . . . 34
10.2 Power consumption . . . . . . . . . . . . . . . . . . . 34
10.3 Electrical pin characteristics. . . . . . . . . . . . . . 38
10.4 ADC characteristics . . . . . . . . . . . . . . . . . . . . 42
10.5 BOD static characteristics . . . . . . . . . . . . . . . 44
11 Dynamic characteristics. . . . . . . . . . . . . . . . . 45
11.1 Power-up ramp conditions . . . . . . . . . . . . . . . 45
11.2 Flash memory . . . . . . . . . . . . . . . . . . . . . . . . 45
11.3 External clock. . . . . . . . . . . . . . . . . . . . . . . . . 46
11.4 Internal oscillators . . . . . . . . . . . . . . . . . . . . . 47
11.5 I
2
C-bus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
12 Application information . . . . . . . . . . . . . . . . . 50
12.1 XTAL input . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
12.2 XTAL Printed Circuit Board (PCB) layout
guidelines. . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
12.3 ElectroMagnetic Compatibility (EMC) . . . . . . 51
13 Package outline. . . . . . . . . . . . . . . . . . . . . . . . 52
14 Soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
15 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 56
16 Revision history . . . . . . . . . . . . . . . . . . . . . . . 57
17 Legal information . . . . . . . . . . . . . . . . . . . . . . 58
17.1 Data sheet status. . . . . . . . . . . . . . . . . . . . . . 58
17.2 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
17.3 Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . 58