![](http://datasheet.mmic.net.cn/390000/LPC1224FBD48_datasheet_16816422/LPC1224FBD48_60.png)
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
2
3
4
4.1
5
6
6.1
6.2
7
7.1
7.1.1
7.2
7.3
7.4
7.5
7.5.1
7.5.2
7.6
7.6.1
7.7
7.7.1
7.8
7.8.1
7.9
7.9.1
7.10
7.10.1
7.11
7.11.1
7.12
7.12.1
7.13
7.13.1
7.14
7.14.1
7.15
General description. . . . . . . . . . . . . . . . . . . . . . 1
Features and benefits . . . . . . . . . . . . . . . . . . . . 1
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Ordering information. . . . . . . . . . . . . . . . . . . . . 3
Ordering options. . . . . . . . . . . . . . . . . . . . . . . . 4
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Pinning information. . . . . . . . . . . . . . . . . . . . . . 6
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 8
Functional description . . . . . . . . . . . . . . . . . . 16
ARM Cortex-M0 processor. . . . . . . . . . . . . . . 16
System tick timer . . . . . . . . . . . . . . . . . . . . . . 16
On-chip flash program memory . . . . . . . . . . . 16
On-chip SRAM . . . . . . . . . . . . . . . . . . . . . . . . 16
Memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 16
Nested Vectored Interrupt Controller (NVIC) . 17
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 18
IOCONFIG block . . . . . . . . . . . . . . . . . . . . . . 18
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Micro DMA controller . . . . . . . . . . . . . . . . . . . 18
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
CRC engine . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Fast general purpose parallel I/O . . . . . . . . . . 19
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
UARTs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
SSP/SPI serial I/O controller . . . . . . . . . . . . . 20
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
I
2
C-bus serial I/O controller . . . . . . . . . . . . . . 20
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
10-bit ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Comparator block . . . . . . . . . . . . . . . . . . . . . . 21
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
General purpose external event
counter/timers. . . . . . . . . . . . . . . . . . . . . . . . . 22
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Windowed WatchDog timer (WWDT) . . . . . . . 22
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Real-time clock (RTC) . . . . . . . . . . . . . . . . . . 23
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Clocking and power control . . . . . . . . . . . . . . 23
Crystal oscillators . . . . . . . . . . . . . . . . . . . . . . 23
7.18.1.1 Internal RC oscillator . . . . . . . . . . . . . . . . . . . 24
7.18.1.2 System oscillator . . . . . . . . . . . . . . . . . . . . . . 24
7.15.1
7.16
7.16.1
7.17
7.17.1
7.18
7.18.1
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