LPC2109/2119/2129 Single-chip 16/32-bit microcontrollers; 64/128/256 kB ISP/IAP flash with 10-bit ADC and CAN Rev. 7 — 14 June 2011 Product data sheet 1. General description The LPC2109/2119/2129 are based on a 16/32-bit ARM7TDMI-S CPU with real-time emulation and embedded trace support, together with 64/128/256 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.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 64/128/256 kB on-chip flash program memory. 128-bit wide interface/accelerator enables high speed 60 MHz operation. In-System Programming (ISP) and In-Application Programming (IAP) via on-chip bootloader software. Flash programming takes 1 ms per 512 B line. Single sector or full chip erase takes 400 ms. EmbeddedICE-RT interface enables breakpoints and watch points.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 3.1 Ordering options Table 2.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 4.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 5. Pinning information 49 VDD(1V8) 50 VSS 51 VDD(3V3) 52 P1[30]/TMS 53 P0[18]/CAP1[3]/MISO1/MAT1[3] 54 P0[19]/MAT1[2]/MOSI1/CAP1[2] 55 P0[20]/MAT1[3]/SSEL1/EINT3 56 P1[29]/TCK 57 RESET 58 VSSA(PLL) 59 VSSA 60 P1[28]/TDI 61 XTAL2 62 XTAL1 63 VDDA(1V8) 64 P1[27]/TDO 5.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 5.2 Pin description Table 3. Pin description Symbol Pin P0[0] to P0[31] P0[0]/TXD0/ PWM1 19 P0[1]/RXD0/ PWM3/EINT0 21 P0[2]/SCL/ CAP0[0] 22 P0[3]/SDA/ MAT0[0]/EINT1 26 Type Description I/O Port 0 is a 32-bit bidirectional I/O port with individual direction controls for each bit. The operation of port 0 pins depends upon the pin function selected via the Pin Connect Block. Pins 26 and 31 of port 0 are not available.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers Table 3. Pin description …continued Symbol Pin Type Description P0[15]/RI1/EINT2 45 I RI1 — Ring Indicator input for UART1. I EINT2 — External interrupt 2 input. I EINT0 — External interrupt 0 input. O MAT0[2] — Match output for Timer 0, channel 2. I CAP0[2] — Capture input for Timer 0, channel 2. I CAP1[2] — Capture input for Timer 1, channel 2. I/O SCK1 — Serial Clock for SPI1/SSP[1].
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers Table 3. Pin description …continued Symbol Pin Type Description P1[16]/ TRACEPKT0 16 O Trace Packet, bit 0. Standard I/O port with internal pull-up. P1[17]/ TRACEPKT1 12 O Trace Packet, bit 1. Standard I/O port with internal pull-up. P1[18]/ TRACEPKT2 8 O Trace Packet, bit 2. Standard I/O port with internal pull-up. P1[19]/ TRACEPKT3 4 O Trace Packet, bit 3. Standard I/O port with internal pull-up.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers Table 3. Pin description …continued Symbol Pin Type Description VDDA(1V8) 63 I Analog 1.8 V core power supply; this is the power supply voltage for internal circuitry. This should be nominally the same voltage as VDD(1V8) but should be isolated to minimize noise and error. VDD(3V3) 23, 43, 51 I 3.3 V pad power supply; this is the power supply voltage for the I/O ports. VDDA(3V3) 7 I Analog 3.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 6. Functional description Details of the LPC2109/2119/2129 systems and peripheral functions are described in the following sections. 6.1 Architectural overview The ARM7TDMI-S is a general purpose 32-bit microprocessor, which offers high performance and very low power consumption.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers However, the ISP flash erase command can be executed at any time (no matter whether the CRP is on or off). Removal of CRP is achieved by erasure of full on-chip user flash. With the CRP off, full access to the chip via the JTAG and/or ISP is restored. 6.3 On-chip SRAM On-chip SRAM may be used for code and/or data storage. The SRAM may be accessed as 8 bit, 16 bit, and 32 bit.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 4.0 GB 0xFFFF FFFF AHB PERIPHERALS 3.75 GB APB PERIPHERALS 0xF000 0000 0xEFFF FFFF 3.5 GB 0xE000 0000 0xDFFF FFFF 3.0 GB 0xC000 0000 RESERVED ADDRESS SPACE 2.0 GB BOOT BLOCK (RE-MAPPED FROM ON-CHIP FLASH MEMORY) 0x8000 0000 0x7FFF FFFF 0x7FFF E000 0x7FFF DFFF RESERVED ADDRESS SPACE 0x4000 4000 0x4000 3FFF 16 kB ON-CHIP STATIC RAM (LPC2119/2129) 0x4000 1FFF 8 kB ON-CHIP STATIC RAM (LPC2109) 1.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers Vectored IRQs have the middle priority. Sixteen of the interrupt requests can be assigned to this category. Any of the interrupt requests can be assigned to any of the 16 vectored IRQ slots, among which slot 0 has the highest priority and slot 15 has the lowest. Non-vectored IRQs have the lowest priority. The VIC combines the requests from all the vectored and non-vectored IRQs to produce the IRQ signal to the ARM processor.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers Table 4. Interrupt sources …continued Block Flag(s) VIC channel # System Control External Interrupt 0 (EINT0) 14 External Interrupt 1 (EINT1) 15 External Interrupt 2 (EINT2) 16 External Interrupt 3 (EINT3) 17 ADC A/D Converter 18 CAN CAN1, CAN2 and Acceptance Filter 19 to 23 [1] SSP interface available on LPC2109/01, LPC2119/01, and LPC2129/01 only. 6.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 6.8 10-bit ADC The LPC2109/2119/2129 each contain a single 10-bit successive approximation ADC with four multiplexed channels. 6.8.1 Features • • • • Measurement range of 0 V to 3 V. Capable of performing more than 400000 10-bit samples per second. Burst conversion mode for single or multiple inputs. Optional conversion on transition on input pin or Timer Match signal. 6.8.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers • UART1 is equipped with standard modem interface signals. This module also provides full support for hardware flow control (auto-CTS/RTS). 6.10.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 6.12 SPI serial I/O controller The LPC2109/2119/2129 each contain two SPIs. 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 master and a single slave can communicate on the interface during a given data transfer.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers to trap the timer value when an input signal transitions, optionally generating an interrupt. Multiple pins can be selected to perform a single capture or match function, providing an application with ‘or’ and ‘and’, as well as ‘broadcast’ functions among them. 6.14.1 Features • A 32-bit Timer/Counter with a programmable 32-bit Prescaler.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers • Enabled by software but requires a hardware reset or a watchdog reset/interrupt to be disabled. • Incorrect/incomplete feed sequence causes reset/interrupt if enabled. • Flag to indicate watchdog reset. • Programmable 32-bit timer with internal pre-scaler. • Selectable time period from (Tcy(PCLK) 256 4) to (Tcy(PCLK) 232 4) in multiples of Tcy(PCLK) 4. 6.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers Three match registers can be used to provide a PWM output with both edges controlled. Again, the MR0 match register controls the PWM cycle rate. The other match registers control the two PWM edge positions. Additional double edge controlled PWM outputs require only two match registers each, since the repetition rate is the same for all PWM outputs.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 6.18.2 PLL The PLL accepts an input clock frequency in the range of 10 MHz to 25 MHz. The input frequency is multiplied up into the range of 10 MHz to 60 MHz with a Current Controlled Oscillator (CCO). The multiplier can be an integer value from 1 to 32 (in practice, the multiplier value cannot be higher than 6 on this family of microcontrollers due to the upper frequency limit of the CPU).
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers CRP1 disables access to chip via the JTAG and allows partial flash update (excluding flash sector 0) using a limited set of the ISP commands. This mode is useful when CRP is required and flash field updates are needed but all sectors can not be erased. CRP2 disables access to chip via the JTAG and only allows full flash erase and update using a reduced set of the ISP commands.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 6.18.8 APB The APB divider determines the relationship between the processor clock (CCLK) and the clock used by peripheral devices (PCLK). The APB divider serves two purposes. The first is to provide peripherals with the desired PCLK via APB so that they can operate at the speed chosen for the ARM processor. In order to achieve this, the APB may be slowed down to 1⁄2 to 1⁄4 of the processor clock rate.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers pipeline status on a cycle by cycle basis. Trace information generation can be controlled by selecting the trigger resource. Trigger resources include address comparators, counters and sequencers. Since trace information is compressed the software debugger requires a static image of the code being executed. Self-modifying code can not be traced because of this restriction. 6.19.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 7. Limiting values Table 5. Limiting values In accordance with the Absolute Maximum Rating System (IEC 60134).[1] Symbol Min Max Unit supply voltage (1.8 V) [2] 0.5 +2.5 V VDD(3V3) supply voltage (3.3 V) [3] 0.5 +3.6 V VDDA(3V3) analog supply voltage (3.3 V) 0.5 +4.6 V VIA analog input voltage VDD(1V8) Parameter Conditions 0.5 +5.1 V 5 V tolerant I/O pins [4][5] 0.5 +6.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 8. Static characteristics Table 6. Static characteristics Tamb = 40 C to +85 C for industrial applications, unless otherwise specified. Symbol Parameter Conditions supply voltage (1.8 V) [2] VDD(3V3) supply voltage (3.3 V) [3] VDDA(3V3) analog supply voltage (3.3 V) VDD(1V8) Min Typ[1] Max Unit 1.65 1.8 1.95 V 3.0 3.3 3.6 V 2.5 3.3 3.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers Table 6. Static characteristics …continued Tamb = 40 C to +85 C for industrial applications, unless otherwise specified. Symbol Typ[1] Max Unit - 60 - mA Power-down mode supply VDD(1V8) = 1.8 V; current Tamb = 25 C - 10 - A VDD(1V8) = 1.8 V; Tamb = 85 C - 110 500 A - 41.5 - mA - 9 - mA Power-down mode supply VDD(1V8) = 1.8 V; current Tamb = 25 C - 10 - A VDD(1V8) = 1.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers Table 6. Static characteristics …continued Tamb = 40 C to +85 C for industrial applications, unless otherwise specified. Symbol Parameter Conditions Min Typ[1] Max Unit Oscillator pins Vi(XTAL1) input voltage on pin XTAL1 0 - 1.8 V Vo(XTAL2) output voltage on pin XTAL2 0 - 1.8 V [1] Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply voltages.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers Table 7. ADC static characteristics VDDA = 2.5 V to 3.6 V unless otherwise specified; Tamb = 40 C to +85 C unless otherwise specified. ADC frequency 4.5 MHz.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers gain error EG offset error EO 1023 1022 1021 1020 1019 1018 (2) 7 code out (1) 6 5 (5) 4 (4) 3 (3) 2 1 LSB (ideal) 1 0 1 2 3 4 5 6 7 1018 1019 1020 1021 1022 1023 1024 VIA (LSBideal) 1 LSB = offset error EO VDDA − VSSA 1024 002aaa668 (1) Example of an actual transfer curve. (2) The ideal transfer curve. (3) Differential linearity error (ED). (4) Integral non-linearity (EL(adj)).
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 8.1 Power consumption measurements for LPC2109/01, LPC2119/01, LPC2129/01 devices The power consumption measurements represent typical values for the given conditions. The peripherals were enabled through the PCONP register, but for these measurements, the peripherals were not configured to run. Peripherals were disabled through the PCONP register.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 002aad129 10 IDD(idle) (mA) 8 all peripherals enabled 6 all peripherals disabled 4 2 0 12 20 28 36 44 52 60 frequency (MHz) Test conditions: Idle mode entered executing code from on-chip flash; PCLK = CCLK⁄4; Tamb = 25 C; core voltage 1.8 V. Fig 7. Typical LPC2109/01 IDD(idle) measured at different frequencies 002aad130 10 IDD(idle) (mA) 60 MHz 7.5 48 MHz 5.0 2.5 12 MHz 0 1.65 1.70 1.75 1.80 1.85 1.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 002aad131 45 IDD(act) (mA) 35 all peripherals enabled all peripherals disabled 25 15 5 12 20 28 36 44 52 60 frequency (MHz) Test conditions: Active mode entered executing code from on-chip flash; PCLK = CCLK⁄4; Tamb = 25 C; core voltage 1.8 V. Fig 9. Typical LPC2119/01 and LPC2129/01 IDD(act) measured at different frequencies 002aad132 50 IDD(act) (mA) 60 MHz 40 48 MHz 30 20 12 MHz 10 0 1.65 1.70 1.75 1.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 002aad133 10 IDD(idle) (mA) 8 all peripherals enabled all peripherals disabled 6 4 2 0 12 20 28 36 44 52 60 frequency (MHz) Test conditions: Idle mode entered executing code from on-chip flash; PCLK = CCLK⁄4; Tamb = 25 C; core voltage 1.8 V. Fig 11. Typical LPC2119/01 and LPC2129/01 IDD(idle) measured at different frequencies 002aad134 10 60 MHz IDD(idle) (mA) 8 48 MHz 6 4 12 MHz 2 0 1.65 1.70 1.75 1.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 002aad135 45 IDD(act) (mA) 60 MHz 35 48 MHz 25 15 12 MHz 5 1.65 1.70 1.75 1.80 1.85 1.90 1.95 voltage (V) Test conditions: Active mode entered executing code from on-chip flash; PCLK = CCLK⁄4; Temp = 25 C; core voltage 1.8 V; all peripherals disabled. Fig 13. Typical LPC2109/01, LPC2119/01, and LPC2129/01 IDD(act) measured at different voltages 002aad136 8 IDD(idle) (mA) 6 60 MHz 48 MHz 4 2 12 MHz 0 1.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 002aad137 45 IDD(act) (mA) 60 MHz 35 48 MHz 25 15 12 MHz 5 −40 −15 10 35 60 85 temperature (°C) Test conditions: Active mode entered executing code from on-chip flash; PCLK = CCLK⁄4; core voltage 1.8 V; all peripherals disabled. Fig 15.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 002aad139 200 IDD(pd) (μA) 1.95 V 1.8 V 160 1.65 V 120 80 40 0 −40 −15 10 35 60 85 temperature (°C) Test conditions: Power-down mode entered executing code from on-chip flash. Fig 17. Typical LPC2109/01, LPC2119/01, and LPC2129/01 core power-down current IDD(pd) measured at different temperatures Table 8. Typical LPC2109/01 peripheral power consumption in active mode Core voltage 1.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers Table 9. Typical LPC2119/01 and LPC2129/01 peripheral power consumption in active mode Core voltage 1.8 V; Tamb = 25 C; all measurements in A; PCLK = CCLK⁄4.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 9. Dynamic characteristics Table 10. Dynamic characteristics Tamb = 40 C to +85 C for industrial applications; VDD(1V8), VDD(3V3) over specified ranges.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 9.1 Timing tCHCL tCHCX tCLCH tCLCX Tcy(clk) 002aaa907 Fig 18. External clock timing (with an amplitude of at least Vi(RMS) = 200 mV) LPC2109_2119_2129 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 7 — 14 June 2011 © NXP B.V. 2011. All rights reserved.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 10. Package outline LQFP64: plastic low profile quad flat package; 64 leads; body 10 x 10 x 1.4 mm SOT314-2 c y X A 48 33 49 32 ZE e E HE A A2 (A 3) A1 wM θ bp pin 1 index 64 Lp L 17 detail X 16 1 ZD e v M A wM bp D B HD v M B 0 2.5 5 mm scale DIMENSIONS (mm are the original dimensions) UNIT A max. A1 A2 A3 bp c D (1) E (1) e mm 1.6 0.20 0.05 1.45 1.35 0.25 0.27 0.17 0.18 0.12 10.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 11. Abbreviations Table 11.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 12. Revision history Table 12. Revision history Document ID Release date Data sheet status Change notice Supersedes LPC2109_2119_2129 v.7 20110614 Product data sheet 201004021F LPC2109_2119_2129 v.6 Modifications: LPC2109_2119_2129 v.6 Modifications: • Table 6 “Static characteristics”; Changed /01 Power-down mode supply current (IDD(pd)) from 180 A to 500 A for industrial temperature range.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers 13. Legal information 13.1 Data sheet status Document status[1][2] Product status[3] Definition Objective [short] data sheet Development This document contains data from the objective specification for product development. Preliminary [short] data sheet Qualification This document contains data from the preliminary specification. Product [short] data sheet Production This document contains the product specification.
LPC2109/2119/2129 NXP Semiconductors Single-chip 16/32-bit microcontrollers Non-automotive qualified products — Unless this data sheet expressly states that this specific NXP Semiconductors product is automotive qualified, the product is not suitable for automotive use. It is neither qualified nor tested in accordance with automotive testing or application requirements.
NXP Semiconductors LPC2109/2119/2129 Single-chip 16/32-bit microcontrollers 15. Contents 1 2 2.1 2.2 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.7.2 6.8 6.8.1 6.8.2 6.9 6.9.1 6.10 6.10.1 6.10.2 6.11 6.11.1 6.12 6.12.1 6.12.2 6.13 6.13.1 6.14 6.14.1 6.14.2 General description . . . . . . . . . . . . . . . . . . . . . . 1 Features and benefits . . . . . . . . . . . . . . . . . . . . 1 Key features brought by LPC2109/2119/2129/01 devices. . . . . . . . . . . .