Datasheet

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