NXP Semiconductors
LPC2141/42/44/46/48
Single-chip 16-bit/32-bit microcontrollers
NXP B.V. 2011.
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: 12 August 2011
Document identifier: LPC2141_42_44_46_48
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
18. Contents
1
2
2.1
3
3.1
4
5
5.1
5.2
6
6.1
6.2
6.3
6.4
6.5
6.5.1
6.6
6.7
6.7.1
6.8
6.8.1
6.9
6.9.1
6.10
6.10.1
6.11
6.11.1
6.12
6.12.1
6.13
6.13.1
6.14
6.14.1
6.15
General description. . . . . . . . . . . . . . . . . . . . . . 1
Features and benefits . . . . . . . . . . . . . . . . . . . . 1
Key features . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Ordering information. . . . . . . . . . . . . . . . . . . . . 2
Ordering options. . . . . . . . . . . . . . . . . . . . . . . . 2
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Pinning information. . . . . . . . . . . . . . . . . . . . . . 4
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 7
Functional description . . . . . . . . . . . . . . . . . . 13
Architectural overview . . . . . . . . . . . . . . . . . . 13
On-chip flash program memory . . . . . . . . . . . 13
On-chip static RAM. . . . . . . . . . . . . . . . . . . . . 14
Memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 14
Interrupt controller . . . . . . . . . . . . . . . . . . . . . 15
Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 15
Pin connect block . . . . . . . . . . . . . . . . . . . . . . 15
Fast general purpose parallel I/O (GPIO). . . . 16
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
10-bit ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
10-bit DAC . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
USB 2.0 device controller. . . . . . . . . . . . . . . . 17
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
UARTs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
I
2
C-bus serial I/O controller . . . . . . . . . . . . . . 18
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
SPI serial I/O controller. . . . . . . . . . . . . . . . . . 18
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
SSP serial I/O controller . . . . . . . . . . . . . . . . . 19
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
General purpose timers/external event
counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Watchdog timer. . . . . . . . . . . . . . . . . . . . . . . . 20
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Real-time clock. . . . . . . . . . . . . . . . . . . . . . . . 20
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Pulse width modulator . . . . . . . . . . . . . . . . . . 21
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
System control . . . . . . . . . . . . . . . . . . . . . . . . 22
Crystal oscillator . . . . . . . . . . . . . . . . . . . . . . . 22
PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Reset and wake-up timer . . . . . . . . . . . . . . . . 22
Brownout detector . . . . . . . . . . . . . . . . . . . . . 23
6.15.1
6.16
6.16.1
6.17
6.17.1
6.18
6.18.1
6.19
6.19.1
6.19.2
6.19.3
6.19.4
6.19.5
6.19.6
6.19.7
6.19.8
6.19.9
6.20
6.20.1
6.20.2
6.20.3
7
8
9
9.1
10
11
12
12.1
12.2
Code security. . . . . . . . . . . . . . . . . . . . . . . . . 23
External interrupt inputs. . . . . . . . . . . . . . . . . 23
Memory mapping control . . . . . . . . . . . . . . . . 23
Power control. . . . . . . . . . . . . . . . . . . . . . . . . 24
APB bus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Emulation and debugging . . . . . . . . . . . . . . . 24
EmbeddedICE . . . . . . . . . . . . . . . . . . . . . . . . 24
Embedded trace. . . . . . . . . . . . . . . . . . . . . . . 25
RealMonitor . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 26
Static characteristics . . . . . . . . . . . . . . . . . . . 27
Dynamic characteristics. . . . . . . . . . . . . . . . . 30
Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
ADC electrical characteristics . . . . . . . . . . . . 32
DAC electrical characteristics . . . . . . . . . . . . 35
Application information . . . . . . . . . . . . . . . . . 36
Suggested USB interface solutions . . . . . . . . 36
Crystal oscillator XTAL input and component
selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
RTC 32 kHz oscillator component selection . 38
XTAL and RTCX Printed Circuit Board (PCB)
layout guidelines . . . . . . . . . . . . . . . . . . . . . . 39
Package outline. . . . . . . . . . . . . . . . . . . . . . . . 40
Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 41
Revision history . . . . . . . . . . . . . . . . . . . . . . . 42
Legal information . . . . . . . . . . . . . . . . . . . . . . 43
Data sheet status. . . . . . . . . . . . . . . . . . . . . . 43
Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Contact information . . . . . . . . . . . . . . . . . . . . 44
Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
12.3
12.4
13
14
15
16
16.1
16.2
16.3
16.4
17
18