ChipFind - документация

Электронный компонент: LPC2131

Скачать:  PDF   ZIP

Document Outline

1.
General description
The LPC2131/2132/2134/2136/2138 microcontrollers are based on a 32/16 bit
ARM7TDMI-S CPU with real-time emulation and embedded trace support, that combines
the microcontroller with 32 kB, 64 kB, 128 kB, 256 kB and 512 kB of embedded high
speed Flash memory. A 128-bit wide memory interface and a unique accelerator
architecture enable 32-bit code execution at 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, these microcontrollers are ideal for
applications where miniaturization is a key requirement, such as access control and
point-of-sale. With a wide range of serial communications interfaces and on-chip SRAM
options of 8/16/32 kB, they are 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
8 channel ADC(s), 10-bit DAC, PWM channels and 47 GPIO lines with up to nine edge or
level sensitive external interrupt pins make these microcontrollers particularly suitable for
industrial control and medical systems.
2.
Features
2.1 Key features
s
16/32-bit ARM7TDMI-S microcontroller in a tiny LQFP64 package.
s
8/16/32 kB of on-chip static RAM and 32/64/128/256/512 kB of on-chip Flash program
memory. 128 bit wide interface/accelerator enables high speed 60 MHz operation.
s
In-System/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 bytes in 1 ms.
s
EmbeddedICE RT and Embedded Trace interfaces offer real-time debugging with the
on-chip RealMonitor software and high speed tracing of instruction execution.
s
One (LPC2131/32) or two (LPC2134/36/38) 8 channel 10-bit A/D converters provides
a total of up to 16 analog inputs, with conversion times as low as 2.44
s per channel.
s
Single 10-bit D/A converter provides variable analog output (LPC2132/34/36/38).
s
Two 32-bit timers/external event counters (with four capture and four compare
channels each), PWM unit (six outputs) and watchdog.
s
Low power Real-time clock with independent power and dedicated 32 kHz clock input.
s
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.
s
Vectored interrupt controller with configurable priorities and vector addresses.
LPC2131/2132/2134/2136/2138
Single-chip 16/32-bit microcontrollers; 32/64/128/256/512 kB
ISP/IAP Flash with 10-bit ADC and DAC
Rev. 02 -- 15 April 2005
Preliminary data sheet
9397 750 14868
Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Preliminary data sheet
Rev. 02 -- 15 April 2005
2 of 41
Philips Semiconductors
LPC2131/2132/2134/2136/2138
Single-chip 16/32-bit microcontrollers
s
Up to 47 5 V tolerant general purpose I/O pins in tiny LQFP64 package.
s
Up to nine edge or level sensitive external interrupt pins available.
s
60 MHz maximum CPU clock available from programmable on-chip PLL with settling
time of 100
s.
s
On-chip integrated oscillator operates with external crystal in range of 1 MHz to
30 MHz and with external oscillator up to 50 MHz.
s
Power saving modes include Idle and Power-down.
s
Individual enable/disable of peripheral functions as well as peripheral clock scaling
down for additional power optimization.
s
Processor wake-up from Power-down mode via external interrupt or BOD.
s
Single power supply chip with POR and BOD circuits:
x
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
3.1 Ordering options
Table 1:
Ordering information
Type number
Package
Name
Description
Version
LPC2131FBD64
LQFP64
plastic low profile quad flat package; 64 leads;
body 10
10
1.4 mm
SOT314-2
LPC2132FBD64
LQFP64
plastic low profile quad flat package; 64 leads;
body 10
10
1.4 mm
SOT314-2
LPC2134FBD64
LQFP64
plastic low profile quad flat package; 64 leads;
body 10
10
1.4 mm
SOT314-2
LPC2136FBD64
LQFP64
plastic low profile quad flat package; 64 leads;
body 10
10
1.4 mm
SOT314-2
LPC2138FBD64
LQFP64
plastic low profile quad flat package; 64 leads;
body 10
10
1.4 mm
SOT314-2
Table 2:
Ordering options
Type number
Flash memory RAM
ADC
DAC
Temperature
range (
C)
LPC2131FBD64
32 kB
8 kB
1
-
-
40 to +85
LPC2132FBD64
64 kB
16 kB
1
1
-
40 to +85
LPC2134FBD64
128 kB
16 kB
2
1
-
40 to +85
LPC2136FBD64
256 kB
32 kB
2
1
-
40 to +85
LPC2138FBD64
512 kB
32 kB
2
1
-
40 to +85
9397 750 14868
Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Preliminary data sheet
Rev. 02 -- 15 April 2005
3 of 41
Philips Semiconductors
LPC2131/2132/2134/2136/2138
Single-chip 16/32-bit microcontrollers
4.
Block diagram
(1) LPC2134/2136/2138 only.
(2) LPC2132/2134/2136/2138 only.
(3) Pins shared with GPIO.
Fig 1.
Block diagram.
002aab067
system
clock
SCL0,1
AOUT
(2)
P0.31:0
P1.31:16
SDA0,1
TRST
(3)
TMS
(3)
TCK
(3)
TDI
(3)
TDO
(3)
XTAL2
XTAL1
SCK0,1
MOSI0,1
MISO0,1
EINT3:0
8
CAP0
8
MAT
AD0.7:0
AD1.7:0
(1)
PWM6:1
SSEL0,1
TXD0,1
RXD0,1
RTXC2
RTXC1
V
BAT
DSR1
(1)
,CTS1
(1)
,
RTS1
(1)
, DTR1
(1)
DCD1
(1)
,RI1
(1)
AMBA AHB
(Advanced High-performance Bus)
INTERNAL
FLASH
CONTROLLER
AHB BRIDGE
EMULATION TRACE
MODULE
TEST/DEBUG
INTERFACE
AHB
DECODER
AHB TO VPB
BRIDGE
VPB
DIVIDER
VECTORED
INTERRUPT
CONTROLLER
SYSTEM
FUNCTIONS
PLL
SPI AND SSP
SERIAL INTERFACES
I
2
C SERIAL
INTERFACES 0 AND 1
UART0/UART1
REAL TIME CLOCK
WATCHDOG
TIMER
SYSTEM
CONTROL
EXTERNAL
INTERRUPTS
GENERAL
PURPOSE I/O
PWM0
CAPTURE/
COMPARE
TIMER 0/TIMER 1
A/D CONVERTERS
0 AND 1
(1)
D/A CONVERTER
(2)
32/64/128/
256/512 kB
FLASH
ARM7TDMI-S
LPC2131/2132/2134/2136/2138
INTERNAL
SRAM
CONTROLLER
8/16/32 kB
SRAM
ARM7 local bus
VPB (VLSI
peripheral bus)
RST
9397 750 14868
Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Preliminary data sheet
Rev. 02 -- 15 April 2005
4 of 41
Philips Semiconductors
LPC2131/2132/2134/2136/2138
Single-chip 16/32-bit microcontrollers
5.
Pinning information
5.1 Pinning
Fig 2.
LPC2131 pinning.
LPC2131
P0.21/PWM5/CAP1.3
P1.20/TRACESYNC
P0.22/CAP0.0/MAT0.0
P0.17/CAP1.2/SCK1/MAT1.2
RTXC1
P0.16/EINT0/MAT0.2/CAP0.2
P1.19/TRACEPKT3
P0.15/EINT2
RTXC2
P1.21/PIPESTAT0
V
SS
V
DD
V
DDA
V
SS
P1.18/TRACEPKT2
P0.14/EINT1/SDA1
P0.25/AD0.4
P1.22/PIPESTAT1
P0.26/AD0.5
P0.13/MAT1.1
P0.27/AD0.0/CAP0.1/MAT0.1
P0.12/MAT1.0
P1.17/TRACEPKT1
P0.11/CAP1.1/SCL1
P0.28/AD0.1/CAP0.2/MAT0.2
P1.23/PIPESTAT2
P0.29/AD0.2/CAP0.3/MAT0.3
P0.10/CAP1.0
P0.30/AD0.3/EINT3/CAP0.0
P0.9/RXD1/PWM6/EINT3
P1.16/TRACEPKT0
P0.8/TXD1/PWM4
P0.31
P1.27/TDO
V
SS
V
REF
P0.0/TXD0/PWM1
XTAL1
P1.31/TRST
XTAL2
P0.1/RXD0/PWM3/EINT0
P1.28/TDI
P0.2/SCL0/CAP0.0
V
SSA
V
DD
P0.23
P1.26/RTCK
RESET
V
SS
P1.29/TCK
P0.3/SDA0/MAT0.0/EINT1
P0.20/MAT1.3/SSEL1/EINT3
P0.4/SCK0/CAP0.1/AD0.6
P0.19/MAT1.2/MOSI1/CAP1.2
P1.25/EXTIN0
P0.18/CAP1.3/MISO1/MAT1.3
P0.5/MISO0/MAT0.1/AD0.7
P1.30/TMS
P0.6/MOSI0/CAP0.2
V
DD
P0.7/SSEL0/PWM2/EINT2
V
SS
P1.24/TRACECLK
V
BAT
002aab068
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
9397 750 14868
Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Preliminary data sheet
Rev. 02 -- 15 April 2005
5 of 41
Philips Semiconductors
LPC2131/2132/2134/2136/2138
Single-chip 16/32-bit microcontrollers
Fig 3.
LPC2132 pinning.
LPC2132
P0.21/PWM5/CAP1.3
P1.20/TRACESYNC
P0.22/CAP0.0/MAT0.0
P0.17/CAP1.2/SCK1/MAT1.2
RTXC1
P0.16/EINT0/MAT0.2/CAP0.2
P1.19/TRACEPKT3
P0.15/EINT2
RTXC2
P1.21/PIPESTAT0
V
SS
V
DD
V
DDA
V
SS
P1.18/TRACEPKT2
P0.14/EINT1/SDA1
P0.25/AD0.4/AOUT
P1.22/PIPESTAT1
P0.26/AD0.5
P0.13/MAT1.1
P0.27/AD0.0/CAP0.1/MAT0.1
P0.12/MAT1.0
P1.17/TRACEPKT1
P0.11/CAP1.1/SCL1
P0.28/AD0.1/CAP0.2/MAT0.2
P1.23/PIPESTAT2
P0.29/AD0.2/CAP0.3/MAT0.3
P0.10/CAP1.0
P0.30/AD0.3/EINT3/CAP0.0
P0.9/RXD1/PWM6/EINT3
P1.16/TRACEPKT0
P0.8/TXD1/PWM4
P0.31
P1.27/TDO
V
SS
V
REF
P0.0/TXD0/PWM1
XTAL1
P1.31/TRST
XTAL2
P0.1/RXD0/PWM3/EINT0
P1.28/TDI
P0.2/SCL0/CAP0.0
V
SSA
V
DD
P0.23
P1.26/RTCK
RESET
V
SS
P1.29/TCK
P0.3/SDA0/MAT0.0/EINT1
P0.20/MAT1.3/SSEL1/EINT3
P0.4/SCK0/CAP0.1/AD0.6
P0.19/MAT1.2/MOSI1/CAP1.2
P1.25/EXTIN0
P0.18/CAP1.3/MISO1/MAT1.3
P0.5/MISO0/MAT0.1/AD0.7
P1.30/TMS
P0.6/MOSI0/CAP0.2
V
DD
P0.7/SSEL0/PWM2/EINT2
V
SS
P1.24/TRACECLK
V
BAT
002aab406
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49