LPC2212/2214 Single-chip 16/32-bit ARM microcontrollers; 128/256 kB ISP/IAP flash with 10-bit ADC and external memory interface Rev. 5 — 14 June 2011 Product data sheet 1. General description The LPC2212/2214 are based on a 16/32-bit ARM7TDMI-S CPU with real-time emulation and embedded trace support, together with 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.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 16 kB on-chip static RAM and 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.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 3.1 Ordering options Table 2. LPC2212_2214 Product data sheet Ordering options Type number Flash memory RAM Fast GPIO/ SSP/ Enhanced UART, ADC, Timer Temperature range LPC2212FBD144/01 128 kB 16 kB yes 40 C to +85 C LPC2214FBD144/01 256 kB 16 kB yes 40 C to +85 C All information provided in this document is subject to legal disclaimers. Rev. 5 — 14 June 2011 © NXP B.V. 2011. All rights reserved.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 4.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 5. Pinning information 109 144 5.1 Pinning 1 108 LPC2212 LPC2214(1) 72 73 37 36 002aad182 (1) Pin configuration is identical for devices with and without /00 and /01 suffixes. Fig 2. Pin configuration (LQFP144) LPC2212_2214 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 5 — 14 June 2011 © NXP B.V. 2011. All rights reserved.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 5.2 Pin description Table 3. Pin description Symbol Pin P0[0] to P0[31] 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.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers Table 3. Pin description …continued Symbol Pin Type Description P0[14]/DCD1/EINT1 92 I DCD1 — Data Carrier Detect input for UART1. I EINT1 — External interrupt 1 input. Note: LOW on this pin while RESET is LOW forces on-chip bootloader to take over control of the part after reset.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers Table 3. Pin description …continued Symbol Pin Type Description P0[30]/AIN3/EINT3/ CAP0[0] 33 I AIN3 — ADC, input 3. This analog input is always connected to its pin. I EINT3 — External interrupt 3 input. I CAP0[0] — Capture input for Timer 0, channel 0. I/O Port 1 is a 32-bit bidirectional I/O port with individual direction controls for each bit.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers Table 3. Pin description …continued Symbol Pin Type Description P2[7]/D7 116 I/O External memory data line 7. P2[8]/D8 117 I/O External memory data line 8. P2[9]/D9 118 I/O External memory data line 9. P2[10]/D10 120 I/O External memory data line 10. P2[11]/D11 124 I/O External memory data line 11. P2[12]/D12 125 I/O External memory data line 12. P2[13]/D13 127 I/O External memory data line 13.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers Table 3. Pin description …continued Symbol Pin Type Description P3[3]/A3 81 O External memory address line 3. P3[4]/A4 80 O External memory address line 4. P3[5]/A5 74 O External memory address line 5. P3[6]/A6 73 O External memory address line 6. P3[7]/A7 72 O External memory address line 7. P3[8]/A8 71 O External memory address line 8. P3[9]/A9 66 O External memory address line 9.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers Table 3. Pin description …continued Symbol Pin VSS 3, 9, 26, I 38, 54, 67, 79, 93, 103, 107, 111, 128 ground: 0 V reference VSSA 139 I analog ground; 0 V reference. This should nominally be the same voltage as VSS, but should be isolated to minimize noise and error. VSSA(PLL) 138 I PLL analog ground; 0 V reference. This should nominally be the same voltage as VSS, but should be isolated to minimize noise and error.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 6. Functional description Details of the LPC2212/2214 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.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 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 static RAM On-chip static RAM may be used for code and/or data storage. The SRAM may be accessed as 8 bit, 16 bit, and 32 bit. The LPC2212/2214 provide 16 kB of static RAM. 6.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM 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 0x4000 0000 0x3FFF FFFF 1.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM 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.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers [1] SSP interface available on LPC2212/01 and LPC2214/01 only. 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 to allow connection between the pin and the on chip peripherals. Peripherals should be connected to the appropriate pins prior to being activated, and prior to any related interrupt(s) being enabled.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 6.9 10-bit ADC The LPC2212/2214 each contain a single 10-bit successive approximation ADC with four multiplexed channels. 6.9.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.9.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 6.11 I2C-bus serial I/O controller The I2C-bus is a bidirectional bus for inter-IC control using only two wires: a serial clock line (SCL), and a serial data line (SDA). Each device is recognized by a unique address and can operate as either a receiver-only device (e.g. an LCD driver or a transmitter with the capability to both receive and send information (such as memory).
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers • When the SPI interface is used in Master mode, the SSEL pin is not needed (can be used for a different function). 6.13 SSP controller (LPC2212/2214/01 only) The SSP is a controller capable of operation on a SPI, 4-wire SSI, or Microwire bus. It can interact with multiple masters and slaves on the bus. Only a single master and a single slave can communicate on the bus during a given data transfer.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers – Toggle on match. – Do nothing on match. 6.14.2 Features available in LPC2212/2214/01 only The LPC2212/2214/01 can count external events on one of the capture inputs if the external pulse lasts at least one half of the period of the PCLK. In this configuration, unused capture lines can be selected as regular timer capture inputs, or used as external interrupts.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers • Provides Seconds, Minutes, Hours, Day of Month, Month, Year, Day of Week, and Day of Year. • Programmable reference clock divider allows adjustment of the RTC to match various crystal frequencies. 6.17 Pulse width modulator The PWM is based on the standard Timer block and inherits all of its features, although only the PWM function is pinned out on the LPC2212/2214.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers • Pulse period and width can be any number of timer counts. This allows complete flexibility in the trade-off between resolution and repetition rate. All PWM outputs will occur at the same repetition rate. • Double edge controlled PWM outputs can be programmed to be either positive going or negative going pulses. • Match register updates are synchronized with pulse outputs to prevent generation of erroneous pulses.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers functions are turned off for any reason. Since the oscillator and other functions are turned off during Power-down mode, any wake-up of the processor from Power-down mode makes use of the Wake-up Timer. The Wake-up Timer monitors the crystal oscillator as the means of checking whether it is safe to begin code execution.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 6.18.6 Memory mapping control The Memory Mapping Control alters the mapping of the interrupt vectors that appear beginning at address 0x0000 0000. Vectors may be mapped to the bottom of the on-chip flash memory, or to the on-chip static RAM. This allows code running in different memory spaces to have control of the interrupts. 6.18.7 Power control The LPC2212/2214 support two reduced power modes: Idle mode and Power-down mode.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers The ARM core has a Debug Communication Channel function built-in. The debug communication channel allows a program running on the target to communicate with the host debugger or another separate host without stopping the program flow or even entering the debug state. The debug communication channel is accessed as a co-processor 14 by the program running on the ARM7TDMI-S core.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM 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.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 8. Static characteristics Table 6. Static characteristics Tamb = 40 C to +85 C for industrial applications, unless otherwise specified. Symbol VDD(1V8) VDD(3V3) Min Typ[1] Max Unit supply voltage (1.8 V) [2] 1.65 1.8 1.95 V supply voltage (3.3 V) [3] 3.0 3.3 3.6 V 2.5 3.3 3.6 V Parameter Conditions VDDA(3V3) analog supply voltage (3.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers Table 6. Static characteristics …continued Tamb = 40 C to +85 C for industrial applications, unless otherwise specified. Symbol Parameter Min Typ[1] Max Unit - 60 - mA VDD(1V8) = 1.8 V; Tamb = 25 C - 10 - A VDD(1V8) = 1.8 V; Tamb = 85 C - 110 500 A - 41 - mA - 6.5 - mA VDD(1V8) = 1.8 V; Tamb = 25 C - 10 - A VDD(1V8) = 1.8 V; Tamb = 85 C - 110 500 A 0.7VDD(3V3) - - V 0.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM 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 0 - 1.8 V 0 - 1.8 V Oscillator pins Vi(XTAL1) input voltage on pin XTAL1 Vo(XTAL2) output voltage on pin XTAL2 [1] Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply voltages.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM 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.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM 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)).
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 8.1 Power consumption measurements for LPC2212/01 and LPC2214/01 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. For a description of the PCONP register refer to the LPC2114/2124/2212/2214 User Manual.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 002aad141 45 60 MHz IDD(act) (mA) 48 MHz 35 25 15 12 MHz 5 1.65 1.80 voltage (V) 1.95 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 7.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 002aad145 8 IDD(idle) (mA) 60 MHz 6 48 MHz 4 12 MHz 2 0 1.65 1.80 voltage (V) 1.95 Test conditions: Idle mode entered executing code from on-chip flash; PCLK = CCLK⁄4; Tamb = 25 C; core voltage 1.8 V; all peripherals enabled. Fig 9. Typical LPC2212/01 and LPC2214/01 IDD(idle) measured at different voltages 002aad144 8 IDD(idle) (mA) 60 MHz 6 48 MHz 4 12 MHz 2 0 1.65 1.80 voltage (V) 1.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 002aad146 45 60 MHz IDD(act) (mA) 48 MHz 35 25 15 12 MHz 5 -40 -15 10 35 60 temperature (°C) 85 Test conditions: Active mode entered executing code from on-chip flash; PCLK = CCLK⁄4; core voltage 1.8 V; all peripherals disabled. Fig 11. Typical LPC2212/01 and LPC2214/01 IDD(act) measured at different temperatures 002aad147 6.0 IDD(idle) (mA) 5.0 60 MHz 4.0 48 MHz 3.0 2.0 12 MHz 1.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 002aad148 200 IDD(pd) (μA) 1.95 V 1.8 V 1.65 V 160 120 80 40 0 -40 -15 10 35 60 temperature (°C) 85 Test conditions: Power-down mode entered executing code from on-chip flash. Fig 13. Typical LPC2212/01 and LPC2214/01 core power-down current IDD(pd) measured at different temperatures Table 8. Typical LPC2212/01 and LPC2214/01 peripheral power consumption in active mode Core voltage 1.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 9. Dynamic characteristics Table 9. Dynamic characteristics Tamb = 40 C to +85 C for industrial applications; VDD(1V8), VDD(3V3) over specified ranges.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers Table 10. External memory interface dynamic characteristics CL = 25 pF; Tamb = 40 C.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers Table 10. External memory interface dynamic characteristics …continued CL = 25 pF; Tamb = 40 C.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 9.1 Timing XCLK tCSLAV tCSHOEH CS addr tam th(D) data tCSLOEL tOELAV tOEHANV OE tCHOEL tCHOEH 002aaa749 Fig 14. External memory read access XCLK tCSLDV CS tAVCSL tCSLWEL tWELWEH tBLSLBLSH BLS/WE tWEHANV tCSLBLSL tWELDV tBLSHANV addr tCSLDV tWEHDNV tBLSHDNV data OE 002aaa750 Fig 15.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers tCHCL tCHCX tCLCH tCLCX Tcy(clk) 002aaa907 Fig 16. External clock timing (with an amplitude of at least Vi(RMS) = 200 mV) LPC2212_2214 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 5 — 14 June 2011 © NXP B.V. 2011. All rights reserved.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 10. Package outline LQFP144: plastic low profile quad flat package; 144 leads; body 20 x 20 x 1.4 mm SOT486-1 c y X A 73 72 108 109 ZE e E HE A A2 (A 3) A1 θ wM Lp bp L pin 1 index detail X 37 144 1 36 v M A ZD wM bp e D B HD v M B 0 5 10 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.15 0.05 1.45 1.35 0.25 0.27 0.17 0.20 0.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 11. Abbreviations Table 12.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM microcontrollers 12. Revision history Table 13. Revision history Document ID Release date Data sheet status Change notice Supersedes LPC2212_2214 v.5 20110614 Product data sheet 201004021F LPC2212_2214 v.4 Modifications: LPC2212_2214 v.4 Modifications: • Table 6 “Static characteristics”; Changed /01 Power-down mode supply current (IDD(pd)) from 180 A to 500 A for industrial temperature range.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM 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.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM 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.
LPC2212/2214 NXP Semiconductors Single-chip 16/32-bit ARM 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.8 6.8.1 6.8.2 6.9 6.9.1 6.9.2 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 6.15 6.15.1 6.16 6.16.1 General description . . . . . . . . . . . . . . . . . . . . . . 1 Features and benefits . . . . . . . . . . . . . . . . . . . . 1 Key features brought by LPC2212/2214/01 devices . . . . . . . . . . . . . . . . . . . .