LPC2141/42/44/46/48
Single-chip 16-bit/32-bit microcontrollers; up to 512 kB flash
with ISP/IAP, USB 2.0 full-speed device, 10-bit ADC and DAC
Rev. 5 — 12 August 2011
Product data sheet
1. General description
The LPC2141/42/44/46/48 microcontrollers are based on a 16-bit/32-bit ARM7TDMI-S
CPU with real-time emulation and embedded trace support, that combine the
microcontroller with embedded high-speed flash memory ranging from 32 kB to 512 kB. A
128-bit wide memory interface and a unique accelerator architecture enable 32-bit code
execution at the maximum clock rate. For critical code size applications, the alternative
16-bit Thumb mode reduces code by more than 30 % with minimal performance penalty.
Due to their tiny size and low power consumption, LPC2141/42/44/46/48 are ideal for
applications where miniaturization is a key requirement, such as access control and
point-of-sale. Serial communications interfaces ranging from a USB 2.0 Full-speed
device, multiple UARTs, SPI, SSP to I
2
C-bus and on-chip SRAM of 8 kB up to 40 kB,
make these devices very well suited for communication gateways and protocol
converters, soft modems, voice recognition and low end imaging, providing both large
buffer size and high processing power. Various 32-bit timers, single or dual 10-bit ADC(s),
10-bit DAC, PWM channels and 45 fast GPIO lines with up to nine edge or level sensitive
external interrupt pins make these microcontrollers suitable for industrial control and
medical systems.
2. Features and benefits
2.1 Key features
16-bit/32-bit ARM7TDMI-S microcontroller in a tiny LQFP64 package.
8 kB to 40 kB of on-chip static RAM and 32 kB to 512 kB of on-chip flash memory.
128-bit wide interface/accelerator enables high-speed 60 MHz operation.
In-System Programming/In-Application Programming (ISP/IAP) via on-chip boot
loader software. Single flash sector or full chip erase in 400 ms and programming of
256 B in 1 ms.
EmbeddedICE RT and Embedded Trace interfaces offer real-time debugging with the
on-chip RealMonitor software and high-speed tracing of instruction execution.
USB 2.0 Full-speed compliant device controller with 2 kB of endpoint RAM.
In addition, the LPC2146/48 provides 8 kB of on-chip RAM accessible to USB by DMA.
One or two (LPC2141/42 vs. LPC2144/46/48) 10-bit ADCs provide a total of 6/14
analog inputs, with conversion times as low as 2.44
s
per channel.
Single 10-bit DAC provides variable analog output (LPC2142/44/46/48 only).
Two 32-bit timers/external event counters (with four capture and four compare
channels each), PWM unit (six outputs) and watchdog.
Low power Real-Time Clock (RTC) with independent power and 32 kHz clock input.
NXP Semiconductors
LPC2141/42/44/46/48
Single-chip 16-bit/32-bit microcontrollers
Multiple serial interfaces including two UARTs (16C550), two Fast I
2
C-bus (400 kbit/s),
SPI and SSP with buffering and variable data length capabilities.
Vectored Interrupt Controller (VIC) with configurable priorities and vector addresses.
Up to 45 of 5 V tolerant fast general purpose I/O pins in a tiny LQFP64 package.
Up to 21 external interrupt pins available.
60 MHz maximum CPU clock available from programmable on-chip PLL with settling
time of 100
s.
On-chip integrated oscillator operates with an external crystal from 1 MHz to 25 MHz.
Power saving modes include Idle and Power-down.
Individual enable/disable of peripheral functions as well as peripheral clock scaling for
additional power optimization.
Processor wake-up from Power-down mode via external interrupt or BOD.
Single power supply chip with POR and BOD circuits:
CPU operating voltage range of 3.0 V to 3.6 V (3.3 V
10 %) with 5 V tolerant I/O
pads.
3. Ordering information
Table 1.
Ordering information
Package
Name
LPC2141FBD64
LPC2142FBD64
LPC2144FBD64
LPC2146FBD64
LPC2148FBD64
LQFP64
Description
plastic low profile quad flat package; 64 leads;
body 10
10
1.4 mm
Version
SOT314-2
Type number
3.1 Ordering options
Table 2.
Ordering options
Flash
memory
32 kB
64 kB
128 kB
256 kB
512 kB
RAM
8 kB
16 kB
16 kB
32 kB + 8 kB shared with
USB DMA
[1]
32 kB + 8 kB shared with
USB DMA
[1]
Endpoint
USB RAM
2 kB
2 kB
2 kB
2 kB
2 kB
ADC (channels
overall)
1 (6 channels)
1 (6 channels)
2 (14 channels)
2 (14 channels)
2 (14 channels)
DAC
-
1
1
1
1
Temperature
range
40 C
to +85
C
40 C
to +85
C
40 C
to +85
C
40 C
to +85
C
40 C
to +85
C
Type number
LPC2141FBD64
LPC2142FBD64
LPC2144FBD64
LPC2146FBD64
LPC2148FBD64
[1]
While the USB DMA is the primary user of the additional 8 kB RAM, this RAM is also accessible at any time by the CPU as a general
purpose RAM for data and code storage.
LPC2141_42_44_46_48
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
Product data sheet
Rev. 5 — 12 August 2011
2 of 45
NXP Semiconductors
LPC2141/42/44/46/48
Single-chip 16-bit/32-bit microcontrollers
4. Block diagram
TMS
(1)
TDI
(1)
TRST
(1)
TCK
(1)
TDO
(1)
XTAL2
RST
XTAL1
EMULATION TRACE
MODULE
LPC2141/42/44/46/48
P0[31:28] and
P0[25:0]
P1[31:16]
TEST/DEBUG
INTERFACE
PLL0
system
clock
PLL1
USB
clock
VECTORED
INTERRUPT
CONTROLLER
SYSTEM
FUNCTIONS
FAST GENERAL
PURPOSE I/O
ARM7TDMI-S
AHB BRIDGE
ARM7 local bus
AMBA AHB
(Advanced High-performance Bus)
INTERNAL
SRAM
CONTROLLER
INTERNAL
FLASH
CONTROLLER
8 kB RAM
SHARED WITH
USB DMA
(3)
AHB
DECODER
8 kB/16 kB/
32 kB
SRAM
32 kB/64 kB/128 kB/
256 kB/512 kB
FLASH
AHB TO APB
BRIDGE
APB
DIVIDER
EINT3 to EINT0
EXTERNAL
INTERRUPTS
USB 2.0 FULL-SPEED
DEVICE CONTROLLER
WITH DMA
(3)
D+
D−
UP_LED
CONNECT
VBUS
SCL0, SCL1
4
×
CAP0
4
×
CAP1
8
×
MAT0
8
×
MAT1
AD0[7:6] and
AD0[4:1]
AD1[7:0]
(2)
CAPTURE/COMPARE
(W/EXTERNAL CLOCK)
TIMER 0/TIMER 1
I
2
C-BUS SERIAL
INTERFACES 0 AND 1
SDA0, SDA1
SCK0, SCK1
A/D CONVERTERS
0 AND 1
(2)
SPI AND SSP
SERIAL INTERFACES
MOSI0, MOSI1
MISO0, MISO1
SSEL0, SSEL1
TXD0, TXD1
AOUT
(4)
D/A CONVERTER
UART0/UART1
RXD0, RXD1
P0[31:28] and
P0[25:0]
P1[31:16]
GENERAL
PURPOSE I/O
REAL-TIME CLOCK
DSR1
(2)
,CTS1
(2)
,
RTS1
(2)
, DTR1
(2)
DCD1
(2)
,RI1
(2)
RTXC1
RTXC2
VBAT
PWM6 to PWM0
PWM0
WATCHDOG
TIMER
SYSTEM
CONTROL
002aab560
(1) Pins shared with GPIO.
(2) LPC2144/46/48 only.
(3) USB DMA controller with 8 kB of RAM accessible as general purpose RAM and/or DMA is available in LPC2146/48 only.
(4) LPC2142/44/46/48 only.
Fig 1.
Block diagram
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
LPC2141_42_44_46_48
Product data sheet
Rev. 5 — 12 August 2011
3 of 45
NXP Semiconductors
LPC2141/42/44/46/48
Single-chip 16-bit/32-bit microcontrollers
5. Pinning information
5.1 Pinning
54 P0.19/MAT1.2/MOSI1/CAP1.2
53 P0.18/CAP1.3/MISO1/MAT1.3
55 P0.20/MAT1.3/SSEL1/EINT3
58 P0.23/V
BUS
64 P1.27/TDO
52 P1.30/TMS
56 P1.29/TCK
60 P1.28/TDI
57 RESET
62 XTAL1
61 XTAL2
63 VREF
P0.21/PWM5/CAP1.3
P0.22/CAP0.0/MAT0.0
RTCX1
P1.19/TRACEPKT3
RTCX2
V
SS
V
DDA
P1.18/TRACEPKT2
P0.25/AD0.4
1
2
3
4
5
6
7
8
9
49 VBAT
59 V
SSA
51 V
DD
50 V
SS
48 P1.20/TRACESYNC
47 P0.17/CAP1.2/SCK1/MAT1.2
46 P0.16/EINT0/MAT0.2/CAP0.2
45 P0.15/EINT2
44 P1.21/PIPESTAT0
43 V
DD
42 V
SS
41 P0.14/EINT1/SDA1
40 P1.22/PIPESTAT1
39 P0.13/MAT1.1
38 P0.12/MAT1.0
37 P0.11/CAP1.1/SCL1
36 P1.23/PIPESTAT2
35 P0.10/CAP1.0
34 P0.9/RXD1/PWM6/EINT3
33 P0.8/TXD1/PWM4
LPC2141
D+ 10
D− 11
P1.17/TRACEPKT1 12
P0.28/AD0.1/CAP0.2/MAT0.2 13
P0.29/AD0.2/CAP0.3/MAT0.3 14
P0.30/AD0.3/EINT3/CAP0.0 15
P1.16/TRACEPKT0 16
P0.31/UP_LED/CONNECT 17
V
SS
18
P0.0/TXD0/PWM1 19
P1.31/TRST 20
P0.1/RXD0/PWM3/EINT0 21
P0.2/SCL0/CAP0.0 22
V
DD
23
P1.26/RTCK 24
V
SS
25
P0.3/SDA0/MAT0.0/EINT1 26
P0.4/SCK0/CAP0.1/AD0.6 27
P1.25/EXTIN0 28
P0.5/MISO0/MAT0.1/AD0.7 29
P0.6/MOSI0/CAP0.2 30
P0.7/SSEL0/PWM2/EINT2 31
P1.24/TRACECLK 32
002aab733
Fig 2.
LPC2141 pinning
LPC2141_42_44_46_48
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
Product data sheet
Rev. 5 — 12 August 2011
4 of 45
NXP Semiconductors
LPC2141/42/44/46/48
Single-chip 16-bit/32-bit microcontrollers
54 P0.19/MAT1.2/MOSI1/CAP1.2
53 P0.18/CAP1.3/MISO1/MAT1.3
55 P0.20/MAT1.3/SSEL1/EINT3
58 P0.23/V
BUS
57 RESET
64 P1.27/TDO
52 P1.30/TMS
56 P1.29/TCK
60 P1.28/TDI
62 XTAL1
61 XTAL2
63 VREF
P0.21/PWM5/CAP1.3
P0.22/CAP0.0/MAT0.0
RTCX1
P1.19/TRACEPKT3
RTCX2
V
SS
V
DDA
P1.18/TRACEPKT2
P0.25/AD0.4/AOUT
1
2
3
4
5
6
7
8
9
49 VBAT
59 V
SSA
51 V
DD
50 V
SS
48 P1.20/TRACESYNC
47 P0.17/CAP1.2/SCK1/MAT1.2
46 P0.16/EINT0/MAT0.2/CAP0.2
45 P0.15/EINT2
44 P1.21/PIPESTAT0
43 V
DD
42 V
SS
41 P0.14/EINT1/SDA1
40 P1.22/PIPESTAT1
39 P0.13/MAT1.1
38 P0.12/MAT1.0
37 P0.11/CAP1.1/SCL1
36 P1.23/PIPESTAT2
35 P0.10/CAP1.0
34 P0.9/RXD1/PWM6/EINT3
33 P0.8/TXD1/PWM4
LPC2142
D+ 10
D− 11
P1.17/TRACEPKT1 12
P0.28/AD0.1/CAP0.2/MAT0.2 13
P0.29/AD0.2/CAP0.3/MAT0.3 14
P0.30/AD0.3/EINT3/CAP0.0 15
P1.16/TRACEPKT0 16
P0.31/UP_LED/CONNECT 17
V
SS
18
P0.0/TXD0/PWM1 19
P1.31/TRST 20
P0.1/RXD0/PWM3/EINT0 21
P0.2/SCL0/CAP0.0 22
V
DD
23
P1.26/RTCK 24
V
SS
25
P0.3/SDA0/MAT0.0/EINT1 26
P0.4/SCK0/CAP0.1/AD0.6 27
P1.25/EXTIN0 28
P0.5/MISO0/MAT0.1/AD0.7 29
P0.6/MOSI0/CAP0.2 30
P0.7/SSEL0/PWM2/EINT2 31
P1.24/TRACECLK 32
002aab734
Fig 3.
LPC2142 pinning
LPC2141_42_44_46_48
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
Product data sheet
Rev. 5 — 12 August 2011
5 of 45