Datasheet

NXP Semiconductors
LPC2104/2105/2106
Single-chip 32-bit microcontrollers
© NXP B.V. 2008. All rights reserved.
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: salesaddresses@nxp.com
Date of release: 20 June 2008
Document identifier: LPC2104_2105_2106_7
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
15. Contents
1 General description . . . . . . . . . . . . . . . . . . . . . . 1
2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2.1 New features implemented in
LPC2104/2105/2106/01 devices. . . . . . . . . . . . 1
2.2 Key common features. . . . . . . . . . . . . . . . . . . . 1
3 Ordering information . . . . . . . . . . . . . . . . . . . . . 2
3.1 Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 3
4 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 4
5 Pinning information. . . . . . . . . . . . . . . . . . . . . . 5
5.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 7
6 Functional description . . . . . . . . . . . . . . . . . . 10
6.1 Architectural overview. . . . . . . . . . . . . . . . . . . 10
6.2 On-chip flash program memory . . . . . . . . . . . 10
6.3 On-chip static RAM. . . . . . . . . . . . . . . . . . . . . 10
6.4 Memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 11
6.5 Interrupt controller . . . . . . . . . . . . . . . . . . . . . 12
6.5.1 Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 12
6.6 Pin connect block . . . . . . . . . . . . . . . . . . . . . . 13
6.7 Pin function select register 0 (PINSEL0 -
0xE002 C000). . . . . . . . . . . . . . . . . . . . . . . . . 13
6.8 Pin function select register 1 (PINSEL1 -
0xE002 C004). . . . . . . . . . . . . . . . . . . . . . . . . 15
6.9 General purpose parallel I/O. . . . . . . . . . . . . . 16
6.9.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.9.2 Features added with the Fast GPIO set of
registers available on LPC2104/2105/2106/01
only . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.10 UARTs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.10.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.10.2 UART features available in
LPC2104/2105/2106/01 only . . . . . . . . . . . . . 17
6.11 I
2
C-bus serial I/O controller . . . . . . . . . . . . . . 17
6.11.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.12 SPI serial I/O controller. . . . . . . . . . . . . . . . . . 18
6.12.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.12.2 Features available in LPC2104/2105/2106/01
only . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.13 SSP controller (LPC2104/2015/2106/01 only) 18
6.13.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.14 General purpose timers . . . . . . . . . . . . . . . . . 18
6.14.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.14.2 Features available in LPC2104/2105/2106/01
only . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.15 Watchdog timer. . . . . . . . . . . . . . . . . . . . . . . . 19
6.15.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.16 Real time clock . . . . . . . . . . . . . . . . . . . . . . . . 20
6.16.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
6.17 Pulse width modulator . . . . . . . . . . . . . . . . . . 20
6.17.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6.18 System control . . . . . . . . . . . . . . . . . . . . . . . . 21
6.18.1 Crystal oscillator. . . . . . . . . . . . . . . . . . . . . . . 21
6.18.2 PLL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6.18.3 Reset and wake-up timer . . . . . . . . . . . . . . . . 22
6.18.4 Code security (Code Read Protection - CRP) 22
6.18.5 External interrupt inputs . . . . . . . . . . . . . . . . . 23
6.18.6 Memory mapping control . . . . . . . . . . . . . . . . 23
6.18.7 Power control . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.18.8 APB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.19 Emulation and debugging. . . . . . . . . . . . . . . . 24
6.19.1 EmbeddedICE . . . . . . . . . . . . . . . . . . . . . . . . 24
6.19.2 Embedded trace. . . . . . . . . . . . . . . . . . . . . . . 24
6.19.3 RealMonitor . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7 Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 26
8 Static characteristics . . . . . . . . . . . . . . . . . . . 27
8.1 Power consumption measurements for
LPC2104/2105/2106/01 . . . . . . . . . . . . . . . . . 29
9 Dynamic characteristics. . . . . . . . . . . . . . . . . 34
9.1 Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
10 Package outline . . . . . . . . . . . . . . . . . . . . . . . . 36
11 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 38
12 Revision history . . . . . . . . . . . . . . . . . . . . . . . 39
13 Legal information . . . . . . . . . . . . . . . . . . . . . . 40
13.1 Data sheet status . . . . . . . . . . . . . . . . . . . . . . 40
13.2 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
13.3 Disclaimers. . . . . . . . . . . . . . . . . . . . . . . . . . . 40
13.4 Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . 40
14 Contact information . . . . . . . . . . . . . . . . . . . . 40
15 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41