LPC2194 Single-chip 16/32-bit microcontroller; 256 kB ISP/IAP flash with 10-bit ADC and CAN Rev. 6 — 14 June 2011 Product data sheet 1. General description The LPC2194 is based on a 16/32-bit ARM7TDMI-S CPU with real-time emulation and embedded trace support, together with 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.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 2.2 Key features common for all devices 16/32-bit ARM7TDMI-S microcontroller in a tiny LQFP64 package. 16 kB on-chip SRAM and 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.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 4.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 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.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 5.2 Pin description Table 2. 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.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller Table 2. Pin description …continued Symbol Pin Type Description P0[14]/DCD1/ EINT1 41 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 control of the part after reset.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller Table 2. Pin description …continued Symbol Pin Type Description P0[30]/AIN3/ EINT3/CAP0[0] 15 I AIN3 — A/D converter, 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.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller Table 2. Pin description …continued Symbol Pin Type Description VSSA 59 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) 58 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. VDD(1V8) 17, 49 I 1.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 6. Functional description Details of the LPC2194 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.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 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. The LPC2194 provides 16 kB of SRAM. 6.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 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.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 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.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller Table 3.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller • Ports are accessible via either the legacy group of registers (GPIOs) or the group of registers providing accelerated port access (Fast GPIOs). 6.8 10-bit ADC The LPC2194 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.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller • Transmission FIFO control enables implementation of software (XON/XOFF) flow control on both UARTs. • UART1 is equipped with standard modem interface signals. This module also provides full support for hardware flow control (auto-CTS/RTS). 6.10.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 6.12 SPI serial I/O controller The LPC2194 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. During a data transfer the master always sends a byte of data to the slave, and the slave always sends a byte of data to the master. 6.12.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 6.14.1 Features • A 32-bit Timer/Counter with a programmable 32-bit Prescaler. • Timer or external event counter operation • Four 32-bit capture channels per timer that can take a snapshot of the timer value when an input signal transitions. A capture event may also optionally generate an interrupt. • Four 32-bit match registers that allow: – Continuous operation with optional interrupt generation on match.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller • 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.16 Real-time clock The RTC is designed to provide a set of counters to measure time when normal or idle operating mode is selected.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller With double edge controlled PWM outputs, specific match registers control the rising and falling edge of the output. This allows both positive going PWM pulses (when the rising edge occurs prior to the falling edge), and negative going PWM pulses (when the falling edge occurs prior to the rising edge). 6.17.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller by 2, 4, 8, or 16 to produce the output clock. Since the minimum output divider value is 2, it is insured that the PLL output has a 50 % duty cycle. The PLL is turned off and bypassed following a chip Reset and may be enabled by software. The program must configure and activate the PLL, wait for the PLL to Lock, then connect to the PLL as a clock source. The PLL settling time is 100 s. 6.18.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller CAUTION If level three Code Read Protection (CRP3) is selected, no future factory testing can be performed on the device. Remark: Devices without the /00 or /01 suffixes have only a security level equivalent to CRP2 available. 6.18.5 External interrupt inputs The LPC2194 include up to nine edge or level sensitive External Interrupt Inputs as selectable pin functions.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller when an application does not require any peripherals to run at the full processor rate. Because the APB divider is connected to the PLL output, the PLL remains active (if it was running) during Idle mode. 6.19 Emulation and debugging The LPC2194 support emulation and debugging via a JTAG serial port. A trace port allows tracing program execution. Debugging and trace functions are multiplexed only with GPIOs on Port 1.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 6.19.3 RealMonitor RealMonitor is a configurable software module, developed by ARM Inc., which enables real-time debug. It is a lightweight debug monitor that runs in the background while users debug their foreground application. It communicates with the host using the DCC (Debug Communications Channel), which is present in the EmbeddedICE logic.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 7. Limiting values Table 4. 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.0 V other I/O pins [4][6] 0.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 8. Static characteristics Table 5. Static characteristics Tamb = 40 C to +125 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.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller Table 5. Static characteristics …continued Tamb = 40 C to +125 C for industrial applications, unless otherwise specified. Symbol Conditions Min Typ[1] Max Unit VDD(1V8) = 1.8 V; CCLK = 60 MHz; Tamb = 25 C; code - 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 VDD(1V8) = 1.8 V; Tamb = 125 C - 300 1000 A VDD(1V8) = 1.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller Table 5. Static characteristics …continued Tamb = 40 C to +125 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. [2] Internal rail.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller Table 6. ADC static characteristics VDDA = 2.5 V to 3.6 V; Tamb = 40 C to +125 C unless otherwise specified; ADC frequency 4.5 MHz.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 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)).
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 8.1 Power consumption measurements for LPC2194/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. Refer to the LPC2119/2129/2194/2292/2294 User Manual for a description of the PCONP register.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 002aad120 45 IDD(act) (mA) 60 MHz 35 48 MHz 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. Typical LPC2194/01 IDD(act) measured at different voltages 002aad121 15.0 IDD(idle) (mA) all peripherals enabled 10.0 all peripherals disabled 5.0 0.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 002aad122 15.0 60 MHz IDD(idle) (mA) 48 MHz 10.0 5.0 12 MHz 0.0 1.65 1.80 1.95 voltage (V) 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 LPC2194/01 IDD(idle) measured at different voltages 002aad123 8.0 IDD(idle) (mA) 60 MHz 6.0 48 MHz 4.0 12 MHz 2.0 0.0 1.65 1.80 voltage (V) 1.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 002aad124 500 IDD(pd) (μA) 1.95 V 1.8 V 400 1.65 V 300 200 100 0 -40 -25 -10 5 20 35 50 65 80 95 110 125 temperature (°C) Test conditions: Power-down mode entered executing code from on-chip flash. Fig 11.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 002aad126 7.0 IDD(idle) (mA) 6.0 60 MHz 48 MHz 5.0 4.0 3.0 12 MHz 2.0 1.0 -40 -25 -10 5 20 35 50 65 80 95 110 125 temperature (°C) Test conditions: Idle mode entered executing code from on-chip flash; PCLK = CCLK⁄4; core voltage 1.8 V; all peripherals disabled. Fig 13. Typical LPC2194/01 IDD(idle) measured at different temperatures Table 7. Typical LPC2194/01 peripheral power consumption in active mode Core voltage 1.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 9. Dynamic characteristics Table 8. Dynamic characteristics Tamb = 40 C to +125 C for industrial applications; VDD(1V8), VDD(3V3) over specified ranges.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 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.1 9.9 10.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 11. Abbreviations Table 9.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 12. Revision history Table 10. Revision history Document ID Release date Data sheet status Change notice Supersedes LPC2194 v.6 20110614 Product data sheet 201004021F LPC2194 v.5 Modifications: LPC2194 v.5 Modifications: • Table 5 “Static characteristics”; Changed /01 Power-down mode supply current (IDD(pd)) from 180 A to 500 A for industrial temperature range, and 430 A to 1000 A for extended temperature range.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 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.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 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 accepts no liability for inclusion and/or use of non-automotive qualified products in automotive equipment or applications.
LPC2194 NXP Semiconductors Single-chip 16/32-bit microcontroller 15. Contents 1 2 2.1 2.2 3 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 6.15 6.15.1 6.16 6.16.1 6.17 6.17.1 6.18 General description . . . . . . . . . . . . . . . . . . . . . . 1 Features and benefits . . . . . . . . . . . . . . . . . . . . 1 Key features brought by LPC2194/01 devices .