LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 MCU; up to 264 kB SRAM; Ethernet; two High-speed USBs; advanced configurable peripherals
Rev. 3.1 — 5 January 2012 Objective data sheet
1. General description
The LPC4350/30/20/10 are ARM Cortex-M4 based microcontrollers for embedded applications which include an ARM Cortex-M0 coprocessor, up to 264 kB of SRAM, advanced configurable peripherals such as the State Configurable Timer (SCT) and the Serial General Purpose I/O (SGPIO) interface, two High-speed USB controllers, Ethernet, LCD, an external memory controller, and multiple digital and analog peripherals. The LPC4350/30/20/10 operate at CPU frequencies of up to 204 MHz. The ARM Cortex-M4 is a next generation 32-bit core that offers system enhancements such as low power consumption, enhanced debug features, and a high level of support block integration. The ARM Cortex-M4 CPU incorporates a 3-stage pipeline, uses a Harvard architecture with separate local instruction and data buses as well as a third bus for peripherals, and includes an internal prefetch unit that supports speculative branching. The ARM Cortex-M4 supports single-cycle digital signal processing and SIMD instructions. A hardware floating-point processor is integrated in the core. The ARM Cortex-M0 coprocessor is an energy-efficient and easy-to-use 32-bit core which is code- and tool-compatible with the Cortex-M4 core. The Cortex-M0 coprocessor, designed as a replacement for existing 8/16-bit microcontrollers, offers up to 204 MHz performance with a simple instruction set and reduced code size. Remark: This data sheet describes the Rev ‘A’ versions of parts LPC4350/30/20/10. Compared to previous versions, the following updates apply:
• • • • •
Operating frequency increased to 204 MHz. C_CAN1 added. Pin multiplexing increased to up to 9 levels. GPIO block updated. Pads updated.
2. Features and benefits
Cortex-M4 Processor core ARM Cortex-M4 processor, running at frequencies of up to 204 MHz. ARM Cortex-M4 built-in Memory Protection Unit (MPU) supporting eight regions. ARM Cortex-M4 built-in Nested Vectored Interrupt Controller (NVIC). Hardware floating-point unit. Non-maskable Interrupt (NMI) input.
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
JTAG and Serial Wire Debug (SWD), serial trace, eight breakpoints, and four watch points. Enhanced Trace Module (ETM) and Enhanced Trace Buffer (ETB) support. System tick timer. Cortex-M0 Processor core ARM Cortex-M0 co-processor capable of off-loading the main ARM Cortex-M4 application processor. Running at frequencies of up to 204 MHz. JTAG, Serial Wire Debug, and built-in NVIC. On-chip memory Up to 264 kB SRAM for code and data use. Multiple SRAM blocks with separate bus access. Two SRAM blocks can be powered down individually. 64 kB ROM containing boot code and on-chip software drivers. 128 bit general-purpose One-Time Programmable (OTP) memory. Configurable digital peripherals Serial GPIO (SGPIO) interface. State Configurable Timer (SCT) subsystem on AHB. Global Input Multiplexer Array (GIMA) allows to cross-connect multiple inputs and outputs to event driven peripherals like the timers, SCT, and ADC0/1. Serial interfaces Quad SPI Flash Interface (SPIFI) with four lanes and up to 40 MB per second. 10/100T Ethernet MAC with RMII and MII interfaces and DMA support for high throughput at low CPU load. Support for IEEE 1588 time stamping/advanced time stamping (IEEE 1588-2008 v2). One High-speed USB 2.0 Host/Device/OTG interface with DMA support and on-chip high-speed PHY. One High-speed USB 2.0 Host/Device interface with DMA support, on-chip full-speed PHY and ULPI interface to external high-speed PHY. USB interface electrical test software included in ROM USB stack. One 550 UART with DMA support and full modem interface. Three 550 USARTs with DMA and synchronous mode support and a smart card interface conforming to ISO7816 specification. One USART with IrDA interface. Two C_CAN 2.0B controllers with one channel each. Two SSP controllers with FIFO and multi-protocol support. Both SSPs with DMA support. One SPI controller. One Fast-mode Plus I2C-bus interface with monitor mode and with open-drain I/O pins conforming to the full I2C-bus specification. Supports data rates of up to 1 Mbit/s. One standard I2C-bus interface with monitor mode and with standard I/O pins. Two I2S interfaces, each with DMA support and with one input and one output. Digital peripherals External Memory Controller (EMC) supporting external SRAM, ROM, NOR flash, and SDRAM devices.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
2 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
LCD controller with DMA support and a programmable display resolution of up to 1024 H 768 V. Supports monochrome and color STN panels and TFT color panels; supports 1/2/4/8 bpp Color Look-Up Table (CLUT) and 16/24-bit direct pixel mapping. Secure Digital Input Output (SD/MMC) card interface. Eight-channel General-Purpose DMA (GPDMA) controller can access all memories on the AHB and all DMA-capable AHB slaves. Up to 164 General-Purpose Input/Output (GPIO) pins with configurable pull-up/pull-down resistors and open-drain mode. GPIO registers are located on the AHB for fast access. GPIO ports have DMA support. Up to eight GPIO pins can be selected from all GPIO pins as edge and level sensitive interrupt sources. Two GPIO group interrupt modules enable an interrupt based on a programmable pattern of input states of a group of GPIO pins. Four general-purpose timer/counters with capture and match capabilities. One motor control Pulse Width Modulator (PWM) for three-phase motor control. One Quadrature Encoder Interface (QEI). Repetitive Interrupt timer (RI timer). Windowed watchdog timer (WWDT). Ultra-low power Real-Time Clock (RTC) on separate power domain with 256 bytes of battery powered backup registers. Alarm timer; can be battery powered. Analog peripherals One 10-bit DAC with DMA support and a data conversion rate of 400 kSamples/s. Two 10-bit ADCs with DMA support and a data conversion rate of 400 kSamples/s. ADC inputs are shared between the two ADCs. Security AES engine programmable through an on-chip API. Two 128-bit secure OTP memories for AES key storage and customer use. Unique ID for each device. Clock generation unit Crystal oscillator with an operating range of 1 MHz to 25 MHz. 12 MHz Internal RC (IRC) oscillator trimmed to 1 % accuracy over temperature and voltage. Ultra-low power Real-Time Clock (RTC) crystal oscillator. Three PLLs allow CPU operation up to the maximum CPU rate without the need for a high-frequency crystal. The second PLL is dedicated to the High-speed USB, the third PLL can be used as audio PLL. Clock output. Power Single 3.3 V (2.2 V to 3.6 V) power supply with on-chip DC-to-DC converter for the core supply and the RTC power domain. RTC power domain can be powered separately by a 3 V battery supply. Four reduced power modes: Sleep, Deep-sleep, Power-down, and Deep power-down.
All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
LPC4350_30_20_10
Objective data sheet
Rev. 3.1 — 5 January 2012
3 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Processor wake-up from Sleep mode via wake-up interrupts from various peripherals. Wake-up from Deep-sleep, Power-down, and Deep power-down modes via external interrupts and interrupts generated by battery powered blocks in the RTC power domain. Brownout detect with four separate thresholds for interrupt and forced reset. Power-On Reset (POR). Available as 256-pin, 180-pin, and 100-pin LBGA package and as 208-pin, 144-pin. and 100-pin LQFP packages.
3. Applications
Motor control Power management White goods RFID readers Embedded audio applications Industrial automation e-metering
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
4 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
4. Ordering information
Table 1. Ordering information Package Name LPC4350FET256 LPC4350FET180 LPC4330FET256 LPC4330FET180 LPC4330FET100 LPC4320FET100 LBGA256 Description Plastic low profile ball grid array package; 256 balls; body 17 17 1 mm Plastic low profile quad flat package; 208 leads; body 28 28 1.4 mm Plastic low profile ball grid array package; 256 balls; body 17 17 1 mm Version SOT740-2 SOT570-3 SOT459-1 SOT740-2 SOT570-3 SOT926-1 SOT486-1 SOT926-1 SOT486-1 SOT407-1 SOT926-1 SOT486-1 Type number
TFBGA180 Thin fine-pitch ball grid array package; 180 balls LBGA256
LPC4350FBD208 LQFP208
TFBGA180 Thin fine-pitch ball grid array package; 180 balls TFBGA100 Plastic thin fine-pitch ball grid array package; 100 balls; body 9 9 0.7 mm Plastic low profile quad flat package; 144 leads; body 20 20 1.4 mm Plastic low profile quad flat package; 144 leads; body 20 20 1.4 mm Plastic low profile quad flat package; 100 leads; body 14 14 1.4 mm Plastic low profile quad flat package; 144 leads; body 20 20 1.4 mm TFBGA100 Plastic thin fine-pitch ball grid array package; 100 balls; body 9 9 0.7 mm
LPC4330FBD144 LQFP144 LPC4320FBD144 LQFP144 LPC4320FBD100 LQFP100 LPC4310FET100 LPC4310FBD144 LQFP144
TFBGA100 Plastic thin fine-pitch ball grid array package; 100 balls; body 9 9 0.7 mm
4.1 Ordering options
Table 2. Ordering options Total SRAM LCD Ethernet USB0 (Host, Device, OTG) yes yes yes yes yes yes yes yes yes yes no no USB1 ADC PWM (Host, channels Device)/ ULPI interface yes/yes yes/yes yes/yes yes/yes yes/yes yes/no yes/no no no no no no 8 8 8 8 8 4 8 4 8 5 4 8 yes yes yes yes yes no yes no yes no no yes QEI GPIO Package Type number
LPC4350FET256 LPC4350FET180 LPC4330FET256 LPC4330FET180 LPC4330FET100 LPC4320FET100
264 kB 264 kB 264 kB 264 kB 264 kB 200 kB
yes yes yes no no no no no no no no no
yes yes yes yes yes yes yes no no no no no
yes yes yes yes yes no no no no no no no
164 118 142 164 118 49 83 49 83 49 49 83
LBGA256 TFBGA180 LQFP208 LBGA256 TFBGA180 TFBGA100 LQFP144 TFBGA100 LQFP144 LQFP100 TFBGA100 LQFP144
LPC4350FBD208 264 kB
LPC4330FBD144 264 kB LPC4320FBD144 200 kB LPC4320FBD100 200 kB LPC4310FET100 168 kB LPC4310FBD144 168 kB
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
5 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
5. Block diagram
LPC4350/30/20/10
TEST/DEBUG INTERFACE
TEST/DEBUG INTERFACE
ARM CORTEX-M4
ETHERNET(1) 10/100 MAC IEEE 1588 I-code bus BRIDGE 0 WWDT USART0 UART1 SSP0 TIMER0 TIMER1 SCU GPIO INTERRUPTS GPIO GROUP0 INTERRUPT GPIO GROUP1 INTERRUPT D-code bus system bus
HIGH-SPEED PHY
ARM CORTEX-M0
GPDMA
HIGH-SPEED USB0(1) HOST/ DEVICE/OTG
HIGH-SPEED USB1(1) HOST/DEVICE
LCD(1)
SD/ MMC
masters slaves AHB MULTILAYER MATRIX slaves BRIDGE 1 BRIDGE 2 BRIDGE 3 BRIDGE BRIDGE 128 kB LOCAL SRAM 72 kB LOCAL SRAM 64 kB ROM MOTOR CONTROL PWM(1) I2C0 I2S0 I2S1 C_CAN1 RI TIMER USART2 USART3 TIMER2 TIMER3 SSP1 OTP MEMORY QEI(1) RTC GIMA 12 MHz IRC RTC POWER DOMAIN RTC OSC I2C1 10-bit DAC C_CAN0 10-bit ADC0 10-bit ADC1 EVENT ROUTER CGU CCU1 CCU2 RGU ALARM TIMER BACKUP REGISTERS POWER MODE CONTROL CONFIGURATION REGISTERS SCT EMC HS GPIO AES SPI SGPIO SPIFI 32 kB AHB SRAM 16 +16 kB AHB SRAM
= connected to GPDMA
002aaf772
(1) Not available on all parts (see Table 2).
Fig 1.
LPC4350/30/20/10 Block diagram
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
6 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
6. Pinning information
6.1 Pinning
ball A1 index area 1 A B C D E F G H J K L M N P R T
LPC4350/30FET256
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
ball A1 index area 1 A B C D E F G H J K L M N P
LPC4350/30FET180
2 3 4 5 6 7 8 9 10 11 12 13 14
002aaf813
002aag374
Transparent top view
Transparent top view
Fig 2.
Pin configuration LBGA256 package
Fig 3.
Pin configuration TFBGA180 package
ball A1 index area 1 A B C D E F G H J K 2
LPC4330/20/10FET100
3 4 5 6 7 8 9 10
002aag375
Transparent top view
Fig 4.
Pin configuration TFBGA100 package
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
7 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
208
157
144
1
156
1
109 108 73 72 75 51
002aag381 002aag377
© NXP B.V. 2012. All rights reserved.
LPC4350FBD208
LPC4330/20/10FBD144
52 104 53
105
36 37
002aag376
Fig 5.
Pin configuration LQFP208 package
Fig 6.
Pin configuration LQFP144 package
100
1
LPC4320FBD100
25 26 50
Fig 7.
Pin configuration LQFP100 package
6.2 Pin description
On the LPC4350/30/20/10, digital pins are grouped into 16 ports, named P0 to P9 and PA to PF, with up to 20 pins used per port. Each digital pin can support up to eight different digital functions, including General Purpose I/O (GPIO), selectable through the System Configuration Unit (SCU) registers. The pin name is not indicative of the GPIO port assigned to it. Not all functions listed in Table 3 are available on all packages. See Table 2 for availability of USB0, USB1, Ethernet, and LCD functions.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Objective data sheet
Rev. 3.1 — 5 January 2012
76
8 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
Multiplexed digital pins P0_0 L3 x G2 47 32 22
[3]
I; PU I/O GPIO0[0] — General purpose digital input/output pin. I/O SSP1_MISO — Master In Slave Out for SSP1. I ENET_RXD1 — Ethernet receive data 1 (RMII/MII interface). R — Function reserved. R — Function reserved.
I/O SGPIO0 — General purpose digital input/output pin. -
I/O I2S0_TX_WS — Transmit Word Select. It is driven by the master and received by the slave. Corresponds to the signal WS in the I2S-bus specification. I/O I2S1_TX_WS — Transmit Word Select. It is driven by the master and received by the slave. Corresponds to the signal WS in the I2S-bus specification. P0_1 M2 x G1 50 34 23
[3]
I; PU I/O GPIO0[1] — General purpose digital input/output pin. I/O SSP1_MOSI — Master Out Slave in for SSP1. I ENET_COL — Ethernet Collision detect (MII interface). R — Function reserved. R — Function reserved. ENET_TX_EN — Ethernet transmit enable (RMII/MII interface). I/O I2S1_TX_SDA — I2S1 transmit data. It is driven by the transmitter and read by the receiver. Corresponds to the signal SD in the I2S-bus specification.
I/O SGPIO1 — General purpose digital input/output pin. -
P1_0
P2
x
H1
54
38
25
[3]
I; PU I/O GPIO0[4] — General purpose digital input/output pin. I CTIN_3 — SCT input 3. Capture input 1 of timer 1. R — Function reserved. R — Function reserved. I/O EMC_A5 — External memory address line 5.
I/O SSP0_SSEL — Slave Select for SSP0. I/O SGPIO7 — General purpose digital input/output pin. R — Function reserved.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
9 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P1_1
R2
x
K2
58
42
28
[3]
I; PU I/O GPIO0[8] — General purpose digital input/output pin. Boot pin (see Table 5). O CTOUT_7 — SCT output 7. Match output 3 of timer 1. I/O EMC_A6 — External memory address line 6. I/O SGPIO8 — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. I/O SSP0_MISO — Master In Slave Out for SSP0.
P1_2
R3
x
K1
60
43
29
[3]
I; PU I/O GPIO0[9] — General purpose digital input/output pin. Boot pin (see Table 5). O CTOUT_6 — SCT output 6. Match output 2 of timer 1. I/O EMC_A7 — External memory address line 7. I/O SGPIO9 — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. I/O SSP0_MOSI — Master Out Slave in for SSP0.
P1_3
P5
x
J1
61
44
30
[3]
I; PU I/O GPIO0[10] — General purpose digital input/output pin. O O O CTOUT_8 — SCT output 8. Match output 0 of timer 2. EMC_OE — LOW active Output Enable signal. USB0_IND1 — USB0 port indicator LED control output 1. R — Function reserved. SD_RST — SD/MMC reset signal for MMC4.4 card. I/O SGPIO10 — General purpose digital input/output pin.
I/O SSP1_MISO — Master In Slave Out for SSP1. O P1_4 T3 x J2 64 47 32
[3]
I; PU I/O GPIO0[11] — General purpose digital input/output pin. O O O CTOUT_9 — SCT output 9. Match output 1 of timer 2. EMC_BLS0 — LOW active Byte Lane select signal 0. USB0_IND0 — USB0 port indicator LED control output 0. R — Function reserved. SD_VOLT1 — SD/MMC bus voltage select output 1. I/O SGPIO11 — General purpose digital input/output pin.
I/O SSP1_MOSI — Master Out Slave in for SSP1. O
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
10 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P1_5
R5
x
J4
65
48
33
[3]
I; PU I/O GPIO1[8] — General purpose digital input/output pin. O O O CTOUT_10 — SCT output 10. Match output 2 of timer 2. R — Function reserved. EMC_CS0 — LOW active Chip Select 0 signal. USB0_PWR_FAULT — Port power fault signal indicating overcurrent condition; this signal monitors over-current on the USB bus (external circuitry required to detect over-current condition).
I/O SSP1_SSEL — Slave Select for SSP1. I/O SGPIO15 — General purpose digital input/output pin. O P1_6 T4 x K4 67 49 34
[3]
Type SD_POW — SD/MMC power monitor output. CTIN_5 — SCT input 5. Capture input 2 of timer 2. R — Function reserved. EMC_WE — LOW active Write Enable signal. R — Function reserved. R — Function reserved. I O I/O SGPIO14 — General purpose digital input/output pin. I/O SD_CMD — SD/MMC command signal. I O U1_DSR — Data Set Ready input for UART1. CTOUT_13 — SCT output 13. Match output 1 of timer 3. USB0_PPWR — VBUS drive signal (towards external charge pump or power management unit); indicates that VBUS must be driven (active HIGH). Add a pull-down resistor to disable the power switch at reset. This signal has opposite polarity compared to the USB_PPWR used on other NXP LPC parts. R — Function reserved. R — Function reserved. R — Function reserved. I/O EMC_D0 — External memory data line 0. O
I; PU I/O GPIO1[9] — General purpose digital input/output pin.
P1_7
T5
x
G4
69
50
35
[3]
I; PU I/O GPIO1[0] — General purpose digital input/output pin.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
11 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P1_8
R7
x
H5
71
51
36
[3]
I; PU I/O GPIO1[1] — General purpose digital input/output pin. O O U1_DTR — Data Terminal Ready output for UART1. CTOUT_12 — SCT output 12. Match output 0 of timer 3. R — Function reserved. R — Function reserved. R — Function reserved. SD_VOLT0 — SD/MMC bus voltage select output 0. U1_RTS — Request to Send output for UART1. CTOUT_11 — SCT output 11. Match output 3 of timer 2. R — Function reserved. R — Function reserved. R — Function reserved.
I/O EMC_D1 — External memory data line 1. O P1_9 T7 x J5 73 52 37
[3]
I; PU I/O GPIO1[2] — General purpose digital input/output pin. O O
I/O EMC_D2 — External memory data line 2. P1_10 R8 x H6 75 53 38
[3]
I/O SD_DAT0 — SD/MMC data bus line 0. I; PU I/O GPIO1[3] — General purpose digital input/output pin. I O U1_RI — Ring Indicator input for UART1. CTOUT_14 — SCT output 14. Match output 2 of timer 3. R — Function reserved. R — Function reserved. R — Function reserved.
I/O EMC_D3 — External memory data line 3. P1_11 T9 x J7 77 55 39
[3]
I/O SD_DAT1 — SD/MMC data bus line 1. I; PU I/O GPIO1[4] — General purpose digital input/output pin. I O U1_CTS — Clear to Send input for UART1. CTOUT_15 — SCT output 15. Match output 3 of timer 3. R — Function reserved. R — Function reserved. R — Function reserved.
I/O EMC_D4 — External memory data line 4. -
I/O SD_DAT2 — SD/MMC data bus line 2.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
12 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P1_12
R9
x
K7
78
56
40
[3]
I; PU I/O GPIO1[5] — General purpose digital input/output pin. I I U1_DCD — Data Carrier Detect input for UART1. R — Function reserved. T0_CAP1 — Capture input 1 of timer 0. R — Function reserved.
I/O EMC_D5 — External memory data line 5.
I/O SGPIO8 — General purpose digital input/output pin. I/O SD_DAT3 — SD/MMC data bus line 3. P1_13 R10 x H8 83 60 41
[3]
I; PU I/O GPIO1[6] — General purpose digital input/output pin. O I I U1_TXD — Transmitter output for UART1. R — Function reserved. T0_CAP0 — Capture input 0 of timer 0. R — Function reserved. SD_CD — SD/MMC card detect input. U1_RXD — Receiver input for UART1. R — Function reserved. T0_MAT2 — Match output 2 of timer 0. R — Function reserved. R — Function reserved. U2_TXD — Transmitter output for USART2. ENET_RXD0 — Ethernet receive data 0 (RMII/MII interface). T0_MAT1 — Match output 1 of timer 0. R — Function reserved. R — Function reserved. R — Function reserved.
I/O EMC_D6 — External memory data line 6.
I/O SGPIO9 — General purpose digital input/output pin. P1_14 R11 x J8 85 61 42
[3]
I; PU I/O GPIO1[7] — General purpose digital input/output pin. I O -
I/O EMC_D7 — External memory data line 7.
I/O SGPIO10 — General purpose digital input/output pin. P1_15 T12 x K8 87 62 43
[3]
I; PU I/O GPIO0[2] — General purpose digital input/output pin. O I O I/O SGPIO2 — General purpose digital input/output pin.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
13 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P1_16
M7
x
H9
90
64
44
[3]
I; PU I/O GPIO0[3] — General purpose digital input/output pin. I I O I U2_RXD — Receiver input for USART2. ENET_CRS — Ethernet Carrier Sense (MII interface). T0_MAT0 — Match output 0 of timer 0. R — Function reserved. R — Function reserved. ENET_RX_DV — Ethernet Receive Data Valid (RMII/MII interface). I/O SGPIO3 — General purpose digital input/output pin.
P1_17
M8
x
H10 93
66
45
[4]
I; PU I/O GPIO0[12] — General purpose digital input/output pin. I/O U2_UCLK — Serial clock input/output for USART2 in synchronous mode. I O R — Function reserved. T0_CAP3 — Capture input 3 of timer 0. CAN1_TD — CAN1 transmitter output. R — Function reserved. I/O ENET_MDIO — Ethernet MIIM data input and output.
I/O SGPIO11 — General purpose digital input/output pin. P1_18 N12 x J10 95 67 46
[3]
I; PU I/O GPIO0[13] — General purpose digital input/output pin. I/O U2_DIR — RS-485/EIA-485 output enable/direction control for USART2. O O I R — Function reserved. ENET_TXD0 — Ethernet transmit data 0 (RMII/MII interface). T0_MAT3 — Match output 3 of timer 0. CAN1_RD — CAN1 receiver input. R — Function reserved.
I/O SGPIO12 — General purpose digital input/output pin.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
14 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P1_19
M11
x
K9
96
68
47
[3]
I; PU I
Type ENET_TX_CLK (ENET_REF_CLK) — Ethernet Transmit Clock (MII interface) or Ethernet Reference Clock (RMII interface). R — Function reserved. R — Function reserved. CLKOUT — Clock output pin. R — Function reserved. I2S0_RX_MCLK — I2S receive master clock. I/O SSP1_SCK — Serial clock for SSP1. O O I/O I2S1_TX_SCK — Transmit Clock. It is driven by the master and received by the slave. Corresponds to the signal SCK in the I2S-bus specification. I/O SSP1_SSEL — Slave Select for SSP1. O I R — Function reserved. ENET_TXD1 — Ethernet transmit data 1 (RMII/MII interface). T0_CAP2 — Capture input 2 of timer 0. R — Function reserved. R — Function reserved. U0_TXD — Transmitter output for USART0. USB0_PPWR — VBUS drive signal (towards external charge pump or power management unit); indicates that VBUS must be driven (active HIGH). Add a pull-down resistor to disable the power switch at reset. This signal has opposite polarity compared to the USB_PPWR used on other NXP LPC parts. I/O GPIO5[0] — General purpose digital input/output pin. I O R — Function reserved. T3_CAP0 — Capture input 0 of timer 3. ENET_MDC — Ethernet MIIM clock. I/O SGPIO13 — General purpose digital input/output pin. O O I/O EMC_A13 — External memory address line 13.
P1_20
M10
x
K10 100 70
48
[3]
I; PU I/O GPIO0[15] — General purpose digital input/output pin.
P2_0
T16
x
G10 108 75
50
[3]
I; PU I/O SGPIO4 — General purpose digital input/output pin.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
15 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P2_1
N15
x
G7
116 81
54
[3]
I; PU I/O SGPIO5 — General purpose digital input/output pin. I O U0_RXD — Receiver input for USART0. USB0_PWR_FAULT — Port power fault signal indicating overcurrent condition; this signal monitors over-current on the USB bus (external circuitry required to detect over-current condition). R — Function reserved. T3_CAP1 — Capture input 1 of timer 3. R — Function reserved. I/O EMC_A12 — External memory address line 12.
I/O GPIO5[1] — General purpose digital input/output pin. I P2_2 M15 x F5 121 84 56
[3]
I; PU I/O SGPIO6 — General purpose digital input/output pin. I/O U0_UCLK — Serial clock input/output for USART0 in synchronous mode. I/O EMC_A11 — External memory address line 11. O USB0_IND1 — USB0 port indicator LED control output 1. CTIN_6 — SCT input 6. Capture input 1 of timer 3. T3_CAP2 — Capture input 2 of timer 3. R — Function reserved.
I/O GPIO5[2] — General purpose digital input/output pin. I I P2_3 J12 x D8 127 87 57
[4]
I; PU I/O SGPIO12 — General purpose digital input/output pin. I/O I2C1_SDA — I2C1 data input/output (this pin does not use a specialized I2C pad). O I U3_TXD — Transmitter output for USART3. CTIN_1 — SCT input 1. Capture input 1 of timer 0. Capture input 1 of timer 2. R — Function reserved. T3_MAT0 — Match output 0 of timer 3. USB0_PPWR — VBUS drive signal (towards external charge pump or power management unit); indicates that VBUS must be driven (active HIGH). Add a pull-down resistor to disable the power switch at reset. This signal has opposite polarity compared to the USB_PPWR used on other NXP LPC parts.
I/O GPIO5[3] — General purpose digital input/output pin. O O
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
16 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P2_4
K11
x
D9
128 88
58
[4]
I; PU I/O SGPIO13 — General purpose digital input/output pin. I/O I2C1_SCL — I2C1 clock input/output (this pin does not use a specialized I2C pad). I I U3_RXD — Receiver input for USART3. CTIN_0 — SCT input 0. Capture input 0 of timer 0, 1, 2, 3. R — Function reserved. T3_MAT1 — Match output 1 of timer 3. USB0_PWR_FAULT — Port power fault signal indicating overcurrent condition; this signal monitors over-current on the USB bus (external circuitry required to detect over-current condition). CTIN_2 — SCT input 2. Capture input 2 of timer 0. USB1_VBUS — Monitors the presence of USB1 bus power. Note: This signal must be HIGH for USB reset to occur. I O O ADCTRIG1 — ADC trigger input 1. R — Function reserved. T3_MAT2 — Match output 2 of timer 3. USB0_IND0 — USB0 port indicator LED control output 0. I/O GPIO5[5] — General purpose digital input/output pin.
I/O GPIO5[4] — General purpose digital input/output pin. O O
P2_5
K14
x
D10 131 91
61
[4]
I; PU I/O SGPIO14 — General purpose digital input/output pin. I I
P2_6
K16
x
G9
137 95
64
[3]
I; PU I/O SGPIO7 — General purpose digital input/output pin. I/O U0_DIR — RS-485/EIA-485 output enable/direction control for USART0. I/O EMC_A10 — External memory address line 10. O USB0_IND0 — USB0 port indicator LED control output 0. CTIN_7 — SCT input 7. T3_CAP3 — Capture input 3 of timer 3. R — Function reserved.
I/O GPIO5[6] — General purpose digital input/output pin. I I -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
17 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P2_7
H14
x
C10 138 96
65
[3]
I; PU I/O GPIO0[7] — General purpose digital input/output pin. If this pin is pulled LOW at reset, the part enters ISP mode using USART0. O CTOUT_1 — SCT output 1. Match output 1 of timer 0. I/O U3_UCLK — Serial clock input/output for USART3 in synchronous mode. I/O EMC_A9 — External memory address line 9. O R — Function reserved. R — Function reserved. T3_MAT3 — Match output 3 of timer 3. R — Function reserved.
P2_8
J16
x
C6
140 98
67
[3]
I; PU I/O SGPIO15 — General purpose digital input/output pin. Boot pin (see Table 5). O CTOUT_0 — SCT output 0. Match output 0 of timer 0. I/O U3_DIR — RS-485/EIA-485 output enable/direction control for USART3. I/O EMC_A8 — External memory address line 8. I/O GPIO5[7] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved.
P2_9
H16
x
B10 144 102 70
[3]
I; PU I/O GPIO1[10] — General purpose digital input/output pin. Boot pin (see Table 5). O CTOUT_3 — SCT output 3. Match output 3 of timer 0. I/O U3_BAUD — Baud pin for USART3. I/O EMC_A0 — External memory address line 0. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved.
P2_10
G16
x
E8
146 104 71
[3]
I; PU I/O GPIO0[14] — General purpose digital input/output pin. O O CTOUT_2 — SCT output 2. Match output 2 of timer 0. U2_TXD — Transmitter output for USART2. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved.
© NXP B.V. 2012. All rights reserved.
I/O EMC_A1 — External memory address line 1.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Objective data sheet
Rev. 3.1 — 5 January 2012
Type
[2]
18 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P2_11
F16
x
A9
148 105 72
[3]
I; PU I/O GPIO1[11] — General purpose digital input/output pin. O I CTOUT_5 — SCT output 5. Match output 1 of timer 1. U2_RXD — Receiver input for USART2. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved.
I/O EMC_A2 — External memory address line 2.
P2_12
E15
x
B9
153 106 73
[3]
I; PU I/O GPIO1[12] — General purpose digital input/output pin. O CTOUT_4 — SCT output 4. Match output 0 of timer 1. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved.
I/O EMC_A3 — External memory address line 3.
I/O U2_UCLK — Serial clock input/output for USART2 in synchronous mode. P2_13 C16 x A10 156 108 75
[3]
I; PU I/O GPIO1[13] — General purpose digital input/output pin. I CTIN_4 — SCT input 4. Capture input 2 of timer 1. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved.
I/O EMC_A4 — External memory address line 4.
I/O U2_DIR — RS-485/EIA-485 output enable/direction control for USART2.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
19 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P3_0
F13
x
A8
161 112
78
[3]
I; PU I/O I2S0_RX_SCK — I2S receive clock. It is driven by the master and received by the slave. Corresponds to the signal SCK in the I2S-bus specification. O I2S0_RX_MCLK — I2S receive master clock. I/O I2S0_TX_SCK — Transmit Clock. It is driven by the master and received by the slave. Corresponds to the signal SCK in the I2S-bus specification. O I2S0_TX_MCLK — I2S transmit master clock. R — Function reserved. R — Function reserved. R — Function reserved. I/O SSP0_SCK — Serial clock for SSP0.
P3_1
G11
x
F7
163 114
79
[3]
I; PU I/O I2S0_TX_WS — Transmit Word Select. It is driven by the master and received by the slave. Corresponds to the signal WS in the I2S-bus specification. I/O I2S0_RX_WS — Receive Word Select. It is driven by the master and received by the slave. Corresponds to the signal WS in the I2S-bus specification. I O CAN0_RD — CAN receiver input. USB1_IND1 — USB1 Port indicator LED control output 1. R — Function reserved. LCD_VD15 — LCD data. R — Function reserved.
I/O GPIO5[8] — General purpose digital input/output pin. O P3_2 F11 x G6 166 116 80
[3]
I; PU I/O I2S0_TX_SDA — I2S transmit data. It is driven by the transmitter and read by the receiver. Corresponds to the signal SD in the I2S-bus specification. I/O I2S0_RX_SDA — I2S Receive data. It is driven by the transmitter and read by the receiver. Corresponds to the signal SD in the I2S-bus specification. O O CAN0_TD — CAN transmitter output. USB1_IND0 — USB1 Port indicator LED control output 0. R — Function reserved. LCD_VD14 — LCD data. R — Function reserved.
I/O GPIO5[9] — General purpose digital input/output pin. O -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
20 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P3_3
B14
x
A7
169 118
81
[5]
I; PU -
Type R — Function reserved. I/O SPI_SCK — Serial clock for SPI. I/O SSP0_SCK — Serial clock for SSP0. O O O SPIFI_SCK — Serial clock for SPIFI. CGU_OUT1 — CGU spare clock output 1. R — Function reserved. I2S0_TX_MCLK — I2S transmit master clock. I/O I2S1_TX_SCK — Transmit Clock. It is driven by the master and received by the slave. Corresponds to the signal SCK in the I2S-bus specification. O R — Function reserved. R — Function reserved. U1_TXD — Transmitter output for UART 1. I/O SPIFI_SIO3 — I/O lane 3 for SPIFI. I/O I2S0_TX_WS — Transmit Word Select. It is driven by the master and received by the slave. Corresponds to the signal WS in the I2S-bus specification. I/O I2S1_RX_SDA — I2S1 Receive data. It is driven by the transmitter and read by the receiver. Corresponds to the signal SD in the I2S-bus specification. O LCD_VD13 — LCD data. I R — Function reserved. R — Function reserved. U1_RXD — Receiver input for UART 1. I/O SPIFI_SIO2 — I/O lane 2 for SPIFI. I/O I2S0_TX_SDA — I2S transmit data. It is driven by the transmitter and read by the receiver. Corresponds to the signal SD in the I2S-bus specification. I/O I2S1_RX_WS — Receive Word Select. It is driven by the master and received by the slave. Corresponds to the signal WS in the I2S-bus specification. O LCD_VD12 — LCD data.
P3_4
A15
x
B8
171 119
82
[3]
I; PU I/O GPIO1[14] — General purpose digital input/output pin.
P3_5
C12
x
B7
173 121 84
[3]
I; PU I/O GPIO1[15] — General purpose digital input/output pin.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
21 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P3_6
B13
x
C7
174 122 85
[3]
I; PU I/O GPIO0[6] — General purpose digital input/output pin. I/O SPI_MISO — Master In Slave Out for SPI. I/O SSP0_SSEL — Slave Select for SSP0. I/O SPIFI_MISO — Input 1 in SPIFI quad mode; SPIFI output IO1. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. I/O SSP0_MISO — Master In Slave Out for SSP0.
P3_7
C11
x
D7
176 123 86
[3]
I; PU -
I/O SPI_MOSI — Master Out Slave In for SPI. I/O SSP0_MISO — Master In Slave Out for SSP0. I/O SPIFI_MOSI — Input I0 in SPIFI quad mode; SPIFI output IO0. I/O GPIO5[10] — General purpose digital input/output pin. I/O SSP0_MOSI — Master Out Slave in for SSP0. P3_8 C10 x E7 179 124 87
[3]
Type R — Function reserved. R — Function reserved. R — Function reserved. SPI_SSEL — Slave Select for SPI. Note that this pin in an input pin only. The SPI in master mode cannot drive the CS input on the slave. Any GPIO pin can be used for SPI chip select in master mode. I I/O SSP0_MOSI — Master Out Slave in for SSP0. I/O SPIFI_CS — SPIFI serial flash chip select. I/O GPIO5[11] — General purpose digital input/output pin. I/O SSP0_SSEL — Slave Select for SSP0. R — Function reserved. R — Function reserved.
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
22 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P4_0
D5
x
-
1
1
-
[3]
I; PU I/O GPIO2[0] — General purpose digital input/output pin. O I O MCOA0 — Motor control PWM channel 0, output A. NMI — External interrupt input to NMI. R — Function reserved. R — Function reserved. LCD_VD13 — LCD data.
I/O U3_UCLK — Serial clock input/output for USART3 in synchronous mode. P4_1 A1 x 3 3 [6]
Type R — Function reserved. CTOUT_1 — SCT output 1. Match output 1 of timer 0. LCD_VD0 — LCD data. R — Function reserved. R — Function reserved. LCD_VD19 — LCD data. U3_TXD — Transmitter output for USART3. ENET_COL — Ethernet Collision detect (MII interface). ADC0_1 — ADC0, input channel 1. CTOUT_0 — SCT output 0. Match output 0 of timer 0. LCD_VD3 — LCD data. R — Function reserved. R — Function reserved. LCD_VD12 — LCD data. U3_RXD — Receiver input for USART3. O O O O I I O O O I I/O SGPIO8 — General purpose digital input/output pin. O O O CTOUT_3 — SCT output 3. Match output 3 of timer 0. LCD_VD2 — LCD data. R — Function reserved. R — Function reserved. LCD_VD21 — LCD data. I/O U3_BAUD — Baud pin for USART3. I/O SGPIO9 — General purpose digital input/output pin. I ADC0_0 — ADC0, input channel 0.
I; PU I/O GPIO2[1] — General purpose digital input/output pin.
P4_2
D3
x
-
12
8
-
[3]
I; PU I/O GPIO2[2] — General purpose digital input/output pin.
P4_3
C2
x
-
10
7
-
[6]
I; PU I/O GPIO2[3] — General purpose digital input/output pin.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
23 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P4_4
B1
x
-
14
9
-
[6]
I; PU I/O GPIO2[4] — General purpose digital input/output pin. O O O CTOUT_2 — SCT output 2. Match output 2 of timer 0. LCD_VD1 — LCD data. R — Function reserved. R — Function reserved. LCD_VD20 — LCD data.
I/O U3_DIR — RS-485/EIA-485 output enable/direction control for USART3. I/O SGPIO10 — General purpose digital input/output pin. O P4_5 D2 x 15 10 [3]
Type DAC — DAC output. CTOUT_5 — SCT output 5. Match output 1 of timer 1. LCD_FP — Frame pulse (STN). Vertical synchronization pulse (TFT). R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. O O I/O SGPIO11 — General purpose digital input/output pin. O O CTOUT_4 — SCT output 4. Match output 0 of timer 1. LCD_ENAB/LCDM — STN AC bias drive or TFT data enable input. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. I/O SGPIO12 — General purpose digital input/output pin.
I; PU I/O GPIO2[5] — General purpose digital input/output pin.
P4_6
C1
x
-
17
11
-
[3]
I; PU I/O GPIO2[6] — General purpose digital input/output pin.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
24 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P4_7
H4
x
-
21
14
-
[3]
O; PU
O I -
Type LCD_DCLK — LCD panel clock. GP_CLKIN — General purpose clock input to the CGU. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. I/O I2S1_TX_SCK — Transmit Clock. It is driven by the master and received by the slave. Corresponds to the signal SCK in the I2S-bus specification. I/O I2S0_TX_SCK — Transmit Clock. It is driven by the master and received by the slave. Corresponds to the signal SCK in the I2S-bus specification. R — Function reserved. CTIN_5 — SCT input 5. Capture input 2 of timer 2. LCD_VD9 — LCD data. R — Function reserved. I O I/O GPIO5[12] — General purpose digital input/output pin. O O LCD_VD22 — LCD data. CAN1_TD — CAN1 transmitter output. R — Function reserved. CTIN_6 — SCT input 6. Capture input 1 of timer 3. LCD_VD11 — LCD data. R — Function reserved. I/O SGPIO13 — General purpose digital input/output pin. I O I/O GPIO5[13] — General purpose digital input/output pin. O I LCD_VD15 — LCD data. CAN1_RD — CAN1 receiver input. I/O SGPIO14 — General purpose digital input/output pin.
P4_8
E2
x
-
23
15
-
[3]
I; PU -
P4_9
L2
x
-
48
33
-
[3]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
25 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P4_10
M3
x
-
51
35
-
[3]
I; PU I O -
Type R — Function reserved. CTIN_2 — SCT input 2. Capture input 2 of timer 0. LCD_VD10 — LCD data. R — Function reserved. I/O GPIO5[14] — General purpose digital input/output pin. O LCD_VD14 — LCD data. R — Function reserved. I/O SGPIO15 — General purpose digital input/output pin. O I I MCOB2 — Motor control PWM channel 2, output B. R — Function reserved. U1_DSR — Data Set Ready input for UART 1. T1_CAP0 — Capture input 0 of timer 1. R — Function reserved. R — Function reserved. I/O EMC_D12 — External memory data line 12. I O MCI2 — Motor control PWM channel 2, input. R — Function reserved. U1_DTR — Data Terminal Ready output for UART 1. Can also be configured to be an RS-485/EIA-485 output enable signal for UART 1. T1_CAP1 — Capture input 1 of timer 1. R — Function reserved. R — Function reserved. I/O EMC_D13 — External memory data line 13. I I O MCI1 — Motor control PWM channel 1, input. R — Function reserved. U1_RTS — Request to Send output for UART 1. Can also be configured to be an RS-485/EIA-485 output enable signal for UART 1. T1_CAP2 — Capture input 2 of timer 1. R — Function reserved. R — Function reserved.
© NXP B.V. 2012. All rights reserved.
P5_0
N3
x
-
53
37
-
[3]
I; PU I/O GPIO2[9] — General purpose digital input/output pin.
P5_1
P3
x
-
55
39
-
[3]
I; PU I/O GPIO2[10] — General purpose digital input/output pin.
P5_2
R4
x
-
63
46
-
[3]
I; PU I/O GPIO2[11] — General purpose digital input/output pin. I/O EMC_D14 — External memory data line 14.
[2]
I LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Objective data sheet
Rev. 3.1 — 5 January 2012
26 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P5_3
T8
x
-
76
54
-
[3]
I; PU I/O GPIO2[12] — General purpose digital input/output pin. I I I MCI0 — Motor control PWM channel 0, input. R — Function reserved. U1_RI — Ring Indicator input for UART 1. T1_CAP3 — Capture input 3 of timer 1. R — Function reserved. R — Function reserved. I/O EMC_D15 — External memory data line 15.
P5_4
P9
x
-
80
57
-
[3]
I; PU I/O GPIO2[13] — General purpose digital input/output pin. O I O MCOB0 — Motor control PWM channel 0, output B. R — Function reserved. U1_CTS — Clear to Send input for UART 1. T1_MAT0 — Match output 0 of timer 1. R — Function reserved. R — Function reserved. I/O EMC_D8 — External memory data line 8.
P5_5
P10
x
-
81
58
-
[3]
I; PU I/O GPIO2[14] — General purpose digital input/output pin. O I O MCOA1 — Motor control PWM channel 1, output A. R — Function reserved. U1_DCD — Data Carrier Detect input for UART 1. T1_MAT1 — Match output 1 of timer 1. R — Function reserved. R — Function reserved. I/O EMC_D9 — External memory data line 9.
P5_6
T13
x
-
89
63
-
[3]
I; PU I/O GPIO2[15] — General purpose digital input/output pin. O O O MCOB1 — Motor control PWM channel 1, output B. R — Function reserved. U1_TXD — Transmitter output for UART 1. T1_MAT2 — Match output 2 of timer 1. R — Function reserved. R — Function reserved. I/O EMC_D10 — External memory data line 10.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
27 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P5_7
R12
x
-
91
65
-
[3]
I; PU I/O GPIO2[7] — General purpose digital input/output pin. O I O MCOA2 — Motor control PWM channel 2, output A. R — Function reserved. U1_RXD — Receiver input for UART 1. T1_MAT3 — Match output 3 of timer 1. R — Function reserved. R — Function reserved. R — Function reserved. I2S0_RX_MCLK — I2S receive master clock. R — Function reserved. R — Function reserved. I/O EMC_D11 — External memory data line 11.
P6_0
M12
x
H7
105 73
-
[3]
I; PU O -
I/O I2S0_RX_SCK — Receive Clock. It is driven by the master and received by the slave. Corresponds to the signal SCK in the I2S-bus specification. P6_1 R15 x G5 107 74 [3]
Type R — Function reserved. R — Function reserved. R — Function reserved. EMC_DYCS1 — SDRAM chip select 1. O I/O U0_UCLK — Serial clock input/output for USART0 in synchronous mode. I/O I2S0_RX_WS — Receive Word Select. It is driven by the master and received by the slave. Corresponds to the signal WS in the I2S-bus specification. I R — Function reserved. T2_CAP0 — Capture input 2 of timer 2. R — Function reserved. R — Function reserved.
I; PU I/O GPIO3[0] — General purpose digital input/output pin.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
28 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P6_2
L13
x
J9
111 78
-
[3]
I; PU I/O GPIO3[1] — General purpose digital input/output pin. O EMC_CKEOUT1 — SDRAM clock enable 1. I/O U0_DIR — RS-485/EIA-485 output enable/direction control for USART0. I/O I2S0_RX_SDA — I2S Receive data. It is driven by the transmitter and read by the receiver. Corresponds to the signal SD in the I2S-bus specification. I R — Function reserved. T2_CAP1 — Capture input 1 of timer 2. R — Function reserved. R — Function reserved. USB0_PPWR — VBUS drive signal (towards external charge pump or power management unit); indicates that the VBUS signal must be driven (active HIGH). Add a pull-down resistor to disable the power switch at reset. This signal has opposite polarity compared to the USB_PPWR used on other NXP LPC parts. I/O SGPIO4 — General purpose digital input/output pin. O I EMC_CS1 — LOW active Chip Select 1 signal. R — Function reserved. T2_CAP2 — Capture input 2 of timer 2. R — Function reserved. R — Function reserved. CTIN_6 — SCT input 6. Capture input 1 of timer 3. U0_TXD — Transmitter output for USART0. EMC_CAS — LOW active SDRAM Column Address Strobe. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved.
P6_3
P15
x
-
113 79
-
[3]
I; PU I/O GPIO3[2] — General purpose digital input/output pin. O
P6_4
R16
x
F6
114 80
53
[3]
I; PU I/O GPIO3[3] — General purpose digital input/output pin. I O O -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
29 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P6_5
P16
x
F9
117 82
55
[3]
I; PU I/O GPIO3[4] — General purpose digital input/output pin. O I O CTOUT_6 — SCT output 6. Match output 2 of timer 1. U0_RXD — Receiver input for USART0. EMC_RAS — LOW active SDRAM Row Address Strobe. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. EMC_BLS1 — LOW active Byte Lane select signal 1. USB0_PWR_FAULT — Port power fault signal indicating overcurrent condition; this signal monitors over-current on the USB bus (external circuitry required to detect over-current condition). R — Function reserved. T2_CAP3 — Capture input 3 of timer 2. R — Function reserved. R — Function reserved. R — Function reserved.
P6_6
L14
x
-
119 83
-
[3]
I; PU I/O GPIO0[5] — General purpose digital input/output pin. O O I/O SGPIO5 — General purpose digital input/output pin.
I P6_7 J13 x 123 85 [3]
I; PU -
I/O EMC_A15 — External memory address line 15. I/O SGPIO6 — General purpose digital input/output pin. O USB0_IND1 — USB0 port indicator LED control output 1.
I/O GPIO5[15] — General purpose digital input/output pin. O T2_MAT0 — Match output 0 of timer 2. R — Function reserved. R — Function reserved.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
30 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P6_8
H13
x
-
125 86
-
[3]
I; PU -
Type R — Function reserved. I/O EMC_A14 — External memory address line 14. I/O SGPIO7 — General purpose digital input/output pin. O USB0_IND0 — USB0 port indicator LED control output 0. I/O GPIO5[16] — General purpose digital input/output pin. O T2_MAT1 — Match output 1 of timer 2. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. EMC_DYCS0 — SDRAM chip select 0. R — Function reserved. T2_MAT2 — Match output 2 of timer 2. R — Function reserved. R — Function reserved. MCABORT — Motor control PWM, LOW-active fast abort. R — Function reserved. EMC_DQMOUT1 — Data mask 1 used with SDRAM and static devices. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. EMC_CKEOUT0 — SDRAM clock enable 0. R — Function reserved. T2_MAT3 — Match output 3 of timer 2. R — Function reserved. R — Function reserved. O O O O O O -
P6_9
J15
x
F8
139 97
66
[3]
I; PU I/O GPIO3[5] — General purpose digital input/output pin.
P6_10
H15
x
-
142 100 -
[3]
I; PU I/O GPIO3[6] — General purpose digital input/output pin.
P6_11
H12
x
C9
143 101 69
[3]
I; PU I/O GPIO3[7] — General purpose digital input/output pin.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
31 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P6_12
G15
x
-
145 103 -
[3]
I; PU I/O GPIO2[8] — General purpose digital input/output pin. O O CTOUT_7 — SCT output 7. Match output 3 of timer 1. R — Function reserved. EMC_DQMOUT0 — Data mask 0 used with SDRAM and static devices. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. CTOUT_14 — SCT output 14. Match output 2 of timer 3. R — Function reserved. LCD_LE — Line end signal. R — Function reserved. R — Function reserved. R — Function reserved.
P7_0
B16
x
-
158 110
-
[3]
I; PU I/O GPIO3[8] — General purpose digital input/output pin. O O -
I/O SGPIO4 — General purpose digital input/output pin. P7_1 C14 x 162 113 [3]
I; PU I/O GPIO3[9] — General purpose digital input/output pin. O CTOUT_15 — SCT output 15. Match output 3 of timer 3.
I/O I2S0_TX_WS — Transmit Word Select. It is driven by the master and received by the slave. Corresponds to the signal WS in the I2S-bus specification. O O O LCD_VD19 — LCD data. LCD_VD7 — LCD data. R — Function reserved. U2_TXD — Transmitter output for USART2.
I/O SGPIO5 — General purpose digital input/output pin.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
32 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P7_2
A16
x
-
165 115
-
[3]
I; PU I/O GPIO3[10] — General purpose digital input/output pin. I CTIN_4 — SCT input 4. Capture input 2 of timer 1. I/O I2S0_TX_SDA — I2S transmit data. It is driven by the transmitter and read by the receiver. Corresponds to the signal SD in the I2S-bus specification. O O I LCD_VD18 — LCD data. LCD_VD6 — LCD data. R — Function reserved. U2_RXD — Receiver input for USART2.
I/O SGPIO6 — General purpose digital input/output pin. P7_3 C13 x 167 117 [3]
I; PU I/O GPIO3[11] — General purpose digital input/output pin. I O O CTIN_3 — SCT input 3. Capture input 1 of timer 1. R — Function reserved. LCD_VD17 — LCD data. LCD_VD5 — LCD data. R — Function reserved. R — Function reserved. R — Function reserved.
P7_4
C8
x
-
189 132 -
[6]
I; PU I/O GPIO3[12] — General purpose digital input/output pin. O O O O I CTOUT_13 — SCT output 13. Match output 1 of timer 3. R — Function reserved. LCD_VD16 — LCD data. LCD_VD4 — LCD data. TRACEDATA[0] — Trace data, bit 0. R — Function reserved. R — Function reserved. ADC0_4 — ADC0, input channel 4.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
33 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P7_5
A7
x
-
191 133 -
[6]
I; PU I/O GPIO3[13] — General purpose digital input/output pin. O O O O I CTOUT_12 — SCT output 12. Match output 0 of timer 3. R — Function reserved. LCD_VD8 — LCD data. LCD_VD23 — LCD data. TRACEDATA[1] — Trace data, bit 1. R — Function reserved. R — Function reserved. ADC0_3 — ADC0, input channel 3.
P7_6
C7
x
-
194 134 -
[3]
I; PU I/O GPIO3[14] — General purpose digital input/output pin. O O O CTOUT_11 — SCT output 1. Match output 3 of timer 2. R — Function reserved. LCD_LP — Line synchronization pulse (STN). Horizontal synchronization pulse (TFT). R — Function reserved. TRACEDATA[2] — Trace data, bit 2. R — Function reserved. R — Function reserved.
P7_7
B6
x
-
201 140 -
[6]
I; PU I/O GPIO3[15] — General purpose digital input/output pin. O O O O I CTOUT_8 — SCT output 8. Match output 0 of timer 2. R — Function reserved. LCD_PWR — LCD panel power enable. R — Function reserved. TRACEDATA[3] — Trace data, bit 3. ENET_MDC — Ethernet MIIM clock. ADC1_6 — ADC1, input channel 6.
I/O SGPIO7 — General purpose digital input/output pin.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
34 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P8_0
E5
x
-
2
-
-
[4]
I; PU I/O GPIO4[0] — General purpose digital input/output pin. O USB0_PWR_FAULT — Port power fault signal indicating overcurrent condition; this signal monitors over-current on the USB bus (external circuitry required to detect over-current condition). R — Function reserved. MCI2 — Motor control PWM channel 2, input. R — Function reserved. R — Function reserved. T0_MAT0 — Match output 0 of timer 0. USB0_IND1 — USB0 port indicator LED control output 1. R — Function reserved. MCI1 — Motor control PWM channel 1, input. R — Function reserved. R — Function reserved. T0_MAT1 — Match output 1 of timer 0. USB0_IND0 — USB0 port indicator LED control output 0. R — Function reserved. MCI0 — Motor control PWM channel 0, input. R — Function reserved. R — Function reserved. T0_MAT2 — Match output 2 of timer 0.
I O P8_1 H5 x 34 [4]
I/O SGPIO8 — General purpose digital input/output pin.
I; PU I/O GPIO4[1] — General purpose digital input/output pin. O I O
I/O SGPIO9 — General purpose digital input/output pin.
P8_2
K4
x
-
36
-
-
[4]
I; PU I/O GPIO4[2] — General purpose digital input/output pin. O I O
I/O SGPIO10 — General purpose digital input/output pin.
P8_3
J3
x
-
37
-
-
[3]
I; PU I/O GPIO4[3] — General purpose digital input/output pin. I/O USB1_ULPI_D2 — ULPI link bidirectional data line 2. O O O R — Function reserved. LCD_VD12 — LCD data. LCD_VD19 — LCD data. R — Function reserved. R — Function reserved. T0_MAT3 — Match output 3 of timer 0.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
35 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P8_4
J2
x
-
39
-
-
[3]
I; PU I/O GPIO4[4] — General purpose digital input/output pin. I/O USB1_ULPI_D1 — ULPI link bidirectional data line 1. O O I R — Function reserved. LCD_VD7 — LCD data. LCD_VD16 — LCD data. R — Function reserved. R — Function reserved. T0_CAP0 — Capture input 0 of timer 0.
P8_5
J1
x
-
40
-
-
[3]
I; PU I/O GPIO4[5] — General purpose digital input/output pin. I/O USB1_ULPI_D0 — ULPI link bidirectional data line 0. O O I R — Function reserved. LCD_VD6 — LCD data. LCD_VD8 — LCD data. R — Function reserved. R — Function reserved. T0_CAP1 — Capture input 1 of timer 0. USB1_ULPI_NXT — ULPI link NXT signal. Data flow control signal from the PHY. R — Function reserved. LCD_VD5 — LCD data. LCD_LP — Line synchronization pulse (STN). Horizontal synchronization pulse (TFT). R — Function reserved. R — Function reserved. T0_CAP2 — Capture input 2 of timer 0. USB1_ULPI_STP — ULPI link STP signal. Asserted to end or interrupt transfers to the PHY. R — Function reserved. LCD_VD4 — LCD data. LCD_PWR — LCD panel power enable. R — Function reserved. R — Function reserved. T0_CAP3 — Capture input 3 of timer 0.
P8_6
K3
x
-
43
-
-
[3]
I; PU I/O GPIO4[6] — General purpose digital input/output pin. I O O I
P8_7
K1
x
-
45
-
-
[3]
I; PU I/O GPIO4[7] — General purpose digital input/output pin. O O O I
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
36 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P8_8
L1
x
-
49
-
-
[3]
I; PU I O O
Type R — Function reserved. USB1_ULPI_CLK — ULPI link CLK signal. 60 MHz clock generated by the PHY. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. CGU_OUT0 — CGU spare clock output 0. I2S1_TX_MCLK — I2S1 transmit master clock. O I MCABORT — Motor control PWM, LOW-active fast abort. R — Function reserved. R — Function reserved. R — Function reserved. ENET_CRS — Ethernet Carrier Sense (MII interface). I/O SGPIO0 — General purpose digital input/output pin. I/O SSP0_SSEL — Slave Select for SSP0. O MCOA2 — Motor control PWM channel 2, output A. R — Function reserved. R — Function reserved. I/O I2S0_TX_WS — Transmit Word Select. It is driven by the master and received by the slave. Corresponds to the signal WS in the I2S-bus specification. I ENET_RX_ER — Ethernet receive error (MII interface). I/O SGPIO1 — General purpose digital input/output pin. I/O SSP0_MISO — Master In Slave Out for SSP0.
P9_0
T1
x
-
59
-
-
[3]
I; PU I/O GPIO4[12] — General purpose digital input/output pin.
P9_1
N6
x
-
66
-
-
[3]
I; PU I/O GPIO4[13] — General purpose digital input/output pin.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
37 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P9_2
N8
x
-
70
-
-
[3]
I; PU I/O GPIO4[14] — General purpose digital input/output pin. O MCOB2 — Motor control PWM channel 2, output B. R — Function reserved. R — Function reserved.
I/O I2S0_TX_SDA — I2S transmit data. It is driven by the transmitter and read by the receiver. Corresponds to the signal SD in the I2S-bus specification. I ENET_RXD3 — Ethernet receive data 3 (MII interface).
I/O SGPIO2 — General purpose digital input/output pin. I/O SSP0_MOSI — Master Out Slave in for SSP0. P9_3 M6 x 79 [3]
I; PU I/O GPIO4[15] — General purpose digital input/output pin. O O I MCOA0 — Motor control PWM channel 0, output A. USB1_IND1 — USB1 Port indicator LED control output 1. R — Function reserved. R — Function reserved. ENET_RXD2 — Ethernet receive data 2 (MII interface). U3_TXD — Transmitter output for USART3. R — Function reserved. MCOB0 — Motor control PWM channel 0, output B. USB1_IND0 — USB1 Port indicator LED control output 0. R — Function reserved.
I/O SGPIO9 — General purpose digital input/output pin. O P9_4 N10 x 92 [3]
I; PU O O -
I/O GPIO5[17] — General purpose digital input/output pin. O ENET_TXD2 — Ethernet transmit data 2 (MII interface). U3_RXD — Receiver input for USART3.
I/O SGPIO4 — General purpose digital input/output pin. I
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
38 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
P9_5
M9
x
-
98
69
-
[3]
I; PU O O
Type R — Function reserved. MCOA1 — Motor control PWM channel 1, output A. USB1_PPWR — VBUS drive signal (towards external charge pump or power management unit); indicates that VBUS must be driven (active high). Add a pull-down resistor to disable the power switch at reset. This signal has opposite polarity compared to the USB_PPWR used on other NXP LPC parts. R — Function reserved. I/O GPIO5[18] — General purpose digital input/output pin. O ENET_TXD3 — Ethernet transmit data 3 (MII interface). U0_TXD — Transmitter output for USART0. I/O SGPIO3 — General purpose digital input/output pin. O O O MCOB1 — Motor control PWM channel 1, output B. USB1_PWR_FAULT — USB1 Port power fault signal indicating over-current condition; this signal monitors over-current on the USB1 bus (external circuitry required to detect over-current condition). R — Function reserved. R — Function reserved. ENET_COL — Ethernet Collision detect (MII interface). U0_RXD — Receiver input for USART0. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. I2S1_RX_MCLK — I2S1 receive master clock. CGU_OUT1 — CGU spare clock output 1. R — Function reserved. I I/O SGPIO8 — General purpose digital input/output pin. I O O -
P9_6
L11
x
-
103 72
-
[3]
I; PU I/O GPIO4[11] — General purpose digital input/output pin.
PA_0
L12
x
-
126 -
-
[3]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
39 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PA_1
J14
x
-
134 -
-
[4]
I; PU I/O GPIO4[8] — General purpose digital input/output pin. I O QEI_IDX — Quadrature Encoder Interface INDEX input. R — Function reserved. U2_TXD — Transmitter output for USART2. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. QEI_PHB — Quadrature Encoder Interface PHB input. R — Function reserved. U2_RXD — Receiver input for USART2. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved.
PA_2
K15
x
-
136 -
-
[4]
I; PU I/O GPIO4[9] — General purpose digital input/output pin. I I -
PA_3
H11
x
-
147 -
-
[4]
I; PU I/O GPIO4[10] — General purpose digital input/output pin. I QEI_PHA — Quadrature Encoder Interface PHA input. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. CTOUT_9 — SCT output 9. Match output 1 of timer 2. R — Function reserved.
PA_4
G13
x
-
151 -
-
[3]
I; PU O -
I/O EMC_A23 — External memory address line 23. I/O GPIO5[19] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Type
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
40 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PB_0
B15
x
-
164 -
-
[3]
I; PU O O -
Type R — Function reserved. CTOUT_10 — SCT output 10. Match output 2 of timer 2. LCD_VD23 — LCD data. R — Function reserved. I/O GPIO5[20] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. USB1_ULPI_DIR — ULPI link DIR signal. Controls the ULP data line direction. LCD_VD22 — LCD data. R — Function reserved. I O I/O GPIO5[21] — General purpose digital input/output pin. O CTOUT_6 — SCT output 6. Match output 2 of timer 1. R — Function reserved. R — Function reserved. R — Function reserved. LCD_VD21 — LCD data. R — Function reserved. I/O USB1_ULPI_D7 — ULPI link bidirectional data line 7. O I/O GPIO5[22] — General purpose digital input/output pin. O CTOUT_7 — SCT output 7. Match output 3 of timer 1. R — Function reserved. R — Function reserved. R — Function reserved. LCD_VD20 — LCD data. R — Function reserved. I/O USB1_ULPI_D6 — ULPI link bidirectional data line 6. O I/O GPIO5[23] — General purpose digital input/output pin. O CTOUT_8 — SCT output 8. Match output 0 of timer 2. R — Function reserved. R — Function reserved.
PB_1
A14
x
-
175 -
-
[3]
I; PU -
PB_2
B12
x
-
177 -
-
[3]
I; PU -
PB_3
A13
x
-
178 -
-
[3]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
41 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PB_4
B11
x
-
180 -
-
[3]
I; PU O -
Type R — Function reserved. LCD_VD15 — LCD data. R — Function reserved. I/O USB1_ULPI_D5 — ULPI link bidirectional data line 5. I/O GPIO5[24] — General purpose digital input/output pin. I CTIN_5 — SCT input 5. Capture input 2 of timer 2. R — Function reserved. R — Function reserved. R — Function reserved. LCD_VD14 — LCD data. R — Function reserved. I/O USB1_ULPI_D4 — ULPI link bidirectional data line 4. O I/O GPIO5[25] — General purpose digital input/output pin. I O CTIN_7 — SCT input 7. LCD_PWR — LCD panel power enable. R — Function reserved. R — Function reserved. LCD_VD13 — LCD data. R — Function reserved. I/O USB1_ULPI_D3 — ULPI link bidirectional data line 3. O I/O GPIO5[26] — General purpose digital input/output pin. I O I CTIN_6 — SCT input 6. Capture input 1 of timer 3. LCD_VD19 — LCD data. R — Function reserved. ADC0_6 — ADC0, input channel 6.
PB_5
A12
x
-
181 -
-
[3]
I; PU -
PB_6
A6
x
-
-
-
-
[6]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
42 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PC_0
D4
x
-
7
-
-
[6]
I; PU I -
Type R — Function reserved. USB1_ULPI_CLK — ULPI link CLK signal. 60 MHz clock generated by the PHY. R — Function reserved. I/O ENET_RX_CLK — Ethernet Receive Clock (MII interface). O I LCD_DCLK — LCD panel clock. R — Function reserved. R — Function reserved. ADC1_1 — ADC1, input channel 1. R — Function reserved. U1_RI — Ring Indicator input for UART 1. ENET_MDC — Ethernet MIIM clock. R — Function reserved. T3_CAP0 — Capture input 0 of timer 3. SD_VOLT0 — SD/MMC bus voltage select output 0. R — Function reserved. U1_CTS — Clear to Send input for UART 1. ENET_TXD2 — Ethernet transmit data 2 (MII interface). R — Function reserved. R — Function reserved. SD_RST — SD/MMC reset signal for MMC4.4 card. I/O SD_CLK — SD/MMC card clock. I O I O I/O GPIO6[0] — General purpose digital input/output pin. I O I/O GPIO6[1] — General purpose digital input/output pin. O
PC_1
E4
-
-
9
-
-
[3]
I; PU I/O USB1_ULPI_D7 — ULPI link bidirectional data line 7.
PC_2
F6
-
-
13
-
-
[3]
I; PU I/O USB1_ULPI_D6 — ULPI link bidirectional data line 6.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
43 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PC_3
F5
-
-
11
-
-
[6]
I; PU I/O USB1_ULPI_D5 — ULPI link bidirectional data line 5. O R — Function reserved. U1_RTS — Request to Send output for UART 1. Can also be configured to be an RS-485/EIA-485 output enable signal for UART 1. ENET_TXD3 — Ethernet transmit data 3 (MII interface). R — Function reserved. R — Function reserved. SD_VOLT1 — SD/MMC bus voltage select output 1. ADC1_0 — ADC1, input channel 0. R — Function reserved. R — Function reserved. ENET_TX_EN — Ethernet transmit enable (RMII/MII interface). I/O GPIO6[3] — General purpose digital input/output pin. I R — Function reserved. T3_CAP1 — Capture input 1 of timer 3. R — Function reserved. R — Function reserved. ENET_TX_ER — Ethernet Transmit Error (MII interface). R — Function reserved. T3_CAP2 — Capture input 2 of timer 3. R — Function reserved. R — Function reserved. ENET_RXD2 — Ethernet receive data 2 (MII interface). R — Function reserved. T3_CAP3 — Capture input 3 of timer 3.
O
I/O GPIO6[2] — General purpose digital input/output pin. O I PC_4 F4 16 [3]
I; PU -
I/O USB1_ULPI_D4 — ULPI link bidirectional data line 4.
I/O SD_DAT0 — SD/MMC data bus line 0. PC_5 G4 20 [3]
I; PU O
I/O USB1_ULPI_D3 — ULPI link bidirectional data line 3.
I/O GPIO6[4] — General purpose digital input/output pin. I PC_6 H6 22 [3]
I/O SD_DAT1 — SD/MMC data bus line 1. I; PU I I/O USB1_ULPI_D2 — ULPI link bidirectional data line 2.
I/O GPIO6[5] — General purpose digital input/output pin. I
I/O SD_DAT2 — SD/MMC data bus line 2.
LPC4350_30_20_10 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
Type
[2]
44 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PC_7
G5
-
-
-
-
-
[3]
I; PU I
Type R — Function reserved. R — Function reserved. ENET_RXD3 — Ethernet receive data 3 (MII interface). R — Function reserved. T3_MAT0 — Match output 0 of timer 3. R — Function reserved. R — Function reserved. ENET_RX_DV — Ethernet Receive Data Valid (RMII/MII interface). R — Function reserved. T3_MAT1 — Match output 1 of timer 3. SD_CD — SD/MMC card detect input. R — Function reserved. USB1_ULPI_NXT — ULPI link NXT signal. Data flow control signal from the PHY. R — Function reserved. ENET_RX_ER — Ethernet receive error (MII interface). R — Function reserved. T3_MAT2 — Match output 2 of timer 3. SD_POW — SD/MMC power monitor output. R — Function reserved. USB1_ULPI_STP — ULPI link STP signal. Asserted to end or interrupt transfers to the PHY. U1_DSR — Data Set Ready input for UART 1. R — Function reserved. R — Function reserved. T3_MAT3 — Match output 3 of timer 3. I/O USB1_ULPI_D1 — ULPI link bidirectional data line 1. I/O GPIO6[6] — General purpose digital input/output pin. O I/O SD_DAT3 — SD/MMC data bus line 3. I/O USB1_ULPI_D0 — ULPI link bidirectional data line 0. I I/O GPIO6[7] — General purpose digital input/output pin. O I I I I/O GPIO6[8] — General purpose digital input/output pin. O O O I O I/O GPIO6[9] — General purpose digital input/output pin. I/O SD_CMD — SD/MMC command signal.
PC_8
N4
-
-
-
-
-
[3]
I; PU -
PC_9
K2
-
-
-
-
-
[3]
I; PU -
PC_10
M5
-
-
-
-
-
[3]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
45 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PC_11
L5
-
-
-
-
-
[3]
I; PU I I -
Type R — Function reserved. USB1_ULPI_DIR — ULPI link DIR signal. Controls the ULP data line direction. U1_DCD — Data Carrier Detect input for UART 1. R — Function reserved. I/O GPIO6[10] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. U1_DTR — Data Terminal Ready output for UART 1. Can also be configured to be an RS-485/EIA-485 output enable signal for UART 1. R — Function reserved. I/O SD_DAT4 — SD/MMC data bus line 4. O I/O GPIO6[11] — General purpose digital input/output pin. I/O SGPIO11 — General purpose digital input/output pin. I/O I2S0_TX_SDA — I2S transmit data. It is driven by the transmitter and read by the receiver. Corresponds to the signal SD in the I2S-bus specification. I/O SD_DAT5 — SD/MMC data bus line 5. R — Function reserved. R — Function reserved. U1_TXD — Transmitter output for UART 1. R — Function reserved. O I/O GPIO6[12] — General purpose digital input/output pin. I/O SGPIO12 — General purpose digital input/output pin. I/O I2S0_TX_WS — Transmit Word Select. It is driven by the master and received by the slave. Corresponds to the signal WS in the I2S-bus specification. I/O SD_DAT6 — SD/MMC data bus line 6.
PC_12
L6
-
-
-
-
-
[3]
I; PU -
PC_13
M1
-
-
-
-
-
[3]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
46 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PC_14
N1
-
-
-
-
-
[3]
I; PU I -
Type R — Function reserved. R — Function reserved. U1_RXD — Receiver input for UART 1. R — Function reserved. I/O GPIO6[13] — General purpose digital input/output pin. I/O SGPIO13 — General purpose digital input/output pin. O ENET_TX_ER — Ethernet Transmit Error (MII interface). R — Function reserved. CTOUT_15 — SCT output 15. Match output 3 of timer 3. EMC_DQMOUT2 — Data mask 2 used with SDRAM and static devices. R — Function reserved. I/O SD_DAT7 — SD/MMC data bus line 7. O O I/O GPIO6[14] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. EMC_CKEOUT2 — SDRAM clock enable 2. R — Function reserved. I/O SGPIO4 — General purpose digital input/output pin. O I/O GPIO6[15] — General purpose digital input/output pin. O SD_POW — SD/MMC power monitor output. R — Function reserved. R — Function reserved. CTOUT_7 — SCT output 7. Match output 3 of timer 1. R — Function reserved. I/O SGPIO5 — General purpose digital input/output pin. O I/O EMC_D16 — External memory data line 16. I/O GPIO6[16] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. I/O SGPIO6 — General purpose digital input/output pin.
PD_0
N2
-
-
-
-
-
[3]
I; PU -
PD_1
P1
-
-
-
-
-
[3]
I; PU -
PD_2
R1
-
-
-
-
-
[3]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
47 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PD_3
P4
-
-
-
-
-
[3]
I; PU O -
Type R — Function reserved. CTOUT_6 — SCT output 7. Match output 2 of timer 1. R — Function reserved. I/O EMC_D17 — External memory data line 17. I/O GPIO6[17] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. CTOUT_8 — SCT output 8. Match output 0 of timer 2. R — Function reserved. I/O SGPIO7 — General purpose digital input/output pin. O I/O EMC_D18 — External memory data line 18. I/O GPIO6[18] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. CTOUT_9 — SCT output 9. Match output 1 of timer 2. R — Function reserved. I/O SGPIO8 — General purpose digital input/output pin. O I/O EMC_D19 — External memory data line 19. I/O GPIO6[19] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. CTOUT_10 — SCT output 10. Match output 2 of timer 2. R — Function reserved. I/O SGPIO9 — General purpose digital input/output pin. O I/O EMC_D20 — External memory data line 20. I/O GPIO6[20] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. I/O SGPIO10 — General purpose digital input/output pin.
PD_4
T2
-
-
-
-
-
[3]
I; PU -
PD_5
P6
-
-
-
-
-
[3]
I; PU -
PD_6
R6
-
-
68
-
-
[3]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
48 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PD_7
T6
-
-
72
-
-
[3]
I; PU I -
Type R — Function reserved. CTIN_5 — SCT input 5. Capture input 2 of timer 2. R — Function reserved. I/O EMC_D21 — External memory data line 21. I/O GPIO6[21] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. CTIN_6 — SCT input 6. Capture input 1 of timer 3. R — Function reserved. I/O SGPIO11 — General purpose digital input/output pin. I I/O EMC_D22 — External memory data line 22. I/O GPIO6[22] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. CTOUT_13 — SCT output 13. Match output 1 of timer 3. R — Function reserved. I/O SGPIO12 — General purpose digital input/output pin. O I/O EMC_D23 — External memory data line 23. I/O GPIO6[23] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. CTIN_1 — SCT input 1. Capture input 1 of timer 0. Capture input 1 of timer 2. EMC_BLS3 — LOW active Byte Lane select signal 3. R — Function reserved. I/O SGPIO13 — General purpose digital input/output pin. I O I/O GPIO6[24] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved.
PD_8
P8
-
-
74
-
-
[3]
I; PU -
PD_9
T11
-
-
84
-
-
[3]
I; PU -
PD_10
P11
-
-
86
-
-
[3]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
49 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PD_11
N9
x
-
88
-
-
[3]
I; PU O -
Type R — Function reserved. R — Function reserved. EMC_CS3 — LOW active Chip Select 3 signal. R — Function reserved. I/O GPIO6[25] — General purpose digital input/output pin. I/O USB1_ULPI_D0 — ULPI link bidirectional data line 0. O CTOUT_14 — SCT output 14. Match output 2 of timer 3. R — Function reserved. R — Function reserved. R — Function reserved. EMC_CS2 — LOW active Chip Select 2 signal. R — Function reserved. O I/O GPIO6[26] — General purpose digital input/output pin. O R — Function reserved. CTOUT_10 — SCT output 10. Match output 2 of timer 2. R — Function reserved. R — Function reserved. CTIN_0 — SCT input 0. Capture input 0 of timer 0, 1, 2, 3. EMC_BLS2 — LOW active Byte Lane select signal 2. R — Function reserved. I O I/O GPIO6[27] — General purpose digital input/output pin. O R — Function reserved. CTOUT_13 — SCT output 13. Match output 1 of timer 3. R — Function reserved.
PD_12
N11
x
-
94
-
-
[3]
I; PU -
PD_13
T14
x
-
97
-
-
[3]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
50 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PD_14
R13
x
-
99
-
-
[3]
I; PU O -
Type R — Function reserved. R — Function reserved. EMC_DYCS2 — SDRAM chip select 2. R — Function reserved. I/O GPIO6[28] — General purpose digital input/output pin. O R — Function reserved. CTOUT_11 — SCT output 11. Match output 3 of timer 2. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. I/O EMC_A17 — External memory address line 17. I/O GPIO6[29] — General purpose digital input/output pin. I O SD_WP — SD/MMC card write protect input. CTOUT_8 — SCT output 8. Match output 0 of timer 2. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. I/O EMC_A16 — External memory address line 16. I/O GPIO6[30] — General purpose digital input/output pin. O O SD_VOLT2 — SD/MMC bus voltage select output 2. CTOUT_12 — SCT output 12. Match output 0 of timer 3. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. I/O EMC_A18 — External memory address line 18. I/O GPIO7[0] — General purpose digital input/output pin. O CAN1_TD — CAN1 transmitter output. R — Function reserved. R — Function reserved.
PD_15
T15
x
-
101 -
-
[3]
I; PU -
PD_16
R14
x
-
104 -
-
[3]
I; PU -
PE_0
P14
x
-
106 -
-
[3]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
51 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PE_1
N14
x
-
112 -
-
[3]
I; PU -
Type R — Function reserved. R — Function reserved. R — Function reserved. I/O EMC_A19 — External memory address line 19. I/O GPIO7[1] — General purpose digital input/output pin. I CAN1_RD — CAN1 receiver input. R — Function reserved. R — Function reserved. ADCTRIG0 — ADC trigger input 0. CAN0_RD — CAN receiver input. R — Function reserved. I I/O EMC_A20 — External memory address line 20. I/O GPIO7[2] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. CAN0_TD — CAN transmitter output. ADCTRIG1 — ADC trigger input 1. O I I/O EMC_A21 — External memory address line 21. I/O GPIO7[3] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. NMI — External interrupt input to NMI. R — Function reserved. I I/O EMC_A22 — External memory address line 22. I/O GPIO7[4] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved.
PE_2
M14
x
-
115 -
-
[3]
I; PU I
PE_3
K12
x
-
118 -
-
[3]
I; PU -
PE_4
K13
x
-
120 -
-
[3]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
52 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PE_5
N16
-
-
122 -
-
[3]
I; PU O O
Type R — Function reserved. CTOUT_3 — SCT output 3. Match output 3 of timer 0. U1_RTS — Request to Send output for UART 1. Can also be configured to be an RS-485/EIA-485 output enable signal for UART 1. I/O EMC_D24 — External memory data line 24. I/O GPIO7[5] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. CTOUT_2 — SCT output 2. Match output 2 of timer 0. U1_RI — Ring Indicator input for UART 1. O I I/O EMC_D25 — External memory data line 25. I/O GPIO7[6] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. CTOUT_5 — SCT output 5. Match output 1 of timer 1. U1_CTS — Clear to Send input for UART1. O I I/O EMC_D26 — External memory data line 26. I/O GPIO7[7] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. CTOUT_4 — SCT output 4. Match output 0 of timer 0. U1_DSR — Data Set Ready input for UART 1. O I I/O EMC_D27 — External memory data line 27. I/O GPIO7[8] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved.
PE_6
M16
-
-
124 -
-
[3]
I; PU -
PE_7
F15
-
-
149 -
-
[3]
I; PU -
PE_8
F14
-
-
150 -
-
[3]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
53 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PE_9
E16
-
-
152 -
-
[3]
I; PU I I
Type R — Function reserved. CTIN_4 — SCT input 4. Capture input 2 of timer 1. U1_DCD — Data Carrier Detect input for UART 1. I/O EMC_D28 — External memory data line 28. I/O GPIO7[9] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. CTIN_3 — SCT input 3. Capture input 1 of timer 1. U1_DTR — Data Terminal Ready output for UART 1. Can also be configured to be an RS-485/EIA-485 output enable signal for UART 1. I O I/O EMC_D29 — External memory data line 29. I/O GPIO7[10] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. CTOUT_12 — SCT output 12. Match output 0 of timer 3. U1_TXD — Transmitter output for UART 1. O O I/O EMC_D30 — External memory data line 30. I/O GPIO7[11] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. CTOUT_11 — SCT output 11. Match output 3 of timer 2. U1_RXD — Receiver input for UART 1. O I I/O EMC_D31 — External memory data line 31. I/O GPIO7[12] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved.
© NXP B.V. 2012. All rights reserved.
PE_10
E14
-
-
154 -
-
[3]
I; PU -
PE_11
D16
-
-
-
-
-
[3]
I; PU -
PE_12
D15
-
-
-
-
-
[3]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
Objective data sheet
Rev. 3.1 — 5 January 2012
[2]
54 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PE_13
G14
-
-
-
-
-
[3]
I; PU O
Type R — Function reserved. CTOUT_14 — SCT output 14. Match output 2 of timer 3. I/O I2C1_SDA — I2C1 data input/output (this pin does not use a specialized I2C pad). O EMC_DQMOUT3 — Data mask 3 used with SDRAM and static devices. I/O GPIO7[13] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. EMC_DYCS3 — SDRAM chip select 3. O I/O GPIO7[14] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. CTOUT_0 — SCT output 0. Match output 0 of timer 0. O I/O I2C1_SCL — I2C1 clock input/output (this pin does not use a specialized I2C pad). O EMC_CKEOUT3 — SDRAM clock enable 3. I/O GPIO7[15] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved.
PE_14
C15
-
-
-
-
-
[3]
I; PU -
PE_15
E13
-
-
-
-
-
[3]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
55 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PF_0
D12
-
-
159 -
-
[3]
O; PU
I/O SSP0_SCK — Serial clock for SSP0. I O GP_CLKIN — General purpose clock input to the CGU. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. R — Function reserved. I2S1_TX_MCLK — I2S1 transmit master clock. R — Function reserved. R — Function reserved. R — Function reserved.
PF_1
E11
-
-
-
-
-
[3]
I; PU -
I/O SSP0_SSEL — Slave Select for SSP0. I/O GPIO7[16] — General purpose digital input/output pin. PF_2 D11 168 [3]
Type R — Function reserved. R — Function reserved. R — Function reserved. U3_TXD — Transmitter output for USART3. R — Function reserved. I/O SGPIO0 — General purpose digital input/output pin. O I/O SSP0_MISO — Master In Slave Out for SSP0. I/O GPIO7[17] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. R — Function reserved. U3_RXD — Receiver input for USART3. R — Function reserved. I/O SGPIO1 — General purpose digital input/output pin. I I/O SSP0_MOSI — Master Out Slave in for SSP0. I/O GPIO7[18] — General purpose digital input/output pin. R — Function reserved. R — Function reserved. I/O SGPIO2 — General purpose digital input/output pin.
I; PU -
PF_3
E10
-
-
170 -
-
[3]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
56 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PF_4
D10
x
H4
172 120 83
[3]
O; PU
I/O SSP1_SCK — Serial clock for SSP1. I O O GP_CLKIN — General purpose clock input to the CGU. TRACECLK — Trace clock. R — Function reserved. R — Function reserved. R — Function reserved. I2S0_TX_MCLK — I2S transmit master clock.
I/O I2S0_RX_SCK — I2S receive clock. It is driven by the master and received by the slave. Corresponds to the signal SCK in the I2S-bus specification. PF_5 E9 190 [6]
I; PU -
Type R — Function reserved. I/O U3_UCLK — Serial clock input/output for USART3 in synchronous mode. I/O SSP1_SSEL — Slave Select for SSP1. O TRACEDATA[0] — Trace data, bit 0. I/O GPIO7[19] — General purpose digital input/output pin. I R — Function reserved. R — Function reserved. ADC1_4 — ADC1, input channel 4. R — Function reserved. I/O SGPIO4 — General purpose digital input/output pin. I/O U3_DIR — RS-485/EIA-485 output enable/direction control for USART3. I/O SSP1_MISO — Master In Slave Out for SSP1. O TRACEDATA[1] — Trace data, bit 1. I/O GPIO7[20] — General purpose digital input/output pin. R — Function reserved. I/O SGPIO5 — General purpose digital input/output pin. I/O I2S1_TX_SDA — I2S1 transmit data. It is driven by the transmitter and read by the receiver. Corresponds to the signal SD in the I2S-bus specification. I ADC1_3 — ADC1, input channel 3.
PF_6
E7
-
-
192 -
-
[6]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
57 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PF_7
B7
-
-
193 -
-
[6]
I; PU -
Type R — Function reserved. I/O U3_BAUD — Baud pin for USART3. I/O SSP1_MOSI — Master Out Slave in for SSP1. O TRACEDATA[2] — Trace data, bit 2. I/O GPIO7[21] — General purpose digital input/output pin. R — Function reserved. I/O SGPIO6 — General purpose digital input/output pin. I/O I2S1_TX_WS — Transmit Word Select. It is driven by the master and received by the slave. Corresponds to the signal WS in the I2S-bus specification. I/O ADC1_7 — ADC1, input channel 7 or band gap output. R — Function reserved. I/O U0_UCLK — Serial clock input/output for USART0 in synchronous mode. I O CTIN_2 — SCT input 2. Capture input 2 of timer 0. TRACEDATA[3] — Trace data, bit 3. I/O GPIO7[22] — General purpose digital input/output pin. I R — Function reserved. R — Function reserved. ADC0_2 — ADC0, input channel 2. R — Function reserved. I/O SGPIO7 — General purpose digital input/output pin. I/O U0_DIR — RS-485/EIA-485 output enable/direction control for USART0. O CTOUT_1 — SCT output 1. Match output 1 of timer 0. R — Function reserved. I/O GPIO7[23] — General purpose digital input/output pin. I R — Function reserved. R — Function reserved. ADC1_2 — ADC1, input channel 2. I/O SGPIO3 — General purpose digital input/output pin.
PF_8
E6
-
-
-
-
-
[6]
I; PU -
PF_9
D6
-
-
203 -
-
[6]
I; PU -
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
58 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
PF_10
A3
-
-
205 -
98
[6]
I; PU O -
Type R — Function reserved. U0_TXD — Transmitter output for USART0. R — Function reserved. R — Function reserved. I/O GPIO7[24] — General purpose digital input/output pin. I I R — Function reserved. SD_WP — SD/MMC card write protect input. R — Function reserved. ADC0_5 — ADC0, input channel 5. R — Function reserved. U0_RXD — Receiver input for USART0. R — Function reserved. R — Function reserved. I I/O GPIO7[25] — General purpose digital input/output pin. O I R — Function reserved. SD_VOLT2 — SD/MMC bus voltage select output 2. R — Function reserved. ADC1_5 — ADC1, input channel 5. EMC_CLK0 — SDRAM clock 0. CLKOUT — Clock output pin. R — Function reserved. R — Function reserved. EMC_CLK01 — SDRAM clock 0 and clock 1 combined. ENET_TX_CLK (ENET_REF_CLK) — Ethernet Transmit Clock (MII interface) or Ethernet Reference Clock (RMII interface). O O O I/O SD_CLK — SD/MMC card clock. I/O SSP1_SCK — Serial clock for SSP1. I
PF_11
A2
-
-
207 -
100
[6]
I; PU -
Clock pins CLK0 N5 x K3 62 45 31
[5]
O; PU
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
59 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
CLK1
T10
x
-
-
-
-
[5]
O; PU
O O O O
Type EMC_CLK1 — SDRAM clock 1. CLKOUT — Clock output pin. R — Function reserved. R — Function reserved. R — Function reserved. CGU_OUT0 — CGU spare clock output 0. R — Function reserved. I2S1_TX_MCLK — I2S1 transmit master clock. EMC_CLK3 — SDRAM clock 3. CLKOUT — Clock output pin. R — Function reserved. R — Function reserved. EMC_CLK23 — SDRAM clock 2 and clock 3 combined. I2S0_TX_MCLK — I2S transmit master clock. O O O O I/O SD_CLK — SD/MMC card clock. I/O I2S1_RX_SCK — Receive Clock. It is driven by the master and received by the slave. Corresponds to the signal SCK in the I2S-bus specification. O O O EMC_CLK2 — SDRAM clock 2. CLKOUT — Clock output pin. R — Function reserved. R — Function reserved. R — Function reserved. CGU_OUT1 — CGU spare clock output 1. R — Function reserved. I/O I2S1_RX_SCK — Receive Clock. It is driven by the master and received by the slave. Corresponds to the signal SCK in the I2S-bus specification. I I JTAG interface control signal. Also used for boundary scan. Test Clock for JTAG interface (default) or Serial Wire (SW) clock. Test Reset for JTAG interface. Test Mode Select for JTAG interface (default) or SW debug data input/output. Test Data Out for JTAG interface (default) or SW trace output. O
CLK2
D14
x
K6
141 99
68
[5]
O; PU
CLK3
P12
x
-
-
-
-
[5]
O; PU
Debug pins DBGEN TCK/SWDCLK TRST TMS/SWDIO TDO/SWO L4 J5 M4 K6 K5 x x x x x A6 H2 B4 C4 H3 41 38 42 44 46 28 27 29 30 31 18 17 19 20 21
[3]
I I; F
[3]
[3] [3]
I; PU I I; PU I O
[3]
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
60 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
TDI USB0 pins USB0_DP USB0_DM USB0_VBUS USB0_ID
J4 F2 G2 F1 H2
x x x x x
G3 E1 E2 E3 F1
35 26 28 29 30
26 18 20 21 22
16 9 11 12 13
[3]
I; PU I -
Type Test Data In for JTAG interface. I/O USB0 bidirectional D+ line. I/O USB0 bidirectional D line. I/O VBUS pin (power on USB cable). This pin includes an internal pull-down resistor of 64 k (typical) 16 k. I Indicates to the transceiver whether connected as an A-device (USB0_ID LOW) or B-device (USB0_ID HIGH). For OTG this pin has an internal pull-up resistor. 12.0 k (accuracy 1 %) on-board resistor to ground for current reference. I/O USB1 bidirectional D+ line. I/O USB1 bidirectional D line. I/O I2C clock input/output. Open-drain output (for I2C-bus compliance). I/O I2C data input/output. Open-drain output (for I2C-bus compliance). 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. External wake-up input; can raise an interrupt and can cause wake-up from any of the low power modes. External wake-up input; can raise an interrupt and can cause wake-up from any of the low power modes. External wake-up input; can raise an interrupt and can cause wake-up from any of the low power modes. External wake-up input; can raise an interrupt and can cause wake-up from any of the low power modes. ADC input channel 0. Shared between 10-bit ADC0/1 and DAC. ADC input channel 1. Shared between 10-bit ADC0/1. ADC input channel 2. Shared between 10-bit ADC0/1. ADC input channel 3. Shared between 10-bit ADC0/1. I I I I I I I I
[7] [7] [7] [8] [9]
USB0_RREF USB1 pins USB1_DP USB1_DM I2C-bus pins I2C0_SCL I2C0_SDA
H1
x
F3
32
24
15
[9]
-
F12 G12 L15 L16
x x x x
E9
129 89
59 60 62 63
[10] [10]
I; F I; F
E10 130 90 D6 E6 132 92 133 93
[11]
[11]
Reset and wake-up pins RESET D9 x B6 185 128 91
[12]
I; IA
WAKEUP0 WAKEUP1 WAKEUP2 WAKEUP3 ADC pins ADC0_0/ ADC1_0/DAC ADC0_1/ ADC1_1 ADC0_2/ ADC1_2 ADC0_3/ ADC1_3
LPC4350_30_20_10
A9 A10 C9 D8
x x x x
A4 -
187 130 93 -
[12]
I; IA I; IA I; IA I; IA
[12]
[12]
[12]
E3 C3 A4 B5
x x x x
A2 A1 B3 A3
8 4
6 2
4 1
[9]
I; IA I; IA I; IA I; IA
[9]
206 143 99 200 139 96
[9]
[9]
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
61 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
ADC0_4/ ADC1_4 ADC0_5/ ADC1_5 ADC0_6/ ADC1_6 ADC0_7/ ADC1_7 RTC RTC_ALARM RTCX1 RTCX2
C6 B3 A5 C5
x x x x
-
199 138 208 144 204 142 197 136 -
[9]
I; IA I; IA I; IA I; IA
I I I I
Type ADC input channel 4. Shared between 10-bit ADC0/1. ADC input channel 5. Shared between 10-bit ADC0/1. ADC input channel 6. Shared between 10-bit ADC0/1. ADC input channel 7. Shared between 10-bit ADC0/1. O I O RTC controlled output. Input to the RTC 32 kHz ultra-low power oscillator circuit. Output from the RTC 32 kHz ultra-low power oscillator circuit. Input to the oscillator circuit and internal clock generator circuits. Output from the oscillator amplifier. Separate analog 3.3 V power supply for driver. USB 3.3 V separate power supply voltage. Dedicated analog ground for clean reference for termination resistors. Dedicated clean analog ground for generation of reference currents and voltages. Analog power supply and ADC reference voltage. RTC power supply: 3.3 V on this pin supplies power to the RTC. Main regulator power supply. Tie the VDDREG and VDDIO pins to a common power supply to ensure the same ramp-up time for both supply voltages. I O OTP programming voltage.
[9]
[9]
[9]
A11 A8 B8
x x x
C3 A5 B5
186 129 92 182 125 88 183 126 89
[12] [9]
-
[9]
Crystal oscillator pins XTAL1 XTAL2 USB0_VDDA 3V3_DRIVER USB0 _VDDA3V3 USB0_VSSA _TERM USB0_VSSA _REF VDDA VBAT VDDREG D1 E1 F3 G3 H3 G1 B4 B10 F10, F9, L8, L7 x x x x x x x x x B1 C1 D1 D2 D3 F2 B2 C5 E4, E5, F4 18 19 24 25 27 31 12 13 16 17 19 23 5 6 7 8 10 14
[9]
-
[9]
Power and ground pins
198 137 95 184 127 90 135 , 188 , 195 , 82, 33 94, 131, 59, 25
VPP
E8
-
-
-
-
[13]
-
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
62 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 3. Pin description …continued LCD, Ethernet, USB0, and USB1 functions are not available on all parts. See Table 2. TFBGA180[1] Reset state LQFP208[1] LQFP100[1] Symbol LBGA256 Description TFBGA100
LQFP144
VDDIO
D7, x E12, F7, F8, G10, H10, J6, J7, K7, L9, L10, N7, N13 -
F10, 6, K5 52, 57, 102 , 110 , 155 , 160 , 202 -
5, 36, 41, 71, 77, 107, 111, 141
[13]
-
-
Type I/O power supply. Tie the VDDREG and VDDIO pins to a common power supply to ensure the same ramp-up time for both supply voltages. Power supply for main regulator, I/O, and OTP. Ground. Ground. Analog ground. n.c.
VDD
-
3, 24, 27, 49, 52, 74, 77, 97 2, 26, 51, 76
[14] [15]
VSS
G9, H7, J10, J11, K8
x
-
-
-
-
VSSIO
C4, x D13, G6, G7, G8, H8, H9, J8, J9, K9, K10, M13, P7, P13 B2 B9 x -
C8, D4, D5, G8, J3, J6
5, 56, 109 , 157
4, 40, 76, 109
[14] [15]
-
VSSA Not connected [1] [2]
C2 -
196 135 94 -
-
x = available; - = not pinned out. I = input, O = output, IA = inactive; PU = pull-up enabled (weak pull-up resistor pulls up pin to VDD(IO)); F = floating; Reset state reflects the pin state at reset without boot code operation.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
[2]
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
63 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
[3] [4] [5] [6]
5 V tolerant pad with 15 ns glitch filter (5 V tolerant if VDD(IO) present; if VDD(IO) not present, do not exceed 3.3 V); provides digital I/O functions with TTL levels and hysteresis; normal drive strength. 5 V tolerant pad with 15 ns glitch filter(5 V tolerant if VDD(IO) present; if VDD(IO) not present, do not exceed 3.3 V); provides digital I/O functions with TTL levels, and hysteresis; high drive strength. 5 V tolerant pad with 15 ns glitch filter(5 V tolerant if VDD(IO) present; if VDD(IO) not present, do not exceed 3.3 V); provides high-speed digital I/O functions with TTL levels and hysteresis. 5 V tolerant pad providing digital I/O functions (with TTL levels and hysteresis) and analog input or output (5 V tolerant if VDD(IO) present; if VDD(IO) not present, do not exceed 3.3 V). When configured as a ADC input or DAC output, the pin is not 5 V tolerant and the digital section of the pad must be disabled by setting the pin to an input function and disabling the pull-up resistor through the pin’s SFSP register. 5 V tolerant transparent analog pad. For maximum load CL = 6.5 F and maximum resistance Rpd = 80 k, the VBUS signal takes about 2 s to fall from VBUS = 5 V to VBUS = 0.2 V when it is no longer driven. Transparent analog pad. Not 5 V tolerant.
[7] [8] [9]
[10] Pad provides USB functions 5 V tolerant if VDD(IO) present; if VDD(IO) not present, do not exceed 3.3 V. It is designed in accordance with the USB specification, revision 2.0 (Full-speed and Low-speed mode only). This pad is not 5 V tolerant. [11] Open-drain 5 V tolerant digital I/O pad, compatible with I2C-bus Fast Mode Plus specification. This pad requires an external pull-up to provide output functionality. When power is switched off, this pin connected to the I2C-bus is floating and does not disturb the I2C lines. [12] 5 V tolerant pad with 20 ns glitch filter; provides digital I/O functions with open-drain output with weak pull-up resistor and hysteresis. [13] On the TFBGA100 and LQFP208 packages, VPP is internally connected to VDDIO. [14] On the LQFP144 package, VSSIO and VSS are connected to a common ground plane. [15] On the TFBGA100 and LQFP100/208 packages, VSS is internally connected to VSSIO.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
64 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
7. Functional description
7.1 Architectural overview
The ARM Cortex-M4 includes three AHB-Lite buses: the system bus, the I-CODE bus, and the D-code bus. The I-CODE and D-code core buses allow for concurrent code and data accesses from different slave ports. The LPC4350/30/20/10 use a multi-layer AHB matrix to connect the ARM Cortex-M4 buses and other bus masters to peripherals in a flexible manner that optimizes performance by allowing peripherals that are on different slaves ports of the matrix to be accessed simultaneously by different bus masters. An ARM Cortex-M0 co-processor is included in the LPC4350/30/20/10, capable of off-loading the main ARM Cortex-M4 application processor. Most peripheral interrupts are connected to both processors. The processors communicate with each other via an interprocessor communication protocol.
7.2 ARM Cortex-M4 processor
The ARM Cortex-M4 CPU incorporates a 3-stage pipeline, uses a Harvard architecture with separate local instruction and data buses as well as a third bus for peripherals, and includes an internal prefetch unit that supports speculative branching. The ARM Cortex-M4 supports single-cycle digital signal processing and SIMD instructions. A hardware floating-point processor is integrated in the core. The processor includes a NVIC with up to 53 interrupts.
7.3 ARM Cortex-M0 co-processor
The ARM Cortex-M0 is a general purpose, 32-bit microprocessor, which offers high performance and very low power consumption. The ARM Cortex-M0 co-processor uses a 3-stage pipeline von Neumann architecture and a small but powerful instruction set providing high-end processing hardware. The co-processor incorporates a NVIC with 32 interrupts.
7.4 Interprocessor communication
The ARM Cortex-M4 and ARM Cortex-M0 interprocessor communication is based on using shared SRAM as mailbox and one processor raising an interrupt on the other processor's NVIC, for example after it has delivered a new message in the mailbox. The receiving processor can reply by raising an interrupt on the sending processor's NVIC to acknowledge the message.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
65 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
7.5 AHB multilayer matrix
HIGH-SPEED PHY TEST/DEBUG INTERFACE TEST/DEBUG INTERFACE
ARM CORTEX-M4
System IDbus code code bus bus
ARM CORTEX-M0
0
DMA 1
ETHERNET
USB0
USB1
LCD
SD/ MMC
masters
slaves
64 kB ROM 128 kB LOCAL SRAM 72 kB LOCAL SRAM 32 kB AHB SRAM 16 kB + 16 kB AHB SRAM EXTERNAL MEMORY CONTROLLER AHB PERIPHERALS REGISTER INTERFACES APB, RTC DOMAIN PERIPHERALS
AHB MULTILAYER MATRIX
= master-slave connection
002aaf873
Fig 8.
AHB multilayer matrix master and slave connections
7.6 Nested Vectored Interrupt Controller (NVIC)
The NVIC is an integral part of the Cortex-M4. The tight coupling to the CPU allows for low interrupt latency and efficient processing of late arriving interrupts. The ARM Cortex-M0 co-processor has its own NVIC with 32 vectored interrupts. Most peripheral interrupts are shared between the Cortex-M0 and Cortex-M4 NVICs.
7.6.1 Features
• • • • •
LPC4350_30_20_10
Controls system exceptions and peripheral interrupts. In the LPC4350/30/20/10, the Cortex-M4 NVIC supports up to 53 vectored interrupts. 8 programmable interrupt priority levels with hardware priority level masking. Relocatable vector table. Non-Maskable Interrupt (NMI).
All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
66 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
• Software interrupt generation.
7.6.2 Interrupt sources
Each peripheral device has one interrupt line connected to the NVIC but may have several interrupt flags. Individual interrupt flags may also represent more than one interrupt source.
7.7 Event router
The event router combines various internal signals, interrupts, and the external interrupt pins (WAKEUP[3:0]) to create an interrupt in the NVIC if enabled and to create a wake-up signal to the ARM core and the CCU for waking up from Sleep, Deep-sleep, Power-down, and Deep power-down modes. Individual events can be configured as edge or level sensitive and can be enabled or disabled in the event router. The event router can be battery powered. The following events if enabled in the event router can create a wake-up signal and/or an interrupt:
• • • • •
External pins WAKEUP0/1/2/3 and RESET Alarm timer, RTC, WWDT, BOD interrupts C_CAN and QEI interrupts Ethernet, USB0, USB1 signals Selected outputs of combined timers (SCT and timer0/1/3)
7.8 Global Input Multiplexer Array (GIMA)
The GIMA allows to route signals to event-driven peripheral targets like the SCT, timers, event router, or the ADCs.
7.8.1 Features
• • • • •
Single selection of a source. Signal inversion. Can capture a pulse if the input event source is faster than the target clock. Synchronization of input event and target clock. Single-cycle pulse generation for target.
7.9 System Tick timer (SysTick)
The ARM Cortex-M4 includes a system tick timer (SYSTICK) that is intended to generate a dedicated SYSTICK exception at a 10 ms interval.
7.10 On-chip static RAM
The LPC4350/30/20/10 support up to 200 kB local SRAM and an additional 64 kB AHB SRAM with separate bus master access for higher throughput and individual power control for low power operation.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
67 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
7.11 In-System Programming (ISP)
In-System programming (ISP) is programming or reprogramming the on-chip SRAM memory, using the boot loader software and the USART0 serial port. This can be done when the part resides in the end-user board. ISP allows to load data into on-chip SRAM and execute code from on-chip SRAM.
7.12 Boot ROM
The internal ROM memory is used to store the boot code of the LPC4350/30/20/10. After a reset, the ARM processor will start its code execution from this memory. The boot ROM memory includes the following features:
• ROM memory size is 64 kB. • Supports booting from UART interfaces and external static memory such as NOR
flash, and SPI flash.
• Includes API for OTP programming. • Includes a flexible USB device stack that supports Human Interface Device (HID),
Mass Storage Class (MSC), and Device Firmware Upgrade (DFU) drivers. AES capable parts also support:
• CMAC authentication on the boot image. • Secure booting from an encrypted image. In development mode booting from a plain
text image is possible. Development mode is terminated by programming the AES key.
• API for AES programming.
Several boot modes are available depending on the values of the OTP bits BOOT_SRC. If the OTP memory is not programmed or the BOOT_SRC bits are all zero, the boot mode is determined by the states of the boot pins P2_9, P2_8, P1_2, and P1_1.
Table 4. Boot mode when OTP BOOT_SRC bits are programmed BOOT_SRC Description bit 0 0 1 0 1 0 1 0 Boot source is defined by the reset state of P1_1, P1_2, P2_8 pins, and P2_9. See Table 5. Boot from device connected to USART0 using pins P2_0 and P2_1. Boot from Quad SPI flash connected to the SPIFI interface using pins P3_3 to P3_8. Boot from external static memory (such as NOR flash) using CS0 and an 8-bit data bus. Boot from external static memory (such as NOR flash) using CS0 and a 16-bit data bus. Boot from external static memory (such as NOR flash) using CS0 and a 32-bit data bus. Boot from USB0.
Boot mode BOOT_SRC BOOT_SRC BOOT_SRC bit 3 bit 2 bit 1 Pin state USART0 SPIFI EMC 8-bit EMC 16-bit EMC 32-bit USB0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 1 1 0 0 1
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
68 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 4.
Boot mode when OTP BOOT_SRC bits are programmed …continued BOOT_SRC Description bit 0 1 0 Boot from USB1. Boot from SPI flash connected to the SSP0 interface on P3_3 (function SSP0_SCK), P3_6 (function SSP0_MISO), P3_7 (function SSP0_MOSI), and P3_8 (function SSP0_SSEL)[1]. Boot from device connected to USART3 using pins P2_3 and P2_4.
Boot mode BOOT_SRC BOOT_SRC BOOT_SRC bit 3 bit 2 bit 1 USB1 SPI (SSP) 0 1 1 0 1 0
USART3
1
0
0
1
[1]
The boot loader programs the appropriate pin function at reset to boot using either SSP0 or SPIFI.
Table 5.
Boot mode when OPT BOOT_SRC bits are zero Pins P2_9 P2_8 LOW LOW LOW LOW HIGH HIGH HIGH HIGH P1_2 LOW LOW HIGH HIGH LOW LOW HIGH HIGH P1_1 LOW HIGH LOW HIGH LOW HIGH LOW HIGH Boot from device connected to USART0 using pins P2_0 and P2_1. Boot from Quad SPI flash connected to the SPIFI interface on P3_3 to P3_8[1]. Boot from external static memory (such as NOR flash) using CS0 and an 8-bit data bus. Boot from external static memory (such as NOR flash) using CS0 and a 16-bit data bus. Boot from external static memory (such as NOR flash) using CS0 and a 32-bit data bus. Boot from USB0 Boot from USB1. Boot from SPI flash connected to the SSP0 interface on P3_3 (function SSP0_SCK), P3_6 (function SSP0_MISO), P3_7 (function SSP0_MOSI), and P3_8 (function SSP0_SSEL)[1]. Boot from device connected to USART3 using pins P2_3 and P2_4. LOW LOW LOW LOW LOW LOW LOW LOW Description
Boot mode USART0 SPIFI EMC 8-bit EMC 16-bit EMC 32-bit USB0 USB1 SPI (SSP)
USART3
HIGH
LOW
LOW
LOW
[1]
The boot loader programs the appropriate pin function at reset to boot using either SSP0 of SPIFI.
7.13 Memory mapping
The memory map shown in Figure 9 and Figure 10 is global to both the Cortex-M4 and the Cortex-M0 processors and all SRAM is shared between both processors. Each processor uses its own ARM private bus memory map for the NVIC and other system functions.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
69 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
LPC4350/30/20/10
4 GB reserved 0xE010 0000 ARM private bus reserved SPIFI data 256 MB dynamic external memory DYCS3 256 MB dynamic external memory DYCS2 reserved peripheral bit band alias region reserved SGPIO SPI reserved high-speed GPIO reserved reserved reserved APB peripherals #3 reserved APB peripherals #2 0x2000 0000 0x1F00 0000 0x1E00 0000 0x1D00 0000 0x1C00 0000 16 MB static external memory CS3 16 MB static external memory CS2 16 MB static external memory CS1 16 MB static external memory CS0 reserved 0x1800 0000 0x1400 0000 SPIFI data reserved 0x1041 0000 0x1040 0000 0x1009 2000 0x1008 A000 64 kB ROM reserved 32 kB local SRAM (LPC4350/30) 32 kB + 8 kB local SRAM (LPC4350/30/20/10) reserved 32 kB local SRAM (LPC4350/30/20) 96 kB local SRAM (LPC4350/30/20/10) 0x1000 0000 1 GB reserved APB peripherals #1 reserved APB peripherals #0 reserved 0x4006 0000 clocking/reset peripherals RTC domain peripherals reserved 0x4001 2000 AHB peripherals 256 MB dynamic external memory DYCS1 128 MB dynamic external memory DYCS0 reserved 0x2400 0000 32 MB AHB SRAM bit banding 0x2200 0000 reserved 0x2001 0000 16 kB AHB SRAM (LPC4350/30/20/10) 16 kB AHB SRAM (LPC4350/30) 16 kB AHB SRAM (LPC4350/30) 16 kB AHB SRAM (LPC4350/30/20/10) local SRAM/ external static memory banks 0 GB 256 MB shadow area 0x2000 C000 0x2000 8000 0x2000 4000 0x2000 0000 0x1000 0000 0x0000 0000
002aaf774
0xFFFF FFFF
0xE000 0000 0x8800 0000 0x8000 0000 0x7000 0000 0x6000 0000 0x4400 0000 0x4200 0000 0x4010 2000 0x4010 1000 0x4010 0000 0x400F 8000 0x400F 4000 0x400F 2000 0x400F 1000 0x400F 0000 0x400E 0000 0x400D 0000 0x400C 0000 0x400B 0000 0x400A 0000 0x4009 0000 0x4008 0000
0x4005 0000 0x4004 0000
0x4000 0000 0x3000 0000 0x2800 0000
0x1008 0000 0x1002 0000 0x1001 8000
Fig 9.
LPC4350/30/20/10 Memory mapping (overview)
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
70 of 149
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
Objective data sheet Rev. 3.1 — 5 January 2012 71 of 149
LPC4350_30_20_10 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
NXP Semiconductors
0x400F 0000 0x400E 5000 0x400E 4000 0x400E 3000 0x400E 2000 0x400E 1000 0x400E 0000 0x400C 8000 0x400C 7000 0x400C 6000 0x400C 5000 0x400C 4000 0x400C 3000 0x400C 2000 0x400C 1000 0x400C 0000 0x400B 0000 0x400A 5000 0x400A 4000 0x400A 3000 0x400A 2000 0x400A 1000 0x400A 0000 0x4008 A000 0x4008 9000 0x4008 8000 0x4008 7000 0x4008 6000 0x4008 5000 0x4008 4000 0x4008 3000 0x4008 2000 0x4008 1000 0x4008 0000 reserved ADC1 ADC0 C_CAN0 DAC I2C1 GIMA QEI SSP1 timer3 timer2 USART3 USART2 RI timer reserved C_CAN1 I2S1 I2S0 I2C0 motor control PWM GPIO GROUP1 interrupt GPIO GROUP0 interrupt GPIO interrupts SCU timer1 timer0 SSP0 UART1 w/ modem USART0 WWDT
LPC4350/30/20/10
0xFFFF FFFF APB3 peripherals external memories and ARM private bus 0x6000 0000 reserved peripheral bit band alias region reserved SGPIO SPI APB2 peripherals reserved 0x400F 8000 high-speed GPIO reserved reserved reserved APB3 peripherals reserved APB1 peripherals APB2 peripherals reserved APB1 peripherals reserved APB0 peripherals reserved clocking/reset peripherals RTC domain peripherals APB0 peripherals reserved 0x4001 2000 AHB peripherals 0x4000 0000 SRAM memories external memory banks 0x0000 0000
002aaf775
reserved 0x4400 0000 0x4200 0000 0x4010 2000 0x4010 1000 0x4010 0000 reserved RTC OTP controller RTC domain peripherals event router CREG power mode control backup registers alarm timer ethernet reserved LCD USB1 USB0 AHB peripherals EMC SD/MMC SPIFI DMA reserved SCT clocking reset control peripherals RGU CCU2 CCU1 CGU
0x4006 0000 0x4005 4000 0x4005 3000 0x4005 2000 0x4005 1000 0x4005 0000
0x400F 4000 0x400F 2000 0x400F 1000 0x400F 0000 0x400E 0000 0x400D 0000 0x400C 0000 0x400B 0000 0x400A 0000 0x4009 0000 0x4008 0000 0x4006 0000 0x4005 0000 0x4004 0000
0x4004 7000 0x4004 6000 0x4004 5000 0x4004 4000 0x4004 3000 0x4004 2000 0x4004 1000 0x4004 0000 0x4001 2000 0x4001 0000 0x4000 9000 0x4000 8000
32-bit ARM Cortex-M4/M0 microcontroller
0x4000 7000 0x4000 6000 0x4000 5000 0x4000 4000 0x4000 3000 0x4000 2000 0x4000 1000 0x4000 0000
LPC4350/30/20/10
Fig 10. LPC4350/30/20/10 Memory mapping (peripherals)
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
7.14 Security features
7.14.1 AES decryption engine
The hardware AES engine can decode data using the AES algorithm. 7.14.1.1 Features
• • • •
Decoding of external flash data. Secure storage of decryption keys. Support for CMAC hash calculation to authenticate encrypted data. Data is processed in little endian mode. This means that the first byte read from flash is integrated into the AES codeword as least significant byte. The 16th byte read from flash is the most significant byte of the first AES codeword.
• AES engine performance of 1 byte/clock cycle. • Programmable through an on-chip API. • DMA transfers supported through the GPDMA.
7.14.2 One-Time Programmable (OTP) memory
The OTP provides 128 bit of memory for general purpose use and two 128-bit non-volatile memories to store AES keys or other custom data.
7.15 General Purpose I/O (GPIO)
The LPC4350/30/20/10 provide 8 GPIO ports with up to 31 GPIO pins each. Device pins that are not connected to a specific peripheral function are controlled by the GPIO registers. Pins may be dynamically configured as inputs or outputs. Separate registers allow setting or clearing any number of outputs simultaneously. The value of the output register may be read back as well as the current state of the port pins. All GPIO pins default to inputs with pull-up resistors enabled on reset.
7.15.1 Features
• Accelerated GPIO functions:
– GPIO registers are located on the AHB so that the fastest possible I/O timing can be achieved. – Mask registers allow treating sets of port bits as a group, leaving other bits unchanged. – All GPIO registers are byte and half-word addressable. – Entire port value can be written in one instruction.
• Bit-level set and clear registers allow a single instruction set or clear of any number of
bits in one port.
• Direction control of individual bits. • All I/O default to inputs after reset. • Up to eight GPIO pins can be selected from all GPIO pins to create an edge- or
level-sensitive GPIO interrupt request (GPIO interrupts).
LPC4350_30_20_10 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
72 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
• Two GPIO group interrupts can be triggered by any pin or pins in each port (GPIO
group0 and group1 interrupts).
7.16 Configurable digital peripherals
7.16.1 State Configurable Timer (SCT) subsystem
The SCT allows a wide variety of timing, counting, output modulation, and input capture operations. The inputs and outputs of the SCT are shared with the capture and match inputs/outputs of the 32-bit general purpose counter/timers. The SCT can be configured as two 16-bit counters or a unified 32-bit counter. In the two-counter case, in addition to the counter value the following operational elements are independent for each half:
• State variable • Limit, halt, stop, and start conditions • Values of Match/Capture registers, plus reload or capture control values
In the two-counter case, the following operational elements are global to the SCT, but the last three can use match conditions from either counter:
• • • • •
7.16.1.1
Clock selection Inputs Events Outputs Interrupts
Features
• • • • • • • •
Two 16-bit counters or one 32-bit counter. Counter(s) clocked by bus clock or selected input. Up counter(s) or up-down counter(s). State variable allows sequencing across multiple counter cycles. Event combines input or output condition and/or counter match in a specified state. Events control outputs and interrupts. Selected event(s) can limit, halt, start, or stop a counter. Supports: – 8 inputs (one input connected internally) – 16 outputs – 16 match/capture registers – 16 events – 32 states
7.16.2 Serial GPIO (SGPIO)
The Serial GPIOs offer standard GPIO functionality enhanced with features to accelerate serial stream processing.
LPC4350_30_20_10 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
73 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
7.16.2.1
Features
• Each SGPIO input/output slice can be used to perform a serial to parallel or parallel to
serial data conversion.
• 16 SGPIO input/output slices each with a 32-bit FIFO that can shift the input value
from a pin or an output value to a pin with every cycle of a shift clock.
• • • •
Each slice is double-buffered. Interrupt is generated on a full FIFO, shift clock, or pattern match. Slices can be concatenated to increase buffer size. Each slice has a 32-bit pattern match filter.
7.17 AHB peripherals
7.17.1 General Purpose DMA (GPDMA)
The DMA controller allows peripheral-to memory, memory-to-peripheral, peripheral-to-peripheral, and memory-to-memory transactions. Each DMA stream provides unidirectional serial DMA transfers for a single source and destination. For example, a bidirectional port requires one stream for transmit and one for receives. The source and destination areas can each be either a memory region or a peripheral for master 1, but only memory for master 0. 7.17.1.1 Features
• Eight DMA channels. Each channel can support an unidirectional transfer. • 16 DMA request lines. • Single DMA and burst DMA request signals. Each peripheral connected to the DMA
Controller can assert either a burst DMA request or a single DMA request. The DMA burst size is set by programming the DMA Controller.
• Memory-to-memory, memory-to-peripheral, peripheral-to-memory, and
peripheral-to-peripheral transfers are supported.
• Scatter or gather DMA is supported through the use of linked lists. This means that
the source and destination areas do not have to occupy contiguous areas of memory.
• Hardware DMA channel priority. • AHB slave DMA programming interface. The DMA Controller is programmed by
writing to the DMA control registers over the AHB slave interface.
• Two AHB bus masters for transferring data. These interfaces transfer data when a
DMA request goes active. Master 1 can access memories and peripherals, master 0 can access memories only.
• 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.
• Internal four-word FIFO per channel. • Supports 8, 16, and 32-bit wide transactions. • Big-endian and little-endian support. The DMA Controller defaults to little-endian
mode on reset.
LPC4350_30_20_10 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
74 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
• An interrupt to the processor can be generated on a DMA completion or when a DMA
error has occurred.
• Raw interrupt status. The DMA error and DMA count raw interrupt status can be read
prior to masking.
7.17.2 SPI Flash Interface (SPIFI)
The SPI Flash Interface allows low-cost serial flash memories to be connected to the ARM Cortex-M4 processor with little performance penalty compared to parallel flash devices with higher pin count. After a few commands configure the interface at startup, the entire flash content is accessible as normal memory using byte, halfword, and word accesses by the processor and/or DMA channels. Erasure and programming are handled by simple sequences of commands. Many serial flash devices use a half-duplex command-driven SPI protocol for device setup and initialization and then move to a half-duplex, command-driven 4-bit protocol for normal operation. Different serial flash vendors and devices accept or require different commands and command formats. SPIFI provides sufficient flexibility to be compatible with common flash devices and includes extensions to help insure compatibility with future devices. 7.17.2.1 Features
• • • • •
Interfaces to serial flash memory in the main memory map. Supports classic and 4-bit bidirectional serial protocols. Half-duplex protocol compatible with various vendors and devices. Data rates of up to 40 MB per second. Supports DMA access.
7.17.3 SD/MMC card interface
The SD/MMC card interface supports the following modes to control:
• • • •
Secure Digital memory (SD version 3.0) Secure Digital I/O (SDIO version 2.0) Consumer Electronics Advanced Transport Architecture (CE-ATA version 1.1) MultiMedia Cards (MMC version 4.4)
7.17.4 External Memory Controller (EMC)
The LPC4350/30/20/10 EMC is a Memory Controller peripheral offering support for asynchronous static memory devices such as RAM, ROM, and flash. In addition, it can be used as an interface with off-chip memory-mapped devices and peripherals. 7.17.4.1 Features
• Dynamic memory interface support including single data rate SDRAM. • Asynchronous static memory device support including RAM, ROM, and flash, with or
without asynchronous page mode.
• Low transaction latency.
LPC4350_30_20_10 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
75 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
• • • •
Read and write buffers to reduce latency and to improve performance. 8/16/32 data and 24 address lines wide static memory support. 16 bit and 32 bit wide chip select SDRAM memory support. Static memory features include: – 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 EMC_CKEOUT and EMC_CLK signals to
SDRAMs.
• Dynamic memory self-refresh mode controlled by software. • Controller supports 2048 (A0 to A10), 4096 (A0 to A11), and 8192 (A0 to A12) row
address synchronous memory parts. That is typical 512 MB, 256 MB, and 128 MB parts, with 4, 8, 16, or 32 data bits per device.
• Separate reset domains allow the for auto-refresh through a chip reset if desired.
Note: Synchronous static memory devices (synchronous burst mode) are not supported.
7.17.5 High-speed USB Host/Device/OTG interface (USB0)
Remark: The USB0 controller is available on parts LPC4350/30/20. See Table 2. The USB OTG module allows the LPC4350/30/20/10 to connect directly to a USB Host such as a PC (in device mode) or to a USB Device in host mode. 7.17.5.1 Features
• • • • • • • •
Contains UTMI+ compliant transceiver (PHY). Complies with Universal Serial Bus specification 2.0. Complies with USB On-The-Go supplement. Complies with Enhanced Host Controller Interface Specification. Supports auto USB 2.0 mode discovery. Supports all high-speed USB-compliant peripherals. Supports all full-speed USB-compliant peripherals. Supports software Host Negotiation Protocol (HNP) and Session Request Protocol (SRP) for OTG peripherals.
• Supports interrupts. • This module has its own, integrated DMA engine. • USB interface electrical test software included in ROM USB stack.
7.17.6 High-speed USB Host/Device interface with ULPI (USB1)
Remark: The USB1 controller is available on parts LPC4350/30. See Table 2.
LPC4350_30_20_10 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
76 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
The USB1 interface can operate as a full-speed USB Host/Device interface or can connect to an external ULPI PHY for High-speed operation. 7.17.6.1 Features
• • • • • • • •
Complies with Universal Serial Bus specification 2.0. Complies with Enhanced Host Controller Interface Specification. Supports auto USB 2.0 mode discovery. Supports all high-speed USB-compliant peripherals if connected to external ULPI PHY. Supports all full-speed USB-compliant peripherals. Supports interrupts. This module has its own, integrated DMA engine. USB interface electrical test software included in ROM USB stack.
7.17.7 LCD controller
Remark: The LCD controller is available on the LPC4350 parts. See Table 2. 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. An on-chip 512-byte color palette allows reducing bus utilization (i.e. memory size of the displayed data) while still supporting a large number of colors. The LCD interface includes its own DMA controller to allow it to operate independently of the CPU and other system functions. A built-in FIFO acts as a buffer for display data, providing flexibility for system timing. Hardware cursor support can further reduce the amount of CPU time needed to operate the display. 7.17.7.1 Features
• • • •
AHB master interface to access frame buffer. Setup and control via a separate AHB slave interface. Dual 16-deep programmable 64-bit wide FIFOs for buffering incoming display data. Supports single and dual-panel monochrome Super Twisted Nematic (STN) displays with 4-bit or 8-bit interfaces.
• Supports single and dual-panel color STN displays. • Supports Thin Film Transistor (TFT) color displays. • Programmable display resolution including, but not limited to: 320 200, 320 240,
640 200, 640 240, 640 480, 800 600, and 1024 768. Hardware cursor support for single-panel displays. 15 gray-level monochrome, 3375 color STN, and 32 K color palettized TFT support. 1, 2, or 4 bits-per-pixel (bpp) palettized displays for monochrome STN. 1, 2, 4, or 8 bpp palettized color displays for color STN and TFT. 16 bpp true-color non-palettized for color STN and TFT. 24 bpp true-color non-palettized for color TFT.
All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
• • • • • •
LPC4350_30_20_10
Objective data sheet
Rev. 3.1 — 5 January 2012
77 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
• • • • • •
Programmable timing for different display panels. 256 entry, 16-bit palette RAM, arranged as a 128 32-bit RAM. Frame, line, and pixel clock signals. AC bias signal for STN, data enable signal for TFT panels. Supports little and big-endian, and Windows CE data formats. LCD panel clock may be generated from the peripheral clock, or from a clock input pin.
7.17.8 Ethernet
Remark: The Ethernet peripheral is available on parts LPC4350/30. See Table 2. 7.17.8.1 Features
• • • • • •
10/100 Mbit/s TCP/IP hardware checksum IP checksum DMA support Power management remote wake-up frame and magic packet detection Supports both full-duplex and half-duplex operation – Supports CSMA/CD Protocol for half-duplex operation. – Supports IEEE 802.3x flow control for full-duplex operation. – Optional forwarding of received pause control frames to the user application in full-duplex operation. – Back-pressure support for half-duplex operation. – Automatic transmission of zero-quanta pause frame on deassertion of flow control input in full-duplex operation.
• Supports IEEE1588 time stamping and IEEE 1588 advanced time stamping (IEEE
1588-2008 v2).
7.18 Digital serial peripherals
7.18.1 UART1
The LPC4350/30/20/10 contain one UART with standard transmit and receive data lines, UART1 also provides a full modem control handshake interface and support for RS-485/9-bit mode allowing both software address detection and automatic address detection using 9-bit mode. UART1 includes a fractional baud rate generator. Standard baud rates such as 115200 Bd can be achieved with any crystal frequency above 2 MHz. 7.18.1.1 Features
• • • •
LPC4350_30_20_10
Maximum UART data bit rate of 8 MBit/s. 16 B Receive and Transmit FIFOs. Register locations conform to 16C550 industry standard. Receiver FIFO trigger points at 1 B, 4 B, 8 B, and 14 B.
All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
78 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
• Built-in fractional baud rate generator covering wide range of baud rates without a
need for external crystals of particular values.
• Auto baud capabilities and FIFO control mechanism that enables software flow
control implementation.
• Equipped with standard modem interface signals. This module also provides full
support for hardware flow control.
• Support for RS-485/9-bit/EIA-485 mode (UART1). • DMA support.
7.18.2 USART0/2/3
The LPC4350/30/20/10 contain three USARTs. In addition to standard transmit and receive data lines, the USARTs support a synchronous mode. The USARTs include a fractional baud rate generator. Standard baud rates such as 115200 Bd can be achieved with any crystal frequency above 2 MHz. 7.18.2.1 Features
• • • • •
Maximum UART data bit rate of 8 MBit/s. 16 B Receive and Transmit FIFOs. Register locations conform to 16C550 industry standard. Receiver FIFO trigger points at 1 B, 4 B, 8 B, and 14 B. Built-in fractional baud rate generator covering wide range of baud rates without a need for external crystals of particular values. control implementation.
• Auto baud capabilities and FIFO control mechanism that enables software flow • • • • •
Support for RS-485/9-bit/EIA-485 mode. USART3 includes an IrDA mode to support infrared communication. All USARTs have DMA support. Support for synchronous mode at a data bit rate of up to 8 Mbit/s. Smart card mode conforming to ISO7816 specification
7.18.3 SPI serial I/O controller
The LPC4350/30/20/10 contain 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. During a data transfer the master always sends 8 bits to 16 bits of data to the slave, and the slave always sends 8 bits to 16 bits of data to the master. 7.18.3.1 Features
• • • • •
LPC4350_30_20_10
Maximum SPI data bit rate Compliant with SPI specification Synchronous, serial, full duplex communication Combined SPI master and slave Maximum data bit rate of one eighth of the input clock rate
All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
79 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
• 8 bits to 16 bits per transfer
7.18.4 SSP serial I/O controller
Remark: The LPC4350/30/20/10 contain two SSP controllers. The SSP controller is 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. The SSP supports full duplex transfers, with frames of 4 bits to 16 bits of data flowing from the master to the slave and from the slave to the master. In practice, often only one of these data flows carries meaningful data. 7.18.4.1 Features
• Maximum SSP speed of Mbit/s (master) or Mbit/s (slave) • Compatible with Motorola SPI, 4-wire Texas Instruments SSI, and National
Semiconductor Microwire buses
• • • • •
Synchronous serial communication Master or slave operation 8-frame FIFOs for both transmit and receive 4-bit to 16-bit frame DMA transfers supported by GPDMA
7.18.5 I2C-bus interface
Remark: The LPC4350/30/20/10 each contain two I2C-bus interfaces. The I2C-bus is bidirectional 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). Transmitters and/or receivers can operate in either master or slave mode, depending on whether the chip has to initiate a data transfer or is only addressed. The I2C is a multi-master bus and can be controlled by more than one bus master connected to it. 7.18.5.1 Features
• I2C0 is a standard I2C compliant bus interface with open-drain pins. I2C0 also
supports Fast mode plus with bit rates up to 1 Mbit/s.
• • • • • •
I2C1 uses standard I/O pins with bit rates of up to 400 kbit/s (Fast I2C-bus). Easy to configure as master, slave, or master/slave. Programmable clocks allow versatile rate control. Bidirectional data transfer between masters and slaves. Multi-master bus (no central master). Arbitration between simultaneously transmitting masters without corruption of serial data on the bus. one serial bus.
• Serial clock synchronization allows devices with different bit rates to communicate via
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
80 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
• Serial clock synchronization can be used as a handshake mechanism to suspend and
resume serial transfer.
• The I2C-bus can be used for test and diagnostic purposes. • All I2C-bus controllers support multiple address recognition and a bus monitor mode.
7.18.6 I2S interface
Remark: The LPC4350/30/20/10 each contain two I2S-bus interfaces. The I2S-bus provides a standard communication interface for digital audio applications. The I2S-bus specification defines a 3-wire serial bus using one data line, one clock line, and one word select signal. The basic I2S-bus connection has one master, which is always the master, and one slave. The I2S-bus interface provides a separate transmit and receive channel, each of which can operate as either a master or a slave. 7.18.6.1 Features
• Both I2S interfaces have 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 192 kHz (16, 22.05, 32, 44.1, 48,
96, 192) kHz.
• Support for an audio master clock. • Configurable word select period in master mode (separately for I2S-bus input and
output).
• Two 8-word FIFO data buffers are provided, one for transmit and one for receive. • Generates interrupt requests when buffer levels cross a programmable boundary. • Two DMA requests for each I2S interface, controlled by programmable buffer levels.
These are connected to the GPDMA block.
• Controls include reset, stop and mute options separately for I2S-bus input and I2S-bus
output.
7.18.7 C_CAN
Remark: The LPC4350/30/20/10 each contain two C_CAN controllers. Controller Area Network (CAN) is the definition of a high performance communication protocol for serial data communication. The C_CAN controller is designed to provide a full implementation of the CAN protocol according to the CAN Specification Version 2.0B. The C_CAN controller allows to build powerful local networks with low-cost multiplex wiring by supporting distributed real-time control with a very high level of reliability. 7.18.7.1 Features
• • • •
LPC4350_30_20_10
Conforms to protocol version 2.0 parts A and B. Supports bit rate of up to 1 Mbit/s. Supports 32 Message Objects. Each Message Object has its own identifier mask.
All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
81 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
• Provides programmable FIFO mode (concatenation of Message Objects). • Provides maskable interrupts. • Supports Disabled Automatic Retransmission (DAR) mode for time-triggered CAN
applications.
• Provides programmable loop-back mode for self-test operation. 7.19 Counter/timers and motor control
7.19.1 General purpose 32-bit timers/external event counters
The LPC4350/30/20/10 include four 32-bit timer/counters. The timer/counter is designed to count cycles of the system derived clock or an externally-supplied clock. It can optionally generate interrupts, generate timed DMA requests, or perform other actions at specified timer values, based on four match registers. Each timer/counter also includes two capture inputs to trap the timer value when an input signal transitions, optionally generating an interrupt. 7.19.1.1 Features
• A 32-bit timer/counter with a programmable 32-bit prescaler. • Counter or timer operation. • Two 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 generate an interrupt.
• Four 32-bit match registers that allow:
– Continuous operation with optional interrupt generation on match. – Stop timer on match with optional interrupt generation. – Reset timer on match with optional interrupt generation.
• Up to four external outputs corresponding to match registers, with the following
capabilities: – Set LOW on match. – Set HIGH on match. – Toggle on match. – Do nothing on match.
• Up to two match registers can be used to generate timed DMA requests.
7.19.2 Motor control PWM
The motor control PWM is a specialized PWM supporting 3-phase motors and other combinations. Feedback inputs are provided to automatically sense rotor position and use that information to ramp speed up or down. An abort input is also provided that causes the PWM to immediately release all motor drive outputs. At the same time, the motor control PWM is highly configurable for other generalized timing, counting, capture, and compare applications.
7.19.3 Quadrature Encoder Interface (QEI)
A quadrature encoder, also known as a 2-channel incremental encoder, converts angular displacement into two pulse signals. By monitoring both the number of pulses and the relative phase of the two signals, the user can track the position, direction of rotation, and
LPC4350_30_20_10 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
82 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
velocity. In addition, a third channel, or index signal, can be used to reset the position counter. The quadrature encoder interface decodes the digital pulses from a quadrature encoder wheel to integrate position over time and determine direction of rotation. In addition, the QEI can capture the velocity of the encoder wheel. 7.19.3.1 Features
• • • • • • • • • •
Tracks encoder position. Increments/decrements depending on direction. Programmable for 2 or 4 position counting. Velocity capture using built-in timer. Velocity compare function with “less than” interrupt. Uses 32-bit registers for position and velocity. Three position compare registers with interrupts. Index counter for revolution counting. Index compare register with interrupts. Can combine index and position interrupts to produce an interrupt for whole and partial revolution displacement.
• Digital filter with programmable delays for encoder input signals. • Can accept decoded signal inputs (clk and direction).
7.19.4 Repetitive Interrupt (RI) timer
The repetitive interrupt timer provides a free-running 32-bit counter which is compared to a selectable value, generating an interrupt when a match occurs. Any bits of the timer/compare can be masked such that they do not contribute to the match detection. The repetitive interrupt timer can be used to create an interrupt that repeats at predetermined intervals. 7.19.4.1 Features
• 32-bit counter. Counter can be free-running or be reset by a generated interrupt. • 32-bit compare value. • 32-bit compare mask. An interrupt is generated when the counter value equals the
compare value, after masking. This allows for combinations not possible with a simple compare.
7.19.5 Windowed WatchDog Timer (WWDT)
The purpose of the watchdog is to reset the controller if software fails to periodically service it within a programmable time window. 7.19.5.1 Features
• Internally resets chip if not periodically reloaded during the programmable time-out
period.
• Optional windowed operation requires reload to occur between a minimum and
maximum time period, both programmable.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
83 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
• Optional warning interrupt can be generated at a programmable time prior to
watchdog time-out.
• Enabled by software but requires a hardware reset or a watchdog reset/interrupt to be
disabled.
• • • •
Incorrect feed sequence causes reset or interrupt if enabled. Flag to indicate watchdog reset. Programmable 24-bit timer with internal prescaler. Selectable time period from (Tcy(WDCLK) 256 4) to (Tcy(WDCLK) 224 4) in multiples of Tcy(WDCLK) 4.
7.20 Analog peripherals
7.20.1 Analog-to-Digital Converter (ADC0/1)
7.20.1.1 Features
• • • • • • •
10-bit successive approximation analog to digital converter. Input multiplexing among 8 pins. Power-down mode. Measurement range 0 to VDDA. Sampling frequency up to 400 kSamples/s. Burst conversion mode for single or multiple inputs. Optional conversion on transition on ADCTRIG0 or ADCTRIG1 pins, combined timer outputs 8 or 15, or the PWM output MCOA2.
• Individual result registers for each A/D channel to reduce interrupt overhead. • DMA support.
7.20.2 Digital-to-Analog Converter (DAC)
7.20.2.1 Features
• • • •
10-bit resolution Monotonic by design (resistor string architecture) Controllable conversion speed Low power consumption
7.21 Peripherals in the RTC power domain
7.21.1 RTC
The Real Time Clock (RTC) is a set of counters for measuring time when system power is on, and optionally when it is off. It uses very little power when its registers are not being accessed by the CPU, especially reduced power modes. The RTC is clocked by a separate 32 kHz oscillator that produces a 1 Hz internal time reference. The RTC is powered by its own power supply pin, VBAT.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
84 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
7.21.1.1
Features
• Measures the passage of time to maintain a calendar and clock. Provides seconds,
minutes, hours, day of month, month, year, day of week, and day of year.
• Ultra-low power design to support battery powered systems. Less than required
for battery operation. Uses power from the CPU power supply when it is present.
• • • • •
Dedicated battery power supply pin. RTC power supply is isolated from the rest of the chip. Calibration counter allows adjustment to better than 1 sec/day with 1 sec resolution. Periodic interrupts can be generated from increments of any field of the time registers. Alarm interrupt can be generated for a specific date/time.
7.21.2 Alarm timer
The alarm timer is a 16-bit timer and counts down at 1 kHz from a preset value generating alarms in intervals of up to 1 min. The counter triggers a status bit when it reaches 0x00 and asserts an interrupt if enabled. The alarm timer is part of the RTC power domain and can be battery powered.
7.22 System control
7.22.1 Configuration registers (CREG)
The following settings are controlled in the configuration register block:
• • • • • • •
BOD trip settings Oscillator output DMA-to-peripheral muxing Ethernet mode Memory mapping Timer/USART inputs Enabling the USB controllers
In addition, the CREG block contains the part identification and part configuration information.
7.22.2 System Control Unit (SCU)
The system control unit determines the function and electrical mode of the digital pins and allows switching between analog and digital modes of pads that are capable of both modes. By default function 0 is selected for all pins with pull-up enabled. Analog I/Os like one set of the ADC and the DAC pins as well as most USB functions reside on separate pins and are not controlled through the SCU.
7.22.3 Clock Generation Unit (CGU)
The Clock Generator Unit (CGU) generates several base clocks. The CGU outputs are unrelated in frequency and phase and can have different clock sources within the CGU. One CGU output is routed to the CLKOUT pins.
LPC4350_30_20_10 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
85 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Within each clock area there may be multiple branch clocks, which offers very flexible control for power-management purposes. All branch clocks are outputs of one of two Clock Control Units (CCUs) and can be controlled independently. Branch clocks derived from the same base clock are synchronous in frequency and phase.
7.22.4 Internal RC oscillator (IRC)
The IRC is used as the clock source for the WWDT and/or as the clock that drives the PLLs and subsequently the CPU. The nominal IRC frequency is 12 MHz. The IRC is trimmed to 1 % accuracy over the entire voltage and temperature range. Upon power-up or any chip reset, the LPC4350/30/20/10 use the IRC as the clock source. Software may later switch to one of the other available clock sources.
7.22.5 PLL0USB (for USB0)
PLL0 is a dedicated PLL for the USB0 High-speed controller. PLL0 accepts an input clock frequency from an external oscillator in the range of 14 kHz to 25 MHz. The input frequency is multiplied up to a high frequency with a Current Controlled Oscillator (CCO). The CCO operates in the range of 4.3 MHz to 550 MHz.
7.22.6 PLL0AUDIO (for audio)
The audio PLL PLL0AUDIO is a general purpose PLL with a very small step size. This PLL accepts an input clock frequency derived from an external oscillator or internal IRC. The input frequency is multiplied up to a high frequency with a Current Controlled Oscillator (CCO). A sigma-delta converter modulates the PLL divider ratios to obtain the desired output frequency. The output frequency can be set as a multiple of the sampling frequency fs to 32fs, 64fs, 128 fs, 256 fs, 384 fs, 512 fs and the sampling frequency fs can range from 16 kHz to 192 kHz (16, 22.05, 32, 44.1, 48, 96,192) kHz. Many other frequencies are possible as well.
7.22.7 System PLL1
The PLL1 accepts an input clock frequency from an external oscillator in the range of 10 MHz to 25 MHz. The input frequency is multiplied up to a high frequency with a Current Controlled Oscillator (CCO). The multiplier can be an integer value from 1 to 32. The CCO operates in the range of 156 MHz to 320 MHz, so there is an additional divider in the loop to keep the CCO within its frequency range while the PLL is providing the desired output frequency. The output divider may be set to divide 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, and then connect to the PLL as a clock source. The PLL settling time is 100 s.
7.22.8 Reset Generation Unit (RGU)
The RGU allows generation of independent reset signals for individual blocks and peripherals on the LPC4350/30/20/10.
7.22.9 Power control
The LPC4350/30/20/10 feature several independent power domains to control power to the core and the peripherals (see Figure 11). The RTC and its associated peripherals (the alarm timer, the CREG block, the OTP controller, the back-up registers, and the event
LPC4350_30_20_10 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
86 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
router) are located in the RTC power-domain which can be powered by a battery supply or the main regulator. A power selector switch ensures that the RTC block is always powered on.
LPC43xx
VDDIO VSS REGULATOR VDDREG MAIN POWER DOMAIN to I/O pads to cores to memories, peripherals, oscillators, PLLs
VBAT
POWER SELECTOR
ULTRA LOW-POWER REGULATOR
to RTC domain peripherals RESET WAKEUP0/1/2/3
to RTC I/O pads (Vps) RTCX1 RTCX2 32 kHz OSCILLATOR
RESET/WAKE-UP CONTROL BACKUP REGISTERS REAL-TIME CLOCK
ALARM
ALWAYS-ON/RTC POWER DOMAIN
DAC VDDA VSSA ADC POWER DOMAIN
ADC
VPP OTP POWER DOMAIN USB0_VDDA3V_DRIVER USB0_VDDA3V3 USB0 POWER DOMAIN
OTP
USB0
002aag378
Fig 11. Power domains
The LPC4350/30/20/10 support four reduced power modes: Sleep, Deep-sleep, Power-down, and Deep power-down. The LPC4350/30/20/10 can wake up from Deep-sleep, Power-down, and Deep power-down modes via the WAKEUP[3:0] pins and interrupts generated by battery powered blocks in the RTC power domain.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
87 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
7.23 Serial Wire Debug/JTAG
Debug and trace functions are integrated into the ARM Cortex-M4. Serial wire debug and trace functions are supported in addition to a standard JTAG debug and parallel trace functions. The ARM Cortex-M4 is configured to support up to eight breakpoints and four watch points. The ARM Cortex-M0 coprocessor supports JTAG boundary scan and serial wire debug.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
88 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
8. Limiting values
Table 6. Limiting values In accordance with the Absolute Maximum Rating System (IEC 60134).[1] Symbol VDD(REG)(3V3) VDD(IO) VDDA(3V3) VBAT Vprog(pf) VI Parameter regulator supply voltage (3.3 V) input/output supply voltage analog supply voltage (3.3 V) battery supply voltage polyfuse programming voltage input voltage Conditions on pin VDD_REG on pin VDDIO on pin VDDA for the RTC on pin VPP only valid when the VDD(IO) supply voltage is present 5 V tolerant I/O pins (see Table 3) ADC/DAC pins and digital I/O pins configured for an analog function (see Table 3) USB0 pins (see Table 3) USB1 pins USB1_DP and USB1_DM (see Table 3) IDD ISS Ilatch supply current ground current I/O latch-up current per supply pin per ground pin (0.5VDD(IO)) < VI < (1.5VDD(IO)); Tj < 125 C Tstg Ptot(pack) storage temperature total power dissipation (per package) electrostatic discharge voltage based on package heat transfer, not device power consumption human body model; all pins
[5] [4] [3] [3] [2]
Min 2.2 2.2 2.2 2.2 2.7 0.5
Max 3.6 3.6 3.6 3.6 3.6 5.5
Unit V V V V V V
0.5
VDDA(3V3)
V
0 0
5.2 5.2
V V
-
100 100 100
mA mA mA
65 -
+150 1.5
C W
VESD
2000
+2000
V
[1]
The following applies to the limiting values: a) This product includes circuitry specifically designed for the protection of its internal devices from the damaging effects of excessive static charge. Nonetheless, it is suggested that conventional precautions be taken to avoid applying greater than the rated maximum. b) Parameters are valid over operating temperature range unless otherwise specified. All voltages are with respect to VSS unless otherwise noted.
[2] [3] [4] [5]
Including voltage on outputs in 3-state mode; at 2.0 V the speed will be reduced. The peak current is limited to 25 times the corresponding maximum current. Dependent on package type. Human body model: equivalent to discharging a 100 pF capacitor through a 1.5 k series resistor.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
89 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 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. The I/O power dissipation of the I/O pins is often small and many times can be negligible. However it can be significant in some applications.
Table 7. Thermal characteristics VDD = 2.2 V to 3.6 V; Tamb = 40 C to +85 C unless otherwise specified; Symbol Tj(max) Parameter maximum junction temperature Conditions Min Typ Max Unit C
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
90 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
10. Static characteristics
Table 8. Static characteristics Tamb = 40 C to +85 C, unless otherwise specified. Symbol Supply pins VDD(IO) VDD(REG)(3V3) VDDA(3V3) VBAT VDD(3V3) IDD(REG)(3V3) input/output supply voltage regulator supply voltage (3.3 V) analog supply voltage (3.3 V) battery supply voltage supply voltage (3.3 V) on pin VDD; LQFP100 package only on pin VDDA 2.2 2.2 2.2 2.2 2.2 3.6 3.6 3.6 3.6 3.6 V V V V V Parameter Conditions Min Typ[1] Max Unit
regulator supply current Regulator supply active (3.3 V) mode; code
while(1){}
executed from RAM; all peripherals disabled CCLK = 12 MHz; PLL1 disabled CCLK = 12 MHz; PLL1 enabled CCLK = 120 MHz CCLK = 156 MHz IDD(REG)(3V3) regulator supply current Regulator supply low (3.3 V) power mode; after WFE/WFI instruction executed from RAM; all peripherals disabled sleep mode deep-sleep mode power-down mode deep power-down mode IBAT battery supply current deep-sleep mode power-down mode deep power-down mode IDD(IO) I/O supply current deep sleep mode power-down mode deep power-down mode IDD(ADC) ADC supply current deep sleep mode power-down mode deep power-down mode
[7] [7] [7] [2][3] [2] [2] [2] [2][5] [2][5] [2][5] [2][3]
6.5 mA mA mA mA 7.5 25 30
[2][4]
[2][4] [2][4]
-
5.5 75 16 0.02 15 15 3 1 1 0.03 0.4 0.4 0.007
-
mA A A A A A A A A A A A A
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
91 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 8. Static characteristics …continued Tamb = 40 C to +85 C, unless otherwise specified. Symbol RESET pin VIH VIL Vhys HIGH-level input voltage LOW-level input voltage hysteresis voltage
[6]
Parameter
Conditions
Min
Typ[1]
Max 5.5
Unit V
0.8 (Vps 0.35) 0.5 -
[6]
0.3 (Vps V 0.1) V
[6]
0.05 (Vps 0.35) 3 3
Standard I/O pins - normal drive strength CI IIL IIH input capacitance LOW-level input current VI = 0 V; on-chip pull-up resistor disabled HIGH-level input current OFF-state output current VI = VDD(IO); on-chip pull-down resistor disabled VO = 0 V to VDD(IO); on-chip pull-up/down resistors disabled; absolute value pin configured to provide a digital function; VDD(IO) 2.2 V VDD(IO) = 0 V VO VIH VIL Vhys VOH VOL IOH IOL IOHS IOLS Ipd output voltage HIGH-level input voltage LOW-level input voltage hysteresis voltage HIGH-level output voltage LOW-level output voltage HIGH-level output current LOW-level output current IOH = 6 mA IOL = 6 mA VOH = VDD(IO) 0.4 V VOL = 0.4 V
[9] [8]
2 -
pF nA nA
IOZ
-
3
-
nA
VI
input voltage
0
-
5.5
V
0 0 0.7 VDD(IO) 0.5 0.1 VDD(IO) VDD(IO) 0.4 6 6 -
93
3.6 VDD(IO) 5.5 0.3 VDD(IO) 0.4 86.5 76.5 -
V V V V V V V mA mA mA mA A
output active
HIGH-level short-circuit drive HIGH; connected to output current ground LOW-level short-circuit output current pull-down current drive LOW; connected to VDD(IO) VI = 5 V
[9]
[11] [12] [13]
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
92 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 8. Static characteristics …continued Tamb = 40 C to +85 C, unless otherwise specified. Symbol Ipu Parameter pull-up current Conditions VI = 0 V
[11] [12] [13]
Min -
Typ[1] 62
Max -
Unit A
VDD(IO) < VI 5 V Rs series resistance on I/O pins with analog function; analog function enabled
-
10 200
-
A
I/O pins - high drive strength CI IIL IIH input capacitance LOW-level input current VI = 0 V; on-chip pull-up resistor disabled HIGH-level input current OFF-state output current VI = VDD(IO); on-chip pull-down resistor disabled VO = 0 V to VDD(IO); on-chip pull-up/down resistors disabled; absolute value pin configured to provide a digital function; VDD(IO) 2.2 V VDD(IO) = 0 V VO VIH VIL Vhys Ipd output voltage HIGH-level input voltage LOW-level input voltage hysteresis voltage pull-down current VI = VDD(IO)
[11] [12] [13] [8]
-
3 3
2 -
pF nA nA
IOZ
-
3
-
nA
VI
input voltage
0 0 0 0.7 VDD(IO) 0.5 0.1 VDD(IO) -
62
5.5 3.6 VDD(IO) 5.5 0.3 VDD(IO) -
V V V V V V A
output active
Ipu
pull-up current
VI = 0 V
[11] [12] [13]
-
62
-
A
VDD(IO) < VI 5 V I/O pins - high drive strength: standard drive mode IOH IOL IOHS IOLS HIGH-level output current LOW-level output current VOH = VDD(IO) 0.4 V VOL = 0.4 V
[9] [12] [9] [12]
4 4 -
10 -
32 32
A mA mA mA mA
HIGH-level short-circuit drive HIGH; connected to output current ground LOW-level short-circuit output current drive LOW; connected to VDD(IO)
I/O pins - high drive strength: medium drive mode
LPC4350_30_20_10 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
93 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 8. Static characteristics …continued Tamb = 40 C to +85 C, unless otherwise specified. Symbol IOH IOL IOHS IOLS Parameter HIGH-level output current LOW-level output current Conditions VOH = VDD(IO) 0.4 V VOL = 0.4 V
[9] [12] [9] [12]
Min 8 8 -
Typ[1] -
Max 65 63
Unit mA mA mA mA
HIGH-level short-circuit drive HIGH; connected to output current ground LOW-level short-circuit output current HIGH-level output current LOW-level output current drive LOW; connected to VDD(IO) VOH = VDD(IO) 0.4 V VOL = 0.4 V
I/O pins - high drive strength: high drive mode IOH IOL IOHS IOLS 14 14
[9] [12] [9] [12]
-
113 110
mA mA mA mA
HIGH-level short-circuit drive HIGH; connected to output current ground LOW-level short-circuit output current HIGH-level output current LOW-level output current drive LOW; connected to VDD(IO) VOH = VDD(IO) 0.4 V VOL = 0.4 V
-
I/O pins - high drive strength: ultra-high drive mode IOH IOL IOHS IOLS 20 20
[9] [12] [9] [12]
-
165 156
mA mA mA mA
HIGH-level short-circuit drive HIGH; connected to output current ground LOW-level short-circuit output current input capacitance LOW-level input current VI = 0 V; on-chip pull-up resistor disabled HIGH-level input current OFF-state output current VI = VDD(IO); on-chip pull-down resistor disabled VO = 0 V to VDD(IO); on-chip pull-up/down resistors disabled; absolute value pin configured to provide a digital function; VDD(IO) 2.2 V VDD(IO) = 0 V drive LOW; connected to VDD(IO)
-
I/O pins - high-speed CI IIL IIH 3 3 2 pF nA nA
IOZ
-
3
-
nA
VI
input voltage
[8]
0 0 0 0.7 VDD(IO) 0.5
-
5.5 3.6 VDD(IO) 5.5 0.3 VDD(IO)
V V V V V
VO VIH VIL
output voltage HIGH-level input voltage LOW-level input voltage
output active
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
94 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 8. Static characteristics …continued Tamb = 40 C to +85 C, unless otherwise specified. Symbol Vhys VOH VOL IOH IOL IOHS IOLS Ipd Parameter hysteresis voltage HIGH-level output voltage LOW-level output voltage HIGH-level output current LOW-level output current IOH = 8 mA IOL = 8 mA VOH = VDD(IO) 0.4 V VOL = 0.4 V
[9]
Conditions
Min 0.1 VDD(IO) VDD(IO) 0.4 8 8 -
Typ[1] 62
Max 0.4 86 76 -
Unit V V V mA mA mA mA A
HIGH-level short-circuit drive HIGH; connected to output current ground LOW-level short-circuit output current pull-down current drive LOW; connected to VDD(IO) VI = VDD(IO)
[9]
[11] [12] [13]
Ipu
pull-up current
VI = 0 V
[11] [12] [13]
-
62
-
A
VDD(IO) < VI 5 V Open-drain VIH VIL Vhys VOL ILI Oscillator pins Vi(XTAL1) Vo(XTAL2) Cio USB0 pins[15] Rpd VIC pull-down resistance common-mode input voltage on pin USB0_VBUS high-speed mode full-speed/low-speed mode chirp mode
LPC4350_30_20_10
0.7 VDD(IO) 0.5 0.1 VDD(IO)
0 0.14 4.5 -
0.3 VDD(IO) 0.4 10 1.2 1.2 0.8
A V V V V A A V V pF
I2C0-bus
pins
HIGH-level input voltage LOW-level input voltage hysteresis voltage LOW-level output voltage input leakage current IOLS = 3 mA VI = VDD(IO) VI = 5 V input voltage on pin XTAL1 output voltage on pin XTAL2 input/output capacitance
[14] [10]
0.5 0.5 -
48 50 800 50
64 200 -
80 500 2500 600
k mV mV mV
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
95 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 8. Static characteristics …continued Tamb = 40 C to +85 C, unless otherwise specified. Symbol Vi(dif) USB1 pins IOZ VBUS VDI VCM Vth(rs)se Parameter differential input voltage (USB1_DP/USB1_DM)[15] OFF-state output current bus supply voltage differential input sensitivity voltage differential common mode voltage range single-ended receiver switching threshold voltage LOW-level output voltage for low-/full-speed HIGH-level output voltage (driven) for low-/full-speed RL of 1.5 k to 3.6 V (D+) (D) includes VDI range 0 V < VI < 3.3 V
[15]
Conditions
Min 100 0.2 0.8 0.8
Typ[1] 400 -
Max 1100 10 5.25 2.5 2.0
Unit mV A V V V V
VOL
-
-
0.18
V
VOH
RL of 15 k to GND
2.8
-
3.5
V
Ctrans ZDRV
transceiver capacitance pin to GND driver output with 33 series resistor; impedance for driver steady state drive which is not high-speed capable
[16]
36
-
20 44.1
pF
[1] [2] [3] [4] [5] [6] [7] [8] [9]
Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply voltages. VDD(REG)(3V3) = VDD(IO)= VDDA(3V3) = 3.3 V; Tamb = 25 C for all power consumption measurements. PLL1 disabled. Normal power mode. PLL1 enabled. Normal power mode. On pin VBAT; Tamb = 25 C. VDD(REG)(3V3) not present. Vps corresponds to the output of the power switch (see Figure 11) which is determined by the greater of VBAT and VDD(Reg)(3V3). VDDA(3V3) = 3.3 V; Tamb = 25 C. VDD(IO) supply voltage must be present. Allowed as long as the current limit does not exceed the maximum current allowed by the device.
[10] To VSS. [11] The values specified are simulated and absolute values. [12] The weak pull-up resistor is connected to the VDD(IO) rail and pulls up the I/O pin to the VDD(IO) level. [13] The input cell disables the weak pull-up resistor when the applied input voltage exceeds VDD(IO). [14] The parameter value specified is a simulated value excluding bond capacitance. [15] For USB operation 3.0 V VDD((IO) 3.6 V. Guaranteed by design. [16] Includes external resistors of 33 1 % on D+ and D.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
96 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
10.1 Electrical pin characteristics
X X (X) X
001aab173
X
X
X X X X X X (X) X
X
X
Conditions: VDD(REG)(3V3) = VDD(IO) = 3.3 V; standard port pins.
Fig 12. Typical HIGH-level output voltage VOH versus HIGH-level output source current IOH
X X (X) X
001aab173
X
X
X X X X X X (X) X
X
X
Conditions: VDD(REG)(3V3) = VDD(IO) = 3.3 V; standard port pins.
Fig 13. Typical LOW-level output current IOL versus LOW-level output voltage VOL
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
97 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
+20 Ipu (μA) 0
002aag625
-20 T = 25 °C -40 °C -40
-60
-80 0 1 2 3 4 VI (V) 5
Conditions: VDD(IO)) = 3.3 V. Simulated values. Values at T = 25 C are typical values. Values at T = -40 C correspond to minimum values.
Fig 14. Typical pull-up current Ipu versus input voltage VI
120 Ipd (μA) 90
002aag626
60 T =25 °C -40 °C
30
0 0 1 2 3 4 VI (V) 5
Conditions: VDD(IO)) = 3.3 V. Simulated values. Values at T = 25 C are typical values. Values at T = -40 C correspond to maximum values.
Fig 15. Typical pull-down current Ipd versus input voltage VI
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
98 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
10.2 Power consumption
X X (X) X
001aab173
X
X
X X X X X X (X) X
X
X
Conditions: .
Fig 16. Typical supply current versus regulator supply voltage VDD(REEG)(3V3) in active mode
X X (X) X
001aab173
X
X
X X X X X X (X) X
X
X
Conditions: .
Fig 17. Typical supply current versus temperature in active mode
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
99 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
X X (X) X
001aab173
X
X
X X X X X X (X) X
X
X
Conditions:
Fig 18. Typical supply current versus temperature in Sleep mode
X X (X) X
001aab173
X
X
X X X X X X (X) X
X
X
Conditions:
Fig 19. Typical supply current versus temperature in Deep-sleep mode
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
100 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
X X (X) X
001aab173
X
X
X X X X X X (X) X
X
X
Fig 20. Typical supply current versus temperature in Power-down mode
X X (X) X
001aab173
X
X
X X X X X X (X) X
X
X
Fig 21. Typical supply current versus temperature in Deep power-down mode
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
101 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 9. Power consumption for individual peripherals Tamb = 25 C; VDD(REEG)(3V3) = 3.3 V. Peripheral
[1]
Conditions
Typical IDD[1]
Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply voltages.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
102 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
11. Dynamic characteristics
11.1 Wake-up times
Table 10. Dynamic characteristic: Wake-up from Deep-sleep, Power-down, and Deep power-down modes Tamb = 40 C to +85 C Symbol Parameter twake Conditions
[2]
Min 3 Tcy(clk) 12 -
Typ[1]
Max
Unit ns s s s
wake-up time from Sleep mode from Deep-sleep and Power-down mode from Deep power-down mode after reset
5 Tcy(clk) 51 250 250 -
[1] [2]
Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply voltages. Tcy(clk) = 1/CCLK with CCLK = CPU clock frequency.
11.2 External clock
Table 11. Dynamic characteristic: external clock Tamb = 40 C to +85 C; VDD(IO) over specified ranges.[1] Symbol Parameter fosc Tcy(clk) tCHCX tCLCX
[1] [2]
Conditions
Min 1 40 Tcy(clk) 0.4 Tcy(clk) 0.4
Typ[2] Max 25 1000 Tcy(clk) 0.6 Tcy(clk) 0.6
Unit MHz ns ns ns
oscillator frequency clock cycle time clock HIGH time clock LOW time
Parameters are valid over operating temperature range unless otherwise specified. Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply voltages.
tCHCX tCLCX Tcy(clk)
002aag698
Fig 22. External clock timing (with an amplitude of at least Vi(RMS) = 200 mV)
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
103 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
11.3 Crystal oscillator
Table 12. Dynamic characteristic: oscillator Tamb = 40 C to +85 C; VDD(IO), VDD(REG)(3V3) over specified ranges.[1] Symbol tjit(per) Parameter period jitter time Conditions MHz)[5]
[3][4]
Min [3][4]
Typ[2] 13.2 6.6 4.8 4.3 3.7
Max -
Unit ps ps ps ps ps
Low-frequency mode (1 MHz - 20
5 MHz crystal 10 MHz crystal 15 MHz crystal
High-frequency mode (20 MHz - 25 tjit(per) period jitter time
MHz)[6] -
20 MHz crystal 25 MHz crystal
[1] [2] [3] [4] [5] [6]
Parameters are valid over operating temperature range unless otherwise specified. Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply voltages. Indicates RMS period jitter. PLL-induced jitter is not included. Select HF = 0 in the XTAL_OSC_CTRL register. Select HF = 1 in the XTAL_OSC_CTRL register.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
104 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
11.4 IRC and RTC oscillators
Table 13. Dynamic characteristic: IRC and RTC oscillators Tamb = 40 C to +85 C; 2.2 V VDD(REG)(3V3) 3.6 V.[1] Symbol fosc(RC) fi(RTC)
[1] [2]
Parameter internal RC oscillator frequency RTC input frequency
Conditions -
Min 11.88 -
Typ[2] 12 32.768
Max 12.12 -
Unit MHz kHz
Parameters are valid over operating temperature range unless otherwise specified. Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply voltages.
X X (X) X
001aab173
X
X
X X X X X X (X) X
X
X
Conditions: Frequency values are typical values.
Fig 23. Internal RC oscillator frequency versus temperature
11.5 I2C-bus
Table 14. Dynamic characteristic: I2C-bus pins Tamb = 40 C to +85 C; 2.2 V VDD(REG)(3V3) 3.6 V.[1] Symbol fSCL Parameter SCL clock frequency Conditions Standard-mode Fast-mode Fast-mode Plus tf fall time
[3][4][5][6]
Min 0 0 0 -
Max 100 400 1 300
Unit kHz kHz MHz ns
of both SDA and SCL signals Standard-mode Fast-mode Fast-mode Plus
20 + 0.1 Cb 4.7 1.3 0.5
300 120 -
ns ns s s s
tLOW
LOW period of the SCL clock
Standard-mode Fast-mode Fast-mode Plus
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
105 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 14. Dynamic characteristic: I2C-bus pins Tamb = 40 C to +85 C; 2.2 V VDD(REG)(3V3) 3.6 V.[1] Symbol tHIGH Parameter HIGH period of the SCL clock Conditions Standard-mode Fast-mode Fast-mode Plus tHD;DAT data hold time
[2][3][7]
Min 4.0 0.6 0.26 0 0 0 250 100 50
Max -
Unit s s s s s s ns ns ns
Standard-mode Fast-mode Fast-mode Plus
tSU;DAT
data set-up time
[8][9]
Standard-mode Fast-mode Fast-mode Plus
[1] [2] [3] [4] [5]
Parameters are valid over operating temperature range unless otherwise specified. tHD;DAT is the data hold time that is measured from the falling edge of SCL; applies to data in transmission and the acknowledge. A device must internally provide a hold time of at least 300 ns for the SDA signal (with respect to the VIH(min) of the SCL signal) to bridge the undefined region of the falling edge of SCL. Cb = total capacitance of one bus line in pF. If mixed with Hs-mode devices, faster fall times are allowed. The maximum tf for the SDA and SCL bus lines is specified at 300 ns. The maximum fall time for the SDA output stage tf is specified at 250 ns. This allows series protection resistors to be connected in between the SDA and the SCL pins and the SDA/SCL bus lines without exceeding the maximum specified tf.
[6] [7]
In Fast-mode Plus, fall time is specified the same for both output stage and bus timing. If series resistors are used, designers should allow for this when considering bus timing. The maximum tHD;DAT could be 3.45 s and 0.9 s for Standard-mode and Fast-mode but must be less than the maximum of tVD;DAT or tVD;ACK by a transition time. This maximum must only be met if the device does not stretch the LOW period (tLOW) of the SCL signal. If the clock stretches the SCL, the data must be valid by the set-up time before it releases the clock. tSU;DAT is the data set-up time that is measured with respect to the rising edge of SCL; applies to data in transmission and the acknowledge. A Fast-mode I2C-bus device can be used in a Standard-mode I2C-bus system but the requirement tSU;DAT = 250 ns must then be met. This will automatically be the case if the device does not stretch the LOW period of the SCL signal. If such a device does stretch the LOW period of the SCL signal, it must output the next data bit to the SDA line tr(max) + tSU;DAT = 1000 + 250 = 1250 ns (according to the Standard-mode I2C-bus specification) before the SCL line is released. Also the acknowledge timing must meet this set-up time.
[8] [9]
tf SDA 70 % 30 % tf 70 % 30 % 70 % 30 % tHD;DAT
tSU;DAT
tVD;DAT tHIGH
SCL
70 % 30 %
70 % 30 % tLOW
70 % 30 %
S
1 / fSCL
002aaf425
Fig 24. I2C-bus pins clock timing
LPC4350_30_20_10 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
106 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
11.6 I2S-bus interface
Table 15. Dynamic characteristics: I2S-bus interface pins Tamb = 25 C; 2.2 V VDD(REG)(3V3) 3.6 V; 2.7 V VDD(IO) 3.6 V; CL = 20 pF. Conditions and data refer to I2S0 and I2S1 pins. Simulated values. Symbol tr tf tWH tWL Parameter rise time fall time pulse width HIGH pulse width LOW on pins I2Sx_TX_SCK and I2Sx_RX_SCK on pins I2Sx_TX_SCK and I2Sx_RX_SCK Conditions Min Typ 4 4 Max Unit ns ns ns common to input and output
output tv(Q) input tsu(D) th(D) data input set-up time on pin I2Sx_RX_SDA on pin I2Sx_RX_WS data input hold time on pin I2Sx_RX_SDA on pin I2Sx_RX_WS
[1]
[1] [1]
data output valid time on pin I2Sx_TX_SDA on pin I2Sx_TX_WS
[1]
-
4.4 4.3 0 0.20 3.7 3.9
-
ns ns ns ns ns ns
Clock to the I2S-bus interface BASE_APB1_CLK = 150 MHz; peripheral clock to the I2S-bus interface PCLK = BASE_APB1_CLK / 12. I2S clock cycle time Tcy(clk) = 79.2 ns; corresponds to the SCK signal in the I2S-bus specification.
Tcy(clk)
tf
tr
I2Sx_TX_SCK
tWH I2Sx_TX_SDA
tWL
tv(Q) I2Sx_TX_WS tv(Q)
002aag497
Fig 25. I2S-bus timing (transmit)
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
107 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Tcy(clk)
tf
tr
I2Sx_RX_SCK
tWH I2Sx_RX_SDA
tWL
tsu(D)
th(D)
I2Sx_RX_WS tsu(D) tsu(D)
002aag498
Fig 26. I2S-bus timing (receive)
11.7 USART interface
Table 16. Dynamic characteristics: USART interface Tamb = 25 C; 2.2 V VDD(REG)(3V3) 3.6 V; 2.7 V VDD(IO) 3.6 V; CL = 20 pF. Simulated values. Symbol Tcy(clk) output tv(Q) data output valid time on pin Ux_TXD 6.5 ns Parameter clock cycle time Conditions on pins Ux_UCLK Min Typ 0.1 Max Unit s
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
108 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
11.8 SSP interface
Table 17. Dynamic characteristics: SSP pins in SPI mode Tamb = 25 C; 2.2 V VDD(REG)(3V3) 3.6 V; 2.7 V VDD(IO) 3.6 V. Simulated values. Symbol Tcy(clk) Parameter clock cycle time Conditions full-duplex mode when only transmitting SSP master tDS tDH tv(Q) th(Q) SSP slave Tcy(PCLK) Tcy(clk) tDS tDH tv(Q) th(Q)
[1]
[1]
Min -
Typ 40 20
Max -
Unit ns ns
data set-up time data hold time data output valid time data output hold time PCLK cycle time clock cycle time data set-up time data hold time data output valid time data output hold time
in SPI mode in SPI mode in SPI mode in SPI mode
10
[2]
8.8 5.0 3.9 0.4
-
ns ns ns ns ns
120
10.5 1 4.0 0.2
-
ns ns ns ns ns
in SPI mode in SPI mode in SPI mode in SPI mode
Tcy(clk) = (SSPCLKDIV (1 + SCR) CPSDVSR) / fmain. The clock cycle time derived from the SPI bit rate Tcy(clk) is a function of the main clock frequency fmain, the SSP peripheral clock divider (SSPCLKDIV), the SSP SCR parameter (specified in the SSP0CR0 register), and the SSP CPSDVSR parameter (specified in the SSP clock prescale register). Tcy(clk) = 12 Tcy(PCLK).
[2]
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
109 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Tcy(clk)
tclk(H)
tclk(L)
SCK (CPOL = 0)
SCK (CPOL = 1) tv(Q) MOSI DATA VALID DATA VALID tDS MISO DATA VALID tDH DATA VALID CPHA = 1 th(Q)
tv(Q) MOSI DATA VALID DATA VALID tDS MISO DATA VALID tDH DATA VALID
th(Q)
CPHA = 0
002aae829
Fig 27. SSP master timing in SPI mode
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
110 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Tcy(clk)
tclk(H)
tclk(L)
SCK (CPOL = 0)
SCK (CPOL = 1) tDS MOSI DATA VALID tv(Q) MISO DATA VALID DATA VALID tDH DATA VALID th(Q) CPHA = 1
tDS MOSI DATA VALID tv(Q) MISO DATA VALID
tDH
DATA VALID th(Q) DATA VALID CPHA = 0
002aae830
Fig 28. SSP slave timing in SPI mode
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
111 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
11.9 External memory interface
Table 18. Dynamic characteristics: Static external memory interface CL = 22 pF for EMC_Dn CL = 20 pF for all others; Tamb = 40 C to 85 C; 2.2 V VDD(REG)(3V3) 3.6 V; 2.7 V VDD(IO) 3.6 V; values guaranteed by design. Symbol tCSLAV tCSLOEL tCSLBLSL tOELOEH Parameter[1] CS LOW to address valid time CS LOW to OE LOW time CS LOW to BLS LOW time OE LOW to OE HIGH time PB = 1
[2] [2]
Conditions
Min 3.1 0.6 + Tcy(clk) WAITOEN 0.7
Typ -
Max 1.6 1.3 + Tcy(clk) WAITOEN 1.8
Unit ns ns ns
Read cycle parameters
0.6 + (WAITRD WAITOEN + 1) Tcy(clk) -
0.4 + ns (WAITRD WAITOEN + 1) Tcy(clk) 16 + (WAITRD WAITOEN +1) Tcy(clk) 1.9 1.4 2.6 0 1.8 ns
tam
memory access time
th(D) tCSHBLSH tCSHOEH tOEHANV tCSHEOR tCSLSOR
data input hold time CS HIGH to BLS HIGH time PB = 1 CS HIGH to OE HIGH time OE HIGH to address invalid PB = 1 CS HIGH to end of read time CS LOW to start of read time CS LOW to address valid time CS LOW to data valid time CS LOW to WE LOW time CS LOW to BLS LOW time WE LOW to WE HIGH time PB = 1 PB = 1 PB = 1
[2] [3]
16 0.4 0.4 2.0 2.0 0
-
ns ns ns ns ns ns
[4]
Write cycle parameters tCSLAV tCSLDV tCSLWEL tCSLBLSL tWELWEH 3.1 3.1 1.5 0.7 1.6 1.5 0.2 1.8 ns ns ns ns
0.6 + (WAITWR WAITWEN + 1) Tcy(clk) 0.9 + Tcy(clk) 0.4 + Tcy(clk) 0.7 -
0.4 + ns (WAITWR WAITWEN + 1) Tcy(clk) 2.3 + Tcy(clk) 0.3 + Tcy(clk) 1.8 ns ns ns
tWEHDNV tWEHEOW tCSLBLSL tBLSLBLSH
WE HIGH to data invalid time WE HIGH to end of write time CS LOW to BLS LOW
PB = 1 PB = 1 PB = 0
[2]
[2] [5]
BLS LOW to BLS HIGH time PB = 0
[2]
0.9 + (WAITWR WAITWEN + 1) Tcy(clk) 1.9 + Tcy(clk) -
0.1 + ns (WAITWR WAITWEN + 1) Tcy(clk) 0.5 + Tcy(clk) ns
tBLSHEOW
BLS HIGH to end of write time
PB = 0
[2] [5]
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
112 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 18. Dynamic characteristics: Static external memory interface …continued CL = 22 pF for EMC_Dn CL = 20 pF for all others; Tamb = 40 C to 85 C; 2.2 V VDD(REG)(3V3) 3.6 V; 2.7 V VDD(IO) 3.6 V; values guaranteed by design. Symbol tBLSHDNV tCSHEOW tBLSHDNV tWEHANV Parameter[1] BLS HIGH to data invalid time CS HIGH to end of write time BLS HIGH to data invalid time PB = 1 Conditions PB = 0
[2]
Min 2.5 + Tcy(clk) 2.0 2.5 0.9 + Tcy(clk)
Typ -
Max 1.4 + Tcy(clk) 0 1.4 2.4 + Tcy(clk)
Unit ns ns ns ns
[5]
WE HIGH to address invalid PB = 1 time
[1] [2] [3] [4] [5]
Parameters specified for 40 % of VDD(IO) for rising edges and 60 % of VDD(IO) for falling edges. Tcy(clk) = 1/CCLK (see LPC43xx User manual). End Of Read (EOR): longest of tCSHOEH, tOEHANV, tCSHBLSH. Start Of Read (SOR): longest of tCSLAV, tCSLOEL, tCSLBLSL. End Of Write (EOW): earliest of address not valid or EMC_BLSn HIGH.
EMC_An tCSLAV EMC_CSn tOEHANV tCSLAV tCSHEOW
tCSLOEL EMC_OE tOELOEH tCSHOEH tBLSHEOW tCSLBLSL tBLSLBLSH
EMC_BLSn EMC_WE tam tCSLSOR EMC_Dn SOR EOR EOW
002aag699
tCSLDV tCSHEOR th(D) tBLSHDNV
Fig 29. External static memory read/write access (PB = 0)
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
113 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
EMC_An tCSLAV EMC_CSn tCSLOEL EMC_OE tCSLBLSL tOELOEH tCSHOEH tCSLBLSL EMC_BLSn tCSHBLSH tCSLWEL tWELWEH EMC_WE tam tCSHEOR tCSLSOR EMC_Dn SOR EOR EOW
002aag700
tCSLAV tOEHANV tCSHEOW
tWEHEOW
tBLSHDNV
th(D)
tCSLDV
tWEHDNV
Fig 30. External static memory read/write access (PB = 1)
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
114 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 19. Dynamic characteristics: Dynamic external memory interface Simulated data over temperature and process range; CL = 10 pF for EMC_DYCSn, EMC_RAS, EMC_CAS, EMC_WE, EMC_An; CL = 9 pF for EMC_Dn; CL = 5 pF for EMC_DQMOUTn, EMC_CLKn, EMC_CKEOUTn; Tamb = 40 C to 85 C; 2.2 V VDD(REG)(3V3) 3.6 V; VDD(IO) =3.3 V 10 %; RD = 1 (see LPC43xx User manual); EMC_CLKn delays CLK0_DELAY = CLK1_DELAY = CLK2_DELAY = CLK3_DELAY = 0. Symbol Tcy(clk) td(DYCSV) th(DYCS) td(RASV) th(RAS) td(CASV) th(CAS) td(WEV) th(WE) td(DQMOUTV) th(DQMOUT) td(AV) th(A) td(CKEOUTV) th(CKEOUT) tsu(D) th(D) td(QV) th(Q) Parameter clock cycle time DYCS valid delay time DYCS hold time row address strobe valid delay time row address strobe hold time column address strobe valid delay time column address strobe hold time WE valid delay time WE hold time DQMOUT valid delay time DQMOUT hold time address valid delay time address hold time CKEOUT valid delay time CKEOUT hold time data input set-up time data input hold time data output valid delay time data output hold time Table 20. Min 8.4 0.5 Tcy(clk) 1.5 0.5 Tcy(clk) Typ 3.1 + 0.5 Tcy(clk) 3.1 + 0.5 Tcy(clk) 2.9 + 0.5 Tcy(clk) 3.2 + 0.5 Tcy(clk) 3.1 + 0.5 Tcy(clk) 3.8 + 0.5 Tcy(clk) 3.1 + 0.5 Tcy(clk) 0.7 + 0.5 Tcy(clk) 0.5 0.8 3.8 + 0.5 Tcy(clk) 0.7 + 0.5 Tcy(clk) Max 5.1 + 0.5 Tcy(clk) 4.9 + 0.5 Tcy(clk) 4.6 + 0.5 Tcy(clk) 5.9 + 0.5 Tcy(clk) 5.0 + 0.5 Tcy(clk) 6.3 + 0.5 Tcy(clk) 5.1 + 0.5 Tcy(clk) 2.2 6.2 + 0.5 Tcy(clk) Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns
Common to read and write cycles 0.3 + 0.5 Tcy(clk) 0.9 + 0.5 Tcy(clk) 0.5 + 0.5 Tcy(clk) 1.1 + 0.5 Tcy(clk) 0.3 + 0.5 Tcy(clk) 0.9 + 0.5 Tcy(clk) 1.3 + 0.5 Tcy(clk) 1.4 + 0.5 Tcy(clk) 0.2 + 0.5 Tcy(clk) 0.8 + 0.5 Tcy(clk) 0.3 + 0.5 Tcy(clk) 0.9 + 0.5 Tcy(clk)
Read cycle parameters
Write cycle parameters
Dynamic characteristics: Dynamic external memory interface; EMC_CLK[3:0] delay values Tamb = 40 C to 85 C; VDD(IO) =3.3 V 10 %; 2.2 V VDD(REG)(3V3) 3.6 V. Symbol td Parameter delay time Conditions delay value CLKn_DELAY = 0 CLKn_DELAY = 1 CLKn_DELAY = 2 CLKn_DELAY = 3 CLKn_DELAY = 4 CLKn_DELAY = 5 CLKn_DELAY = 6 CLKn_DELAY = 7
[1] [1] [1] [1] [1] [1] [1] [1]
Min 0.0 0.4 0.7 1.1 1.4 1.7 2.1 2.5
Typ 0.0 0.5 1.0 1.6 2.0 2.6 3.1 3.6
Max 0.0 0.8 1.7 2.5 3.3 4.1 4.9 5.8
Unit ns ns ns ns ns ns ns ns
[1]
Program the EMC_CLKn delay values in the EMCDELAYCLK register (see the LPC43xx User manual). The delay values must be the same for all SDRAM clocks EMC_CLKn: CLK0_DELAY = CLK1_DELAY = CLK2_DELAY = CLK3_DELAY.
All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
LPC4350_30_20_10
Objective data sheet
Rev. 3.1 — 5 January 2012
115 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
EMC_CLKn delay > 0 EMC_CLKn delay td; programmable CLKn_DELAY EMC_CLKn delay = 0 Tcy(clk)
td(xV) - td EMC_DYCSn, EMC_RAS, EMC_CAS, EMC_WE, EMC_CKEOUTn, EMC_A[22:0], EMC_DQMOUTn td(xV)
th(x) - td th(x)
td(QV) - td td(QV)
th(Q) - td th(Q)
EMC_D[31:0] write tsu(D) EMC_D[31:0] read; delay > 0 th(D)
tsu(D) EMC_D[31:0] read; delay = 0
th(D)
002aag703
For the programmable EMC_CLK[3:0] clock delays CLKn_DELAY, see Table 20 . Remark: For SDRAM operation, set CLK0_DELAY = CLK1_DELAY = CLK2_DELAY = CLK3_DELAY in the EMCDELAYCLK register.
Fig 31. SDRAM timing
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
116 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
11.10 USB interface
Table 21. Dynamic characteristics: USB0 and USB1 pins (full-speed) CL = 50 pF; Rpu = 1.5 k on D+ to VDD(IO); 3.0 V VDD(IO) 3.6 V. Symbol tr tf tFRFM VCRS tFEOPT tFDEOP tJR1 tJR2 tEOPR1 Parameter rise time fall time differential rise and fall time matching output signal crossover voltage source SE0 interval of EOP source jitter for differential transition to SE0 transition receiver jitter to next transition receiver jitter for paired transitions EOP width at receiver 10 % to 90 % must reject as EOP; see Figure 32 must accept as EOP; see Figure 32
[1]
Conditions 10 % to 90 % 10 % to 90 % tr / tf
Min 8.5 7.7 1.3
Typ -
Max 13.8 13.7 109 2.0 175 +5 +18.5 +9 -
Unit ns ns % V ns ns ns ns ns
see Figure 32 see Figure 32
160 2 18.5 9 40
tEOPR2
EOP width at receiver
[1]
82
-
-
ns
[1]
Characterized but not implemented as production test. Guaranteed by design.
TPERIOD crossover point differential data lines
crossover point extended
source EOP width: tFEOPT differential data to SE0/EOP skew n × TPERIOD + tFDEOP
receiver EOP width: tEOPR1, tEOPR2
002aab561
Fig 32. Differential data-to-EOP transition skew and EOP width
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
117 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 22. Symbol Pcons
Static characteristics: USB0 PHY pins[1] Parameter power consumption on pin USB0_VDDA3V3_DRIVER; total supply current during transmit during receive with driver tri-stated Conditions
[2] [3]
Min [2]
Typ 68 18 31 14 14 7 15 3.5 5 3 3 3 24 24 3 30 150 200 200
Max 0.8 2 4 10 10 10
Unit mW mA mA mA mA mA mW mA mA mA mA mA A A mA A V V V V mV mV mV
High-speed mode IDDA(3V3) analog supply current (3.3 V)
IDDD Pcons
digital supply current power consumption on pin USB0_VDDA3V3_DRIVER; total supply current during transmit during receive with driver tri-stated
Full-speed/low-speed mode with driver tri-stated with OTG functionality enabled IDDD Vth digital supply current threshold voltage for VBUS valid for session end for A valid for B valid Vhys hysteresis voltage for session end A valid B valid
[1] [2] [3] Characterized but not implemented as production test. Total average power consumption. The driver is active only 20 % of the time.
IDDA(3V3) analog supply current (3.3 V)
IDDD
digital supply current
Suspend mode IDDA(3V3) analog supply current (3.3 V) 4.4 0.2 0.8 2 -
VBUS detector outputs
11.11 Ethernet
Table 23. Dynamic characteristics: Ethernet Tamb = 40 C to 85 C; 2.2 V VDD(REG)(3V3) 3.6 V; 2.7 V VDD(IO) 3.6 V. Values guaranteed by design. Symbol Parameter RMII mode fclk clk
LPC4350_30_20_10
Conditions for ENET_RX_CLK
[1] [1]
Min 50
Max 50 50
Unit MHz %
clock frequency clock duty cycle
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
118 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 23. Dynamic characteristics: Ethernet Tamb = 40 C to 85 C; 2.2 V VDD(REG)(3V3) 3.6 V; 2.7 V VDD(IO) 3.6 V. Values guaranteed by design. Symbol Parameter tsu set-up time Conditions for ENET_TXDn, ENET_TX_EN, ENET_RXDn, ENET_RX_ER, ENET_RX_DV for ENET_TXDn, ENET_TX_EN, ENET_RXDn, ENET_RX_ER, ENET_RX_DV for ENET_TX_CLK for ENET_TXDn, ENET_TX_EN, ENET_TX_ER for ENET_TXDn, ENET_TX_EN, ENET_TX_ER for ENET_RX_CLK for ENET_RXDn, ENET_RX_ER, ENET_RX_DV for ENET_RXDn, ENET_RX_ER, ENET_RX_DV
[1][2]
Min 4
Max -
Unit ns
th
hold time
[1][2]
2
-
ns
MII mode fclk clk tsu th fclk clk tsu th clock frequency clock duty cycle set-up time hold time clock frequency clock duty cycle set-up time hold time
[1] [1] [1][2]
50 4 2 50 4 2
25 50 25 50 -
MHz % ns ns MHz % ns ns
[1][2]
[1] [1] [1][2]
[1][2]
[1] [2]
Output drivers can drive a load 25 pF accommodating over 12 inch of PCB trace and the input capacitance of the receiving device. Timing values are given from the point at which the clock signal waveform crosses 1.4 V to the valid input or output level.
ENET_RX_CLK ENET_TX_CLK
ENET_RXD[n] ENET_RX_DV ENET_RX_ER ENET_TXD[n] ENET_TX_EN ENET_TX_ER
tsu
th
002aag210
Fig 33. Ethernet timing
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
119 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
11.12 SD/MMC
Table 24. Dynamic characteristics: SD/MMC Tamb = 25 C, 2.2 V VDD(REG)(3V3) 3.6 V; 2.7 V VDD(IO) 3.6 V, CL = 20 pF. Simulated values. Symbol Parameter fclk clock frequency Conditions on pin SD_CLK; data transfer mode on pin SD_CLK; identification mode tsu(D) th(D) td(QV) th(Q) data input set-up time data input hold time data output valid delay time on pins SD_CMD, SD_DATn 9.9 as inputs on pins SD_CMD, SD_DATn 0.3 as inputs on pins SD_CMD, SD_DATn as outputs 6.9 Min Typ 40 Max Unit MHz MHz ns ns
ns ns
data output hold time on pins SD_CMD, SD_DATn 0.3 as outputs
Tcy(clk)
SD_CLK
td(QV)
SD_CMD (O) SD_DATn (O)
th(Q)
tsu(D)
SD_CMD (I) SD_DATn (I)
th(D)
002aag204
Fig 34. SD/MMC timing
11.13 LCD
Table 25. Dynamic characteristics: LCD Tamb = 25 C; 2.2 V VDD(REG)(3V3) 3.6 V; 2.7 V VDD(IO) 3.6 V; CL = 20 pF. Simulated values. Symbol Parameter fclk tsu(D) th(D) td(QV) th(Q) clock frequency data input set-up time data input hold time data output valid delay time data output hold time Conditions on pin LCD_DCLK Min 14.1 Typ 50 Max Unit ns ns MHz
ns ns
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
120 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
12. ADC/DAC electrical characteristics
Table 26. ADC characteristics VDDA(3V3) over specified ranges; Tamb = 40 C to +85 C; ADC frequency 4.5 MHz; unless otherwise specified. Symbol VIA Cia ED EL(adj) EO EG ET Rvsi Ri fclk(ADC) fc(ADC) Parameter analog input voltage analog input capacitance differential linearity error 2.7 V VDDA(3V3) 3.6 V 2.2 V VDDA(3V3) < 2.7 V integral non-linearity offset error gain error absolute error 2.7 V VDDA(3V3) 3.6 V 2.2 V VDDA(3V3) < 2.7 V 2.7 V VDDA(3V3) 3.6 V 2.2 V VDDA(3V3) < 2.7 V 2.7 V VDDA(3V3) 3.6 V 2.2 V VDDA(3V3) < 2.7 V 2.7 V VDDA(3V3) 3.6 V 2.2 V VDDA(3V3) < 2.7 V voltage source interface see Figure 36 resistance input resistance ADC clock frequency ADC conversion frequency 10-bit resolution; 11 clock cycles 2-bit resolution; 3 clock cycles
[1] [2] [3] [4] [5] [6] [7] [8] The ADC is monotonic, there are no missing codes. The differential linearity error (ED) is the difference between the actual step width and the ideal step width. See Figure 35. The integral non-linearity (EL(adj)) is the peak difference between the center of the steps of the actual and the ideal transfer curve after appropriate adjustment of gain and offset errors. See Figure 35. The offset error (EO) is the absolute difference between the straight line which fits the actual curve and the straight line which fits the ideal curve. See Figure 35. The gain error (EG) is the relative difference in percent between the straight line fitting the actual transfer curve after removing offset error, and the straight line which fits the ideal transfer curve. See Figure 35. The absolute error (ET) is the maximum difference between the center of the steps of the actual transfer curve of the non-calibrated ADC and the ideal transfer curve. See Figure 35. Tamb = 25 C; maximum sampling frequency fs = 4.5 MHz and analog input capacitance Cia = 2 pF. Input resistance Ri depends on the sampling frequency fs: Ri = 2 k + 1 / (fs Cia).
[7][8] [6] [5] [4] [3] [1][2]
Conditions
Min 0 -
Typ 0.8 1.0 0.8 1.5 0.15 0.15 0.3 0.35 3 4 -
Max VDDA(3V3) 2 -
Unit V pF LSB LSB LSB LSB LSB LSB % % LSB LSB
1/(7 fclk(ADC) k Cia) 1.2 4.5 400 1.5 M MHz kSamples/s MSamples/s
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
121 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
offset error EO 1023
gain error EG
1022
1021
1020
1019
1018
(2)
7 code out 6
(1)
5
(5)
4
(4)
3
(3)
2
1
1 LSB (ideal) 1018 1019 1020 1021 1022 1023 1024
0 1 offset error EO 2 3 4 5 6 7 VIA (LSBideal)
1 LSB =
VDDA(3V3) − VSSA 1024
002aaf959
(1) Example of an actual transfer curve. (2) The ideal transfer curve. (3) Differential linearity error (ED). (4) Integral non-linearity (EL(adj)). (5) Center of a step of the actual transfer curve. (6) VDDA refers to VDDA(3V3) on pin VDDA and VSSA to analog ground on pin VSSA.
Fig 35. 10-bit ADC characteristics
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
122 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Rvsi
LPC43xx
2 kΩ (analog pin) 2.2 kΩ (multiplexed pin) ADC COMPARATOR
Cia = 2 pF VEXT
ADC0_n/ADC1_n
Rs
VSS
002aag704
Rs 1/((7 fclk(ADC) Cia) 2 k
Fig 36. ADC interface to pins Table 27. DAC characteristics VDDA(3V3) over specified ranges; Tamb = 40 C to +85 C; unless otherwise specified Symbol ED EL(adj) EO EG CL RL ts
[1] [2]
Parameter differential linearity error integral non-linearity offset error gain error load capacitance load resistance settling time
Conditions 2.7 V VDDA(3V3) 3.6 V 2.2 V VDDA(3V3) < 2.7 V 2.7 V VDDA(3V3) 3.6 V 2.2 V VDDA(3V3) < 2.7 V 2.7 V VDDA(3V3) 3.6 V 2.2 V VDDA(3V3) < 2.7 V 2.7 V VDDA(3V3) 3.6 V 2.2 V VDDA(3V3) < 2.7 V
[1] [1] [1] [1]
Min 1
[1]
Typ 0.8 1.0 1.0 1.5 0.8 1.0 0.3 1.0 0.4
Max 200 -
Unit LSB LSB LSB LSB LSB LSB % % pF k s
In the DAC CR register, bit BIAS = 0 (see the LPC43xx user manual). Settling time is calculated within 1/2 LSB of the final value.
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
123 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
13. Application information
13.1 LCD panel signal usage
Table 28. LCD panel connections for STN single panel mode 4-bit mono STN single panel LPC43xx pin used LCD_VD[23:8] LCD_VD7 LCD_VD6 LCD_VD5 LCD_VD4 LCD_VD3 LCD_VD2 LCD_VD1 LCD_VD0 LCD_LP LCD_ENAB/ LCDM LCD_FP LCD_DCLK LCD_LE LCD_PWR GP_CLKIN Table 29. P4_2 P4_3 P4_4 P4_1 P7_6 P4_6 P4_5 P4_7 P7_0 P7_7 PF_4 LCD function UD[3] UD[2] UD[1] UD[0] LCDLP LCDENAB/ LCDM LCDFP LCDDCLK LCDLE CDPWR LCDCLKIN 8-bit mono STN single panel LPC43xx pin used P8_4 P8_5 P8_6 P8_7 P4_2 P4_3 P4_4 P4_1 P7_6 P4_6 P4_5 P4_7 P7_0 P7_7 PF_4 LCD function UD[7] UD[6] UD[5] UD[4] UD[3] UD[2] UD[1] UD[0] LCDLP LCDENAB/ LCDM LCDFP LCDDCLK LCDLE LCDPWR LCDCLKIN Color STN single panel LPC43xx pin used P8_4 P8_5 P8_6 P8_7 P4_2 P4_3 P4_4 P4_1 P7_6 P4_6 P4_5 P4_7 P7_0 P7_7 PF_4 LCD function UD[7] UD[6] UD[5] UD[4] UD[3] UD[2] UD[1] UD[0] LCDLP LCDENAB/ LCDM LCDFP LCDDCLK LCDLE LCDPWR LCDCLKIN External pin
LCD panel connections for STN dual panel mode 4-bit mono STN dual panel LPC43xx pin used LCD function LD[3] LD[2] LD[1] LD[0] UD[3] P8_5 P8_6 P8_7 P4_2 8-bit mono STN dual panel LPC43xx pin used PB_4 PB_5 PB_6 P8_3 P4_9 P4_10 P4_8 P7_5 LCD function LD[7] LD[6] LD[5] LD[4] LD[3] LD[2] LD[1] LD[0] UD[7] UD[6] UD[5] UD[4] UD[3] Color STN dual panel LPC43xx pin used PB_4 PB_5 PB_6 P8_3 P4_9 P4_10 P4_8 P7_5 P8_4 P8_5 P8_6 P8_7 P4_2 LCD function LD[7] LD[6] LD[5] LD[4] LD[3] LD[2] LD[1] LD[0] UD[7] UD[6] UD[5] UD[4] UD[3]
© NXP B.V. 2012. All rights reserved.
External pin
LCD_VD[23:16] LCD_VD15 LCD_VD14 LCD_VD13 LCD_VD12 LCD_VD11 LCD_VD10 LCD_VD9 LCD_VD8 LCD_VD7 LCD_VD6 LCD_VD5 LCD_VD4 LCD_VD3
LPC4350_30_20_10
P4_9 P4_10 P4_8 P7_5 P4_2
All information provided in this document is subject to legal disclaimers.
Objective data sheet
Rev. 3.1 — 5 January 2012
124 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 29.
LCD panel connections for STN dual panel mode 4-bit mono STN dual panel LPC43xx pin used LCD function UD[2] UD[1] UD[0] LCDLP LCDENAB/ LCDM LCDFP LCDDCLK LCDLE LCDPWR LCDCLKIN 8-bit mono STN dual panel LPC43xx pin used P4_3 P4_4 P4_1 P7_6 P4_6 P4_5 P4_7 P7_0 P7_7 PF_4 LCD function UD[2] UD[1] UD[0] LCDLP LCDENAB/ LCDM LCDFP LCDDCLK LCDLE LCDPWR LCDCLKIN Color STN dual panel LPC43xx pin used P4_3 P4_4 P4_1 P7_6 P4_6 P4_5 P4_7 P7_0 P7_7 PF_4 LCD function UD[2] UD[1] UD[0] LCDLP LCDENAB/ LCDM LCDFP LCDDCLK LCDLE LCDPWR LCDCLKIN
External pin
LCD_VD2 LCD_VD1 LCD_VD0 LCD_LP LCD_ENAB/ LCDM LCD_FP LCD_DCLK LCD_LE LCD_PWR GP_CLKIN Table 30. External pin
P4_3 P4_4 P4_1 P7_6 P4_6 P4_5 P4_7 P7_0 P7_7 PF_4
LCD panel connections for TFT panels TFT 12 bit (4:4:4 mode) LPC43xx pin used LCD function BLUE3 BLUE2 BLUE1 BLUE0 GREEN3 GREEN2 GREEN1 GREEN0 RED3 RED2 RED1 RED0 TFT 16 bit (5:6:5 mode) LPC43xx pin used PB_0 PB_1 PB_2 PB_3 P7_1 PB_4 PB_5 PB_6 P8_3 P4_9 P4_10 P8_4 P8_5 P8_6 P8_7 P4_2 LCD function BLUE4 BLUE3 BLUE2 BLUE1 BLUE0 GREEN5 GREEN4 GREEN3 GREEN2 GREEN1 GREEN0 RED4 RED3 RED2 RED1 RED0 TFT 16 bit (1:5:5:5 mode) TFT 24 bit LPC43xx pin LCD used function PB_0 PB_1 PB_2 PB_3 P7_1 P7_2 PB_4 PB_5 PB_6 P8_3 P4_9 P4_10 P8_4 P8_5 P8_6 P8_7 P4_2 P4_3 BLUE4 BLUE3 BLUE2 BLUE1 BLUE0 intensity GREEN4 GREEN3 GREEN2 GREEN1 GREEN0 intensity RED4 RED3 RED2 RED1 RED0 intensity P7_3 P7_4 PB_4 PB_5 PB_6 P8_3 P4_9 P4_10 P4_8 P7_5 P8_4 P8_5 P8_6 P8_7 P4_2 P4_3 P4_4 LPC43xx pin used LCD function BLUE7 BLUE6 BLUE5 BLUE4 BLUE3 BLUE2 BLUE1 BLUE0 GREEN7 GREEN6 GREEN5 GREEN4 GREEN3 GREEN2 GREEN1 GREEN0 RED7 RED6 RED5 RED4 RED3 RED2 RED1
© NXP B.V. 2012. All rights reserved.
LCD_VD23 PB_0 LCD_VD22 PB_1 LCD_VD21 PB_2 LCD_VD20 PB_3 LCD_VD19 LCD_VD18 LCD_VD17 LCD_VD16 LCD_VD15 PB_4 LCD_VD14 PB_5 LCD_VD13 PB_6 LCD_VD12 P8_3 LCD_VD11 LCD_VD9 LCD_VD8 LCD_VD7 LCD_VD6 LCD_VD5 LCD_VD4 LCD_VD3 LCD_VD2 LCD_VD1
LPC4350_30_20_10
P8_4 P8_5 P8_6 P8_7 -
LCD_VD10 -
All information provided in this document is subject to legal disclaimers.
Objective data sheet
Rev. 3.1 — 5 January 2012
125 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Table 30. External pin
LCD panel connections for TFT panels TFT 12 bit (4:4:4 mode) LPC43xx pin used LCD function LCDLP TFT 16 bit (5:6:5 mode) LPC43xx pin used P7_6 LCD function LCDLP LCDENAB/ LCDM LCDFP LCDDCLK LCDLE LCDPWR LCDCLKIN TFT 16 bit (1:5:5:5 mode) TFT 24 bit LPC43xx pin LCD used function P7_6 P4_6 P4_5 P4_7 P7_0 P7_7 PF_4 LCDLP LPC43xx pin used P4_1 P7_6 LCD function RED0 LCDLP LCDENAB/ LCDM LCDFP LCDDCLK LCDLE LCDPWR LCDCLKIN
LCD_VD0 LCD_LP
P7_6
LCD_ENAB P4_6 /LCDM LCD_FP LCD_LE LCD_PWR GP_CLKIN P4_5 P7_0 P7_7 PF_4 LCD_DCLK P4_7
LCDENAB/ P4_6 LCDM LCDFP LCDDCLK LCDLE LCDPWR P4_5 P4_7 P7_0 P7_7
LCDENAB/ P4_6 LCDM LCDFP LCDDCLK LCDLE LCDPWR P4_5 P4_7 P7_0 P7_7
LCDCLKIN PF_4
LCDCLKIN PF_4
13.2 Crystal oscillator
The crystal oscillator is controlled by the XTAL_OSC_CTRL register in the CGU (see LPC43xx user manual). The crystal oscillator operates at frequencies of 1 MHz to 25 MHz. This frequency can be boosted to a higher frequency, up to the maximum CPU operating frequency, by the PLL. The oscillator can operate in one of two modes: slave mode and oscillation mode.
• In slave mode the input clock signal should be coupled by means of a capacitor of
100 pF (CC in Figure 37), with an amplitude of at least 200 mV (rms). The XTAL2 pin in this configuration can be left unconnected.
• External components and models used in oscillation mode are shown in Figure 38,
and in Table 31 and Table 32. Since the feedback resistance is integrated on chip, only a crystal and the capacitances CX1 and CX2 need to be connected externally in case of fundamental mode oscillation (the fundamental frequency is represented by L, CL and RS). Capacitance CP in Figure 38 represents the parallel package capacitance and should not be larger than 7 pF. Parameters FC, CL, RS and CP are supplied by the crystal manufacturer.
Table 31. Recommended values for CX1/X2 in oscillation mode (crystal and external components parameters) low frequency mode Maximum crystal series resistance RS < 200 < 200 < 200 4 MHz < 200 < 200 < 200 8 MHz < 200 < 200 External load capacitors CX1, CX2 33 pF, 33 pF 39 pF, 39 pF 56 pF, 56 pF 18 pF, 18 pF 39 pF, 39 pF 56 pF, 56 pF 18 pF, 18 pF 39 pF, 39 pF
Fundamental oscillation frequency 2 MHz
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
126 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
Recommended values for CX1/X2 in oscillation mode (crystal and external components parameters) low frequency mode Maximum crystal series resistance RS < 160 < 160 < 120 < 80 >
LPC4350_30_20_10
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Objective data sheet
Rev. 3.1 — 5 January 2012
148 of 149
NXP Semiconductors
LPC4350/30/20/10
32-bit ARM Cortex-M4/M0 microcontroller
7.22.5 7.22.6 7.22.7 7.22.8 7.22.9 7.23 8 9 10 10.1 10.2 11 11.1 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.10 11.11 11.12 11.13 12 13 13.1 13.2 13.3 13.4 13.5 14 15 16 17 18 18.1 18.2 18.3 18.4 19 20
PLL0USB (for USB0) . . . . . . . . . . . . . . . . . . . 86 PLL0AUDIO (for audio) . . . . . . . . . . . . . . . . . 86 System PLL1 . . . . . . . . . . . . . . . . . . . . . . . . . 86 Reset Generation Unit (RGU). . . . . . . . . . . . . 86 Power control . . . . . . . . . . . . . . . . . . . . . . . . . 86 Serial Wire Debug/JTAG. . . . . . . . . . . . . . . . . 88 Limiting values. . . . . . . . . . . . . . . . . . . . . . . . . 89 Thermal characteristics . . . . . . . . . . . . . . . . . 90 Static characteristics. . . . . . . . . . . . . . . . . . . . 91 Electrical pin characteristics . . . . . . . . . . . . . . 97 Power consumption . . . . . . . . . . . . . . . . . . . . 99 Dynamic characteristics . . . . . . . . . . . . . . . . 103 Wake-up times . . . . . . . . . . . . . . . . . . . . . . . 103 External clock . . . . . . . . . . . . . . . . . . . . . . . . 103 Crystal oscillator . . . . . . . . . . . . . . . . . . . . . . 104 IRC and RTC oscillators . . . . . . . . . . . . . . . . 105 I2C-bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 I2S-bus interface . . . . . . . . . . . . . . . . . . . . . . 107 USART interface. . . . . . . . . . . . . . . . . . . . . . 108 SSP interface . . . . . . . . . . . . . . . . . . . . . . . . 109 External memory interface . . . . . . . . . . . . . . 112 USB interface . . . . . . . . . . . . . . . . . . . . . . . 117 Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 SD/MMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 LCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 ADC/DAC electrical characteristics . . . . . . . 121 Application information. . . . . . . . . . . . . . . . . 124 LCD panel signal usage . . . . . . . . . . . . . . . . 124 Crystal oscillator . . . . . . . . . . . . . . . . . . . . . . 126 XTAL and RTCX Printed Circuit Board (PCB) layout guidelines . . . . . . . . . . . . . . . . 128 Standard I/O pin configuration . . . . . . . . . . . 128 Reset pin configuration . . . . . . . . . . . . . . . . . 129 Package outline . . . . . . . . . . . . . . . . . . . . . . . 130 Soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 142 Revision history . . . . . . . . . . . . . . . . . . . . . . . 144 Legal information. . . . . . . . . . . . . . . . . . . . . . 146 Data sheet status . . . . . . . . . . . . . . . . . . . . . 146 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . 146 Trademarks. . . . . . . . . . . . . . . . . . . . . . . . . . 147 Contact information. . . . . . . . . . . . . . . . . . . . 147 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Please be aware that important notices concerning this document and the product(s) described herein, have been included in section ‘Legal information’.
© NXP B.V. 2012.
All rights reserved.
For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: salesaddresses@nxp.com Date of release: 5 January 2012 Document identifier: LPC4350_30_20_10