LPC2132 PHILIPS [NXP Semiconductors], LPC2132 Datasheet
LPC2132
Available stocks
Related parts for LPC2132
LPC2132 Summary of contents
Page 1
... One (LPC2131/32) or two (LPC2134/36/38) 8 channel 10-bit A/D converters provides a total analog inputs, with conversion times as low as 2.44 s per channel. Single 10-bit D/A converter provides variable analog output (LPC2132/34/36/38). Two 32-bit timers/external event counters (with four capture and four compare channels each), PWM unit (six outputs) and watchdog. ...
Page 2
... Ordering information Table 1: Type number LPC2131FBD64 LPC2132FBD64 LPC2134FBD64 LPC2136FBD64 LPC2138FBD64 3.1 Ordering options Table 2: Type number LPC2131FBD64 LPC2132FBD64 LPC2134FBD64 LPC2136FBD64 LPC2138FBD64 9397 750 14868 Preliminary data sheet LPC2131/2132/2134/2136/2138 Ordering information Package Name Description LQFP64 plastic low profile quad flat package; 64 leads; ...
Page 3
... TIMER 0/TIMER 1 8 MAT AD0.7:0 A/D CONVERTERS 0 AND 1 (1) AD1.7:0 (2) AOUT P0.31:0 GENERAL PURPOSE I/O P1.31:16 PWM6:1 PWM0 (1) LPC2134/2136/2138 only. (2) LPC2132/2134/2136/2138 only. (3) Pins shared with GPIO. Fig 1. Block diagram. 9397 750 14868 Preliminary data sheet LPC2131/2132/2134/2136/2138 (3) (3) TMS TDI (3) (3) (3) TRST TCK TDO TEST/DEBUG INTERFACE ...
Page 4
Philips Semiconductors 5. Pinning information 5.1 Pinning P0.21/PWM5/CAP1.3 1 P0.22/CAP0.0/MAT0 RTXC1 4 P1.19/TRACEPKT3 RTXC2 DDA P1.18/TRACEPKT2 8 P0.25/AD0 P0.26/AD0.5 11 P0.27/AD0.0/CAP0.1/MAT0.1 P1.17/TRACEPKT1 12 P0.28/AD0.1/CAP0.2/MAT0 P0.29/AD0.2/CAP0.3/MAT0.3 P0.30/AD0.3/EINT3/CAP0.0 15 P1.16/TRACEPKT0 ...
Page 5
... P0.25/AD0.4/AOUT 9 10 P0.26/AD0.5 11 P0.27/AD0.0/CAP0.1/MAT0.1 P1.17/TRACEPKT1 12 P0.28/AD0.1/CAP0.2/MAT0 P0.29/AD0.2/CAP0.3/MAT0.3 P0.30/AD0.3/EINT3/CAP0.0 15 P1.16/TRACEPKT0 16 Fig 3. LPC2132 pinning. 9397 750 14868 Preliminary data sheet LPC2131/2132/2134/2136/2138 Single-chip 16/32-bit microcontrollers LPC2132 Rev. 02 — 15 April 2005 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 ...
Page 6
Philips Semiconductors P0.21/PWM5/AD1.6/CAP1 P0.22/AD1.7/CAP0.0/MAT0.0 RTXC1 3 P1.19/TRACEPKT3 4 RTXC2 DDA P1.18/TRACEPKT2 8 9 P0.25/AD0.4/AOUT 10 P0.26/AD0.5 P0.27/AD0.0/CAP0.1/MAT0.1 11 P1.17/TRACEPKT1 12 13 P0.28/AD0.1/CAP0.2/MAT0.2 P0.29/AD0.2/CAP0.3/MAT0.3 14 P0.30/AD0.3/EINT3/CAP0 P1.16/TRACEPKT0 Fig 4. LPC2134/2136/2138 pinning. ...
Page 7
Philips Semiconductors 5.2 Pin description Table 3: Pin description Symbol Pin P0.0 to P0.31 [1] P0.0/TXD0/ 19 PWM1 [2] P0.1/RXD0/ 21 PWM3/EINT0 [3] P0.2/SCL0/ 22 CAP0.0 [3] P0.3/SDA0/ 26 MAT0.0/EINT1 [4] P0.4/SCK0/ 27 CAP0.1/AD0.6 [4] P0.5/MISO0/ 29 MAT0.1/AD0.7 [4] P0.6/MOSI0/ ...
Page 8
Philips Semiconductors Table 3: Pin description …continued Symbol Pin [4] P0.10/RTS1/ 35 CAP1.0/AD1.2 [3] P0.11/CTS1/ 37 CAP1.1/SCL1 [4] P0.12/DSR1/ 38 MAT1.0/AD1.3 [4] P0.13/DTR1/ 39 MAT1.1/AD1.4 [3] P0.14/DCD1/ 41 EINT1/SDA1 [4] P0.15/RI1/ 45 EINT2/AD1.5 [2] P0.16/EINT0/ 46 MAT0.2/CAP0.2 [1] P0.17/CAP1.2/ 47 ...
Page 9
... General purpose digital input/output pin. I AD0.4 — A/D converter 0, input 4. This analog input is always connected to its pin. O AOUT — D/A converter output. Available in LPC2132 and LPC2138 only. I AD0.5 — A/D converter 0, input 5. This analog input is always connected to its pin. I AD0.0 — A/D converter 0, input 0. This analog input is always connected to its pin ...
Page 10
Philips Semiconductors Table 3: Pin description …continued Symbol Pin [6] P1.22/ 40 PIPESTAT1 [6] P1.23/ 36 PIPESTAT2 [6] P1.24/ 32 TRACECLK [6] P1.25/EXTIN0 28 [6] P1.26/RTCK 24 [6] P1.27/TDO 64 [6] P1.28/TDI 60 [6] P1.29/TCK 56 [6] P1.30/TMS 52 [6] ...
Page 11
Philips Semiconductors [ tolerant pad with built-in pull-up resistor providing digital I/O functions with TTL levels and hysteresis and 10 ns slew rate control. The pull-up resistor’s value ranges from 300 k . [7] 5 ...
Page 12
Philips Semiconductors 6. Functional description 6.1 Architectural overview The ARM7TDMI general purpose 32-bit microprocessor, which offers high performance and very low power consumption. The ARM architecture is based on Reduced Instruction Set Computer (RISC) principles, and the instruction ...
Page 13
... RESERVED ADDRESS SPACE 2.0 GB BOOT BLOCK (RE-MAPPED FROM ON-CHIP FLASH MEMORY RESERVED ADDRESS SPACE TOTAL ON-CHIP STATIC RAM (LPC2136/38) TOTAL ON-CHIP STATIC RAM (LPC2132/34) TOTAL ON-CHIP STATIC RAM (LPC2131) 1.0 GB RESERVED ADDRESS SPACE TOTAL OF 512 kB ON-CHIP NON-VOLATILE MEMORY (LPC2138) TOTAL OF 256 kB ON-CHIP NON-VOLATILE MEMORY ...
Page 14
Philips Semiconductors Fast Interrupt reQuest (FIQ) has the highest priority. If more than one request is assigned to FIQ, the VIC combines the requests to produce the FIQ signal to the ARM processor. The fastest possible FIQ latency is achieved ...
Page 15
Philips Semiconductors Table 4: Block SPI0 SSP PLL RTC System Control AD0 I2C1 BOD AD1 6.6 Pin connect block The pin connect block allows selected pins of the microcontroller to have more than one function. Configuration registers control the multiplexers ...
Page 16
Philips Semiconductors 6.7 Pin function select register 0 (PINSEL0 - 0xE002C000) The PINSEL0 register controls the functions of the pins as per the settings listed in Table 6. The direction control bit in the IODIR register is effective only when ...
Page 17
Philips Semiconductors Table 6: PINSEL0 17:16 19:18 21:20 23:22 25:24 27:26 29:28 31:30 9397 750 14868 Preliminary data sheet LPC2131/2132/2134/2136/2138 Pin function select register 0 (PINSEL0 - 0xE002C000) Pin name Value Function P0 GPIO Port 0 ...
Page 18
Philips Semiconductors 6.8 Pin function select register 1 (PINSEL1 - 0xE002C004) The PINSEL1 register controls the functions of the pins as per the settings listed in Table 7. The direction control bit in the IODIR register is effective only when ...
Page 19
... Pin Name Value Function P0. Reserved 0 1 Reserved 1 0 Reserved 1 1 Reserved P0. GPIO Port 0. AD0 Reserved (LPC2131) AOUT (DAC) (LPC2132/34/36/38 Reserved P0. GPIO Port 0. AD0 Reserved 1 1 Reserved P0. GPIO Port 0. AD0 Capture 0.1 (Timer 0) ...
Page 20
... Optional conversion on transition on input pin or Timer Match signal. • Global Start command for both converters (LPC2134/2136/2138 only). 6.12 10-bit D/A converter This peripheral is available in the LPC2132/2134/2136/2138 only. The D/A converter enables the LPC2132/2134/2136/2138 to generate variable analog output. 6.12.1 Features • 10 bit digital to analog converter. ...
Page 21
Philips Semiconductors 6.13 UARTs The LPC2131/2132/2134/2136/2138 each contain two UARTs. In addition to standard transmit and receive data lines, the LPC2134/2136/2138 UART1 also provides a full modem control handshake interface. 6.13.1 Features • 16 byte Receive and Transmit FIFOs. • ...
Page 22
Philips Semiconductors 6.15 SPI serial I/O controller The LPC2131/2132/2134/2136/2138 each contain one SPI controller. The SPI is a full duplex serial interface, designed to be able to handle multiple masters and slaves connected to a given bus. Only a single ...
Page 23
Philips Semiconductors • External Event Counter or timer operation. • Four 32-bit capture channels per timer/counter that can take a snapshot of the timer value when an input signal transitions. A capture event may also optionally generate an interrupt. • ...
Page 24
Philips Semiconductors • Provides Seconds, Minutes, Hours, Day of Month, Month, Year, Day of Week, and Day of Year. • Can use either the RTC dedicated 32 kHz oscillator input or clock derived from the external crystal/oscillator input at XTAL1. ...
Page 25
Philips Semiconductors • Supports single edge controlled and/or double edge controlled PWM outputs. Single edge controlled PWM outputs all go HIGH at the beginning of each cycle unless the output is a constant LOW. Double edge controlled PWM outputs can ...
Page 26
Philips Semiconductors When the internal reset is removed, the processor begins executing at address 0, which is the reset vector. At that point, all of the processor and peripheral registers have been initialized to predetermined values. The wake-up timer ensures ...
Page 27
Philips Semiconductors 6.21.7 Memory Mapping Control The Memory Mapping Control alters the mapping of the interrupt vectors that appear beginning at address 0x00000000. Vectors may be mapped to the bottom of the on-chip Flash memory the on-chip static ...
Page 28
Philips Semiconductors 6.22.1 EmbeddedICE Standard ARM EmbeddedICE logic provides on-chip debug support. The debugging of the target system requires a host computer running the debugger software and an EmbeddedICE protocol convertor. EmbeddedICE protocol convertor converts the Remote Debug Protocol commands ...
Page 29
Philips Semiconductors 7. Limiting values Table 9: Limiting values In accordance with the Absolute Maximum Rating System (IEC 60134). Symbol Parameter V supply voltage, core and external rail DD V analog 3.3 V pad supply voltage DDA V RTC power ...
Page 30
Philips Semiconductors 8. Static characteristics Table 10: DC characteristics +85 C for commercial applications, unless otherwise specified. a Symbol Parameter V supply voltage, core and DD external rail V analog 3.3 V pad supply DDA ...
Page 31
Philips Semiconductors Table 10: DC characteristics …continued +85 C for commercial applications, unless otherwise specified. a Symbol Parameter I Power-down mode V BAT BAT supply current active mode V supply BAT current active mode V ...
Page 32
Philips Semiconductors [7] Only allowed for a short time period. [8] Minimum condition for V = 4.5 V, maximum condition for [9] The input threshold voltage of I C-bus pins meets the I 0 while an input ...
Page 33
Philips Semiconductors 1023 1022 1021 1020 1019 1018 7 code out offset error E O (1) Example of an actual transfer curve. (2) The ideal transfer curve. (3) Differential non-linearity ...
Page 34
Philips Semiconductors 9. Dynamic characteristics Table 12: AC characteristics for commercial applications +85 C for industrial applications Symbol Parameter External clock f oscillator frequency osc T oscillator clock ...
Page 35
Philips Semiconductors 9.1 Timing V Fig 7. External clock timing. 9.2 LPC2138 power consumption measurements 40 I current DD (mA Test conditions: code executed from Flash; all peripherals are enabled in PCONP register; PCLK ...
Page 36
Philips Semiconductors 15 I current DD (mA Test conditions: Idle mode entered executing code from Flash; all peripherals are enabled in PCONP register; PCLK = CCLK/4. (1) 3 140 C (max) DD (2) ...
Page 37
Philips Semiconductors 10. Package outline LQFP64: plastic low profile quad flat package; 64 leads; body 1 pin 1 index DIMENSIONS (mm are the original ...
Page 38
Philips Semiconductors 11. Abbreviations Table 13: Acronym ADC BOD CPU DAC DCC FIFO GPIO PLL POR PWM RAM SRAM UART VIC VPB 9397 750 14868 Preliminary data sheet LPC2131/2132/2134/2136/2138 Acronym list Description Analog-to-Digital Converter Brown-Out Detection Central Processing Unit Digital-to-Analog ...
Page 39
Philips Semiconductors 12. Revision history Table 14: Revision history Document ID Release date LPC2131_32_34_36_38_2 20050415 • Modifications: LPC2131_2132_2138_1 20041118 9397 750 14868 Preliminary data sheet LPC2131/2132/2134/2136/2138 Data sheet status Change notice Preliminary data - sheet Added new devices LPC2134 and ...
Page 40
Philips Semiconductors 13. Data sheet status [1] Level Data sheet status Product status I Objective data Development II Preliminary data Qualification III Product data Production [1] Please consult the most recently issued data sheet before initiating or completing a design. ...
Page 41
Philips Semiconductors 18. Contents 1 General description . . . . . . . . . . . . . . . . . . . . . . 1 2 Features . . . . . . . . ...