LPC2478 Single-chip 16-bit/32-bit micro; 512 kB flash, Ethernet, CAN, LCD, USB 2.0 device/host/OTG, external memory interface Rev. 3.1 — 16 October 2013 Product data sheet 1. General description NXP Semiconductors designed the LPC2478 microcontroller, powered by the ARM7TDMI-S core, to be a highly integrated microcontroller for a wide range of applications that require advanced communications and high quality graphic displays. The LPC2478 microcontroller has 512 kB of on-chip high-speed flash memory.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller LCD controller, supporting both Super-Twisted Nematic (STN) and Thin-Film Transistors (TFT) displays. Dedicated DMA controller. Selectable display resolution (up to 1024 768 pixels). Supports up to 24-bit true-color mode. Dual Advanced High-performance Bus (AHB) system allows simultaneous Ethernet DMA, USB DMA, and program execution from on-chip flash with no contention.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Processor wake-up from Power-down mode via any interrupt able to operate during Power-down mode (includes external interrupts, RTC interrupt, USB activity, Ethernet wake-up interrupt, CAN bus activity, port 0/2 pin interrupt). Two independent power domains allow fine tuning of power consumption based on needed features. Each peripheral has its own clock divider for further power saving.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 4.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 5.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 6. Pinning information 157 208 6.1 Pinning 1 156 LPC2478FBD208 105 53 104 52 Fig 2. 002aac808 LPC2478 pinning LQFP208 package ball A1 index area 2 1 4 3 6 5 8 7 9 10 12 14 16 11 13 15 17 A B C D E F G H LPC2478FET208 J K L M N P R T U 002aac809 Transparent top view Fig 3. Table 3.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 3.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 3. Pin allocation table …continued Pin Symbol Pin Symbol Pin Symbol Pin Symbol 14 15 P3[17]/D17/ PWM0[2]/RXD1 16 P2[5]/PWM1[6]/ DTR1/TRACEPKT0/ LCDLP 17 P3[16]/D16/ PWM0[1]/TXD1 P4[11]/A11 Row G 1 P3[5]/D5 2 P0[24]/AD0[1]/ I2SRX_WS/CAP3[1] 3 VDD(3V3) 4 VDDA 14 n.c.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 3.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 6.2 Pin description Table 4.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol Pin Ball Type Description P0[7]/I2STX_CLK/ LCDVD[9]/SCK1/ MAT2[1] 162[1] C13[1] I/O P0[7] — General purpose digital input/output pin. I/O I2STX_CLK — I2S transmit clock. It is driven by the master and received by the slave. Corresponds to the signal SCK in the I2S-bus specification.[17] O LCDVD[9] — LCD data.[17] I/O SCK1 — Serial Clock for SSP1.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol Pin Ball Type Description P0[14]/ USB_HSTEN2/ USB_CONNECT2/ SSEL1 69[1] T7[1] I/O P0[14] — General purpose digital input/output pin. O USB_HSTEN2 — Host Enabled status for USB port 2. O USB_CONNECT2 — SoftConnect control for USB port 2. Signal used to switch an external 1.5 k resistor under software control. Used with the SoftConnect USB feature.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol Pin Ball Type Description P0[23]/AD0[0]/ I2SRX_CLK/ CAP3[0] 18[2] H1[2] I/O P0[23] — General purpose digital input/output pin. I AD0[0] — A/D converter 0, input 0. I/O I2SRX_CLK — Receive Clock. It is driven by the master and received by the slave. Corresponds to the signal SCK in the I2S-bus specification. I CAP3[0] — Capture input for Timer 3, channel 0.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol Pin Ball Type Description P1[3]/ ENET_TXD3/ MCICMD/ PWM0[2] 177[1] A10[1] I/O P1[3] — General purpose digital input/output pin. O ENET_TXD3 — Ethernet transmit data 3 (MII interface). I/O MCICMD — Command line for SD/MMC interface. O PWM0[2] — Pulse Width Modulator 0, output 2. P1[4]/ ENET_TX_EN 192[1] A5[1] I/O P1[4] — General purpose digital input/output pin.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol Pin Ball Type Description P1[16]/ ENET_MDC 180[1] D10[1] I/O P1[16] — General purpose digital input/output pin. O ENET_MDC — Ethernet MIIM clock. P1[17]/ ENET_MDIO 178[1] A9[1] I/O P1[17] — General purpose digital input/output pin. I/O ENET_MDIO — Ethernet MIIM data input and output.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol Pin Ball Type Description P1[24]/ USB_RX_DM1/ LCDVD[10]/ LCDVD[14]/ PWM1[5]/MOSI0 78[1] T9[1] I/O P1[24] — General purpose digital input/output pin. I USB_RX_DM1 — D receive data for USB port 1 (OTG transceiver).[18] O LCDVD[10]/LCDVD[14] — LCD data.[18] O PWM1[5] — Pulse Width Modulator 1, channel 5 output. I/O MOSI0 — Master Out Slave in for SSP0.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol P2[0] to P2[31] LPC2478 Product data sheet Pin Ball Type Description I/O Port 2: Port 2 is a 32-bit I/O port with individual direction controls for each bit. The operation of port 2 pins depends upon the pin function selected via the pin connect block. All information provided in this document is subject to legal disclaimers. Rev. 3.1 — 16 October 2013 © NXP B.V. 2013.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol Pin Ball Type Description P2[0]/PWM1[1]/ TXD1/TRACECLK/ LCDPWR 154[1] B17[1] I/O P2[0] — General purpose digital input/output pin. O PWM1[1] — Pulse Width Modulator 1, channel 1 output. O TXD1 — Transmitter output for UART1. O TRACECLK — Trace clock.[19] O LCDPWR — LCD panel power enable.[19] I/O P2[1] — General purpose digital input/output pin.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol Pin Ball Type Description P2[8]/TD2/TXD2/ TRACEPKT3/ LCDVD[2]/ LCDVD[6] 134[1] H15[1] I/O P2[8] — General purpose digital input/output pin. O TD2 — CAN2 transmitter output. O TXD2 — Transmitter output for UART2. O TRACEPKT3 — Trace packet, bit 3.[19] O LCDVD[2]/LCDVD[6] — LCD data.[19] I/O P2[9] — General purpose digital input/output pin.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol Pin Ball Type Description P2[16]/CAS 87[1] R11[1] I/O P2[16] — General purpose digital input/output pin. O CAS — LOW active SDRAM Column Address Strobe. P2[17]/RAS 95[1] R13[1] I/O P2[17] — General purpose digital input/output pin. O RAS — LOW active SDRAM Row Address Strobe. P2[18]/ CLKOUT0 59[1] U3[1] I/O P2[18] — General purpose digital input/output pin.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol Pin Ball Type Description P2[31]/ DQMOUT3/ MAT3[3]/SCL2 39[1] N2[1] I/O P2[31] — General purpose digital input/output pin. O DQMOUT3 — Data mask 3 used with SDRAM and static devices. O MAT3[3] — Match output for Timer 3, channel 3. I/O SCL2 — I2C2 clock input/output (this is not an open-drain pin).
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol Pin Ball Type Description P3[16]/D16/ PWM0[1]/TXD1 137[1] F17[1] I/O P3[16] — General purpose digital input/output pin. I/O D16 — External memory data line 16. O PWM0[1] — Pulse Width Modulator 0, output 1. O TXD1 — Transmitter output for UART1. I/O P3[17] — General purpose digital input/output pin. I/O D17 — External memory data line 17.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol Pin Ball Type Description P3[26]/D26/ MAT0[1]/ PWM1[3] 55[1] T3[1] I/O P3[26] — General purpose digital input/output pin. I/O D26 — External memory data line 26. O MAT0[1] — Match output for Timer 0, channel 1. O PWM1[3] — Pulse Width Modulator 1, output 3. P3[27]/D27/ CAP1[0]/ PWM1[4] 203[1] I/O P3[27] — General purpose digital input/output pin.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol Pin Ball Type Description P4[7]/A7 121[1] L16[1] I/O P4[7] — General purpose digital input/output pin. I/O A7 — External memory address line 7. P4[8]/A8 127[1] J17[1] I/O P4[8] — General purpose digital input/output pin. I/O A8 — External memory address line 8. P4[9]/A9 131[1] H17[1] I/O P4[9] — General purpose digital input/output pin.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol Pin Ball Type Description P4[23]/A23/ RXD2/MOSI1 129[1] J15[1] I/O P4[23] — General purpose digital input/output pin. I/O A23 — External memory address line 23. I RXD2 — Receiver input for UART2. I/O MOSI1 — Master Out Slave In for SSP1. I/O P4[24] — General purpose digital input/output pin. O OE — LOW active Output Enable signal.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 4. Pin description …continued Symbol Pin Ball Type Description RESET 35[7] M2[7] I external reset input: A LOW on this pin resets the device, causing I/O ports and peripherals to take on their default states, and processor execution to begin at address 0. TTL with hysteresis, 5 V tolerant. XTAL1 44[8][9] M4[8][9] I Input to the oscillator circuit and internal clock generator circuits.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller [5] Pad provides digital I/O and USB functions. It is designed in accordance with the USB specification, revision 2.0 (Full-speed and Low-speed mode only). [6] 5 V tolerant pad with 10 ns glitch filter providing digital I/O functions with TTL levels and hysteresis. [7] 5 V tolerant pad with 20 ns glitch filter providing digital I/O function with TTL levels and hysteresis. [8] Pad provides special analog functionality.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 7. Functional description 7.1 Architectural overview The LPC2478 microcontroller consists of an ARM7TDMI-S CPU with emulation support, the ARM7 local bus for closely coupled, high-speed access to the majority of on-chip memory, the AMBA AHB interfacing to high-speed on-chip peripherals and external memory, and the AMBA APB for connection to other on-chip peripheral functions.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller The Thumb set’s 16-bit instruction length allows it to approach higher density compared to standard ARM code while retaining most of the ARM’s performance. 7.2 On-chip flash programming memory The LPC2478 incorporates 512 kB flash memory system. This memory may be used for both code and data storage. Programming of the flash memory may be accomplished in several ways. It may be programmed In System via the serial port (UART0).
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 7.4 Memory map The LPC2478 memory map incorporates several distinct regions as shown in Table 5 and Figure 4. In addition, the CPU interrupt vectors may be remapped to allow them to reside in either flash memory (default), boot ROM, or SRAM (see Section 7.27.6). Table 5.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 0xFFFF FFFF 4.0 GB AHB PERIPHERALS 0xF000 0000 3.75 GB APB PERIPHERALS 0xE000 0000 0xDFFF FFFF 3.5 GB EXTERNAL STATIC AND DYNAMIC MEMORY 2.0 GB 0x8000 0000 0x7FFF FFFF BOOT ROM AND BOOT FLASH (BOOT FLASH REMAPPED FROM ON-CHIP FLASH) RESERVED ADDRESS SPACE ON-CHIP STATIC RAM 1.0 GB 0x4000 0000 0x3FFF FFFF SPECIAL REGISTERS 0x3FFF 8000 RESERVED ADDRESS SPACE 0x0008 0000 0x0007 FFFF ON-CHIP NON-VOLATILE MEMORY 0.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller service routine can simply start dealing with that device. But if more than one request is assigned to the FIQ class, the FIQ service routine can read a word from the VIC that identifies which FIQ source(s) is (are) requesting an interrupt. Vectored IRQs, which include all interrupt requests that are not classified as FIQs, have a programmable interrupt priority.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller – Asynchronous page mode read – Programmable Wait States – Bus turnaround delay – Output enable and write enable delays – Extended wait • Four chip selects for synchronous memory and four chip selects for static memory devices. • Power-saving modes dynamically control CKE and CLKOUT to SDRAMs. • Dynamic memory self-refresh mode controlled by software.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller • One AHB master for transferring data. This interface transfers data when a DMA request goes active. • 32-bit AHB master bus width. • Incrementing or non-incrementing addressing for source and destination. • Programmable DMA burst size. The DMA burst size can be programmed to more efficiently transfer data. Usually the burst size is set to half the size of the FIFO in the peripheral. • Internal four-word FIFO per channel.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 7.10 LCD controller The LCD controller provides all of the necessary control signals to interface directly to a variety of color and monochrome LCD panels. Both STN (single and dual panel) and TFT panels can be operated. The display resolution is selectable and can be up to 1024 768 pixels. Several color modes are provided, up to a 24-bit true-color non-palettized mode.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller The Ethernet block and the CPU share a dedicated AHB subsystem that is used to access the Ethernet SRAM for Ethernet data, control, and status information. All other AHB traffic in the LPC2478 takes place on a different AHB subsystem, effectively separating Ethernet activity from the rest of the system. The Ethernet DMA can also access off-chip memory via the EMC, as well as the SRAM located on another AHB.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 7.12 USB interface The Universal Serial Bus (USB) is a 4-wire bus that supports communication between a host and one or more (up to 127) peripherals. The host controller allocates the USB bandwidth to attached devices through a token-based protocol. The bus supports hot plugging and dynamic configuration of the devices. All transactions are initiated by the host controller.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 7.12.3 USB OTG controller USB OTG is a supplement to the USB 2.0 Specification that augments the capability of existing mobile devices and USB peripherals by adding host functionality for connection to USB peripherals. The OTG Controller integrates the host controller, device controller, and a master-only I2C interface to implement OTG dual-role device functionality. The dedicated I2C interface controls an external OTG transceiver. 7.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 7.14 10-bit ADC The LPC2478 contains one ADC. It is a single 10-bit successive approximation ADC with eight channels. 7.14.1 Features • • • • • • • • 10-bit successive approximation ADC Input multiplexing among 8 pins Power-down mode Measurement range 0 V to Vi(VREF) 10-bit conversion time 2.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller • UART3 includes an IrDA mode to support infrared communication. 7.17 SPI serial I/O controller The LPC2478 contains one SPI controller. SPI is a full duplex serial interface designed 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.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller • Conforms to Multimedia Card Specification v2.11. • Conforms to Secure Digital Memory Card Physical Layer Specification, v0.96. • Can be used as a multimedia card bus or a secure digital memory card bus host. The SD/MMC can be connected to several multimedia cards or a single secure digital memory card. • DMA supported through the GPDMA controller. 7.20 I2C-bus serial I/O controller The LPC2478 contains three I2C-bus controllers.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 7.21.1 Features • The interface has separate input/output channels each of which can operate in master or slave mode. • Capable of handling 8-bit, 16-bit, and 32-bit word sizes. • Mono and stereo audio data supported. • The sampling frequency can range from 16 kHz to 48 kHz (16, 22.05, 32, 44.1, 48) kHz. • • • • Configurable word select period in master mode (separately for I2S input and output).
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 7.23 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 LPC2478. The Timer is designed to count cycles of the system derived clock and optionally switch pins, generate interrupts or perform other actions when specified timer values occur, based on seven match registers.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller • 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.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller The VBAT pin supplies power only to the RTC and the Battery RAM. These two functions require a minimum of power to operate, which can be supplied by an external battery. When the CPU and the rest of chip functions are stopped and power removed, the RTC can supply an alarm output that can be used by external hardware to restore chip power and resume operation. 7.25.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller clock frequency for each peripheral can be selected individually and is referred to as PCLK. Refer to Section 7.26.2 for additional information. 7.26.1.3 RTC oscillator The RTC oscillator can be used as the clock source for the RTC and/or the WDT. Also, the RTC oscillator can be used to drive the PLL and the CPU. 7.26.2 PLL The PLL accepts an input clock frequency in the range of 32 kHz to 25 MHz.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 7.26.4 Power control The LPC2478 supports a variety of power control features. There are four special modes of processor power reduction: Idle mode, Sleep mode, Power down-mode and Deep power-down mode. The CPU clock rate may also be controlled as needed by changing clock sources, reconfiguring PLL values, and/or altering the CPU clock divider value.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller the meantime, the flash wake-up timer then counts 4 MHz IRC clock cycles to make the 100 s flash start-up time. When it times out, access to the flash will be allowed. The customers need to reconfigure the PLL and clock dividers accordingly. 7.26.4.4 Deep power-down mode Deep power-down mode is similar to the Power-down mode, but now the on-chip regulator that supplies power to the internal logic is also shut off.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 7.27 System control 7.27.1 Reset Reset has four sources on the LPC2478: the RESET pin, the Watchdog reset, power-on reset, and the BrownOut Detection (BOD) circuit. The RESET pin is a Schmitt trigger input pin. Assertion of chip Reset by any source, once the operating voltage attains a usable level, starts the wake-up timer (see description in Section 7.26.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller CAUTION If level three Code Read Protection (CRP3) is selected, no future factory testing can be performed on the device. 7.27.4 AHB The LPC2478 implements two AHB in order to allow the Ethernet block to operate without interference caused by other system activity. The primary AHB, referred to as AHB1, includes the Vectored Interrupt Controller, GPDMA controller, USB interface, and 16 kB SRAM.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller DCC is accessed as a coprocessor 14 by the program running on the ARM7TDMI-S core. The DCC allows the JTAG port to be used for sending and receiving data without affecting the normal program flow. The DCC data and control registers are mapped in to addresses in the EmbeddedICE logic. The JTAG clock (TCK) must be slower than 1⁄6 of the CPU clock (CCLK) for the JTAG interface to operate. 7.28.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 8. Limiting values Table 6. Limiting values In accordance with the Absolute Maximum Rating System (IEC 60134).[1] Symbol Parameter Conditions Min Max Unit VDD(3V3) supply voltage (3.3 V) core and external rail 3.0 3.6 V 3.0 3.6 V 0.5 +4.6 V 0.5 +4.6 V 0.5 +4.6 V 0.5 +5.1 V [2] 0.5 +6.0 V other I/O pins [2][3] 0.5 VDD(3V3) + 0.5 V per supply pin [4] - 100 mA - 100 mA 65 +150 C - 1.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 9. Thermal characteristics The average chip junction temperature, Tj (C), can be calculated using the following equation: T j = T amb + P D R th j – a (1) • Tamb = ambient temperature (C), • Rth(j-a) = the package junction-to-ambient thermal resistance (C/W) • PD = sum of internal and I/O power dissipation The internal power dissipation is the product of IDD and VDD.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 10. Static characteristics Table 9. Static characteristics Tamb = 40 C to +85 C for commercial applications, unless otherwise specified. Symbol Parameter Conditions Min Typ[1] Max Unit VDD(3V3) supply voltage (3.3 V) core and external rail 3.0 3.3 3.6 V VDD(DCDC)(3V3) DC-to-DC converter supply voltage (3.3 V) 3.0 3.3 3.6 V VDDA analog 3.3 V pad supply voltage 3.0 3.3 3.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 9. Static characteristics …continued Tamb = 40 C to +85 C for commercial applications, unless otherwise specified.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 9. Static characteristics …continued Tamb = 40 C to +85 C for commercial applications, unless otherwise specified. Symbol Parameter Conditions Min Typ[1] Max Unit Oscillator pins Vi(XTAL1) input voltage on pin XTAL1 0.5 1.8 1.95 V Vo(XTAL2) output voltage on pin XTAL2 0.5 1.8 1.95 V Vi(RTCX1) input voltage on pin RTCX1 0.5 1.8 1.95 V Vo(RTCX2) output voltage on pin RTCX2 0.5 1.8 1.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 10.1 Power-down mode 002aae049 4 IDD(IO) (μA) 2 VDD(3V3) = 3.3 V VDD(3V3) = 3.0 V 0 −2 −4 −40 −15 10 35 60 85 temperature (°C) Vi(VBAT) = VDD(DCDC)(3V3) = 3.3 V; Tamb = 25 C. Fig 5. I/O maximum supply current IDD(IO) versus temperature in Power-down mode 002aae050 40 IBAT (μA) 30 Vi(VBAT) = 3.3 V Vi(VBAT) = 3.0 V 20 10 0 −40 −15 10 35 60 85 temperature (°C) VDD(3V3) = VDD(DCDC)(3V3) = 3.3 V; Tamb = 25 C. Fig 6.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 002aae051 800 IDD(DCDC)pd(3v3) (μA) 600 400 VDD(DCDC)(3V3) = 3.3 V 200 0 −40 VDD(DCDC)(3V3) = 3.0 V −15 10 35 60 85 temperature (°C) VDD(3V3) = Vi(VBAT) = 3.3 V; Tamb = 25 C. Fig 7. Total DC-to-DC converter supply current IDD(DCDC)pd(3V3) at different temperatures in Power-down mode 10.2 Deep power-down mode 002aae046 300 IDD(IO) (μA) 200 100 VDD(3V3) = 3.3 V VDD(3V3) = 3.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 002aae047 40 IBAT (μA) 30 Vi(VBAT) = 3.3 V Vi(VBAT) = 3.0 V 20 10 0 −40 −15 10 35 60 85 temperature (°C) VDD(3V3) = VDD(DCDC)(3V3) = 3.3 V; Tamb = 25 C Fig 9. RTC battery maximum supply current IBAT versus temperature in Deep power-down mode 002aae048 100 IDD(DCDC)dpd(3v3) (μA) 80 60 VDD(DCDC)(3V3) = 3.3 V 40 VDD(DCDC)(3V3) = 3.0 V 20 0 −40 −15 10 35 60 85 temperature (°C) VDD(3V3) = Vi(VBAT) = 3.3 V; Tamb = 25 C.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 10.3 Electrical pin characteristics 002aaf112 3.6 VOH (V) T = 85 °C 25 °C −40 °C 3.2 2.8 2.4 2.0 0 8 16 24 IOH (mA) Conditions: VDD(3V3) = 3.3 V; standard port pins. Fig 11. Typical HIGH-level output voltage VOH versus HIGH-level output source current IOH 002aaf111 15 IOL (mA) T = 85 °C 25 °C −40 °C 10 5 0 0 0.2 0.4 0.6 VOL (V) Conditions: VDD(3V3) = 3.3 V; standard port pins. Fig 12.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 11. Dynamic characteristics Table 10. Dynamic characteristics Tamb = 40 C to +85 C for commercial applications; VDD(3V3) over specified ranges.[1] Symbol Parameter Conditions Typ[2] Min Max Unit External clock fosc oscillator frequency 1 - 25 MHz Tcy(clk) clock cycle time 40 - 1000 ns tCHCX clock HIGH time Tcy(clk) 0.4 - - ns tCLCX clock LOW time Tcy(clk) 0.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 11.1 Internal oscillators Table 11. Dynamic characteristic: internal oscillators Tamb = 40 C to +85 C; 3.0 V VDD(3V3) 3.6 V.[1] Symbol Parameter Conditions Min Typ[2] Max Unit fosc(RC) internal RC oscillator frequency - 3.96 4.02 4.04 MHz fi(RTC) RTC input frequency - - 32.768 - kHz Max Unit [1] Parameters are valid over operating temperature range unless otherwise specified.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 11.4 Flash memory Table 14. Dynamic characteristics of flash Tamb = 40 C to +85 C, unless otherwise specified; VDD(3V3) = 3.0 V to 3.6 V; all voltages are measured with respect to ground.
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx NXP Semiconductors LPC2478 Product data sheet 11.5 Static external memory interface Table 15.
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx Symbol Parameter Conditions Min Typ Max Unit 0.78 + Tcy(CCLK) 2.54 + Tcy(CCLK) 5.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 11.6 Dynamic external memory interface Table 16. Dynamic characteristics: Dynamic external memory interface CL = 30 pF, Tamb = 40 C to 85 C, VDD(DCDC)(3V3) = VDD(3V3) = 3.0 V to 3.6 V, EMC Dynamic Read Config Register = 0x0 (RD = 00) Symbol Parameter Conditions Min Typ Max Unit 1.05 1.76 ns Common chip select valid delay time [1] - th(S) chip select hold time [1] 0.1 1.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 17. Dynamic characteristics: Dynamic external memory interface CL = 30 pF on all pins, Tamb = 40 C to 85 C, VDD(DCDC)(3V3) = VDD(3V3) = 3.3 V, EMC Dynamic Read Config Register = 0x1 (RD = 01), Tcy(CCLK) = 1/CCLK Symbol Parameter Conditions Min Typ Max Unit Common td(SV) chip select valid delay time [1] - 3 + Tcy(CCLK) 1.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 11.7 Timing tCSLAV tCSHOEH CS addr tam th(D) data tCSLOEL tOELAV tOEHANV tOELOEH OE tCSHBLSH tBLSLAV BLS 002aad955 Fig 14. External memory read access CS tCSLAV tCSLWEL tWELWEH tBLSLBLSH BLS/WE tWEHANV tCSLBLSL tWELDV tBLSHANV addr tCSLDV tWEHDNV tBLSHDNV data OE 002aad956 Fig 15. External memory write access LPC2478 Product data sheet All information provided in this document is subject to legal disclaimers.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller TPERIOD crossover point extended crossover point differential data lines source EOP width: tFEOPT differential data to SE0/EOP skew n × TPERIOD + tFDEOP receiver EOP width: tEOPR1, tEOPR2 002aab561 Fig 16. Differential data-to-EOP transition skew and EOP width shifting edges SCK sampling edges MOSI MISO tsu(SPI_MISO) 002aad326 Fig 17.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 12. ADC electrical characteristics Table 18. ADC static characteristics VDDA = 2.5 V to 3.6 V; Tamb = 40 C to +85 C unless otherwise specified; ADC frequency 4.5 MHz.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller offset error EO gain error EG 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) offset error EO 1 LSB = Vi(VREF) − VSSA 1024 002aae604 (1) Example of an actual transfer curve. (2) The ideal transfer curve. (3) Differential linearity error (ED). (4) Integral non-linearity (EL(adj)).
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller LPC2XXX 20 kΩ AD0[y] AD0[y]SAMPLE 3 pF Rvsi 5 pF VEXT VSSIO, VSSCORE 002aad586 Fig 20. Suggested ADC interface - LPC2478 AD0[y] pin LPC2478 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 3.1 — 16 October 2013 © NXP B.V. 2013. All rights reserved.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 13. DAC electrical characteristics Table 19. DAC electrical characteristics VDDA = 3.0 V to 3.6 V; Tamb = 40 C to +85 C unless otherwise specified Symbol Parameter ED Min Typ Max Unit differential linearity error - 1 - LSB EL(adj) integral non-linearity - 1.5 - LSB EO offset error - 0.6 - % EG gain error - 0.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 14. Application information 14.1 LCD panel signal usage Table 20.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 21.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 22.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 14.2 Suggested USB interface solutions VDD(3V3) USB_UP_LED USB_CONNECT LPC24XX soft-connect switch R1 1.5 kΩ VBUS USB_D+ RS = 33 Ω USB-B connector USB_D− RS = 33 Ω VSSIO, VSSCORE 002aad587 Fig 21. LPC2478 USB interface on a self-powered device VDD(3V3) R2 LPC24XX USB_UP_LED R1 1.5 kΩ VBUS USB_D+ RS = 33 Ω USB-B connector USB_D− RS = 33 Ω VSSIO, VSSCORE 002aad588 Fig 22.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller VDD R1 R2 R3 R4 RSTOUT RESET_N VBUS ADR/PSW ID OE_N/INT_N VDD SPEED SUSPEND R4 R5 ISP1302 DP 33 Ω DM 33 Ω R6 VSSIO, VSSCORE SCL USB_SCL1 Mini-AB connector SDA USB_SDA1 USB_INT1 INT_N USB_D+1 USB_D−1 VDD USB_UP_LED1 LPC24XX R7 5V VDD IN USB_PPWR2 ENA LM3526-L OUTA FLAGA USB_OVRCR2 VBUS USB_PWRD2 USB_D+2 33 Ω D+ USB_D−2 33 Ω D− 15 kΩ 15 kΩ USB-A connector VSSIO, VSSCORE VDD USB_UP_LED2 R8 0
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller VDD RSTOUT RESET_N OE_N/INT_N USB_TX_E1 USB_TX_DP1 DAT_VP USB_TX_DM1 SE0_VM RCV USB_RCV1 USB_RX_DP1 USB_RX_DM1 VP VBUS VM ID VDD ISP1302 LPC24XX ADR/PSW SPEED DP 33 Ω DM 33 Ω USB MINI-AB connector VSSIO, VSSCORE SUSPEND USB_SCL1 SCL USB_SDA1 SDA INT_N USB_INT1 VDD USB_UP_LED1 002aad590 Fig 24.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller VDD USB_UP_LED1 VSSIO, VSSCORE USB_D+1 33 Ω D+ USB_D−1 33 Ω D− 15 kΩ USB-A connector 15 kΩ VDD VBUS USB_PWRD1 USB_OVRCR1 USB_PPWR1 FLAGA ENA 5V IN LM3526-L OUTA LPC24XX VDD USB_UP_LED2 VDD USB_CONNECT2 VSSIO, VSSCORE USB_D+2 33 Ω D+ USB_D−2 33 Ω D− VBUS USB-B connector VBUS 002aad595 Fig 25.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller VDD USB_UP_LED1 VSSIO, VSSCORE USB_D+1 33 Ω D+ USB_D−1 33 Ω D− 15 kΩ USB-A connector 15 kΩ VDD VBUS USB_PWRD1 USB_OVRCR1 USB_PPWR1 FLAGA ENA OUTA 5V IN LPC24XX USB_PPWR2 LM3526-L ENB VDD OUTB FLAGB USB_OVRCR2 VBUS USB_PWRD2 USB_D+2 33 Ω D+ USB_D−2 33 Ω D− 15 kΩ USB-A connector VSSIO, VSSCORE 15 kΩ VDD USB_UP_LED2 002aad596 Fig 26. LPC2478 USB OTG port configuration: USB port 1 host, USB port 2 host 14.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller In slave mode the input clock signal should be coupled by means of a capacitor of 100 pF (Figure 27), with an amplitude between 200 mV (RMS) and 1000 mV (RMS). This corresponds to a square wave signal with a signal swing of between 280 mV and 1.4 V. The XTAL2 pin in this configuration can be left unconnected. External components and models used in oscillation mode are shown in Figure 28 and in Table 23 and Table 24.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Table 24. Recommended values for CX1/CX2 in oscillation mode (crystal and external components parameters): high frequency mode Fundamental oscillation frequency FOSC Crystal load capacitance CL Maximum crystal series resistance RS External load capacitors CX1, CX2 15 MHz to 20 MHz 10 pF < 180 18 pF, 18 pF 20 pF < 100 39 pF, 39 pF 10 pF < 160 18 pF, 18 pF 20 pF < 80 39 pF, 39 pF 20 MHz to 25 MHz 14.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 14.5 XTAL and RTCX Printed Circuit Board (PCB) layout guidelines The crystal should be connected on the PCB as close as possible to the oscillator input and output pins of the chip. Take care that the load capacitors Cx1, Cx2, and Cx3 in case of third overtone crystal usage have a common ground plane. The external components must also be connected to the ground plain.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 14.7 Reset pin configuration VDD VDD VDD Rpu reset ESD 20 ns RC GLITCH FILTER PIN ESD VSS 002aaf274 Fig 31. Reset pin configuration LPC2478 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 3.1 — 16 October 2013 © NXP B.V. 2013. All rights reserved.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 15. Package outline LQFP208; plastic low profile quad flat package; 208 leads; body 28 x 28 x 1.4 mm SOT459-1 c y X A 105 156 157 104 ZE e E HE (A 3) A A2 A1 wM θ Lp bp L detail X pin 1 index 208 53 1 52 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.09 28.1 27.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller TFBGA208: plastic thin fine-pitch ball grid array package; 208 balls; body 15 x 15 x 0.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 16. Abbreviations Table 26.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 17. Revision history Table 27. Revision history Document ID Release date Data sheet status Change notice Supersedes LPC2478 v.3.1 20131016 Product data sheet - LPC2478 v.3 Modifications: LPC2478 v.3 Modifications: • • • Table 4 “Pin description”, Table note 6: Changed glitch filter spec from 5 ns to 10 ns. Table 10 “Dynamic characteristics”: Changed min clock cycle time from 42 to 40.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 18. Legal information 18.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.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller Export control — This document as well as the item(s) described herein may be subject to export control regulations. Export might require a prior authorization from competent authorities. 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.
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 20. Contents 1 General description . . . . . . . . . . . . . . . . . . . . . . 1 2 Features and benefits . . . . . . . . . . . . . . . . . . . . 1 3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 4 Ordering information . . . . . . . . . . . . . . . . . . . . . 3 4.1 Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 4 5 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . .
LPC2478 NXP Semiconductors Single-chip 16-bit/32-bit microcontroller 14.5 14.6 14.7 15 16 17 18 18.1 18.2 18.3 18.4 19 20 XTAL and RTCX Printed Circuit Board (PCB) layout guidelines . . . . . . . . . . . . . . . . . Standard I/O pin configuration . . . . . . . . . . . . Reset pin configuration . . . . . . . . . . . . . . . . . . Package outline . . . . . . . . . . . . . . . . . . . . . . . . Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . Revision history . . . . . . . . . . . . . . .