1. General description
The LPC185x/3x/2x/1x are ARM Cortex-M3 based microcontrollers for embedded
applications. The ARM Cortex-M3 is a next generation core that offers system
enhancements such as low power consumption, enhanced debug features, and a high
level of support block integration.
The LPC185x/3x/2x/1x operate at CPU frequencies of up to 180 MHz. The ARM
Cortex-M3 CPU incorporates a 3-stage pipeline and uses a Harvard architecture with
separate local instruction and data buses as well as a third bus for peripherals. The ARM
Cortex-M3 CPU also includes an internal prefetch unit that supports speculative
branching.
The LPC185x/3x/2x/1x include up to 1 MB of flash and 136 kB of on-chip SRAM, 16 kB of
EEPROM memory, a quad SPI Flash Interface (SPIFI), a State-configurable Timer/PWM
(SCT imer /PWM) subsystem, two High-speed USB contro llers, Ethernet, L CD, an external
memory controller, and multiple digital and analo g peripherals.
For additional documentation related to the LPC18xx parts, see Section 17 “References.
2. Features and benefits
Processor core
ARM Cortex-M3 processor (version r2p1), running at CPU frequencies of up to
180 MHz.
ARM Cortex-M3 built-in Memory Protection Unit (MPU) supporting eight regions.
ARM Cortex-M3 built-in Nested Vectored Interrupt Controller (NVIC).
Non-maskable Interrupt (NM I) inpu t.
JTAG and Serial Wire Debug, serial tr ace, eight breakpoint s, and four watch point s.
Enhanced Trace Module (ETM) and Enhanced Trace Buffer (ETB) support.
System tick timer.
On-chip memory
Up to 1 MB on-chip dual bank flash memory with flash accelerator.
16 kB on-chip EEPROM data memory.
136 kB SRAM for code and data use.
Multiple SRAM blocks with separate bus access.
64 kB ROM containing boot code and on-chip software drivers.
64 bit+ 256 bit of One-Time Programmable (OTP) memory for general-purpose
use.
Clock generation unit
LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 MCU; up to 1 MB flash and 136 kB
SRAM; Ethernet, two High-speed USB, LCD, EMC
Rev. 5.2 — 8 March 2016 Product data sheet
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 2 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Crystal oscillator with an operating range of 1 MHz to 25 MHz.
12 MHz internal RC oscillator trimmed to 3 % accuracy over temperature and
voltage (1.5 % accuracy for Tamb = 0 °C to 85 °C).
Ultra-low power RTC crystal oscillator.
Three PLLs allow CPU operation up to the maximum CPU ra te without the need for
a high-frequency crystal. The second PLL can be used with the High-speed USB,
the third PLL can be use d as au d io PLL .
Clock output.
Configurable digital peripherals:
State Configurable Time r/PWM (SCTimer/PWM) subsystem on AHB.
Global Input Multiplexer Array (GIMA) allows to cross-connect multiple inputs and
outputs to event dr iven peripherals like timers, SCTimer/PWM, and ADC0/1.
Serial interfaces:
Quad SPI Flash Interface (SPIFI) with 1-, 2-, or 4-bit data at rates of up to
52 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 (USB0).
One High-speed USB 2.0 Host/Device interface with DMA support, on-chip
full-speed PHY and ULPI interface to an external high-speed PHY (USB1).
USB interface electrical test software included in ROM USB stack.
Four 550 UARTs with DMA support: one UART with full modem interface; one
UART with IrDA interface; three USARTs support UART synchronous mode and a
smart card interface conforming to ISO7816 specification.
Up to 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 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
1Mbit/s.
One standar d I2C-bus interface with monitor mode and standard I/O pins.
Two I2S interfaces with DMA support, each with one input and one output.
Digital peripherals:
External Memory Con tro ller (E MC ) su ppor tin g ex te rn al SRAM , ROM , NO R flash ,
and SDRAM devices.
LCD controller with DMA support and a programmable display resolution of up to
1024H 768V. Supports monochrome a nd color STN panels and T FT color panels;
supports 1/2/4/8 bpp Color Look-Up Table (CLUT) and 16/24-bit direct pixel
mapping.
SD/MMC card interfa ce.
Eight-channel General-Purpose DMA 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.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 3 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
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 PWM for three-phase motor control.
One Quadrature Encoder Interface (QEI).
Repetitive Interrupt timer (RI timer).
Windowed watchdog timer.
Ultra-low power Real-Time Clock (RTC) on separate powe r d oma in with 25 6 bytes
of battery powered backup registers.
Event recorder with three inputs to record event identification and event time; can
be battery powered.
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 dat a conversion rate of 400 kSamples/s.
Up to eight analog channels total. Each analog input is connected to both ADCs.
Unique ID for each device.
Power:
Single 3.3 V (2.4 V to 3.6 V) power supply with on-chip internal volt age regulator 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.
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).
Availa ble in LQFP208, LBGA256, LQFP144, and TFBGA100 packages.
3. Applications
Industrial RFID readers
Consumer e-Metering
White goods
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 4 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
4. Ordering information
Table 1. Ordering information
Type number Package
Name Description Version
LPC1857FET256 LBGA256 Plastic low profile ball grid array package; 256 balls; body 17 17 1 mm SOT740-2
LPC1857JET256 LBGA256 Plastic low profile ball grid array package; 256 balls; body 17 17 1 mm SOT740-2
LPC1857JBD208 LQFP208 Plastic low profile quad flat package; 208 leads; body 28 28 1.4 mm SOT459-1
LPC1853FET256 LBGA256 Plastic low profile ball grid array package; 256 balls; body 17 17 1 mm SOT740-2
LPC1853JET256 LBGA256 Plastic low profile ball grid array package; 256 balls; body 17 17 1 mm SOT740-2
LPC1853JBD208 LQFP208 Plastic low profile quad flat package; 208 leads; body 28 28 1.4 mm SOT459-1
LPC1837FET256 LBGA256 Plastic low profile ball grid array package; 256 balls; body 17 17 1 mm SOT740-2
LPC1837JET256 LBGA256 Plastic low profile ball grid array package; 256 balls; body 17 17 1 mm SOT740-2
LPC1837JBD144 LQFP144 Plastic low profile quad flat package; 144 leads; body 20 20 1.4 mm SOT486-1
LPC1837JET100 TFBGA100 Plastic thin fine-pitch ball grid array package; 100 balls; body 9 9 0.7 mm SOT926-1
LPC1833FET256 LBGA256 Plastic low profile ball grid array package; 256 balls; body 17 17 1 mm SOT740-2
LPC1833JET256 LBGA256 Plastic low profile ball grid array package; 256 balls; body 17 17 1 mm SOT740-2
LPC1833JBD144 LQFP144 Plastic low profile quad flat package; 144 leads; body 20 20 1.4 mm SOT486-1
LPC1833JET100 TFBGA100 Plastic thin fine-pitch ball grid array package; 100 balls; body 9 9 0.7 mm SOT926-1
LPC1827JBD144 LQFP144 Plastic low profile quad flat package; 144 leads; body 20 20 1.4 mm SOT486-1
LPC1827JET100 TFBGA100 Plastic thin fine-pitch ball grid array package; 100 balls; body 9 9 0.7 mm SOT926-1
LPC1825JBD144 LQFP144 Plastic low profile quad flat package; 144 leads; body 20 20 1.4 mm SOT486-1
LPC1825JET100 TFBGA100 Plastic thin fine-pitch ball grid array package; 100 balls; body 9 9 0.7 mm SOT926-1
LPC1823JBD144 LQFP144 Plastic low profile quad flat package; 144 leads; body 20 20 1.4 mm SOT486-1
LPC1823JET100 TFBGA100 Plastic thin fine-pitch ball grid array package; 100 balls; body 9 9 0.7 mm SOT926 -1
LPC1822JBD144 LQF P 144 Plastic low profile quad flat package; 144 leads; body 20 20 1.4 mm SOT486-1
LPC1822JET100 TFBGA100 Plastic thin fine-pitch ball grid array package; 100 balls; body 9 9 0.7 mm SOT926-1
LPC1817JBD144 LQFP144 Plastic low profile quad flat package; 144 leads; body 20 20 1.4 mm SOT486-1
LPC1817JET100 TFBGA100 Plastic thin fine-pitch ball grid array package; 100 balls; body 9 9 0.7 mm SOT926-1
LPC1815JBD144 LQFP144 Plastic low profile quad flat package; 144 leads; body 20 20 1.4 mm SOT486-1
LPC1815JET100 TFBGA100 Plastic thin fine-pitch ball grid array package; 100 balls; body 9 9 0.7 mm SOT926-1
LPC1813JBD144 LQFP144 Plastic low profile quad flat package; 144 leads; body 20 20 1.4 mm SOT486-1
LPC1813JET100 TFBGA100 Plastic thin fine-pitch ball grid array package; 100 balls; body 9 9 0.7 mm SOT926-1
LPC1812JBD144 LQFP144 Plastic low profile quad flat package; 144 leads; body 20 20 1.4 mm SOT486-1
LPC1812JET100 TFBGA100 Plastic thin fine-pitch ball grid array package; 100 balls; body 9 9 0.7 mm SOT926-1
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 5 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
4.1 Ordering options
[1] J = -40 °C to +105 °C; F = -40 °C to +85 °C.
Table 2. Ordering options
Type number
Flash total
Flash bank A
Flash bank B
Total SRAM
LCD
Ethernet
USB0 (Host, Device, OTG)
USB1 (Host, Device)/
ULPI interface
Motor control PWM
QEI
ADC channels
Temperature range[1]
GPIO
LPC1857FET256 1 MB 512 kB 512 kB 1 36 kB yes yes yes yes/yes yes yes 8 F 164
LPC1857JET256 1 MB 512 kB 512 kB 136 kB yes yes yes yes/yes yes yes 8 J 164
LPC1857JBD208 1 MB 512 kB 512 kB 136 kB yes yes yes yes/yes yes yes 8 J 142
LPC1853FET256 512 kB 256 kB 256 kB 136 kB yes yes yes yes/yes yes yes 8 F 164
LPC1853JET256 512 kB 256 kB 256 kB 136 kB yes yes yes yes/yes yes yes 8 J 164
LPC1853JBD208 512 kB 256 kB 256 kB 136 kB yes yes yes yes/yes yes yes 8 J 142
LPC1837FET256 1 MB 512 kB 512 kB 136 kB no yes yes yes/yes ye s yes 8 F 164
LPC1837JET256 1 MB 512 kB 512 kB 136 kB no yes yes yes/yes ye s yes 8 J 164
LPC1837JBD144 1 MB 512 kB 512 kB 136 kB no yes yes yes/yes yes no 8 J 83
LPC1837JET100 1 MB 512 kB 512 kB 136 kB no yes yes yes/no no no 4 J 49
LPC1833FET256 512 kB 256 kB 256 kB 136 kB no yes yes yes/yes yes yes 8 F 164
LPC1833JET256 512 kB 256 kB 256 kB 136 kB no yes yes yes/yes yes yes 8 J 164
LPC1833JBD144 512 kB 256 kB 256 kB 136 kB no yes yes yes/yes yes no 8 J 83
LPC1833JET100 512 kB 256 kB 256 kB 136 kB no yes yes yes/no n o no 4 J 49
LPC1827JBD144 1 MB 512 kB 512 kB 136 kB no no yes no/no yes no 8 J 83
LPC1827JET100 1 MB 512 kB 512 kB 136 kB no no yes no/no no no 4 J 49
LPC1825JBD144 768 kB 384 kB 384 kB 136 kB no no yes no/no yes no 8 J 83
LPC1825JET100 768 kB 384 kB 384 kB 136 kB no no yes no/no no no 4 J 49
LPC1823JBD144 512 kB 256 kB 256 kB 104 kB no no yes no/no yes no 8 J 83
LPC1823JET100 512 kB 256 kB 256 kB 104 kB no no yes no/no no no 4 J 49
LPC1822JBD144 512 kB 512 kB 0 kB 104 kB no no yes no/no yes no 8 J 83
LPC1822JET100 512 kB 512 kB 0 kB 104 kB no no yes no/no no no 4 J 49
LPC1817JBD144 1 MB 512 kB 512 kB 136 kB no no no no/no yes no 8 J 83
LPC1817JET100 1 MB 512 kB 512 kB 136 kB no no no no/no no no 4 J 49
LPC1815JBD144 768 kB 384 kB 384 kB 136 kB no no no no/no yes no 8 J 83
LPC1815JET100 768 kB 384 kB 384 kB 136 kB no no no no/no no no 4 J 49
LPC1813JBD144 512 kB 256 kB 256 kB 104 kB no no no no/no yes no 8 J 83
LPC1813JET100 512 kB 256 kB 256 kB 104 kB no no no no/no no no 4 J 49
LPC1812JBD144 512 kB 512 kB 0 kB 104 kB no no no no/no yes no 8 J 83
LPC1812JET100 512 kB 512 kB 0 kB 104 kB no no no no/no no no 4 J 49
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 6 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
5. Block diagram
(1) Not available on all parts. See Table 2.
Fig 1. LPC185x/3x/2x/1x block diagram
ARM
CORTEX-M3
TEST/DEBUG
INTERFACE
I-code
bus
D-code
bus
system
bus
SWD/TRACE PORT/JTAG
DMA
ETHERNET(1)
10/100
MAC
IEEE 1588
USB1(1)
HOST/
DEVICE
HIGH-
SPEED
USB0(1)
HOST/
DEVICE/
OTG
LCD(1) SD/
MMC
EMC
HIGH-SPEED PHY
32 kB AHB SRAM
16 kB +
16 kB AHB SRAM
SPIFI
HS GPIO
SCT
64 kB ROM
AHB MULTILAYER MATRIX
LPC185x/3x/2x/1x
32 kB LOCAL SRAM
40 kB LOCAL SRAM
002aah225
slaves
masters
WWDT
USART0
UART1
SSP0
I2C0
C_CAN1
I2S0
I2S1
MOTOR
CONTROL
PWM(1)
TIMER3
TIMER2
USART2
USART3
SSP1
RI TIMER
QEI(1)
GIMA
BRIDGE 0 BRIDGE 1 BRIDGE 2 BRIDGE 3 BRIDGE
10-bit ADC0
10-bit ADC1
C_CAN0
I2C1
10-bit DAC
BRIDGE
RGU
CCU2
CGU
CCU1
ALARM TIMER
CONFIGURATION
REGISTERS
OTP MEMORY
EVENT ROUTER
POWER MODE CONTROL
12 MHz IRC
EVENT MONITOR
RTC POWER DOMAIN
BACKUP REGISTERS
RTC OSC
RTC
slaves
= connected to DMA
TIMER0
TIMER1
SCU
GPIO PIN
INTERRUPTS
GPIO GROUP0
INTERRUPT
GPIO GROUP1
INTERRUPT
512/256 kB FLASH A
512/256 kB FLASH B
16 kB EEPROM
ETM
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 7 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
6. Pinning information
6.1 Pinning
6.2 Pin description
On the LPC185x/3x/2x/1x, 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 SCU
registers.
The pin name is not indicative of the GPIO port assigned to it.
The parts cont ain two 10-bit ADCs (ADC0 and ADC1). The input channels of ADC0 and
ADC1 on dedicated pins an d multiplexed pins are combined in such a way that all channel
0 input s (nam ed ADC0_0 and ADC1_ 0) are tie d toge th er and co nne cte d to both , cha nnel
Fig 2. Pin configuration LBGA256 package Fig 3. Pin configuration TFBGA100 package
002aag541
LPC185x/3xFET256
Transparent top view
T
R
P
N
M
L
J
G
K
H
F
E
D
C
B
A
2 4 6 8 10 12
13
14
15
16
1357911
ball A1
index area
002aah356
LPC183x/2x/1xFET100
Transparent top view
J
G
K
H
F
E
D
C
B
A
24681013579
ball A1
index area
Fig 4. Pin configuration LQFP208 package Fig 5. Pin configurati on LQFP144 package
LPC1857/53FBD208
104
1
52
156
105
53
157
208
002aag543
LPC183x/2x/1xFBD144
72
1
36
108
73
37
109
144
002aah357
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 8 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
0 on ADC0 and channe l 0 on ADC1, chann el 1 inp uts (nam ed ADC0_ 1 a nd ADC1_ 1) are
tied together and connected to channel 1 on ADC0 and ADC1, and so forth. There are
eight ADC channels total for the two ADCs.
Table 3. Pin description
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
Multiplexed digital pins
P0_0 L3 G2 32 47 [2] N;
PU I/O GPIO0[0] — General purpose digital input/output pin.
I/O SSP1_MISO — Master In Slave Out for SSP1.
IENET_RXD1 — Ethernet receive data 1 (RMII/MII interface).
-R — Function reserved.
-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/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 G1 34 50 [2] N;
PU I/O GPIO0[1] — General purpose digital input/output pin.
I/O SSP1_MOSI — Master Out Slave in for SSP1.
IENET_COL — Ethernet Collision detect (MII interface).
-R — Function reserved.
-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.
P1_0 P2 H1 38 54 [2] N;
PU I/O GPIO0[4] — General purpose digital input/output pin.
ICTIN_3 — SCTimer/PWM input 3. Capture input 1 of timer 1.
I/O EMC_A5 — External memory address line 5.
-R — Function reserved.
-R — Function reserved.
I/O SSP0_SSEL — Slave Select for SSP0.
-R — Function reserved.
I/O EMC_D12 — External memory data line 12.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 9 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P1_1 R2 K2 42 58 [2] N;
PU I/O GPIO0[8] — General purpose digital input/output pin. External
boot pin (see Table 5).
OCTOUT_7 — SCTimer/PWM output 7. Match output 3 of timer
1.
I/O EMC_A6 — External memory address line 6.
-R — Function reserved.
-R — Function reserved.
I/O SSP0_MISO — Master In Slave Out for SSP0.
-R — Function reserved.
I/O EMC_D13 — External memory data line 13.
P1_2 R3 K1 43 60 [2] N;
PU I/O GPIO0[9] — General purpose digital input/output pin. External
boot pin (see Table 5).
OCTOUT_6 — SCTimer/PWM output 6. Match output 2 of timer
1.
I/O EMC_A7 — External memory address line 7.
-R — Function reserved.
-R — Function reserved.
I/O SSP0_MOSI — Master Out Slave in for SSP0.
-R — Function reserved.
I/O EMC_D14 — External memory data line 14.
P1_3 P5 J1 44 61 [2] N;
PU I/O GPIO0[10] — General purpose digital input/output pin.
OCTOUT_8 — SCTimer/PWM output 8. Match output 0 of timer
2.
-R — Function reserved.
OEMC_OELOW active Output Enable signal.
OUSB0_IND1 — USB0 port ind icator LED contro l output 1.
I/O SSP1_MISO — Master In Slave Out for SSP1.
-R — Function reserved.
OSD_RST — SD/MMC reset signal for MMC4.4 card.
P1_4 T3 J2 47 64 [2] N;
PU I/O GPIO0[11] — General purpose digital input/output pin.
OCTOUT_9 — SCTimer/PWM output 9. Match output 3 of timer
3.
-R — Function reserved.
OEMC_BLS0LOW active Byte Lane select signal 0.
OUSB0_IND0 — USB0 port ind icator LED control output 0.
I/O SSP1_MOSI — Master Out Slave in for SSP1.
I/O EMC_D15 — External memory data line 15.
OSD_VOLT1 — SD/MMC bus voltage select output 1.
Table 3. Pin description …continued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 10 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P1_5 R5 J4 48 65 [2] N;
PU I/O GPIO1[8] — General purpose digital input/output pin.
OCTOUT_10 — SCTimer/PWM output 10. Match output 3 of
timer 3.
-R — Function reserved.
OEMC_CS0LOW active Chip Select 0 signal.
IUSB0_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.
-R — Function reserved.
OSD_POW — SD/MMC card power monitor output.
P1_6 T4 K4 49 67 [2] N;
PU I/O GPIO1[9] — General purpose digital input/output pin.
ICTIN_5 — SCTimer/PWM input 5. Capture input 2 of timer 2.
-R — Function reserved.
OEMC_WELOW active Write Enable signal.
-R — Function reserved.
OEMC_BLS0LOW active Byte Lane select signal 0.
-R — Function reserved.
I/O SD_CMD — SD/MMC command signal.
P1_7 T5 G4 50 69 [2] N;
PU I/O GPIO1[0] — General purpose digital input/output pin.
IU1_DSR — Data Set Ready input for UART1.
OCTOUT_13 — SCTimer/PWM output 13. Match output 3 of
timer 3.
I/O EMC_D0 — External memory data line 0.
OUSB0_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.
Table 3. Pin description …continued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 11 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P1_8 R7 H5 51 71 [2] N;
PU I/O GPIO1[1] — General purpose digital input/output pin.
OU1_DTR — Data Terminal Ready output for UART1.
OCTOUT_12 — SCTimer/PWM output 12. Match output 3 of
timer 3.
I/O EMC_D1 — External memory data line 1.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
OSD_VOLT0 — SD/MMC bus voltage select output 0.
P1_9 T7 J5 52 73 [2] N;
PU I/O GPIO1[2] — General purpose digital input/output pin.
OU1_RTS — Request to Send output for UART1.
OCTOUT_11 — SCTimer/PWM output 11. Match output 3 of
timer 2.
I/O EMC_D2 — External memory data line 2.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
I/O SD_DAT0 — SD/MMC data bus line 0.
P1_10 R8 H6 53 75 [2] N;
PU I/O GPIO1[3] — General purpose digital input/output pin.
IU1_RI — Ring Indicator input for UART1.
OCTOUT_14 — SCTimer/PWM output 14. Match output 2 of
timer 3.
I/O EMC_D3 — External memory data line 3.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
I/O SD_DAT1 — SD/MMC data bus line 1.
P1_11 T9 J7 55 77 [2] N;
PU I/O GPIO1[4] — General purpose digital input/output pin.
IU1_CTS — Clear to Send input for UART1.
OCTOUT_15 — SCTimer/PWM output 15. Match output 3 of
timer 3.
I/O EMC_D4 — External memory data line 4.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
I/O SD_DAT2 — SD/MMC data bus line 2.
Table 3. Pin description …continued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 12 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P1_12 R9 K7 56 78 [2] N;
PU I/O GPIO1[5] — General purpose digital input/output pin.
IU1_DCD — Data Carrier Detect input for UART1.
-R — Function reserved.
I/O EMC_D5 — External memory data line 5.
IT0_CAP1 — Capture input 1 of timer 0.
-R — Function reserved.
-R — Function reserved.
I/O SD_DAT3 — SD/MMC data bus line 3.
P1_13 R10 H8 60 83 [2] N;
PU I/O GPIO1[6] — General purpose digital input/output pin.
OU1_TXD — Transmitter output for UART1.
-R — Function reserved.
I/O EMC_D6 — External memory data line 6.
IT0_CAP0 — Capture input 0 of timer 0.
-R — Function reserved.
-R — Function reserved.
ISD_CD — SD/MMC card detect input.
P1_14 R11 J8 61 85 [2] N;
PU I/O GPIO1[7] — General purpose digital input/output pin.
IU1_RXD — Receiver input for UART1.
-R — Function reserved.
I/O EMC_D7 — External memory data line 7.
OT0_MAT2 — Match output 2 of timer 0.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
P1_15 T12 K8 62 87 [2] N;
PU I/O GPIO0[2] — General purpose digital input/output pin.
OU2_TXD — Transmitter output for USART2.
-R — Function reserved.
IENET_RXD0 — Ethernet receive data 0 (RMII/MII interface).
OT0_MAT1 — Match output 1 of timer 0.
-R — Function reserved.
I/O EMC_D8 — External memory data line 8.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 13 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P1_16 M7 H9 64 90 [2] N;
PU I/O GPIO0[3] — General purpose digital input/output pin.
IU2_RXD — Receiver input for USART2.
-R — Function reserved.
IENET_CRS — Ethernet Carrier Sense (MII interface).
OT0_MAT0 — Match output 0 of timer 0.
-R — Function reserved.
I/O EMC_D9 — External memory data line 9.
IENET_RX_DV — Ethernet Receive Data Valid (RMII/MII
interface).
P1_17 M8 H10 66 93 [3] N;
PU I/O GPIO0[12] — General purpose digital input/output pin.
I/O U2_UCLK — Serial clock input/output for USART2 in
synchronous mode.
-R — Function reserved.
I/O ENET_MDIO — Ethernet MIIM data input and output.
IT0_CAP3 — Capture input 3 of timer 0.
OCAN1_TD — CAN1 transmitter outp ut.
-R — Function reserved.
-R — Function reserved.
P1_18 N12 J10 67 95 [2] N;
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.
-R — Function reserved.
OENET_TXD0 — Ethernet transmit data 0 (RMII/MII interface).
OT0_MAT3 — Match output 3 of timer 0.
ICAN1_RD — CAN1 receiver input.
-R — Function reserved.
I/O EMC_D10 — External memory data line 10.
P1_19 M11 K9 68 96 [2] N;
PU IENET_TX_CLK (ENET_REF_CLK) — Ethernet Transmit
Clock (MII interface) or Ethernet Reference Clock (RMII
interface).
I/O SSP1_SCK — Serial clock for SSP1.
-R — Function reserved.
-R — Function reserved.
OCLKOUT — Clock output pin .
-R — Function reserved.
OI2S0_RX_MCLK — I2S receive 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.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 14 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P1_20 M10 K10 70 100 [2] N;
PU I/O GPIO0[15] — General purpose digital input/output pin.
I/O SSP1_SSEL — Slave Select for SSP1.
-R — Function reserved.
OENET_TXD1 — Ethernet transmit data 1 (RMII/MII interface).
IT0_CAP2 — Capture input 2 of timer 0.
-R — Function reserved.
-R — Function reserved.
I/O EMC_D11 — External memory data line 11.
P2_0 T16 G10 75 108 [2] N;
PU -R — Function reserved.
OU0_TXD — Transmitter output for USART0. See Table 4 for
ISP mode.
I/O EMC_A13 — External memory address line 13.
OUSB0_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.
-R — Function reserved.
IT3_CAP0 — Capture input 0 of timer 3.
OENET_MDC — Ethernet MIIM clock.
P2_1 N15 G7 81 116 [2] N;
PU -R — Function reserved.
IU0_RXD — Receiver input for USART0. See Table 4 for ISP
mode.
I/O EMC_A12 — External memory address line 12.
IUSB0_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 GPIO5[1] — General purpose digital input/output pin.
-R — Function reserved.
IT3_CAP1 — Capture input 1 of timer 3.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 15 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P2_2 M15 F5 84 121 [2] N;
PU -R — Function reserved.
I/O U0_UCLK — Serial clock input/output for USART0 in
synchronous mode.
I/O EMC_A11 — External memory address line 11.
OUSB0_IND1 — USB0 port ind icator LED contro l output 1.
I/O GPIO5[2] — General purpose digital input/output pin.
ICTIN_6 — SCTimer/PWM input 6. Capture input 1 of timer 3.
IT3_CAP2 — Capture input 2 of timer 3.
OEMC_CS1LOW active Chip Select 1 signal.
P2_3 J12 D8 87 127 [3] N;
PU -R — Function reserved.
I/O I2C1_SDA — I2C1 data input/output (this pin does not use a
specialized I2C pad).
OU3_TXD — Transmitter output for USART3. See Table 4 for
ISP mode.
ICTIN_1 — SCTimer/PWM input 1. Capture input 1 of timer 0.
Capture input 1 of timer 2.
I/O GPIO5[3] — General purpose digital input/output pin.
-R — Function reserved.
OT3_MAT0 — Match output 0 of timer 3.
OUSB0_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.
P2_4 K11 D9 88 128 [3] N;
PU -R — Function reserved.
I/O I2C1_SCL — I2C1 clock input/output (this pin does not use a
specialized I2C pad).
IU3_RXD — Receiver input for USART3. See Table 4 for ISP
mode.
ICTIN_0 — SCTimer/PWM input 0. Capture input 0 of timer 0,
1, 2, 3.
I/O GPIO5[4] — General purpose digital input/output pin.
-R — Function reserved.
OT3_MAT1 — Match output 1 of timer 3.
IUSB0_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).
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 16 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P2_5 K14 D10 91 131 [3] N;
PU -R — Function reserved.
ICTIN_2 — SCTimer/PWM input 2. Capture input 2 of timer 0.
IUSB1_VBUS — Monitors the presence of USB1 bus power.
Note: This signal must be HIGH for USB reset to occur.
IADCTRIG1 — ADC trigger input 1.
I/O GPIO5[5] — General purpose digital input/output pin.
-R — Function reserved.
OT3_MAT2 — Match output 2 of timer 3.
OUSB0_IND0 — USB0 port ind icator LED control
output 0.
P2_6 K16 G9 95 137 [2] N;
PU -R — Function reserved.
I/O U0_DIR — RS-485/EIA-485 output enable/direction control for
USART0.
I/O EMC_A10 — External memory address line 10.
OUSB0_IND0 — USB0 port ind icator LED control
output 0.
I/O GPIO5[6] — General purpose digital input/output pin.
ICTIN_7 — SCTimer/PWM input 7.
IT3_CAP3 — Capture input 3 of timer 3.
OEMC_BLS1LOW active Byte Lane select signal 1.
P2_7 H14 C10 96 138 [2] N;
PU I/O GPIO0[7] — General purpose digital input/output pin. ISP
entry pin. If this pin is pulled LOW at rese t, the part enters ISP
mode or boots from an external source (see Table 4 and
Table 5).
OCTOUT_1 — SCTimer/PWM output 1. Match output 3 of timer
3.
I/O U3_UCLK — Serial clock input/output for USART3 in
synchronous mode.
I/O EMC_A9 — External memory address line 9.
-R — Function reserved.
-R — Function reserved.
OT3_MAT3 — Match output 3 of timer 3.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 17 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P2_8 J16 C6 98 140 [2] N;
PU -R — Function reserved. External boot pin (see Table 5)
OCTOUT_0 — SCTimer/PWM 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 B10 102 144 [2] N;
PU I/O GPIO1[10] — General purpose digital input/output pin.
External boot pin (see Table 5).
OCTOUT_3 — SCTimer/PWM 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 E8 104 146 [2] N;
PU I/O GPIO0[14] — General purpose digital input/output pin.
OCTOUT_2 — SCTimer/PWM output 2. Match output 2 of timer
0.
OU2_TXD — Transmitter output for USART2.
I/O EMC_A1 — External memory address line 1.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
P2_11 F16 A9 105 148 [2] N;
PU I/O GPIO1[11] — General purpose digital input/output pin.
OCTOUT_5 — SCTimer/PWM output 5. Match output 3 of timer
3.
IU2_RXD — Receiver input for USART2.
I/O EMC_A2 — External memory address line 2.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 18 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P2_12 E15 B9 106 153 [2] N;
PU I/O GPIO1[12] — General purpose digital input/output pin.
OCTOUT_4 — SCTimer/PWM output 4. Match output 3 of timer
3.
-R — Function reserved.
I/O EMC_A3 — External memory address line 3.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
I/O U2_UCLK — Serial clock input/output for USART2 in
synchronous mode.
P2_13 C16 A10 108 156 [2] N;
PU I/O GPIO1[13] — General purpose digital input/output pin.
ICTIN_4 — SCTimer/PWM input 4. Capture input 2 of timer 1.
-R — Function reserved.
I/O EMC_A4 — External memory address line 4.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
I/O U2_DIR — RS-485/EIA-485 output enable/direction control for
USART2.
P3_0 F13 A8 112 161 [2] N;
PU I/O I2S0_RX_SCK — I2S receive clock. It is driven by th e master
and received by the slave. Corresponds to the signal SCK in
the I2S-bus specification.
OI2S0_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.
OI2S0_TX_MCLK — I2S transmit master clock.
I/O SSP0_SCK — Serial clock for SSP0.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 19 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P3_1 G11 F7 114 163 [2] N;
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.
ICAN0_RD — CAN receiver input.
OUSB1_IND1 — USB1 Port indicator LED control output 1.
I/O GPIO5[8] — General purpose digital input/output pin.
-R — Function reserved.
OLCD_VD15 — LCD data.
-R — Function reserved.
P3_2 F11 G6 116 166 [2] OL;
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.
OCAN0_TD — CAN transmitter output.
OUSB1_IND0 — USB1 Port indicator LED control output 0.
I/O GPIO5[9] — General purpose digital input/output pin.
-R — Function reserved.
OLCD_VD14 — LCD data.
-R — Function reserved.
P3_3 B14 A7 118 169 [4] N;
PU -R — Function reserved.
-R — Function reserved.
I/O SSP0_SCK — Serial clock for SSP0.
OSPIFI_SCK — Serial clock for SPIFI.
OCGU_OUT1 — CGU spare clock output 1.
-R — Function reserved.
OI2S0_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.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 20 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P3_4 A15 B8 119 171 [2] N;
PU I/O GPIO1[14] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
I/O SPIFI_SIO3 — I/O lane 3 for SPIFI.
OU1_TXD — Transmitter output for UART1.
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.
OLCD_VD13 — LCD data.
P3_5 C12 B7 121 173 [2] N;
PU I/O GPIO1[15] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
I/O SPIFI_SIO2 — I/O lane 2 for SPIFI.
IU1_RXD — Receiver input for UART1.
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.
OLCD_VD12 — LCD data.
P3_6 B13 C7 122 174 [2] N;
PU I/O GPIO0[6] — General purpose digital input/output pin.
-R — Function reserved.
I/O SSP0_SSEL — Slave Select for SSP0.
I/O SPIFI_MISO — Input 1 in SPIFI quad mode; SPIFI output IO1.
-R — Function reserved.
I/O SSP0_MISO — Master In Slave Out for SSP0.
-R — Function reserved.
-R — Function reserved.
P3_7 C11 D7 123 176 [2] N;
PU -R — Function reserved.
-R — Function reserved.
I/O SSP0_MISO — Master In Slave Out for SSP0.
I/O SPIFI_MOSI — Input 0 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.
-R — Function reserved.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 21 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P3_8 C10 E7 124 179 [2] N;
PU -R — Function reserved.
-R — Function reserved.
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.
P4_0 D5 - 1 1 [2] N;
PU I/O GPIO2[0] — General purpose digital input/output pin.
OMCOA0 — Motor control PWM channel 0, output A.
INMI — External interrupt input to NMI.
-R — Function reserved.
-R — Function reserved.
OLCD_VD13 — LCD data.
I/O U3_UCLK — Serial clock input/output for USART3 in
synchronous mode.
-R — Function reserved.
P4_1 A1 - 3 3 [5] N;
PU I/O GPIO2[1] — General purpose digital input/output pin.
OCTOUT_1 — SCTimer/PWM output 1. Match output 3 of timer
3.
OLCD_VD0 — LCD data.
-R — Function reserved.
-R — Function reserved.
OLCD_VD19 — LCD data.
OU3_TXD — Transmitter output for USART3.
IENET_COL — Ethernet Collision detect (MII interface).
AI ADC0_1 — ADC0 and ADC1, input channel 1. Configure the
pin as GPIO input and use the ADC function select register in
the SCU to select the ADC.
P4_2 D3 - 8 12 [2] N;
PU I/O GPIO2[2] — General purpose digital input/output pin.
OCTOUT_0 — SCTimer/PWM output 0. Match output 0 of timer
0.
OLCD_VD3 — LCD data.
-R — Function reserved.
-R — Function reserved.
OLCD_VD12 — LCD data.
IU3_RXD — Receiver input for USART3.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 22 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P4_3 C2 - 7 10 [5] N;
PU I/O GPIO2[3] — General purpose digital input/output pin.
OCTOUT_3 — SCTimer/PWM output 3. Match output 3 of timer
0.
OLCD_VD2 — LCD data.
-R — Function reserved.
-R — Function reserved.
OLCD_VD21 — LCD data.
I/O U3_BAUD — Baud pin for USART3.
-R — Function reserved.
AI ADC0_0 — ADC0 and ADC1, input channel 0. Configure the
pin as GPIO input and use the ADC function select register in
the SCU to select the ADC.
P4_4 B1 - 9 14 [5] N;
PU I/O GPIO2[4] — General purpose digital input/output pin.
OCTOUT_2 — SCTimer/PWM output 2. Match output 2 of timer
0.
OLCD_VD1 — LCD data.
-R — Function reserved.
-R — Function reserved.
OLCD_VD20 — LCD data.
I/O U3_DIR — RS-485/EIA-485 output enable/direction control for
USART3.
-R — Function reserved.
AO DAC — DAC output. Configure the pin as GPIO input and use
the analog function select register in the SCU to select the
DAC.
P4_5 D2 - 10 15 [2] N;
PU I/O GPIO2[5] — General purpose digital input/output pin.
OCTOUT_5 — SCTimer/PWM output 5. Match output 3 of timer
3.
OLCD_FP — Frame pulse (STN). V ertical synchronization pulse
(TFT).
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 23 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P4_6 C1 - 11 17 [2] N;
PU I/O GPIO2[6] — General purpose digital input/output pin.
OCTOUT_4 — SCTimer/PWM output 4. Match output 3 of timer
3.
OLCD_ENAB/LCDM — STN AC bias drive or TFT data enabl e
input.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
P4_7 H4 - 14 21 [2] O;
PU OLCD_DCLK — LCD panel clock.
IGP_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.
P4_8 E2 - 15 23 [2] N;
PU -R — Function reserved.
ICTIN_5 — SCTimer/PWM input 5. Capture input 2 of timer 2.
OLCD_VD9 — LCD data.
-R — Function reserved.
I/O GPIO5[12] — General purpose digital input/output pin.
OLCD_VD22 — LCD data.
OCAN1_TD — CAN1 transmitter outp ut.
-R — Function reserved.
P4_9 L2 - 33 48 [2] N;
PU -R — Function reserved.
ICTIN_6 — SCTimer/PWM input 6. Capture input 1 of timer 3.
OLCD_VD11 — LCD data.
-R — Function reserved.
I/O GPIO5[13] — General purpose digital input/output pin.
OLCD_VD15 — LCD data.
ICAN1_RD — CAN1 receiver input.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 24 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P4_10 M3 - 35 51 [2] N;
PU -R — Function reserved.
ICTIN_2 — SCTimer/PWM input 2. Capture input 2 of timer 0.
OLCD_VD10 — LCD data.
-R — Function reserved.
I/O GPIO5[14] — General purpose digital input/output pin.
OLCD_VD14 — LCD data.
-R — Function reserved.
-R — Function reserved.
P5_0 N3 - 37 53 [2] N;
PU I/O GPIO2[9] — General purpose digital input/output pin.
OMCOB2 — Motor control PWM channel 2, output B.
I/O EMC_D12 — External memory data line 12.
-R — Function reserved.
IU1_DSR — Data Set Ready input for UART1.
IT1_CAP0 — Capture input 0 of timer 1.
-R — Function reserved.
-R — Function reserved.
P5_1 P3 - 39 55 [2] N;
PU I/O GPIO2[10] — General purpose digital input/output pin.
IMCI2 — Motor control PWM channel 2, input.
I/O EMC_D13 — External memory data line 13.
-R — Function reserved.
OU1_DTR — Data Terminal Ready output for UART1. Can also
be configured to be an RS-485/EIA-485 output enable signal
for UART1.
IT1_CAP1 — Capture input 1 of timer 1.
-R — Function reserved.
-R — Function reserved.
P5_2 R4 - 46 63 [2] N;
PU I/O GPIO2[11] — General purpose digital input/output pin.
IMCI1 — Motor control PWM channel 1, input.
I/O EMC_D14 — External memory data line 14.
-R — Function reserved.
OU1_RTS — Request to Send output for UART1. Can also be
configured to be an RS-485/EIA-485 output enable signal for
UART1.
IT1_CAP2 — Capture input 2 of timer 1.
-R — Function reserved.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 25 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P5_3 T8 - 54 76 [2] N;
PU I/O GPIO2[12] — General purpose digital input/output pin.
IMCI0 — Motor control PWM channel 0, input.
I/O EMC_D15 — External memory data line 15.
-R — Function reserved.
IU1_RI — Ring Indicator input for UART1.
IT1_CAP3 — Capture input 3 of timer 1.
-R — Function reserved.
-R — Function reserved.
P5_4 P9 - 57 80 [2] N;
PU I/O GPIO2[13] — General purpose digital input/output pin.
OMCOB0 — Motor control PWM channel 0, output B.
I/O EMC_D8 — External memory data line 8.
-R — Function reserved.
IU1_CTS — Clear to Send input for UART1.
OT1_MAT0 — Match output 0 of timer 1.
-R — Function reserved.
-R — Function reserved.
P5_5 P10 - 58 81 [2] N;
PU I/O GPIO2[14] — General purpose digital input/output pin.
OMCOA1 — Motor control PWM channel 1, output A.
I/O EMC_D9 — External memory data line 9.
-R — Function reserved.
IU1_DCD — Data Carrier Detect input for UART1.
OT1_MAT1 — Match output 1 of timer 1.
-R — Function reserved.
-R — Function reserved.
P5_6 T13 - 63 89 [2] N;
PU I/O GPIO2[15] — General purpose digital input/output pin.
OMCOB1 — Motor control PWM channel 1, output B.
I/O EMC_D10 — External memory data line 10.
-R — Function reserved.
OU1_TXD — Transmitter output for UART1.
OT1_MAT2 — Match output 2 of timer 1.
-R — Function reserved.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 26 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P5_7 R12 - 65 91 [2] N;
PU I/O GPIO2[7] — General purpose digital input/output pin.
OMCOA2 — Motor control PWM channel 2, output A.
I/O EMC_D11 — External memory data line 11.
-R — Function reserved.
IU1_RXD — Receiver input for UART1.
OT1_MAT3 — Match output 3 of timer 1.
-R — Function reserved.
-R — Function reserved.
P6_0 M12 H7 73 105 [2] N;
PU -R — Function reserved.
OI2S0_RX_MCLK — I2S receive master clock.
-R — Function reserved.
-R — Function reserved.
I/O I2S0_RX_SCK — Receive Clock. It is driv en by the master
and received by the slave. Corresponds to the signal SCK in
the I2S-bus specification.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
P6_1 R15 G5 74 107 [2] N;
PU I/O GPIO3[0] — General purpose digital input/output pin.
OEMC_DYCS1SDRAM chip select 1.
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.
-R — Function reserved.
IT2_CAP0 — Capture input 2 of timer 2.
-R — Function reserved.
-R — Function reserved.
P6_2 L13 J9 78 111 [2] N;
PU I/O GPIO3[1] — General purpose digital input/output pin.
OEMC_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.
-R — Function reserved.
IT2_CAP1 — Capture input 1 of timer 2.
-R — Function reserved.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 27 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P6_3 P15 - 79 113 [2] N;
PU I/O GPIO3[2] — General purpose digital input/output pin.
OUSB0_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.
OEMC_CS1LOW active Chip Select 1 signal.
-R — Function reserved.
IT2_CAP2 — Capture input 2 of timer 2.
-R — Function reserved.
-R — Function reserved.
P6_4 R16 F6 80 114 [2] N;
PU I/O GPIO3[3] — General purpose digital input/output pin.
ICTIN_6 — SCTimer/PWM input 6. Capture input 1 of timer 3.
OU0_TXD — Transmitter output for USART0.
OEMC_CASLOW active SDRAM Column Address S trobe.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
P6_5 P16 F9 82 117 [2] N;
PU I/O GPIO3[4] — General purpose digital input/output pin.
OCTOUT_6 — SCTimer/PWM output 6. Match output 2 of timer
1.
IU0_RXD — Receiver input for USART0.
OEMC_RASLOW active SDRAM Row Address Strobe.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
P6_6 L14 - 83 119 [2] N;
PU I/O GPIO0[5] — General purpose digital input/output pin.
OEMC_BLS1LOW active Byte Lane select signal 1.
-R — Function reserved.
IUSB0_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.
IT2_CAP3 — Capture input 3 of timer 2.
-R — Function reserved.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 28 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P6_7 J13 - 85 123 [2] N;
PU -R — Function reserved.
I/O EMC_A15 — External memory address line 15.
-R — Function reserved.
OUSB0_IND1 — USB0 port ind icator LED contro l output 1.
I/O GPIO5[15] — General purpose digital input/output pin.
OT2_MAT0 — Match output 0 of timer 2.
-R — Function reserved.
-R — Function reserved.
P6_8 H13 - 86 125 [2] N;
PU -R — Function reserved.
I/O EMC_A14 — External memory address line 14.
-R — Function reserved.
OUSB0_IND0 — USB0 port ind icator LED contro l output 0.
I/O GPIO5[16] — General purpose digital input/output pin.
OT2_MAT1 — Match output 1 of timer 2.
-R — Function reserved.
-R — Function reserved.
P6_9 J15 F8 97 139 [2] N;
PU I/O GPIO3[5] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
OEMC_DYCS0SDRAM chip select 0.
-R — Function reserved.
OT2_MAT2 — Match output 2 of timer 2.
-R — Function reserved.
-R — Function reserved.
P6_10 H15 - 100 142 [2] N;
PU I/O GPIO3[6] — General purpose digital input/output pin.
OMCABORTMotor control PWM, LOW-active fast abort.
-R — Function reserved.
OEMC_DQMOUT1 — Data mask 1 used with SDRAM and static
devices.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 29 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P6_11 H12 C9 101 143 [2] N;
PU I/O GPIO3[7] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
OEMC_CKEOUT0 — SDRAM clock enable 0.
-R — Function reserved.
OT2_MAT3 — Match output 3 of timer 2.
-R — Function reserved.
-R — Function reserved.
P6_12 G15 - 103 145 [2] N;
PU I/O GPIO2[8] — General purpose digital input/output pin.
OCTOUT_7 — SCTimer/PWM output 7. Match output 3 of timer
1.
-R — Function reserved.
OEMC_DQMOUT0 — Data mask 0 used with SDRAM and static
devices.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
P7_0 B16 - 110 158 [2] N;
PU I/O GPIO3[8] — General purpose digital input/output pin.
OCTOUT_14 — SCTimer/PWM output 14. Match output 2 of
timer 3.
-R — Function reserved.
OLCD_LE — Line end signal.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
P7_1 C14 - 113 162 [2] N;
PU I/O GPIO3[9] — General purpose digital input/output pin.
OCTOUT_15 — SCTimer/PWM 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.
OLCD_VD19 — LCD data.
OLCD_VD7 — LCD data.
-R — Function reserved.
OU2_TXD — Transmitter output for USART2.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 30 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P7_2 A16 - 115 165 [2] N;
PU I/O GPIO3[10] — General purpose digital input/output pin.
ICTIN_4 — SCTimer/PWM 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.
OLCD_VD18 — LCD data.
OLCD_VD6 — LCD data.
-R — Function reserved.
IU2_RXD — Receiver input for USART2.
-R — Function reserved.
P7_3 C13 - 117 167 [2] N;
PU I/O GPIO3[11] — General purpose digital input/output pin.
ICTIN_3 — SCTimer/PWM input 3. Capture input 1 of timer 1.
-R — Function reserved.
OLCD_VD17 — LCD data.
OLCD_VD5 — LCD data.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
P7_4 C8 - 132 189 [5] N;
PU I/O GPIO3[12] — General purpose digital input/output pin.
OCTOUT_13 — SCTimer/PWM output 13. Match output 3 of
timer 3.
-R — Function reserved.
OLCD_VD16 — LCD data.
OLCD_VD4 — LCD data.
OTRACEDATA[0] — Trace data, bit 0.
-R — Function reserved.
-R — Function reserved.
AI ADC0_4 — ADC0 and ADC1, input channel 4. Configure the
pin as GPIO input and use the ADC function select register in
the SCU to select the ADC.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 31 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P7_5 A7 - 133 191 [5] N;
PU I/O GPIO3[13] — General purpose digital input/output pin.
OCTOUT_12 — SCTimer/PWM output 12. Match output 3 of
timer 3.
-R — Function reserved.
OLCD_VD8 — LCD data.
OLCD_VD23 — LCD data.
OTRACEDATA[1] — Trace data, bit 1.
-R — Function reserved.
-R — Function reserved.
AI ADC0_3 — ADC0 and ADC1, input channel 3. Configure the
pin as GPIO input and use the ADC function select register in
the SCU to select the ADC.
P7_6 C7 - 134 194 [2] N;
PU I/O GPIO3[14] — General purpose digital input/output pin.
OCTOUT_11 — SCTimer/PWM output 1. Match output 3 of timer
2.
-R — Function reserved.
OLCD_LP — Line synchronization pulse (STN). Horizontal
synchronization pulse (TFT).
-R — Function reserved.
OTRACEDATA[2] — Trace data, bit 2.
-R — Function reserved.
-R — Function reserved.
P7_7 B6 - 140 201 [5] N;
PU I/O GPIO3[15] — General purpose digital input/output pin.
OCTOUT_8 — SCTimer/PWM output 8. Match output 0 of timer
2.
-R — Function reserved.
OLCD_PWR — LCD panel power enable.
-R — Function reserved.
OTRACEDATA[3] — Trace data, bit 3.
OENET_MDC — Ethernet MIIM clock.
-R — Function reserved.
AI ADC1_6 — ADC1 and ADC0, input channel 6. Configure the
pin as GPIO input and use the ADC function select register in
the SCU to select the ADC.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 32 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P8_0 E5 - - 2 [3] N;
PU I/O GPIO4[0] — General purpose digital input/output pin.
IUSB0_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.
IMCI2 — Motor control PWM channel 2, input.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
OT0_MAT0 — Match output 0 of timer 0.
P8_1 H5 - - 34 [3] N;
PU I/O GPIO4[1] — General purpose digital input/output pin.
OUSB0_IND1 — USB0 port ind icator LED contro l output 1.
-R — Function reserved.
IMCI1 — Motor control PWM channel 1, input.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
OT0_MAT1 — Match output 1 of timer 0.
P8_2 K4 - - 36 [3] N;
PU I/O GPIO4[2] — General purpose digital input/output pin.
OUSB0_IND0 — USB0 port ind icator LED contro l output 0.
-R — Function reserved.
IMCI0 — Motor control PWM channel 0, input.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
OT0_MAT2 — Match output 2 of timer 0.
P8_3 J3 - - 37 [2] N;
PU I/O GPIO4[3] — General purpose digital input/output pin.
I/O USB1_ULPI_D2 — ULPI link bidirectional data line 2.
-R — Function reserved.
OLCD_VD12 — LCD data.
OLCD_VD19 — LCD data.
-R — Function reserved.
-R — Function reserved.
OT0_MAT3 — Match output 3 of timer 0.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 33 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P8_4 J2 - - 39 [2] N;
PU I/O GPIO4[4] — General purpose digital input/output pin.
I/O USB1_ULPI_D1 — ULPI link bidirectional data line 1.
-R — Function reserved.
OLCD_VD7 — LCD data.
OLCD_VD16 — LCD data.
-R — Function reserved.
-R — Function reserved.
IT0_CAP0 — Capture input 0 of timer 0.
P8_5 J1 - - 40 [2] N;
PU I/O GPIO4[5] — General purpose digital input/output pin.
I/O USB1_ULPI_D0 — ULPI link bidirectional data line 0.
-R — Function reserved.
OLCD_VD6 — LCD data.
OLCD_VD8 — LCD data.
-R — Function reserved.
-R — Function reserved.
IT0_CAP1 — Capture input 1 of timer 0.
P8_6 K3 - - 43 [2] N;
PU I/O GPIO4[6] — General purpose digital input/output pin.
IUSB1_ULPI_NXT — ULPI link NXT signal. Data flow control
signal from the PHY.
-R — Function reserved.
OLCD_VD5 — LCD data.
OLCD_LP — Line synchronization pulse (STN). Horizontal
synchronization pulse (TFT).
-R — Function reserved.
-R — Function reserved.
IT0_CAP2 — Capture input 2 of timer 0.
P8_7 K1 - - 45 [2] N;
PU I/O GPIO4[7] — General purpose digital input/output pin.
OUSB1_ULPI_STP — ULPI link STP signal. Asserted to end or
interrupt transfers to the PHY.
-R — Function reserved.
OLCD_VD4 — LCD data.
OLCD_PWR — LCD panel power enable.
-R — Function reserved.
-R — Function reserved.
IT0_CAP3 — Capture input 3 of timer 0.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 34 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P8_8 L1 - - 49 [2] N;
PU -R — Function reserved.
IUSB1_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.
OCGU_OUT0 — CGU spare clock output 0.
OI2S1_TX_MCLK — I2S1 transmit master clock.
P9_0 T1 - - 59 [2] N;
PU I/O GPIO4[12] — General purpose digital input/output pin.
OMCABORTMotor control PWM, LOW-active fast abort.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
IENET_CRS — Ethernet Carrier Sense (MII interface).
-R — Function reserved.
I/O SSP0_SSEL — Slave Select for SSP0.
P9_1 N6 - - 66 [2] N;
PU I/O GPIO4[13] — General purpose digital input/output pin.
OMCOA2 — 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.
IENET_RX_ER — Ethernet receive error (MII interface).
-R — Function reserved.
I/O SSP0_MISO — Master In Slave Out for SSP0.
P9_2 N8 - - 70 [2] N;
PU I/O GPIO4[14] — General purpose digital input/output pin.
OMCOB2 — 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.
IENET_RXD3 — Ethernet receive data 3 (MII interface).
-R — Function reserved.
I/O SSP0_MOSI — Master Out Slave in for SSP0.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 35 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
P9_3 M6 - - 79 [2] N;
PU I/O GPIO4[15] — General purpose digital input/output pin.
OMCOA0 — Motor control PWM channel 0, output A.
OUSB1_IND1 — USB1 Port indicator LED control output 1.
-R — Function reserved.
-R — Function reserved.
IENET_RXD2 — Ethernet receive data 2 (MII interface).
-R — Function reserved.
OU3_TXD — Transmitter output for USART3.
P9_4 N10 - - 92 [2] N;
PU -R — Function reserved.
OMCOB0 — Motor control PWM channel 0, output B.
OUSB1_IND0 — USB1 Port indicator LED control output 0.
-R — Function reserved.
I/O GPIO5[17] — General purpose digital input/output pin.
OENET_TXD2 — Ethernet transmit data 2 (MII interface).
-R — Function reserved.
IU3_RXD — Receiver input for USART3.
P9_5 M9 - 69 98 [2] N;
PU -R — Function reserved.
OMCOA1 — Motor control PWM channel 1, output A.
OUSB1_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.
OENET_TXD3 — Ethernet transmit data 3 (MII interface).
-R — Function reserved.
OU0_TXD — Transmitter output for USART0.
P9_6 L11 - 72 103 [2] N;
PU I/O GPIO4[11] — General purpose digital input/output pin.
OMCOB1 — Motor control PWM channel 1, output B.
IUSB1_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.
IENET_COL — Ethernet Collision detect (MII interface).
-R — Function reserved.
IU0_RXD — Receiver input for USART0.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 36 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PA_0 L12 - - 126 [2] N;
PU -R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
OI2S1_RX_MCLK — I2S1 receive master clock.
OCGU_OUT1 — CGU spare clock output 1.
-R — Function reserved.
PA_1 J14 - - 134 [3] N;
PU I/O GPIO4[8] — General purpose digital input/output pin.
IQEI_IDX — Quadrature Encoder Interface INDEX input.
-R — Function reserved.
OU2_TXD — Transmitter output for USART2.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
PA_2 K15 - - 136 [3] N;
PU I/O GPIO4[9] — General purpose digital input/output pin.
IQEI_PHB — Quadrature Encoder Interface PHB input.
-R — Function reserved.
IU2_RXD — Receiver input for USART2.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
PA_3 H11 - - 147 [3] N;
PU I/O GPIO4[10] — General purpose digital input/output pin.
IQEI_PHA — Quadrature Encoder Interface PHA input.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 37 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PA_4 G13 - - 151 [2] N;
PU -R — Function reserved.
OCTOUT_9 — SCTimer/PWM output 9. Match output 3 of timer
3.
-R — Function reserved.
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.
PB_0 B15 - - 164 [2] N;
PU -R — Function reserved.
OCTOUT_10 — SCTimer/PWM output 10. Match output 3 of
timer 3.
OLCD_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.
PB_1 A14 - - 175 [2] N;
PU -R — Function reserved.
IUSB1_ULPI_DIR — ULPI link DIR signal. Controls the ULP
data line direction.
OLCD_VD22 — LCD data.
-R — Function reserved.
I/O GPIO5[21] — General purpose digital input/output pin.
OCTOUT_6 — SCTimer/PWM output 6. Match output 2 of timer
1.
-R — Function reserved.
-R — Function reserved.
PB_2 B12 - - 177 [2] N;
PU -R — Function reserved.
I/O USB1_ULPI_D7 — ULPI link bidirectional data line 7.
OLCD_VD21 — LCD data.
-R — Function reserved.
I/O GPIO5[22] — General purpose digital input/output pin.
OCTOUT_7 — SCTimer/PWM output 7. Match output 3 of timer
1.
-R — Function reserved.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 38 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PB_3 A13 - - 178 [2] N;
PU -R — Function reserved.
I/O USB1_ULPI_D6 — ULPI link bidirectional data line 6.
OLCD_VD20 — LCD data.
-R — Function reserved.
I/O GPIO5[23] — General purpose digital input/output pin.
OCTOUT_8 — SCTimer/PWM output 8. Match output 0 of timer
2.
-R — Function reserved.
-R — Function reserved.
PB_4 B11 - - 180 [2] N;
PU -R — Function reserved.
I/O USB1_ULPI_D5 — ULPI link bidirectional data line 5.
OLCD_VD15 — LCD data.
-R — Function reserved.
I/O GPIO5[24] — General purpose digital input/output pin.
ICTIN_5 — SCTimer/PWM input 5. Capture input 2 of timer 2.
-R — Function reserved.
-R — Function reserved.
PB_5 A12 - - 181 [2] N;
PU -R — Function reserved.
I/O USB1_ULPI_D4 — ULPI link bidirectional data line 4.
OLCD_VD14 — LCD data.
-R — Function reserved.
I/O GPIO5[25] — General purpose digital input/output pin.
ICTIN_7 — SCTimer/PWM input 7.
OLCD_PWR — LCD panel power enable.
-R — Function reserved.
PB_6 A6 - - - [5] N;
PU -R — Function reserved.
I/O USB1_ULPI_D3 — ULPI link bidirectional data line 3.
OLCD_VD13 — LCD data.
-R — Function reserved.
I/O GPIO5[26] — General purpose digital input/output pin.
ICTIN_6 — SCTimer/PWM input 6. Capture input 1 of timer 3.
OLCD_VD19 — LCD data.
-R — Function reserved.
AI ADC0_6 and ADC1ADC0, input channel 6. Con figure the
pin as GPIO input and use the ADC function select register in
the SCU to select the ADC.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 39 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PC_0 D4 - - 7 [5] N;
PU -R — Function reserved.
IUSB1_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).
OLCD_DCLK — LCD panel clock.
-R — Function reserved.
-R — Function reserved.
I/O SD_CLK — SD/MMC card clock.
AI ADC1_1 — ADC1 and ADC0, input channel 1. Configure the
pin as input (USB_ULPI_CLK) and use the ADC function select
register in the SCU to select the ADC.
PC_1 E4 - - 9 [2] N;
PU I/O USB1_ULPI_D7 — ULPI link bidirectional data line 7.
-R — Function reserved.
IU1_RI — Ring Indicator input for UART1.
OENET_MDC — Ethernet MIIM clock.
I/O GPIO6[0] — General purpose digital input/output pin.
-R — Function reserved.
IT3_CAP0 — Capture input 0 of timer 3.
OSD_VOLT0 — SD/MMC bus voltage select output 0.
PC_2 F6 - - 13 [2] N;
PU I/O USB1_ULPI_D6 — ULPI link bidirectional data line 6.
-R — Function reserved.
IU1_CTS — Clear to Send input for UART1.
OENET_TXD2 — Ethernet transmit data 2 (MII interface).
I/O GPIO6[1] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
OSD_RST — SD/MMC reset signal for MMC4.4 card.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 40 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PC_3 F5 - - 11 [5] N;
PU I/O USB1_ULPI_D5 — ULPI link bidirectional data line 5.
-R — Function reserved.
OU1_RTS — Request to Send output for UART1. Can also be
configured to be an RS-485/EIA-485 output enable signal for
UART1.
OENET_TXD3 — Ethernet transmit data 3 (MII interface).
I/O GPIO6[2] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
OSD_VOLT1 — SD/MMC bus voltage select output 1.
AI ADC1_0 — ADC1 and ADC0, input channel 0. Configure the
pin as GPIO input and use the ADC function select register in
the SCU to select the ADC.
PC_4 F4 - - 16 [2] N;
PU -R — Function reserved.
I/O USB1_ULPI_D4 — ULPI link bidirectional data line 4.
-R — Function reserved.
ENET_TX_EN — Ethernet transmit enable (RMII/MII
interface).
I/O GPIO6[3] — General purpose digital input/output pin.
-R — Function reserved.
IT3_CAP1 — Capture input 1 of timer 3.
I/O SD_DAT0 — SD/MMC data bus line 0.
PC_5 G4 - - 20 [2] N;
PU -R — Function reserved.
I/O USB1_ULPI_D3 — ULPI link bidirectional data line 3.
-R — Function reserved.
OENET_TX_ER — Ethernet T ransmit Error (MII interfac e).
I/O GPIO6[4] — General purpose digital input/output pin.
-R — Function reserved.
IT3_CAP2 — Capture input 2 of timer 3.
I/O SD_DAT1 — SD/MMC data bus line 1.
PC_6 H6 - - 22 [2] N;
PU -R — Function reserved.
I/O USB1_ULPI_D2 — ULPI link bidirectional data line 2.
-R — Function reserved.
IENET_RXD2 — Ethernet receive data 2 (MII interface).
I/O GPIO6[5] — General purpose digital input/output pin.
-R — Function reserved.
IT3_CAP3 — Capture input 3 of timer 3.
I/O SD_DAT2 — SD/MMC data bus line 2.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 41 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PC_7 G5 - - - [2] N;
PU -R — Function reserved.
I/O USB1_ULPI_D1 — ULPI link bidirectional data line 1.
-R — Function reserved.
IENET_RXD3 — Ethernet receive data 3 (MII interface).
I/O GPIO6[6] — General purpose digital input/output pin.
-R — Function reserved.
OT3_MAT0 — Match output 0 of timer 3.
I/O SD_DAT3 — SD/MMC data bus line 3.
PC_8 N4 - - - [2] N;
PU -R — Function reserved.
I/O USB1_ULPI_D0 — ULPI link bidirectional data line 0.
-R — Function reserved.
IENET_RX_DV — Ethernet Receive Data Valid (RMII/MII
interface).
I/O GPIO6[7] — General purpose digital input/output pin.
-R — Function reserved.
OT3_MAT1 — Match output 1 of timer 3.
ISD_CD — SD/MMC card detect input.
PC_9 K2 - - - [2] N;
PU -R — Function reserved.
IUSB1_ULPI_NXT — ULPI link NXT signal. Data flow control
signal from the PHY.
-R — Function reserved.
IENET_RX_ER — Ethernet receive error (MII interface).
I/O GPIO6[8] — General purpose digital input/output pin.
-R — Function reserved.
OT3_MAT2 — Match output 2 of timer 3.
OSD_POW — SD/MMC power monitor output.
PC_10 M5 - - - [2] N;
PU -R — Function reserved.
OUSB1_ULPI_STP — ULPI link STP signal. Asserted to end or
interrupt transfers to the PHY.
IU1_DSR — Data Set Ready input for UART1.
-R — Function reserved.
I/O GPIO6[9] — General purpose digital input/output pin.
-R — Function reserved.
OT3_MAT3 — Match output 3 of timer 3.
I/O SD_CMD — SD/MMC command signal.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 42 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PC_11 L5 - - - [2] N;
PU -R — Function reserved.
IUSB1_ULPI_DIR — ULPI link DIR signal. Controls the ULP
data line direction.
IU1_DCD — Data Carrier Detect input for UART1.
-R — Function reserved.
I/O GPIO6[10] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
I/O SD_DAT4 — SD/MMC data bus line 4.
PC_12 L6 - - - [2] N;
PU -R — Function reserved.
-R — Function reserved.
OU1_DTR — Data Terminal Ready output for UART1. Can also
be configured to be an RS-485/EIA-485 output enable signal
for UART1.
-R — Function reserved.
I/O GPIO6[11] — General purpose digital input/output pin.
-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/O SD_DAT5 — SD/MMC data bus line 5.
PC_13 M1 - - - [2] N;
PU -R — Function reserved.
-R — Function reserved.
OU1_TXD — Transmitter output for UART1.
-R — Function reserved.
I/O GPIO6[12] — General purpose digital input/output pin.
-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/O SD_DAT6 — SD/MMC data bus line 6.
PC_14 N1 - - - [2] N;
PU -R — Function reserved.
-R — Function reserved.
IU1_RXD — Receiver input for UART1.
-R — Function reserved.
I/O GPIO6[13] — General purpose digital input/output pin.
-R — Function reserved.
OENET_TX_ER — Ethernet T ransmit Error (MII interfac e).
I/O SD_DAT7 — SD/MMC data bus line 7.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 43 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PD_0 N2 - - - [2] N;
PU -R — Function reserved.
OCTOUT_15 — SCTimer/PWM output 15. Match output 3 of
timer 3.
OEMC_DQMOUT2 — Data mask 2 used with SDRAM and static
devices.
-R — Function reserved.
I/O GPIO6[14] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
PD_1 P1 - - - [2] N;
PU -R — Function reserved.
-R — Function reserved.
OEMC_CKEOUT2 — SDRAM clock enable 2.
-R — Function reserved.
I/O GPIO6[15] — General purpose digital input/output pin.
OSD_POW — SD/MMC power monitor output.
-R — Function reserved.
-R — Function reserved.
PD_2 R1 - - - [2] N;
PU -R — Function reserved.
OCTOUT_7 — SCTimer/PWM output 7. Match output 3 of timer
1.
I/O EMC_D16 — External memory data line 16.
-R — Function reserved.
I/O GPIO6[16] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
PD_3 P4 - - - [2] N;
PU -R — Function reserved.
OCTOUT_6 — SCTimer/PWM output 7. Match output 2 of timer
1.
I/O EMC_D17 — External memory data line 17.
-R — Function reserved.
I/O GPIO6[17] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 44 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PD_4 T2 - - - [2] N;
PU -R — Function reserved.
OCTOUT_8 — SCTimer/PWM output 8. Match output 0 of timer
2.
I/O EMC_D18 — External memory data line 18.
-R — Function reserved.
I/O GPIO6[18] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
PD_5 P6 - - - [2] N;
PU -R — Function reserved.
OCTOUT_9 — SCTimer/PWM output 9. Match output 3 of timer
3.
I/O EMC_D19 — External memory data line 19.
-R — Function reserved.
I/O GPIO6[19] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
PD_6 R6 - - 68 [2] N;
PU -R — Function reserved.
OCTOUT_10 — SCTimer/PWM output 10. Match output 3 of
timer 3.
I/O EMC_D20 — External memory data line 20.
-R — Function reserved.
I/O GPIO6[20] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
PD_7 T6 - - 72 [2] N;
PU -R — Function reserved.
ICTIN_5 — SCTimer/PWM input 5. Capture input 2 of timer 2.
I/O EMC_D21 — External memory data line 21.
-R — Function reserved.
I/O GPIO6[21] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 45 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PD_8 P8 - - 74 [2] N;
PU -R — Function reserved.
ICTIN_6 — SCTimer/PWM input 6. Capture input 1 of timer 3.
I/O EMC_D22 — External memory data line 22.
-R — Function reserved.
I/O GPIO6[22] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
PD_9 T11 - - 84 [2] N;
PU -R — Function reserved.
OCTOUT_13 — SCTimer/PWM output 13. Match output 3 of
timer 3.
I/O EMC_D23 — External memory data line 23.
-R — Function reserved.
I/O GPIO6[23] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
PD_10 P11 - - 86 [2] N;
PU -R — Function reserved.
ICTIN_1 — SCTimer/PWM input 1. Capture input 1 of timer 0.
Capture input 1 of
timer 2.
OEMC_BLS3LOW active Byte Lane select signal 3.
-R — Function reserved.
I/O GPIO6[24] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
PD_11 N9 - - 88 [2] N;
PU -R — Function reserved.
-R — Function reserved.
OEMC_CS3LOW 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.
OCTOUT_14 — SCTimer/PWM output 14. Match output 2 of
timer 3.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 46 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PD_12 N11 - - 94 [2] N;
PU -R — Function reserved.
-R — Function reserved.
OEMC_CS2LOW active Chip Select 2 signal.
-R — Function reserved.
I/O GPIO6[26] — General purpose digital input/output pin.
-R — Function reserved.
OCTOUT_10 — SCTimer/PWM output 10. Match output 3 of
timer 3.
-R — Function reserved.
PD_13 T14 - - 97 [2] N;
PU -R — Function reserved.
ICTIN_0 — SCTimer/PWM input 0. Capture input 0 of timer 0,
1, 2, 3.
OEMC_BLS2LOW active Byte Lane select signal 2.
-R — Function reserved.
I/O GPIO6[27] — General purpose digital input/output pin.
-R — Function reserved.
OCTOUT_13 — SCTimer/PWM output 13. Match output 3 of
timer 3.
-R — Function reserved.
PD_14 R13 - - 99 [2] N;
PU -R — Function reserved.
-R — Function reserved.
OEMC_DYCS2SDRAM chip select 2.
-R — Function reserved.
I/O GPIO6[28] — General purpose digital input/output pin.
-R — Function reserved.
OCTOUT_11 — SCTimer/PWM output 11. Match output 3 of
timer 2.
-R — Function reserved.
PD_15 T15 - - 101 [2] N;
PU -R — Function reserved.
-R — Function reserved.
I/O EMC_A17 — External memory address line 17.
-R — Function reserved.
I/O GPIO6[29] — General purpose digital input/output pin.
ISD_WP — SD/MMC card write protect input.
OCTOUT_8 — SCTimer/PWM output 8. Match output 0 of timer
2.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 47 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PD_16 R14 - - 104 [2] N;
PU -R — Function reserved.
-R — Function reserved.
I/O EMC_A16 — External memory address line 16.
-R — Function reserved.
I/O GPIO6[30] — General purpose digital input/output pin.
OSD_VOLT2 — SD/MMC bus voltage select output 2.
OCTOUT_12 — SCTimer/PWM output 12. Match output 3 of
timer 3.
-R — Function reserved.
PE_0 P14 - - 106 [2] N;
PU -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.
OCAN1_TD — CAN1 transmitter outp ut.
-R — Function reserved.
-R — Function reserved.
PE_1 N14 - - 112 [2] N;
PU -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.
ICAN1_RD — CAN1 receiver input.
-R — Function reserved.
-R — Function reserved.
PE_2 M14 - - 115 [2] N;
PU IADCTRIG0 — ADC trigger input 0.
ICAN0_RD — CAN receiver input.
-R — Function reserved.
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.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 48 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PE_3 K12 - - 118 [2] N;
PU -R — Function reserved.
OCAN0_TD — CAN transmitter output.
IADCTRIG1 — ADC trigger input 1.
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.
PE_4 K13 - - 120 [2] N;
PU -R — Function reserved.
INMI — External interrupt input to NMI.
-R — Function reserved.
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_5 N16 - - 122 [2] N;
PU -R — Function reserved.
OCTOUT_3 — SCTimer/PWM output 3. Match output 3 of timer
0.
OU1_RTS — Request to Send output for UART1. Can also be
configured to be an RS-485/EIA-485 output enable signal for
UART1.
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.
PE_6 M16 - - 124 [2] N;
PU -R — Function reserved.
OCTOUT_2 — SCTimer/PWM output 2. Match output 2 of timer
0.
IU1_RI — Ring Indicator input for UART1.
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.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 49 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PE_7 F15 - - 149 [2] N;
PU -R — Function reserved.
OCTOUT_5 — SCTimer/PWM output 5. Match output 3 of timer
3.
IU1_CTS — Clear to Send input for UART1.
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.
PE_8 F14 - - 150 [2] N;
PU -R — Function reserved.
OCTOUT_4 — SCTimer/PWM output 4. Match output 3 of timer
3.
IU1_DSR — Data Set Ready input for UART1.
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_9 E16 - - 152 [2] N;
PU -R — Function reserved.
ICTIN_4 — SCTimer/PWM input 4. Capture input 2 of timer 1.
IU1_DCD — Data Carrier Detect input for UART1.
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.
PE_10 E14 - - 154 [2] N;
PU -R — Function reserved.
ICTIN_3 — SCTimer/PWM input 3. Capture input 1 of timer 1.
OU1_DTR — Data Terminal Ready output for UART1. Can also
be configured to be an RS-485/EIA-485 output enable signal
for UART1.
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.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 50 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PE_11 D16 - - - [2] N;
PU -R — Function reserved.
OCTOUT_12 — SCTimer/PWM output 12. Match output 3 of
timer 3.
OU1_TXD — Transmitter output for UART1.
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.
PE_12 D15 - - - [2] N;
PU -R — Function reserved.
OCTOUT_11 — SCTimer/PWM output 11. Match output 3 of
timer 2.
IU1_RXD — Receiver input for UART1.
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.
PE_13 G14 - - - [2] N;
PU -R — Function reserved.
OCTOUT_14 — SCTimer/PWM 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).
OEMC_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.
PE_14 C15 - - - [2] N;
PU -R — Function reserved.
-R — Function reserved.
-R — Function reserved.
OEMC_DYCS3SDRAM chip select 3.
I/O GPIO7[14] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 51 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PE_15 E13 - - - [2] N;
PU -R — Function reserved.
OCTOUT_0 — SCTimer/PWM output 0. Match output 0 of timer
0.
I/O I2C1_SCL — I2C1 clock input/output (this pin does not use a
specialized I2C pad).
OEMC_CKEOUT3 — SDRAM clock enable 3.
I/O GPIO7[15] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
PF_0 D12 - - 159 [2] OL;
PU I/O SSP0_SCK — Serial clock for SSP0.
IGP_CLKIN — General-purpose clock input to the CGU.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
OI2S1_TX_MCLK — I2S1 transmit master clock.
PF_1 E11 - - - [2] N;
PU -R — Function reserved.
-R — Function reserved.
I/O SSP0_SSEL — Slave Select for SSP0.
-R — Function reserved.
I/O GPIO7[16] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
PF_2 D11 - - 168 [2] N;
PU -R — Function reserved.
OU3_TXD — Transmitter output for USART3.
I/O SSP0_MISO — Master In Slave Out for SSP0.
-R — Function reserved.
I/O GPIO7[17] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 52 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PF_3 E10 - - 170 [2] N;
PU -R — Function reserved.
IU3_RXD — Receiver input for USART3.
I/O SSP0_MOSI — Master Out Slave in for SSP0.
-R — Function reserved.
I/O GPIO7[18] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
PF_4 D10 H4 120 172 [2] OL;
PU I/O SSP1_SCK — Serial clock for SSP1.
IGP_CLKIN — General-purpose clock input to the CGU.
OTRACECLK — Trace clock.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
OI2S0_TX_MCLK — I2S transmit master clock.
I/O I2S0_RX_SCK — I2S receive clock. It is driven by th e master
and received by the slave. Corresponds to the signal SCK in
the I2S-bus specification.
PF_5 E9 - - 190 [5] N;
PU -R — Function reserved.
I/O U3_UCLK — Serial clock input/output for USART3 in
synchronous mode.
I/O SSP1_SSEL — Slave Select for SSP1.
OTRACEDATA[0] — Trace data, bit 0.
I/O GPIO7[19] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
AI ADC1_4 — ADC1 and ADC0, input channel 4. Configure the
pin as GPIO input and use the ADC function select register in
the SCU to select the ADC.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 53 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PF_6 E7 - - 192 [5] N;
PU -R — Function reserved.
I/O U3_DIR — RS-485/EIA-485 output enable/direction control for
USART3.
I/O SSP1_MISO — Master In Slave Out for SSP1.
OTRACEDATA[1] — Trace data, bit 1.
I/O GPIO7[20] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
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.
AI ADC1_3 — ADC1 and ADC0, input channel 3. Configure the
pin as GPIO input and use the ADC function select register in
the SCU to select the ADC.
PF_7 B7 - - 193 [5] N;
PU -R — Function reserved.
I/O U3_BAUD — Baud pin USART3.
I/O SSP1_MOSI — Master Out Slave in for SSP1.
OTRACEDATA[2] — Trace data, bit 2.
I/O GPIO7[21] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
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.
AI/
OADC1_7 — ADC1 and ADC0, input channel 7 or band gap
output. Configure the pin as GPIO input and use the ADC
function select register in the SCU to select the ADC.
PF_8 E6 - - - [5] N;
PU -R — Function reserved.
I/O U0_UCLK — Serial clock input/output for USART0 in
synchronous mode.
ICTIN_2 — SCTimer/PWM input 2. Capture input 2 of timer 0.
OTRACEDATA[3] — Trace data, bit 3.
I/O GPIO7[22] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
AI ADC0_2 — ADC0 and ADC1, input channel 2. Configure the
pin as GPIO input and use the ADC function select register in
the SCU to select the ADC.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 54 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
PF_9 D6 - - 203 [5] N;
PU -R — Function reserved.
I/O U0_DIR — RS-485/EIA-485 output enable/direction control for
USART0.
OCTOUT_1 — SCTimer/PWM output 1. Match output 3 of timer
3.
-R — Function reserved.
I/O GPIO7[23] — General purpose digital input/output pin.
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
AI ADC1_2 — ADC1 and ADC0, input channel 2. Configure the
pin as GPIO input and use the ADC function select register in
the SCU to select the ADC.
PF_10 A3 - - 205 [5] N;
PU -R — Function reserved.
OU0_TXD — Transmitter output for USART0.
-R — Function reserved.
-R — Function reserved.
I/O GPIO7[24] — General purpose digital input/output pin.
-R — Function reserved.
ISD_WP — SD/MMC card write protect input.
-R — Function reserved.
AI ADC0_5 — ADC0 and ADC1, input channel 5. Configure the
pin as GPIO input and use the ADC function select register in
the SCU to select the ADC.
PF_11 A2 - - 207 [5] N;
PU -R — Function reserved.
IU0_RXD — Receiver input for USART0.
-R — Function reserved.
-R — Function reserved.
I/O GPIO7[25] — General purpose digital input/output pin.
-R — Function reserved.
OSD_VOLT2 — SD/MMC bus voltage select output 2.
-R — Function reserved.
AI ADC1_5 — ADC1 and ADC0, input channel 5. Configure the
pin as GPIO input and use the ADC function select register in
the SCU to select the ADC.
Clock pins
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 55 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
CLK0 N5 K3 45 62 [4] O;
PU OEMC_CLK0 — SDRAM clock 0.
OCLKOUT — Clock output pin .
-R — Function reserved.
-R — Function reserved.
I/O SD_CLK — SD/MMC card clock.
OEMC_CLK01 — SDRAM clock 0 and clock 1 combined.
I/O SSP1_SCK — Serial clock for SSP1.
IENET_TX_CLK (ENET_REF_CLK) — Ethernet Transmit
Clock (MII interface) or Ethernet Reference Clock (RMII
interface).
CLK1 T10 - - - [4] O;
PU OEMC_CLK1 — SDRAM clock 1.
OCLKOUT — Clock output pin .
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
OCGU_OUT0 — CGU spare clock output 0.
-R — Function reserved.
OI2S1_TX_MCLK — I2S1 transmit master clock.
CLK2 D14 K6 99 141 [4] O;
PU OEMC_CLK3 — SDRAM clock 3.
OCLKOUT — Clock output pin .
-R — Function reserved.
-R — Function reserved.
I/O SD_CLK — SD/MMC card clock.
OEMC_CLK23 — SDRAM clock 2 and clock 3 combined.
OI2S0_TX_MCLK — I2S transmit master clock.
I/O I2S1_RX_SCK — Receive Clock. It is driv en by the master
and received by the slave. Corresponds to the signal SCK in
the I2S-bus specification.
CLK3 P12 - - - [4] O;
PU OEMC_CLK2 — SDRAM clock 2.
OCLKOUT — Clock output pin .
-R — Function reserved.
-R — Function reserved.
-R — Function reserved.
OCGU_OUT1 — CGU spare clock output 1.
-R — Function reserved.
I/O I2S1_RX_SCK — Receive Clock. It is driv en by the master
and received by the slave. Corresponds to the signal SCK in
the I2S-bus specification.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 56 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Debug pins
DBGEN L4 A6 28 41 [2] I I JTAG interface control signal. Also used for boundary scan. To
use the part in functional mode, connect this pin in one of the
following ways:
Leave DBGEN open. The DBGEN pin is pulled up
internally by a 50 k resistor.
Tie DBGEN to VDDIO.
Pull DBGEN up to VDDIO with an external pull-up resistor.
TCK/SWDCLK J5 H2 27 38 [2] I; F I Test Clock for JTAG interface (default) or Serial Wire (SW)
clock.
TRST M4 B4 29 42 [2] I; PU I Test Reset for JTAG interface.
TMS/SWDIO K6 C4 30 44 [2] I; PU I Test Mode Select for JTAG interface (default) or SW debug
data input/output.
TDO/SWO K5 H3 31 46 [2] O O Test Data Out for JTAG interface (default) or SW trace output.
TDI J4 G3 26 35 [2] I; PU I Test Data In for JTAG interface.
USB0 pins
USB0_DP F2 E1 18 26 [6] - I/O USB0 bidirectional D+ line. Do not add an external series
resistor.
USB0_DM G2 E2 20 28 [6] - I/O USB0 bidirectional D line. Do not ad d an external series
resistor.
USB0_VBUS F1 E3 21 29 [6]
[7] - I VBUS pin (power on USB cable). This pin includes an internal
pull-down resistor of 70 k (typical) 30 k.
USB0_ID H2 F1 22 30 [8] - I Indicates to the transceiver whether connected as an A-device
(USB0_ID LOW) or B-device (USB0_ID HIGH). For use with
OTG, this pin has an internal pul l-up resistor.
USB0_RREF H1 F3 24 32 [8] -12.0 k (accuracy 1 %) on-board resistor to ground for current
reference.
USB1 pins
USB1_DP F12 E9 89 129 [9] - I/O USB1 bidirectional D+ line. Add an external series resistor of
33 +/- 2 %.
USB1_DM G12 E10 90 130 [9] - I/O USB1 bidirectional D line. Add an extern al series resistor of
33 +/- 2 %.
I2C-bus pins
I2C0_SCL L15 D6 92 132 [10] I; F I/O I2C clock input/outp ut. Open-drain output (for I2C-bus
compliance).
I2C0_SDA L16 E6 93 133 [10] I; F I/O I2C data input/output. Open-drain output (for I2C-bus
compliance).
Reset and wake-up pins
RESET D9 B6 128 185 [11] I; IA 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. This pin
does not have an internal pull-up.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 57 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
WAKEUP0 A9 A4 130 187 [11] I; IA I External wake-up input; can raise an interrupt and can cause
wake-up from any of the low-power modes. A pulse with a
duration of at least 45 ns wakes up the part.
Input 0 of the event monitor. No internal pull-up is enabled
when this pin is configured as input.
WAKEUP1 A10 - - - [11] I; IA I External wake-up input; can raise an interrupt and can cause
wake-up from any of the low-power modes. A pulse with a
duration of at least 45 ns wakes up the part.
Input 1 of the event monitor. No internal pull-up is enabled
when this pin is configured as input.
WAKEUP2 C9 - - - [11] I; IA I E xternal wake-up input; can raise an interrupt and can cause
wake-up from any of the low-power modes. A pulse with a
duration of at least 45 ns wakes up the part.
Input 2 of the event monitor. This pin does not have an internal
pull-up.
WAKEUP3 D8 - - - [11] I; IA I E xternal wake-up input; can raise an interrupt and can cause
wake-up from any of the low-power modes. A pulse with a
duration of at least 45 ns wakes up the part. This pin does not
have an inte rn al pull-up.
ADC pins
ADC0_0/
ADC1_0/DAC E3 A2 6 8 [8] AI;
IA I ADC input channel 0. Shared between 10-bit ADC0/1 and
DAC.
ADC0_1/
ADC1_1 C3 A1 2 4 [8] AI;
IA I ADC input channel 1. Shared between 10-bit ADC0/1.
ADC0_2/
ADC1_2 A4 B3 143 206 [8] AI;
IA I ADC input channel 2. Shared between 10-bit ADC0/1.
ADC0_3/
ADC1_3 B5 A3 139 200 [8] AI;
IA I ADC input channel 3. Shared between 10-bit ADC0/1.
ADC0_4/
ADC1_4 C6 - 138 199 [8] AI;
IA I ADC input channel 4. Shared between 10-bit ADC0/1.
ADC0_5/
ADC1_5 B3 - 144 208 [8] AI;
IA I ADC input channel 5. Shared between 10-bit ADC0/1.
ADC0_6/
ADC1_6 A5 - 142 204 [8] AI;
IA I ADC input channel 6. Shared between 10-bit ADC0/1.
ADC0_7/
ADC1_7 C5 - 136 197 [8] AI;
IA I ADC input channel 7. Shared between 10-bit ADC0/1.
RTC pins
RTC_ALARM A11 C3 129 186 [11] - O RTC controlled output.
RTCX1 A8 A5 125 182 [8] - I Input to the RTC 32 kHz ultra-low power oscillator circuit.
RTCX2 B8 B5 126 183 [8] - O Output from the RTC 32 kHz ultra-low power oscillator circuit.
SAMPLE B9 - - - [11] O O Event monitor sample outp ut.
Crystal oscillator pins
XTAL1 D1 B1 12 18 [8] - I Input to the oscillator circuit and internal clock generator
circuits.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 58 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
XTAL2 E1 C1 13 19 [8] - O Output from the oscillator amplifier.
Power and ground pins
USB0_VDDA
3V3_DRIVER F3 D1 16 24 - - Separate analog 3.3 V power supply for driver.
USB0
_VDDA3V3 G3 D2 17 25 - - USB 3.3 V separate power supply voltage.
USB0_VSSA
_TERM H3 D3 19 27 - - Dedicated analog ground for clean reference for termination
resistors.
USB0_VSSA
_REF G1 F2 23 31 - - Dedicated clean anal og ground for generation of refere nce
currents and voltages.
VDDA B4 B2 137 198 - - Analog power supply and ADC reference voltage.
VBAT B10 C5 127 184 - - RTC power supply: 3.3 V on this pin supplies power to the
RTC.
VDDREG F10,
F9,
L8,
L7
E4,
E5,
F4
94,
131,
59,
25
135,
188,
195,
82,
33
- Main regulator power supply.
VPP E8 - - - [12] - - OT P programming voltage.
VDDIO D7,
E12,
F7,
F8,
G10,
H10,
J6,
J7,
K7,
L9,
L10,
N7,
N13
F10,
K5 5,
36,
41,
71,
77,
107,
111,
141
6,
52,
57,
102,
110,
155,
160,
202
[12] - - I/O power supply.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 59 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
[1] N = neutral, input buffer disabled; no extra VDDIO current consumption if the input is driven midway between supplies; set the EZI bit in
the SFS register to enable the input buffer; I = input, OL = output driving LOW; OH = output driving HIGH; AI/O = analog input/output; IA
= inactive; PU = pull-up enabled (weak pull-up resistor pulls up pin to VDDIO; F = floating. Reset state reflects the pin state at reset
without boot code operation.
[2] 5 V tolerant pad with 15 ns glitch filter (5 V tolerant if VDDIO present; if VDDIO not present, do not exceed 3.6 V); provides digital I/O
functions with TTL levels and hysteresis; normal drive strength.
[3] 5 V tolerant pad with 15 ns glitch filter (5 V tolerant if VDDIO present; if VDDIO not present, do not exceed 3.6 V) providing digital I/O
functions with TTL levels, and hysteresis; high drive strength.
[4] 5 V tolerant pad with 15 ns glitch filter (5 V tolerant if VDDIO present; if VDDIO not present, do not exceed 3.6 V) providing high-speed
digital I/O functions with TTL levels and hysteresis.
[5] 5 V tolerant pad providing digital I/O functions (with TTL levels and hysteresis) and analog input or output (5 V tolerant if VDDIO present;
if VDDIO not present, do not exceed 3.6 V). When configured as an ADC input or DAC output, the pin is not 5 V tolerant. For analog
functionality, disable the digital section of the pad by setting the pin to an input function and by disabling the pull-up resistor through the
corresponding SFSP register.
[6] 5 V tolerant transparent analog pad.
[7] 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.
[8] Transparent analog pad. Not 5 V tolerant.
[9] Pad provides USB functions; It is designed in accordance with the USB specification, revision 2.0 (Full-speed and Low-speed mode
only).
[10] 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.
[11] 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.
[12] On the LQFP208 package, VPP is internally connected to VDDIO.
[13] On the LQFP208 package, VSSIO and VSS are connected to a common ground plane.
VSS G9,
H7,
J10,
J11,
K8
C8,
D4,
D5,
G8,
J3,
J6
--[13] - - Ground.
VSSIO C4,
D13,
G6,
G7,
G8,
H8,
H9,
J8,
J9,
K9,
K10,
M13,
P7,
P13
-4,
40,
76,
109
5,
56,
109,
157
[13] - - Ground.
VSSA B2 C2 135 196 - - Analog ground.
Table 3. Pin descriptioncontinued
Pin name
LBGA256
TFBGA100
LQFP144
LQFP208
Reset state
[1]
Type
Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 60 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
7. Functional description
7.1 Architectural overview
The ARM Cortex-M3 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 LPC185x/3x/2x/1x use a multi-layer AHB matrix to connect the ARM Cortex-M3
buses and other bus masters to peripherals. Flexible connections allow different bus
masters to access peripherals that are on different slave ports of the matrix
simultaneously.
7.2 ARM Cortex-M3 processor
The ARM Cortex-M3 is a general purpose, 32-bit microprocessor, which offers high
performance and low-power consumption. The ARM Cortex-M3 offers many new
features, including a Thumb-2 instruction set, low interrupt latency, hardware division,
hardware single-cycle multiply, interruptable/continuable multiple load and store
instructions, automatic state save and restore for interrupts, tightly integrated interrupt
controller with wake-up interrupt controller, and multiple core buses capable of
simultaneous accesses.
Pipeline techniques are em ployed so that all p arts of the processing and memory system s
can operate continuously. Typically, while one instruction is being executed, it s successo r
is being decoded, and a thir d instruction is being fetched from memory.
The ARM Cortex-M3 processor is described in detail in the Cortex-M3 Technical
Reference Manual.
7.3 System Tick timer (SysTick)
The ARM Cortex-M3 includes a system tick timer (SYSTICK) that is intended to generate
a dedicated SYSTICK exception at a 10 ms interval.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 61 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
7.4 AHB multilayer matrix
7.5 Nested Vectored Interrupt Controller (NVIC)
The NVIC is part of the Cortex-M3. The tight coupling to the CPU allows for low interrupt
latency and efficient processing of late arriving interrupts.
7.5.1 Features
Controls system exceptions and peripheral interrupts.
On the LPC185x/3x/2x/1x, the NVIC supports 53 vectored interrupts.
Eight programmable interrupt priority levels, with hardware priority level masking.
Relocatable vector table.
Fig 6. AHB multilayer matrix master and slave connection s
ARM
CORTEX-M3
TEST/DEBUG
INTERFACE
DMA ETHERNET USB1USB0 LCD SD/
MMC
EXTERNAL
MEMORY
CONTROLLER
AHB REGISTER
INTERFACES,
APB, RTC DOMAIN
PERIPHERALS
32 kB AHB SRAM
16 kB AHB SRAM
16 kB AHB SRAM
slaves
64 kB ROM
32 kB LOCAL SRAM
40 kB LOCAL SRAM
System
bus
I-code
bus
D-code
bus
masters
01
256/512 kB FLASH A
256/512 kB FLASH B
16 kB EEPROM
SPIFI
AHB MULTILAYER MATRIX
= master-slave connection
002aag544
HIGH-SPEED PHY
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 62 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Non-Maskable Interrupt (NMI).
Software interrupt generation .
7.5.2 Interrupt sources
Each peripheral device h as one interrupt line conn ected to the NVIC but can have severa l
interrupt flags. Individual interrupt flags can also represent more than one interrupt
source.
7.6 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. In addition, the event
router creates 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 from
sleep, deep-sleep, power-down, and deep power-down modes a nd/or create an inter rupt:
External pins WAKEUP0/1/2/3 and RESET
Alarm timer, RTC (32 kHz oscillator running)
The following events if enab led in the event router can create a wa ke-up signal from sleep
mode only and/or create an interrupt:
WWDT, BOD interrupts.
C_CAN0/1 and QEI interrupts.
Ethernet, USB0, USB1 signals.
Selected outputs of combined timers (SCTimer /PWM and timer0/1/3).
Remark: Any interrupt can wake up the ARM Cortex-M3 from sleep mode if enabled in
the NVIC.
7.7 Global Input Multiplexer Array (GIMA)
The GIMA routes signals to event-driven peripheral targets like the SCTimer/PWM,
timers, event router, or the ADCs.
7.7.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 gener ation for target.
7.8 On-chip static RAM
The LPC185x/3x/2x/1x support up to 136 kB SRAM with separate bus master access for
higher throughpu t and individual power control for low-power operation.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 63 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
7.9 On-chip flash memory
The LPC185x/3x/2x/1x contain up to 1 MB of dual-bank flash program memory. With
dual-bank flash memory, the user code can write or erase one flash bank while reading
the other flash bank without interruption. A two-port flash accelerator maximizes the flash
performance.
In-System Programming (ISP) and In-Application Programming (IAP) routine s for
programming the flash memory are provided in the Boot ROM.
7.10 EEPROM
The LPC185x/3x/2x/1x contain up to 16 kB of on-chip byte-erasable and
byte-programmable EEPROM memory.
The EEPROM memory is divided into 128 pages. The user can access pages 1 through
127. Page 128 is protected.
7.11 Boot ROM
The internal ROM memor y is used to store the boot code of the LPC185x/3x/2x/1x. After a
reset, the ARM processor will start its code execution from this memory.
The boot ROM memory includes the following features:
The ROM memory size is 64 kB.
Supports bo oting from external st atic memory such as NOR flash, SPI flash, quad SPI
flash, USB0, and USB1.
Includes API for OTP progra mming.
Includes a flexible USB device stack that supports Human Interfa ce Devic e (HI D),
Mass Storage Class (MSC), and Device Firmware Upgrade (DFU) drivers.
The default boot source is the flash memory. Several other boot modes are available if
P2_7 is LOW on reset 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 states of the boot pins
P2_9, P2_8, P1_2, and P1_1 determine the boot mode.
Table 4. Bo ot mode when OTP BOOT_SRC bits are programmed
Boot mode BOOT_SRC
bit 3 BOOT_SRC
bit 2 BOOT_SRC
bit 1 BOOT_SRC
bit 0 Description
Pin state 0 0 0 0 The reset state of P1_1, P1_2, P2_8, and P2_9
pins determines the boot source. See Table 5.
USART0 0 0 0 1 Enter ISP mode using USART0 functions on pins
P2_0 and P2_1.
SPIFI 0 0 1 0 Boot from Quad SPI flash connected to the SPIFI
interface using pins P3_3 to P3_8.
EMC 8-bit 0 0 1 1 Boot from external static memory (such as NOR
flash) using CS0 and an 8-bit data bus.
EMC 16-bit 0 1 0 0 Boot from external static memory (such as NOR
flash) using CS0 and a 16-bit data bus.
EMC 32-bit 0 1 0 1 Boot from external static memory (such as NOR
flash) using CS0 and a 32-bit data bus.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 64 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
[1] The boot loader programs the appropriate pin function at reset to boot using either SSP0 or SPIFI.
Remark: Pin functions for SPIFI and SSP0 boot are different.
[1] The boot loader programs the appropriate pin function at reset to boot using either SSP0 or SPIFI.
Remark: Pin functions for SPIFI and SSP0 boot are different.
USB0011 0Boot from USB0.
USB1011 1Boot from USB1.
SPI (SSP) 1 0 0 0 Boot from SPI flash connected to the SSP0
interface on P3_3 (fu nction SSP0_SCK), P3_6
(function SSP0_SSEL), P3_7 (function
SSP0_MISO), and P3_8 (function SSP0_MOSI)[1].
USART3 1 0 0 1 Enter ISP mode using USART3 functions on pins
P2_3 and P2_4.
Table 4. Bo ot mode when OTP BOOT_SRC bits are programmed
Boot mode BOOT_SRC
bit 3 BOOT_SRC
bit 2 BOOT_SRC
bit 1 BOOT_SRC
bit 0 Description
Table 5. Bo ot mode when OPT BOOT_SRC bits are zero
Boot mode Pins Description
P2_9 P2_8 P1_2 P1_1
USART0 LOW LOW LOW LOW Enter ISP mode using USART0 pins
P2_0 and P2_1.
SPIFI LOW LOW LOW HIGH Boot from Quad SPI flash connected to
the SPIFI interface on P3_3 to P3_8[1].
EMC 8-bit LOW LOW HIGH LOW Boot from external static memory (such
as NOR flash) using CS0 and an 8-bit
data bus.
EMC 16-bit LOW LOW HIGH HIGH Boot from external static memory (such
as NOR flash) using CS0 and a 16-bit
data bus.
EMC 32-bit LOW HIGH LOW LOW Boot from external static memory (such
as NOR flash) using CS0 and a 32-bit
data bus.
USB0 LOW HIGH LOW HIGH Boot from USB0
USB1 LOW HIGH HIGH LOW Boot from USB1.
SPI (SSP) LOW HIGH HIGH HIGH Boot from SPI flash connected to the
SSP0 interface on P3_3 (function
SSP0_SCK), P3_6 (function
SSP0_SSEL), P3_7 (function
SSP0_MISO), and P3_8 (function
SSP0_MOSI)[1].
USART3 HIGH LOW LOW LOW Enter ISP mode using USART3 pins
P2_3 and P2_4.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 65 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
7.12 Memory mapping
Fig 7. LPC185x/3x/2x/1x Memory mapping (overview)
reserved
peripheral bit band alias region
reserved
reserved
high-speed GPIO
reserved
0x0000 0000
0 GB
1 GB
4 GB
0x2200 0000
0x2400 0000
0x2800 0000
0x1000 0000
0x3000 0000
0x4000 0000
0x4001 2000
0x4004 0000
0x4005 0000
0x4010 0000
0x4400 0000
0x6000 0000
AHB peripherals
APB peripherals #0
APB peripherals #1
reserved
reserved
reserved
RTC domain peripherals
0x4006 0000
0x4008 0000
0x4009 0000
0x400A 0000
0x400B 0000
0x400C 0000
0x400D 0000
0x400E 0000
0x400F 0000
0x400F 1000
0x400F 2000
0x400F 4000
0x400F 8000
clocking/reset peripherals
APB peripherals #2
APB peripherals #3
4 x 16 kB AHB SRAM
reserved
reserved
0x4010 1000
0x4010 2000
0x4200 0000
reserved
local SRAM/flash/SPIFI data/ROM
external static memory banks
0x2000 0000
0x2001 0000
0x2004 0000
0x2004 4000
128 MB dynamic external memory DYCS0
256 MB dynamic external memory DYCS1
256 MB dynamic external memory DYCS2
256 MB dynamic external memory DYCS3 0x7000 0000
0x8000 0000
0x8800 0000
0xE000 0000
256 MB shadow memory area
LPC185x/3x/2x/1x
0x1000 0000
0x1000 8000
0x1008 0000
0x1008 A000
0x1040 0000
0x1041 0000
0x1C00 0000
0x1D00 0000
reserved
reserved
32 MB AHB SRAM bit banding
reserved
reserved
reserved
0xE010 0000
0xFFFF FFFF
reserved
128 MB SPIFI data
ARM private bus
reserved
32 kB local SRAM
32 kB + 8 kB local SRAM
reserved
reserved
reserved
reserved
reserved
reserved
64 kB ROM
0x1E00 0000
0x1F00 0000
0x2000 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
0x1400 0000
0x1800 0000
0x1A00 0000 256 kB flash A
0x1A04 0000 256 kB flash A
0x1A08 0000
0x1B00 0000 256 kB flash B
0x1B04 0000 256 kB flash B
0x1B08 0000
64 MB SPIFI data
002aag545
16 kB EEPROM memory
reserved
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
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 66 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Fig 8. LPC185x/3x/2x/1x Memory mapping (peripherals)
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 67 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
7.13 One-Time Programmable (OTP) memory
The OTP provides 64 bit+ 256 bit of memory for general-purpose use.
7.14 General-Purpose I/O (GPIO)
The LPC185x/3x/2x/1x provides 8 GPIO ports with up to 31 GPIO pins each.
Device pins that are not connected to a specific perip heral function are controlled by the
GPIO registers. Pins may be dynamically configured as inputs or outputs. Separate
registers allow setting or clearing any numbe r of outp uts simultan eou sly. 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 and input buffer disabled on
reset. The input buffer must be turned on in the system control block SFS register before
the GPIO input can be read.
7.14.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.
Up to eight GPIO pins can be selected from all GPIO pins to create an edge- or
level-sensitive GPIO interrupt request.
Two GPIO group interrupts can be triggered by any pin or pins in each port.
7.15 AHB peripherals
7.15.1 State Configurable Timer/PWM (SCTimer/PWM) subsystem
The SCT imer/PWM allows a wide variety of timi ng, counting, output modulation, an d input
capture operations. The inputs and outputs of the SCTimer/PWM are shared with the
capture and mat ch inp u ts/outpu ts of the 32-b it ge ne r al- pu rp o se co un te r/ tim er s.
The SCT imer/PWM can be co nfigured 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
SCTimer/PWM, but the last three can use match conditions from either counter:
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 68 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Clock selection
Inputs
Events
Outputs
Interrupts
7.15.1.1 Features
Two 16-bit counters or one 32-bit counter.
Counters clocked by bus clock or selected input.
Up counters or up-down counters.
State variable allows sequencing across multiple counter cycles.
The following conditions define an event: a counter match cond ition, an input (or
output) condition, a combination of a match and/or and input/output condition in a
specified state.
Events control outputs, inter rupts, and DMA requests.
Match register 0 can be used as an automatic limit.
In bi-directional mode, events can be enabled based on the count direction.
Match events can be held until an ot he r qu a lifyin g ev en t occurs.
Selected events can limit, halt, start, or stop a counter.
Supports:
8 inputs
16 outputs
16 match/capture registers
16 events
32 states
Match register 0 to 5 support a fractional component for the dither engine
7.15.2 General-Purpose DMA
The DMA controller allows perip heral-to memory, memory-to-peripheral,
peripheral- to -p e riphe ra l, an d m em o ry- to -m e mo ry tran sa ct ion s. Eac h DM A stre am
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.15.2.1 Features
Eight DMA channels. Each channel can support a 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 requ est 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
periphera l-to -p e rip he ra l tra ns fe rs ar e su pp or te d.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 69 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
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 area s 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-b it wid e tra n sac tio ns .
Big-endian and little-endian support. The DMA Controller defaults to little-endian
mode on reset.
An interrupt to the pr ocessor ca n be gene rated o n a DMA comp letion 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.15.3 SPI Flash Interface (SPIFI)
The SPI Flash Interface allows low-cost seria l flash memories to be co nnected to the ARM
Cortex-M3 pr oc es sor with little per form a nc e pe na lty 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. Simple sequences of commands handle erasure and
programming.
Many serial flash d evices use a half-duplex command-dr iven SPI protocol for device setup
and initialization and then move to a half-duplex, command-driven 4-bit protocol for
normal operation. Different seria l 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.15.3.1 Features
Interfaces to serial flash memory in the main memory map.
Supports classic and 4-bit bidir ec tio na l seria l proto co l s.
Half-duplex protocol compatible with various vendors and devices.
Quad SPI Flash Interface (SPIFI) with 1-, 2-, or 4-bit data at rates of up to
52 MB per second.
Supports DMA access.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 70 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
7.15.4 SD/MMC card interface
The SD/MMC card interface supports the following modes:
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.15.5 External Memory Controller (EMC)
Remark: The EMC is availabl e on all LPC185x/3x/2x/1x part s. The followin g memory bus
widths are supported:
LBGA256 packages: 32 bit
TFBGA100 packages: 8 bit
LQFP208 packages: 16 bit
LQFP144 packages: 16 bit
The LPC185x/3x/2x/1x EMC is a Memory Controller peripheral offering support for
asynchronous static memory devices such as RAM, ROM, and NOR flash. In addition, it
can be used as an interface with off-chip memory-mapped devices and peripherals.
7.15.5.1 Features
Dynamic memory interface supp ort including single data rate SDRAM.
Asynchronous static memory device support including RAM, ROM, and NOR flash,
with or without asynchronous page mode.
Low transaction latency.
Table 6. EMC pinout for different packages
Function LBGA256 TFBGA100 LQFP208 LQFP144
A EMC_A[23:0] EMC_A[13:0] EMC_A[23:0] EMC_A[15:0]
D EMC_D[31:0] EMC_D[7:0] EMC_D[15:0] EMC_D[15:0]
BLS EMC_BLS[3:0] EMC_BLS0 EMC_BLS[1:0] EMC_BLS[1:0]
CS EMC_CS[3:0] EMC_CS0 EMC_CS[1:0] EMC_CS[1:0]
OE EMC_OE EMC_OE EMC_OE EMC_OE
WE EMC_WE EMC_WE EMC_WE EMC_WE
CKEOUT EMC_
CKEOUT[3:0] EMC_
CKEOUT[1:0] EMC_
CKEOUT[1:0] EMC_
CKEOUT[1:0]
CLK EMC_CLK[3:0];
EMC_CLK01,
EMC_CLK23
EMC_CLK0,
EMC_CLK3;
EMC_CLK01,
EMC_CLK23
EMC_CLK0,
EMC_CLK3;
EMC_CLK01,
EMC_CLK23
EMC_CLK0,
EMC_CLK3;
EMC_CLK01,
EMC_CLK23
DQMOUT EMC_
DQMOUT[3:0] -EMC_
DQMOUT[1:0] EMC_
DQMOUT[1:0]
DYCS EMC_
DYCS[3:0] EMC_DYCS[1:0] EMC_DYCS[1:0] EMC_DYCS[1:0]
CAS EMC_CAS EMC_CAS EMC_CAS EMC_CAS
RAS EMC_RAS EMC_RAS EMC_RAS EMC_RAS
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 71 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 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 S tates.
Bus turnaround delay.
Output enable and write enable delays.
Extended wait.
Four chip selects for synchronous memory and four chip selects for static memory
devices.
Power-saving modes dynamically control CKE and CLKOUT to SDRAMs.
Software- co ntrolled dynamic memory self-refresh mode.
Controller supports 2048 (A0 to A10), 4096 (A0 to A11), and 8192 (A0 to A12) row
address synchronous memory parts. Those are typically 512 MB, 256 MB, and
128 MB parts.
Separate reset domains allow auto-refre sh through a chip reset if desired.
Note: Synchronous static memory devices (synchronous burst mode) are not supported.
7.15.6 High-speed USB Host/Device/OTG interface (USB0)
Remark: USB0 is available on the following parts: LPC185x, LPC183x, LPC182x. USB0
is not available on the LPC181x parts.
The USB OTG module allows the part to connect directly to a USB host such as a PC (in
device mode) or to a USB device in host mode.
7.15.6.1 Features
On-chip UTMI+ compliant high-speed 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 disc overy.
Supports all high-speed USB-co mplia nt per iph er a ls.
Supports all full-speed USB-compliant peripherals.
Supports software Host Negotiation Protocol (HNP) and Session Request Protocol
(SRP) for OTG perip h er als .
Supports interrupts.
Supports Start Of Frame (SOF) frame length adjust.
This module has its own, integrated DMA engine.
USB interface electrical test software included in ROM USB stack.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 72 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
7.15.7 High-speed USB Host/Device interface with ULPI (USB1)
Remark: USB1 is available on the following parts: LPC185x and LPC183x. USB1 is not
available on the LPC182x and LPC181x parts.
The USB1 interface can operate as a full- speed USB host/device inter face or can connect
to an external ULPI PHY for High-speed operation.
7.15.7.1 Features
Complies with Universal Serial Bus specification 2.0.
Complies with Enhanced Host Controller Interface Specification.
Supports auto USB 2.0 mode disc overy.
Supports all high-speed USB-co mp lia nt per iph er a ls if conn ec te d to exte rn al UL PI
PHY.
Supports all full-speed USB-compliant peripherals.
Supports interrupts.
Supports Start Of Frame (SOF) frame length adjust.
This module has its own, integrated DMA engine.
USB interface electrical test software included in ROM USB stack.
7.15.8 LCD controller
Remark: The LCD controller is only available on parts LPC185x. LCD is not available on
parts LPC183x, LPC182x, and LPC181x.
The LCD controller provides all of the necessary control signals to interface directly to
various color and monochrome LCD panels. Both STN (single and dual panel) and TFT
panels can be oper ated. The disp lay resolutio n is se lect able a nd can be up to 1024 768
pixels. Several color modes are provided, up to a 24-bit true-color non-palettized mo de.
An on-chip 512 byte color palette allows reducing bus utilization (that is, memory size of
the displayed data) while still supporting many colors.
The LCD interface includes its own DMA controller to allow it to operate independently of
the CPU and other sys te m fu nc tion s. A built-in FIF O acts as a buffer for display data,
providing flexibility for system timing. Hardware cursor support can further reduce the
amount of CPU time required to operate the display.
7.15.8.1 Features
AHB master interface to access frame buffer.
Setup and control via a separate AHB slave interface.
Dual 16-deep program mable 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 du al-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.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 73 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
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.
Programmable timing for diff erent display panels.
256 entry, 16-b it palette RAM , arra ng ed as a 12 8 32-bit RAM.
Frame, line, and pix el cloc k si gn als .
AC bias signal for STN, data enable signal for TFT panels.
Supports little and big-endian, and Windows CE data formats.
LCD panel clock can be gener ated from the periphera l clock, or from a clock input pin.
7.15.9 Ethernet
Remark: The ether net controller is available on parts LPC185x and LPC183x. Ethernet is
not available on parts L PC182x and LPC181x.
7.15.9.1 Features
10/100 Mbit/s.
DMA support.
Power management remote wake-up frame and magic packet detection.
Supports both full-duplex an d half- du ple x op er ation
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 us er applica tio n 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.
Support for IEEE 1588 time stamping and IEEE 1588 advanced time stamping (IEEE
1588-2008 v2).
7.16 Digital serial peripherals
7.16.1 UART
Remark: The LPC185x/3x/2x/1x 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 r ate generator. S tanda rd baud rates such a s 115200 Bd
can be achieved with an y crystal frequency abov e 2 MHz.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 74 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
7.16.1.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 ra te 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 (auto-CTS/RTS).
Support for RS-4 85 /9 -b it/EIA-485 mode (UART1).
DMA support.
7.16.2 USART
Remark: The LPC185x/3x/2x/1x contain three USARTs. In addition to standard transmit
and receive dat a lines, the USARTs suppo rt a synchrono us mode and a smar t card mode .
The USARTs include a fractional baud rate generator. Standard baud rates such as
115200 Bd can be achieved with any cryst al frequency above 2 MHz.
7.16.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 ra te 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.
Support for RS -4 85 /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.16.3 SSP serial I/O controller
Remark: The LPC185x/3x/2x/1x contain two SSP controllers.
The SSP controller ca n operate 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 sin gle slave can
communicate on the bus during a given data transfer. The SSP supports full-duplex
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 75 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
transfers, with frames of 4 bit to 16 bit 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.16.3.1 Features
Maximum SSP speed in full-duplex mode of 25 Mbit/s; for transmit only 50 Mbit/s
(master) and 15 Mbit/s (slave).
Compatible with Motorola SPI, 4-wire Texas Instruments SSI, and National
Semiconductor Microwire buses.
Synchronous serial communication.
Master or slave operation.
Eight-frame FIFOs for both transmit and receive.
4-bit to 16-bit frame.
Connected to the GPDMA.
7.16.4 I2C-bus interface
Remark: The LPC185x/3x/2x/1x conta in 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 (for example, an LCD driver) o r 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-bus interface is a
multi-master bus and can be controlled by more than one bus master connected to it.
7.16.4.1 Features
I2C0 is a standard I2C-bus 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.
Serial clock synchronization allows devices with different bit rates to communicate via
one serial bus.
Serial clock synchronization can be used as a handshake me chanism to suspend and
resume serial transfer.
The I2C-bus can be used for test an d diagnostic purposes.
All I2C-bus controllers support multiple address recognition and a bus monitor mode.
7.16.5 I2S interface
Remark: The LPC185x/3x/2x/1x contain two I2S interfaces.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 76 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
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. Th e I2S-bus interface provide s a separate transmit and
receive channel, each of which can operate as either a master or a slave.
7.16.5.1 Features
The interface has sep arate input/output channels each of which can o perate 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 aud io ma st er 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, co ntrolled by progr ammable bu f fer leve ls. The DMA r equest s are
connected to the GPDMA block.
Controls include reset, stop and mute options separa tely for I2S-bus input and I2S-bus
output.
7.16.6 C_CAN
Remark: The LPC185x/3x/2x/1x contain two C_CAN controllers.
Controller Area Network (CAN) is the definition of a high performance communication
protocol for seri al data communication. The C_ CAN controller is desig ned to provide a full
implement ation of the CAN protocol according to the CAN Specification Version 2.0B. The
C_CAN controller can build powerful local networks with low-cost multiplex wiring by
supporting distributed real-time control with a high level of reliability.
7.16.6.1 Features
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.
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-t est operation.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 77 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
7.17 Counter/timers and motor control
7.17.1 General purpose 32-bit timers/external event counter
Remark: The LPC185x/3x/2x/1x include four 32-bit timer/counters.
The timer/counter is desig ned 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 in cludes two captur e inputs to trap the tim er value when an input signal
transitions, optionally generating an interrupt.
7.17.1.1 Features
A 32-bit timer/counter with a progra mmable 32-bit prescaler.
Counter or time r op er a tion .
Two 32-bit capture channels per timer, that can take a snapshot of the timer value
when an input signal transitions. A capture event can also generate an interrupt.
Four 32-bit matc h re gist er s tha t allo w:
Continuous operation with optional interrupt generation on match.
Stop timer on match with optional interrupt generation.
Reset timer on match with optional inter rupt 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.17.2 Motor control PWM
The motor control PWM is a specialized PWM supporting 3-phase motors and other
combinations. Feedback input s are provided to automatically sense rotor position and use
that information to ramp speed up or down. An abort input causes the PWM to release all
motor drive outputs immediately . At the same time, the motor control PWM is highly
configurable for other generalized timing, counting, capture, and compare applications.
7.17.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 code ca n track the position, direction of rotation,
and velocity. In addition, a third channel, or ind ex signal, can be u sed to rese t th e position
counter. The quadrature encoder interface decodes the digital pulses fro m 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.17.3.1 Features
Tracks encoder position.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 78 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Increments/decrements dependin g 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 regis ter s for po sitio n an d ve loc ity.
Three position- co mpare registers with interrup ts.
Index counter for revolution counting.
Index compare regis te r with int er ru p ts.
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.17.4 Repetitive Interrupt (RI) timer
The repetitive interrupt timer provides a free-running 32-bit counter which is compared to
a selectable value, gen erating an interrupt when a match occurs. Any bits of the timer
compare function can be masked such that they do not contribute to the match de tectio n.
The repetitive interrupt timer can be used to create an interrupt that repeats at
predetermined intervals.
7.17.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 inter rupt is generated when the counter value equals the
compare value, after masking. This mechanism allows for combinations not possible
with a simple compare.
7.17.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.17.5.1 Features
Internally resets chip if not periodically reloaded during the programmable time-out
period.
Optional windowed operation re quires reload to occur between a minimum and
maximum time period, both programmable.
Optional warning interrupt can be generated at a programmable time prior to
watchdog time-out.
Enabled by soft ware but requires a hardwar e 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 tim er with internal prescaler.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 79 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Selectable time period from (Tcy(WDCLK) 256 4) to (Tcy(WDCLK) 224 4) in
multiples of Tcy(WDCLK) 4.
The Watchdog Clock (WDCLK) uses the IRC as the clock source.
7.18 Analog peripherals
7.18.1 Analog-to-Digital Converter
Remark: The LPC185x/3x/2x/1x conta in two 10-bit ADCs. All input channels are shared
between ADC0 and ADC1.
7.18.1.1 Features
10-bit successive approximation analog to digital converter.
Input multiplexing among 8 pins.
Power-down mode.
Measurem en t ra ng e 0 to VDD A.
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.18.2 Digital-to-Analog Converter (DAC)
7.18.2.1 Features
10-bit resolution.
Monotonic by design (resistor string architecture).
Controllable conversion speed.
Low power consum pt ion .
7.19 Peripherals in the RTC power domain
7.19.1 RTC
The Real-T ime Clock (R TC) is a set of counters for measuring time when system power is
on, and optionally when it is of f. It uses little power when the CPU does not access its
registers, especially in the reduced power modes. A separate 32 kHz oscillator clocks the
RTC. The oscillator produces a 1 Hz internal time reference and is powered by its own
power supply pin, VBAT.
7.19.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. Uses powe r from the
CPU power supply when it is present.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 80 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
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 interrup t s can be gene rated fro m increment s of a ny field of th e time registe rs.
Alarm interrupt can be generated for a specific date/time.
7.19.2 Event monitor/recorder
The event monitor/recorder allows recording a nd creating a time stamp of events related
to the WAKEUP pins. Sensors report changes to the state of the WAKEUP pins, and the
event monitor/recorder stores records of such events. The event recorder can be
powered by the backup battery.
The event monitor/recorder can monitor the integrity of the de vice and record any
tampering events.
7.19.2.1 Features
Supports three digital event inputs in the VBAT po we r do m ain.
An event is defined as a level change at the digital event inputs.
For each event channel, two timestamps mark the first and the last occurrence of an
event. Each channe l also has a dedicated counter tr acking the total numb er of events.
Timestamp values are taken from the RTC.
Runs in VBAT power domain, independent of system power supply. The
event/reco rd er /m o nito r can th er ef or e op erate in Deep pow er -d ow n mo d e.
Low power consum pt ion .
Interrupt available if system is running.
A qualified event can be used as a wake-up trigger.
State of event interrupts accessible by software through GPIO.
7.19.3 Alarm timer
The alarm timer is a 1 6-bit timer and count s down at 1 kHz from a prese t value gener ating
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.20 System control
7.20.1 Configuration registers (CREG)
The following settings are contr olled in the configuration register bl ock:
BOD trip settings
Oscillator output
DMA-to-peripheral muxing
Ethernet mode
Memory mapping
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 81 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Timer/USART inputs
Enabling the USB controllers
In addition, the CREG block contains the part identification and part configuration
information.
7.20.2 System Control Unit (SCU)
The system control unit determines the fun ction and el ectrical mode o f the digit al pin s. By
default function 0 is selected for all pins with pull-up enabled. For pins that support a
digital an d analog function, the ADC function select registers in the SCU enable the
analog function.
A separa te set of analog I/Os for the ADCs and the DAC as well as most USB pins are
located on separate pad s and are not controlled through the SCU.
In addition, the clock delay register for the SDRAM EMC_CLK pins and the registers that
select the pin interrupts are located in the SCU.
7.20.3 Clock Generation Unit (CGU)
The Clock Generator Unit (CGU) generates several base clocks. The base clocks can be
unrelated in fre q ue nc y an d ph as e an d ca n ha ve different clock sources within the CGU.
One CGU base clock is routed to the CLKOUT pins. The base clock that generates the
CPU clock is referred to as CCLK.
Multiple branch cloc ks ar e de riv ed fro m each bas e cloc k. Th e branc h cloc ks offer flexible
control for power-managem ent 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.20.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 the CPU. The nominal IRC freque ncy is 12 MHz. The IRC is trimmed to 1.5 %
accuracy for Tamb = 0 °C to 85 °C and 3% accuracy for Tamb = -40 °C to 0 °C and Tamb =
85 °C to 105 °C.
Upon power-up or an y chip reset, the LPC185x/ 3x/2x/1x use the IRC as the cl ock source.
The boot loader then configu res the PLL1 to provide a 96 MHz clock for the core and the
PLL0USB or PLL0AUDIO as needed if an external boot source is selected.
7.20.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.20.6 PLL0AUDIO (for audio)
The audio PLL PLL0AUDIO is a general-purpose PLL with a 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
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 82 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
output frequency. The output frequency can be set as a multiple of the sampling frequency
fs to 32fs, 64fs, 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 using the integrated fractional divider.
7.20.7 System PLL1
The PLL1 accepts an input clock frequency from an external oscillator in the range of
1 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. This range is possible through an
additional divider in the loop to keep the CCO within its frequency range whil e the PLL is
providing the desired output frequency. The output divider can be set to divide by 2, 4, 8,
or 16 to produce the outp ut clock. Since the minimum output divider value is 2, it is
insured that the PL L output has a 50 % duty cycle. The PLL is turned off and bypassed
following a chip reset. After reset, software can enable the PLL. The program must
configure and activate th e PL L, wait fo r th e PLL to lo ck, an d then con nect to the PLL as a
clock source. The PLL settling time is 100 s.
7.20.8 Reset Generation Unit (RGU)
The RGU allows generation of independent reset signals for individual blocks and
peripherals.
7.20.9 Power control
The LPC185x/3x/2x/1x feature several independent power domains to control power to
the core and the peripherals (see Figure 9). The RTC and its associated peripherals (the
alarm timer, the CREG block, the OTP controller, the back-up registers, and the event
router) are located in the RTC power-domain. The main regulator or a battery supply can
power the RTC. A power selector switch ensures that the RTC block is always powered
on.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 83 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
The LPC185x/3x/2x/1x support four reduced power modes: Sleep, Deep-sleep ,
Power-down, and Deep power-down.
The LPC185x/3x/2x/1x 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.
7.20.10 Code security (Code Read Protection - CRP)
CRP enables dif ferent levels o f security so that access to the on-chip flash and use of the
JTAG and ISP can be restricted. CRP is invoked by programming a specific pattern into a
dedicated flash location. IAP commands are not affected by CRP.
Fig 9. LPC185x/3x/2x/1x Power domains
REAL-TIME CLOCK
BACKUP REGISTERS
RESET/WAKE-UP
CONTROL
REGULATOR
32 kHz
OSCILLATOR
ALWAYS-ON/RTC POWER DOMAIN
MAIN POWER DOMAIN
RTCX1
VBAT
VDDREG
RTCX2
VDDIO
VSS
to memories,
peripherals,
oscillators,
PLLs
to core
to I/O pads
ADC
DAC
OTP
ADC POWER DOMAIN
OTP POWER DOMAIN
USB0 POWER DOMAIN
VDDA
VSSA
VPP
USB0
USB0_VDDA3V3_DRIVER
USB0_VDDA3V3
LPC18xx
ULTRA LOW-POWER
REGULATOR
ALARM
RESET
WAKEUP0/1/2/3
to RTC
domain
peripherals
002aag305
to RTC I/O
pads (Vps)
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 84 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
There are three levels of the Code Read Protection:
In level CRP1, access to the chip via the JTAG is disabled. Partial flash updates are
allowed (excluding flash sector 0 ) using a limited set of the ISP commands. This level
is useful when CRP is required and flash field updates are needed. CR P1 do es
prevent the user code from erasing all sectors.
In level CRP2, access to the chip via the JTAG is disabled. Only a full flash erase and
update using a redu ced set of the ISP commands is allowed.
In level CRP3, any access to the chip via the JTAG pins or the ISP is disabled. This
mode also disables the ISP override us ing P2_7 pin. If necessary, the application
code must provide a flash update mechanism using the IAP calls or using the
reinvoke ISP command to enable flash update via USART0. See Table 5.
7.21 Emulation and debugging
Debug and trace functions are integrated into the ARM Cortex-M3. Serial wire debug a nd
trace functions are su pported in addition to a standard JTAG debug and parallel trace
functions. The ARM Cortex-M3 is configured to support up to eight breakpoints and four
watch points.
CAUTION
If level three Code Read Protection (CRP3) is selected, no future factory testing can be
performed on the device.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 85 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
8. Limiting values
[1] The following applies to the limiting values:
a) This product includes circuitry 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] Including voltage on outputs in 3-state mode.
[3] The peak current is limited to 25 times the corresponding maximum current.
[4] Dependent on package type.
[5] Human body model: equivalent to discharging a 100 pF capacitor through a 1.5 k series resistor.
Table 7. L imiting values
In accordance with the Absolute Maximum Rating System (IEC 60134).[1]
Symbol Parameter Conditions Min Max Unit
VDD(REG)(3V3) regulator supply voltage
(3.3 V) on pin VDDREG 0.5 3.6 V
VDD(IO) input/output supply
voltage on pin VDDIO 0.5 3.6 V
VDDA(3V3) analog supply voltage
(3.3 V) on pin VDDA 0.5 3.6 V
VBAT battery supply voltage on pin VBAT 0.5 3.6 V
Vprog(pf) polyfuse programming
voltage on pin VPP 0.5 3.6 V
VIinput voltage when VDD(IO) 2.4 V
5 V tolerant digital I/O pins
[2] 0.5 5.5 V
ADC/DAC pins and digital I/O
pins configured for an analog
function
0.5 VDDA(3V3) V
USB0 pins USB0_DP;
USB0_DM; USB0_VBUS 0.3 5.2 V
USB0 pins USB0_ID;
USB0_RREF 0.3 3.6 V
USB1 pins USB1_DP and
USB1_DM 0.3 5.2 V
IDD supply current per supply pin [3] -100mA
ISS ground current per ground pin [3] -100mA
Ilatch I/O latch-up current (0.5VDD(IO)) < VI < (1.5VDD(IO));
Tj < 125 C-100mA
Tstg storage temperature [4] 65 +150 C
Ptot(pack) total power dissipation
(per package) based on package hea t tr a nsf er,
not device power consumption -1.5W
VESD electrostatic discharge
voltage human body model; all pins [5] 2000 V
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 86 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
9. Thermal characteristics
The average chip junction temperature, Tj (C), can be calculated using the following
equation:
(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(REG)(3V3) and VDD(REG)(3V3). 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 8. Thermal characteristics
Symbol Parameter Min Typ Max Unit
Tj(max) maximum junction
temperature --125 C
Table 9. Th ermal resistance (LQFP packages)
Symbol Parameter Conditions Thermal resistance in C/W ±15 %
LQFP144 LQFP208
Rth(j-a) thermal resistance
from junction to
ambient
JEDEC (4.5 in 4 in); still
air 38 31
Single-layer (4.5 in 3 in);
still air 50 39
Rth(j-c) thermal resistance
from junction to case 11 10
Table 10. Thermal resistance value (BGA packages)
Symbol Parameter Conditions Thermal resistance in C/W ±15 %
LBGA256 TFBGA100
Rth(j-a) thermal resistance from
junction to ambient JEDEC (4.5 in 4 in);
still air 29 46
8-layer (4.5 in 3 in);
still air 24 37
Rth(j-c) thermal resistance from
junction to case 14 11
TjTamb PDRth j a
+=
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 87 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
10. Static characteristics
Table 11. Static characteristics
Tamb =
40
C to +105
C, unless otherwise specified.
Symbol Parameter Conditions Min Typ[1] Max Unit
Supply pins
VDD(IO) input/output supply
voltage 2.4 - 3.6 V
VDD(REG)(3V3) regulator supply voltage
(3.3 V) [2] 2.4 - 3.6 V
VDDA(3V3) analog supply voltage
(3.3 V) on pin VDDA 2.4 - 3.6 V
on pins
USB0_VDDA3V3_
DRIVER and
USB0_VDDA3V3
3.0 3.3 3.6 V
VBAT battery supply voltage [2] 2.4 - 3.6 V
Vprog(pf) polyfuse programming
voltage on pin VPP (for OTP) [3] 2.7 - 3.6 V
Iprog(pf) polyfuse programming
current on pin VPP; OTP
programming time
1.6 ms
--30mA
IDD(REG)(3V3) regulator supply current
(3.3 V) Active mode; code
while(1){}
executed from RAM; all
peripherals disabled;
PLL1 enabled
CCLK = 12 MHz [4] -10-mA
CCLK = 60 MHz [4] 28 - mA
CCLK = 120 MHz [4] -51-mA
CCLK = 180 MHz [4] -74-mA
IDD(REG)(3V3) regulator supply current
(3.3 V) all peripherals disabled
sleep mode [4][5] -8.8-mA
deep-sleep mode [4] - 145 - A
power-down mode [4] -23-A
deep power-down
mode [4][6] -0.05-A
deep power-down
mode; VBAT floating [4] -3.0-A
IBAT battery supply current VBAT = 3.0 V;
VDD(REG)(3V3) = 3.3 V [7] --0.1A
IBAT battery supply current Deep power-down mode;
RTC running;
VDD(REG)(3V3) floating;
VBAT = 3.3 V - 3.0 - A
VDD(REG)(3V3) =
VBAT = 3.3 V -1.5 - A
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 88 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
IDD(IO) I/O supply current deep sleep mode - < 0.1 - A
power-down mode - < 0.1 - A
deep power-down mode - < 0.1 - A
IDDA Analog supply current on pin VDDA;
deep sleep mode
[9] -0.4-
A
power-down mode [9] -0.4-A
deep power-down
mode [9] -0.007-
A
RESET pin
VIH HIGH-level input
voltage [8] 0.8 (Vps
0.35) -5.5V
VIL LOW-level input voltage [8] 0 - 0.3 (Vps
0.1) V
Vhys hysteresis voltage [8] 0.05 (Vps
0.35) --V
Standard I/O pins - normal drive strength
CIinput capacitance - - 2 pF
ILL LOW-level leakage
current VI= 0 V; on-chip pull-up
resistor disabled -3-nA
ILH HIGH-level leakage
current VI=V
DD(IO); on-chip
pull-down resistor
disabled
-3-nA
VI=5 V; T
amb = 25°C -0.5-nA
VI=5 V; T
amb = 105 °C - 40 - nA
IOZ OFF-state output
current VO=0V to V
DD(IO);
on-chip pull-up/down
resistors disabled;
absolute value
-3-nA
VIinput voltage pin configured to provide
a digital function;
VDD(IO) 2.4 V
0- 5.5V
VDD(IO) = 0 V 0 - 3.6 V
VOoutput voltage output active 0 - VDD(IO) V
VIH HIGH-level input
voltage 0.7
VDD(IO)
-5.5V
VIL LOW-level input voltage 0 - 0.3
VDD(IO)
V
Vhys hysteresis voltage 0.1
VDD(IO) --V
VOH HIGH-level output
voltage IOH =6 mA VDD(IO)
0.4 --V
VOL LOW-level output
voltage IOL =6 mA --0.4V
IOH HIGH-level output
current VOH =V
DD(IO) 0.4 V 6--mA
Table 11. Static characteristics …continued
Tamb =
40
C to +105
C, unless otherwise specified.
Symbol Parameter Conditions Min Typ[1] Max Unit
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 89 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
IOL LOW-level output
current VOL =0.4V 6--mA
IOHS HIGH-level short-circuit
output current drive HIGH; connected to
ground [10] --87mA
IOLS LOW-level short-circuit
output current drive LOW; connected to
VDD(IO)
[10] --77mA
Ipd pull-down curre nt VI=5 V [12]
[13]
[14]
-93-A
Ipu pull-up current VI=0V [12]
[13]
[14]
-62 - A
VDD(IO) <V
I5V - 10 - A
Rsseries resistance on I/O pins with analog
function; analog function
enabled
200
I/O pins - high drive strength
CIinput capacitance - - 5.2 pF
ILL LOW-level leakage
current VI= 0 V; on-chip pull-up
resistor disabled -3-nA
IOZ OFF-state output
current VO=0V to V
DD(IO);
on-chip pull-up/down
resistors disabled;
absolute value
-3-nA
VIinput voltage pin configured to provide
a digital function;
VDD(IO) 2.4 V 0 - 5.5 V
VDD(IO) = 0 V 0 - 3.6 V
VOoutput voltage output active 0 - VDD(IO) V
VIH HIGH-level input
voltage 0.7
VDD(IO)
-5.5V
VIL LOW-level input voltage 0 - 0.3
VDD(IO)
V
Vhys hysteresis voltage 0.1
VDD(IO)
--V
Ipd pull-down curre nt VI=V
DD(IO) [12]
[13]
[14]
-62-A
Ipu pull-up current VI=0V [12]
[13]
[14]
-62 - A
VDD(IO) <V
I5V - 10 - A
Table 11. Static characteristics …continued
Tamb =
40
C to +105
C, unless otherwise specified.
Symbol Parameter Conditions Min Typ[1] Max Unit
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 90 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
I/O pins - high drive strength: standard drive mode
ILH HIGH-level leakage
current VI=V
DD(IO); on-chip
pull-down resistor
disabled
-3-nA
VI=5 V; T
amb = 25°C -0.6-nA
VI=5 V; T
amb = 105 °C - 6 5 - nA
IOH HIGH-level output
current VOH =V
DD(IO) 0.4 V 4--mA
IOL LOW-level output
current VOL =0.4V 4--mA
IOHS HIGH-level short-circuit
output current drive HIGH; connected to
ground [10] --32mA
IOLS LOW-level short-circuit
output current drive LOW; connected to
VDD(IO)
[10] --32mA
I/O pins - high drive strength: medium drive mode
ILH HIGH-level leakage
current VI=V
DD(IO); on-chip
pull-down resistor
disabled
-3-nA
VI=5 V; T
amb = 25°C -0.7-nA
VI=5 V; T
amb = 105 °C - 7 0 - nA
IOH HIGH-level output
current VOH =V
DD(IO) 0.4 V 8--mA
IOL LOW-level output
current VOL =0.4V 8--mA
IOHS HIGH-level short-circuit
output current drive HIGH; connected to
ground [10] --65mA
IOLS LOW-level short-circuit
output current drive LOW; connected to
VDD(IO)
[10] --63mA
I/O pins - high drive strength: high drive mode
ILH HIGH-level leakage
current VI=V
DD(IO); on-chip
pull-down resistor
disabled
-3-nA
VI=5 V; T
amb = 25°C -0.6-nA
VI=5 V; T
amb = 105 °C - 6 3 - nA
IOH HIGH-level output
current VOH =V
DD(IO) 0.4 V 14--mA
IOL LOW-level output
current VOL =0.4V 14--mA
IOHS HIGH-level short-circuit
output current drive HIGH; connected to
ground [10] --113mA
IOLS LOW-level short-circuit
output current drive LOW; connected to
VDD(IO)
[10] --110mA
Table 11. Static characteristics …continued
Tamb =
40
C to +105
C, unless otherwise specified.
Symbol Parameter Conditions Min Typ[1] Max Unit
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 91 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
I/O pins - high drive strength: ultra-high drive mode
ILH HIGH-level leakage
current VI=V
DD(IO); on-chip
pull-down resistor
disabled
-3-nA
VI=5 V; T
amb = 25°C -0.6-nA
VI=5 V; T
amb = 105 °C - 6 3 - nA
IOH HIGH-level output
current VOH =V
DD(IO) 0.4 V 20--mA
IOL LOW-level output
current VOL =0.4V 20--mA
IOHS HIGH-level short-circuit
output current drive HIGH; connected to
ground [10] --165mA
IOLS LOW-level short-circuit
output current drive LOW; connected to
VDD(IO)
[10] --156mA
I/O pins - high-speed
CIinput capacitance - - 2 pF
ILL LOW-level leakage
current VI= 0 V; on-chip pull-up
resistor disabled -3-nA
ILH HIGH-level leakage
current VI=V
DD(IO); on-chip
pull-down resistor
disabled
-3-nA
VI=5 V; T
amb = 25°C -0.5-nA
VI=5 V; T
amb = 105 °C - 4 0 - nA
IOZ OFF-state output
current VO=0V to V
DD(IO);
on-chip pull-up/down
resistors disabled;
absolute value
-3-nA
VIinput voltage pin configured to provide
a digital function;
VDD(IO) 2.4 V 0 - 5.5 V
VDD(IO) = 0 V 0 - 3.6 V
VOoutput voltage output active 0 - VDD(IO) V
VIH HIGH-level input
voltage 0.7
VDD(IO)
-5.5V
VIL LOW-level input voltage 0 - 0.3
VDD(IO)
V
Vhys hysteresis voltage 0.1
VDD(IO) --V
VOH HIGH-level output
voltage IOH =8 mA VDD(IO)
0.4 --V
VOL LOW-level output
voltage IOL =8 mA --0.4V
IOH HIGH-level output
current VOH =V
DD(IO) 0.4 V 8--mA
Table 11. Static characteristics …continued
Tamb =
40
C to +105
C, unless otherwise specified.
Symbol Parameter Conditions Min Typ[1] Max Unit
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 92 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
IOL LOW-level output
current VOL =0.4V 8--mA
IOHS HIGH-level short-circuit
output current drive HIGH; connected to
ground [10] --86mA
IOLS LOW-level short-circuit
output current drive LOW; connected to
VDD(IO)
[10] --76mA
Ipd pull-down curre nt VI=V
DD(IO) [12]
[13]
[14]
-62-A
Ipu pull-up current VI=0V [12]
[13]
[14]
-62 - A
VDD(IO) <V
I5V - 0 - A
Open-drain I2C0-bus pins
VIH HIGH-level input
voltage 0.7
VDD(IO)
--V
VIL LOW-level input voltage 0 0.14 0.3
VDD(IO)
V
Vhys hysteresis voltage 0.1
VDD(IO)
--V
VOL LOW-level output
voltage IOLS =3 mA --0.4V
ILI input leakage current VI=V
DD(IO) [11] -4.5-A
VI=5V --10A
Oscillator pins
Vi(XTAL1) input voltage on pin
XTAL1 0.5 - 1.2 V
Vo(XTAL2) output voltage on pin
XTAL2 0.5 - 1.2 V
Cio input/output
capacitance [15] --0.8pF
USB0 pins[16]
VIinput voltage on pins USB0_DP;
USB0_DM; USB0_VBUS
VDD(IO) 2.4 V 0 - 5.5 V
VDD(IO) = 0 V 0 - 3.6 V
Rpd pull-down resistance on pin USB0_VBUS 48 64 80 k
VIC common-mode input
voltage high-speed mode 50 200 500 mV
full-speed/low-speed
mode 800 - 2500 mV
chirp mode 50 - 600 mV
Vi(dif) differential input voltage 100 400 1100 mV
USB1 pins (USB1_DP/USB1_DM)[16]
IOZ OFF-state output
current 0V<V
I<3.3V [16] --10 A
Table 11. Static characteristics …continued
Tamb =
40
C to +105
C, unless otherwise specified.
Symbol Parameter Conditions Min Typ[1] Max Unit
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 93 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
[1] Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply voltages.
[2] The recommended operating condition for the battery supply is VDD(REG)(3V3) > V BAT + 0.2 V. Special conditions for VDD(REG)(3V3) apply
when writing to the flash and EEPROM. See Table 16 and Table 15.
[3] Pin VPP should either be not connected (when OTP does not need to be programmed) or tied to pins VDDIO and VDDREG to ensure
the same ramp-up time for both supply voltages.
[4] VDD(REG)(3V3) = 3.3 V; VDD(IO) = 3.3 V; Tamb =25C.
[5] PLL1 disabled; IRC running; CCLK = 12 MHz.
[6] VBAT = 3.6 V.
[7] Tamb =-40C to +105 C; VDD(IO) = VDDA = 3.6 V; over entire frequency range CCLK = 12 MHz to 180 MHz; in active mode, sleep
mode; deep-sleep mode, power-down mode, and deep power-down mode.
[8] Vps corresponds to the output of the power switch (see Figure 9) which is determined by the greater of VBAT and VDD(Reg)(3V3).
[9] VDDA(3V3) = 3.3 V; Tamb =25C.
[10] Allowed as long as the current limit does not exceed the maximum current allowed by the device.
[11] To VSS.
[12] The values specified are simulated and absolute values.
[13] The weak pull-up resistor is connected to the VDD(IO) rail and pulls up the I/O pin to the VDD(IO) level.
[14] The input cell disables the weak pull-up resistor when the applied input voltage exceeds VDD(IO).
[15] The parameter value specified is a simulated value excluding bond capacitance.
[16] For USB operation 3.0 V VDD((IO) 3.6 V. Guaranteed by design.
[17] VDD(IO) present.
[18] Includes external resistors of 33 1 % on D+ and D.
VBUS bus supply voltage [17] --5.25V
VDI differential input
sensitivity voltage (D+) (D)0.2--V
VCM differential common
mode voltage range includes VDI range 0.8 - 2.5 V
Vth(rs)se single-ended recei v er
switching threshold
voltage
0.8 - 2.0 V
VOL LOW-level output
voltage for
low-/full-speed
RL of 1.5 k to 3.6 V - - 0.18 V
VOH HIGH-level output
voltage (driven) for
low-/full-speed
RL of 15 k to GND 2.8 - 3.5 V
Ctrans transceiver capacitance pin to GND - - 20 pF
ZDRV driver output
impedance for driver
which is not high-speed
capable
with 33 series resistor;
steady state drive [18] 36 - 44.1
Table 11. Static characteristics …continued
Tamb =
40
C to +105
C, unless otherwise specified.
Symbol Parameter Conditions Min Typ[1] Max Unit
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 94 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
10.1 Power consumption
Conditions: Tamb = 25 C; executing code while (1){} from SRAM; system PLL enabled; IRC
enabled; all peripherals disabled; all peripheral clocks disabled.
Fig 10. Typical sup ply current versus regulator supply voltage VDD(REG)(3V3) in active
mode
Conditions: VDD(REG)(3V3) = 3.3 V; executing code while (1){} from SRAM; internal pull-up resistors
disabled; system PLL enabled; IRC enabled; all peripherals disabled; all peripheral clocks
disabled.
Fig 11. Typical supply current versus temperature in active mode
aaa-013045
2.2 2.4 2.6 2.8 3 3.2 3.4 3.6
0
20
40
60
80
100
V
DD(REG)(3V3)
(V)
I
DD(REG)(3V3)
DD(REG)(3V3)
I
DD(REG)(3V3)
(mA)
(mA)
(mA)
12 MHz
12 MHz
12 MHz
60 MHz
60 MHz
60 MHz
120 MHz
120 MHz
120 MHz
180 MHz
180 MHz
180 MHz
aaa-013044
-40 -20 0 20 40 60 80 100 120
0
20
40
60
80
100
temperature (°C)
IDD(REG)(3V3)DD(REG)(3V3)
IDD(REG)(3V3)
(mA)(mA)(mA)
120 MHz120 MHz120 MHz
60 MHz
180 MHz
12 MHz
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 95 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Conditions: active mode entered executing code while (1){} from SRAM; VDD(REG)(3V3) = 3.3 V;
system PLL enabled; IRC enabled; all peripherals disabled; all peripheral clocks disabled.
Fig 12. Typical supply current versus core frequency in active mode; code executed from
SRAM
Conditions: VDD(REG)(3V3) = 3.3 V; internal pull-up resistors disabled; system PLL disabled; IRC
enabled; all peripherals disabled; all peripheral clocks disabled. CCLK = 12 MHz.
Fig 13. Ty pical supply current versus temperature in sleep mode
aaa-013046
12 36 60 84 108 132 156 180
0
20
40
60
80
100
frequency (MHz)
IDD(REG)(3V3)DD(REG)(3V3)
IDD(REG)(3V3)
(mA)(mA)(mA)
+105 °C
+90 °C
+25 °C
0 °C
-40 °C
aaa-013047
-40 -20 0 20 40 60 80 100 120
0
5
10
15
20
temperature (°C)
I
DD(REG)(3V3)
DD(REG)(3V3)
IDD(REG)(3V3)
(mA)
(mA)
(mA)
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 96 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Conditions: VDD(REG)(3V3) = VDD(IO) = 3.3 V. Conditions: VDD(REG)(3V3) = VDD(IO) = 3.3 V.
Fig 14. Typical supply current versus tempe rature in
Deep-sleep mode Fig 15. Typical supply current versus temperature in
Power-down mode
002aah410
-40 0 40 80 120
0
0.4
0.8
1.2
1.6
temperature (°C)
(μA)(μA)
IDD(REG)(3V3)
(mA)
002aah412
-40 0 40 80 120
0
60
120
180
240
300
temperature (°C)
(μA)
(μA)
IDD(REG)(3V3)
(μA)
Conditions: VDD(REG)(3V3) = VDD(IO) = 3.3 V. VBAT =
VDD(REG)(3V3) + 0.4 V. Conditions: VBAT = 3.6 V. VDD(REG)(3V3) not present.
Fig 16. Typical supply current versus tempe rature in
Deep power-down mode Fig 17. Typical battery supply current versus
temperature
002aah424
-40 -20 0 20 40 60 80 100 120
0
5
10
15
20
25
temperature (°C)
(μA)(μA)
IBATIBAT
I
DD(REG)(3V3)
/I
BAT
(μA)
I
BAT
I
DD(REG)(3V3)
002aah415
-40 -20 0 20 40 60 80 100 120
0
5
10
15
20
25
30
temperature (°C)
IBAT
IBAT
I
BAT
(μA)
(μA)
(μA)
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 97 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
10.2 Peripheral power consumption
The typical power con sumption at T = 25 C for each individ ual periphera l is measured as
follows:
1. Enable all branch clock s and measure the curre n t IDD(REG)(3V3).
2. Disable the branch clock to the peripheral to be measured and keep all other branch
clocks enabled.
3. Calculate the difference be tween measurement 1 and 2. The re sult is the peripheral
power consum p tio n.
Conditions: VDD(REG)(3V3) = 3.0 V; VBAT = 2.6 V to 3.6 V; CCLK = 12 MHz.
Remark: The recommended operating condition for the battery supply is
VDD(REG)(3V3) > VBAT + 0.2 V.
Fig 18. Typical batte ry supply current in Active mode
002aah379
-0.4 -0.2 0 0.2 0.4 0.6
0
20
40
60
80
100
V
BAT
- V
DD(REG)(3V3)
(V)
I
BAT
(μA)
Table 12. Peripheral power consumption
Peripheral Branch clock IDD(REG)(3V3) in mA
Branch clock
frequency = 48 MHz Branch clock
frequency = 96 MHz
I2C1 CLK_APB3_I2C1 0.01 0.01
I2C0 CLK_APB1_I2C0 < 0.01 0.02
DAC CLK_APB3_DAC 0.01 0.02
ADC0 CLK_APB3_ADC0 0.07 0.07
ADC1 CLK_APB3_ADC1 0.07 0.07
CAN0 CLK_APB3_CAN0 0.17 0.17
CAN1 CLK_APB1_CAN1 0.16 0.15
MOTOCON CLK_APB1_MOTOCON 0.04 0.04
I2S CLK_APB1_I2S 0.09 0.08
SPIFI CLK_SPIFI,
CLK_M3_SPIFI 1.14 2.29
GPIO CLK_M3_GPIO 0.72 1.43
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 98 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
LCD CLK_M3_LCD 0.91 1.82
ETHERNET CLK_M3_ETHERNET 1.06 2.15
UART0 CLK_M3_UART0,
CLK_APB0_UART0 0.24 0.43
UART1 CLK_M3_UART1,
CLK_APB0_UART1 0.24 0.43
UART2 CLK_M3_UART2,
CLK_APB2_UART2 0.26 0.5
UART3 CLK_M3_USART3,
CLK_APB2_UART3 0.27 0.45
TIMER0 CLK_M3_TIMER0 0.08 0.15
TIMER1 CLK_M3_TIMER1 0.09 0.15
TIMER2 CLK_M3_TIMER2 0.1 0.19
TIMER3 CLK_M3_TIMER3 0.08 0.16
SDIO CLK_M3_SDIO,
CLK_SDIO 0.66 1.17
SCTimer/PWM CLK_M3_SCT 0.66 1.3
SSP0 CLK_M3_SSP0,
CLK_APB0_SSP0 0.13 0.23
SSP1 CLK_M3_SSP1,
CLK_APB2_SSP1 0.14 0.27
DMA CLK_M3_DMA 1.81 3.61
WWDT CLK_M3_WWDT 0.03 0.09
QEI CLK_M3_QEI 0.28 0.55
USB0 CLK_M3_USB0,
CLK_USB0 1.9 3.9
USB1 CLK_M3_USB1,
CLK_USB1 3.02 5.69
RITIMER CLK_M3_RITIMER 0.05 0.1
EMC CLK_M3_EMC,
CLK_M3_EMC_DIV 3.94 7.95
SCU CLK_M3_SCU 0.1 0.21
CREG CLK_M3_CREG 0.35 0.7
Flash bank A CLK_M3_FLASHA 1.47 2.97
Flash bank B CLK_ M3 _FLASHB 1.4 2.84
Table 12. Peripheral power consumption
Peripheral Branch clock IDD(REG)(3V3) in mA
Branch clock
frequency = 48 MHz Branch clock
frequency = 96 MHz
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 99 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
10.3 Electrical pin characteristics
Conditions: VDD(REG)(3V3) =V
DD(IO) = 3.3 V. Conditions: VDD(REG)(3V3) =V
DD(IO) =3.3V.
Fig 19. Sta nda rd I/O pins; typical LOW le ve l ou tpu t
current IOL versus LOW level output voltage
VOL
Fig 20. Standard I/O pins; typical HIGH level output
voltage VOL versus HIGH level output current
IOH
002aah358
0 0.1 0.2 0.3 0.4 0.5 0.6
0
3
6
9
12
15
VOL (V)
IOL
(mA)
-40 °C
+25 °C
+85 °C
+105 °C
002aah359
0 6 12 18 24 30 36
2
2.4
2.8
3.2
3.6
I
OH
(mA)
V
OH
(V)
-40 °C
+25 °C
+85 °C
+105 °C
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 100 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Conditions: VDD(REG)(3V3) =V
DD(IO) = 3.3 V; normal-drive;
EHD = 0x0. Conditions: VDD(REG)(3V3) =V
DD(IO) =3.3V;
medium-drive; EHD = 0x1.
Conditions: VDD(REG)(3V3) =V
DD(IO) = 3.3 V; high-drive;
EHD = 0x2. Conditions: VDD(REG)(3V3) =V
DD(IO) = 3.3 V; ultra
high-drive; EHD = 0x3.
Fig 21. High-drive pin s; typical LOW leve l ou tput current IOL versus LOW level output voltage VOL
002aah360
0 0.1 0.2 0.3 0.4 0.5 0.6
0
3
6
9
12
15
VOL (V)
IOL
(mA)
-40 °C
+25 °C
+85 °C
+105 °C
002aah361
0 0.1 0.2 0.3 0.4 0.5 0.6
0
5
10
15
20
25
VOL (V)
IOL
(mA)
-40 °C
+25 °C
+85 °C
+105 °C
002aah362
0 0.1 0.2 0.3 0.4 0.5 0.6
0
8
16
24
32
40
VOL (V)
IOL
(mA)
-40 °C
+25 °C
+85 °C
+105 °C
002aah363
0 0.1 0.2 0.3 0.4 0.5 0.6
0
15
30
45
60
VOL (V)
IOL
(mA)
-40 °C
+25 °C
+85 °C
+105 °C
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 101 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Conditions: VDD(REG)(3V3) =V
DD(IO) = 3.3 V; normal-drive;
EHD = 0x0. Conditions: VDD(REG)(3V3) =V
DD(IO) =3.3V;
medium-drive; EHD = 0x1.
Conditions: VDD(REG)(3V3) =V
DD(IO) = 3.3 V; high-drive;
EHD = 0x2. Conditions: VDD(REG)(3V3) =V
DD(IO) = 3.3 V; ultra
high-drive; EHD = 0x3.
Fig 22. High-drive pins; typical HIGH level outpu t voltage VOH versus HGH level output current IOH
002aah364
0 4 8 12 16 20 24
2
2.4
2.8
3.2
3.6
I
OH
(mA)
V
OH
(V)
-40 °C
+25 °C
+85 °C
+105 °C
002aah367
0 8 16 24 32 40 48
2
2.4
2.8
3.2
3.6
I
OH
(mA)
V
OH
(V)
-40 °C
+25 °C
+85 °C
+105 °C
002aah368
016 32 48 64 80 96
2
2.4
2.8
3.2
3.6
I
OH
(mA)
V
OH
(V)
-40 °C
+25 °C
+85 °C
+105 °C
002aah369
020 40 60 80 100 120
2
2.4
2.8
3.2
3.6
IOH (mA)
VOH
(V)
-40 °C
+25 °C
+85 °C
+105 °C
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 102 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Conditions: VDD(IO) = 3.3 V. Simulated data over process and temperature.
Fig 23. Pull-up current Ipu versus input voltage VI
Conditions: VDD(IO) = 3.3 V. Simulated data over process and temperature.
Fig 24. Pull-down cu rre nt Ipd versus input voltage VI
002aah422
0 1 2 3 4 5
-80
-60
-40
-20
0
20
VI (V)
Ipu
Ipu
Ipu
(μA)
(μA)
(μA)
+105 C
+105 C
+105 °C
+25 C
+25 C
+25 °C
-40 C
-40 C
-40 °C
002aah418
0 1 2 3 4 5
0
30
60
90
120
VI (V)
Ipd
Ipd
Ipd
(μA)
(μA)
(μA)
-40 C
-40 C
-40 °C
+25 C
+25 C
+25 °C
+105 C
+105 C
+105 °C
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 103 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
10.4 BOD and band gap static characteristics
[1] Interrupt and reset levels are selected by writing to the BODLV1/2 bits in the control register CREGE0, see
the LPC18xx user manual.
[1] Based on characterization, not tested in production.
Table 13. BOD static characteristics[1]
Tamb =25
C; simulated values for nominal pro ce ssing.
Symbol Parameter Conditions Min Typ Max Unit
Vth threshold voltage interrupt level 2
assertion - 2.95 - V
de-assertion - 3.03 - V
interrupt level 3
assertion - 3.05 - V
de-assertion - 3.13 - V
reset level 2
assertion - 2.1 - V
de-assertion - 2.18 - V
reset level 3
assertion - 2.2 - V
de-assertion - 2.28 - V
Table 14. Band gap characteristics
VDDA(3V3) over specifi ed ranges; Tamb =
40
C to +105
C; unless otherwise specified
Symbol Parameter Min Typ Max Unit
Vref(bg) band gap reference voltage [1] 0.707 0.745 0.783 mV
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 104 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
11. Dynamic characteristics
11.1 Flash/EEPROM memory
[1] Number of erase/program cycles.
[2] Programming times are given for writing 512 bytes from RAM to the flash. Data must be written to the flash
in blocks of 512 bytes.
[1] See the LPC18xx user manual how to program the wait states for the different read (RPHASEx) and erase/program phases (PHASEx)
Table 15. Flash characteristics
Tamb =
40
C to +105
C, unless otherwise specified. VDD(REG)(3V3) = 2.4 V to 3.6 V for read
operations; VDD(REG)(3V3) = 2.7 V to 3.6 V for erase/program operations.
Symbol Parameter Conditions Min Typ Max Unit
Nendu endurance sector erase/program [1] 10000 - - cycles
page erase/program; page
in large sector 1000 - - cycles
page erase/program; page
in small sector 10000 - - cycles
tret retention time powered 10 - - years
unpowered 10 - - years
ter erase time page, sector, or multiple
consecutive sectors -100-ms
tprog programming
time [2] -1-ms
Table 16. EEPROM characteristics
Tamb =
40
Cto+105
C; VDD(REG)(3V3) = 2.7 V to 3.6 V.
Symbol Parameter Conditions Min Typ Max Unit
fclk clock frequency 800 1500 1600 kHz
Nendu endurance 100000 - - cycles
tret retention time Tamb =40 Cto+85C 20 - - years
85 C < Tamb 105 C 10 - - years
taaccess time read - 120 - ns
erase/program;
fclk = 1500 kHz -1.99-ms
erase/program;
fclk = 1600 kHz -1.87-ms
twait wait time read; RPHASE1 [1] 35 - - ns
read; RPHASE2 [1] 70 - - ns
write; PHASE1 [1] 20 - - ns
write; PHASE2 [1] 40 - - ns
write; PHASE3 [1] 10 - - ns
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 105 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
11.2 Wake-up times
[1] Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply
voltages.
[2] Tcy(clk) = 1/CCLK with CCLK = CPU clock frequency.
11.3 External clock for oscillator in slave mode
Remark: The input voltage on the XTAL1/2 pins must be 1.2 V (see Table 11). For
connecting the oscillator to the XTAL pins, also see Section 13.2 and Section 13.4.
[1] Parameters are valid over operating temperature range unless otherwise specified.
Table 17. Dynamic characteristic: Wake-up from Deep-sleep, Power-d own, and Deep
power-down modes
Tamb =
40
C to +105
C
Symbol Parameter Conditions Min Typ[1] Max Unit
twake wake-up time from Sleep mode [2] 3 Tcy(clk) 5 Tcy(clk) -ns
from Deep-sleep and
Power-down mode 12 51 - s
from Deep power-down mode - 200 - μs
after reset - 200 - μs
Table 18. Dynamic characteristic: external clock
Tamb =
40
C to +105
C; VDD(IO) over specified ranges.[1]
Symbol Parameter Conditions Min Max Unit
fosc oscillator frequency 1 25 MHz
Tcy(clk) clock cycle time 40 1000 ns
tCHCX clock HIGH time Tcy(clk) 0.4 Tcy(clk) 0.6 ns
tCLCX clock LOW time Tcy(clk) 0.4 Tcy(clk) 0.6 ns
Fig 25. External clock timing (with an amplitude of at least Vi(RMS) = 200 mV)
tCLCX
tCHCX
Tcy(clk)
002aag698
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 106 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
11.4 Cryst al oscillator
[1] Parameters are valid over operating temperature range unless otherwise specified.
[2] Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply
voltages.
[3] Indicates RMS period jitter.
[4] PLL-induced jitter is not included.
[5] Select HF = 0 in the XTAL_OSC_CTRL register.
[6] Select HF = 1 in the XTAL_OSC_CTRL register.
11.5 IRC oscillator
[1] Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply
voltages.
11.6 RTC oscillator
See Section 13.3 for connecting the RTC oscillator to an external clock source.
[1] Parameters are valid over operating temperature range unless otherwise specified.
[2] Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply
voltages.
Table 19. Dynamic characteristic: oscillator
Tamb =
40
C to +105
C; VDD(IO) over specified ranges; 2.4 V
VDD(REG)(3V3)
3.6 V.[1]
Symbol Parameter Conditions Min Typ[2] Max Unit
Low-frequency mode (1-20 MHz)[5]
tjit(per) period jitter time 5 MHz crystal [3][4] -13.2- ps
10 MHz crystal - 6.6 - ps
15 MHz crystal - 4.8 - ps
High-frequency mode (20 - 25 MHz)[6]
tjit(per) period jitter time 20 MHz crystal [3][4] -4.3- ps
25 MHz crystal - 3.7 - ps
Table 20. Dynamic characteristic: IRC oscillator
2.4 V
VDD(REG)(3V3)
3.6 V
Symbol Parameter Conditions Min Typ[1] Max Unit
fosc(RC) internal RC
oscillator
frequency
-40 C Tamb 0 C 12.0 - 3 % 12.0 12.0 + 3 % MHz
0C Tamb 85 C 12.0 - 1.5 % 12.0 12.0 + 1.5 % MHz
85 C Tamb 105 C 12.0 - 3 % 12.0 12.0 + 3 % MHz
Table 21. Dynamic characteristic: RTC oscillator
Tamb =
40
C to +105
C; 2.4 V
VDD(REG)(3V3)
3.6 V or 2.4 V
VBAT
3.6 V[1]
Symbol Parameter Conditions Min Typ[1] Max Unit
fiinput frequency - - 32.768 - kHz
ICC(osc) oscillator supply
current 280 800 nA
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 107 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
11.7 GPCLKIN
11.8 I/O pins
[1] Simulated data.
Table 22. Dynamic characteristic: GPCLKIN
Tamb =25
C; 2.4 V
VDD(REG)(3V3)
3.6 V
Symbol Parameter Min Typ Max Unit
GP_CLKIN input frequency - - 25 MHz
Table 23. Dynamic characteristic: I/O pins[1]
Tamb =
40
C to +105
C; 2.7 V
VDD(IO)
3.6 V.
Symbol Parameter Conditions Min Typ Max Unit
Standard I/O pins - normal drive strength
trrise time pin configured as output; EHS = 1 [2][3] 1.0 - 2.5 ns
tffall time pin configured as output; EHS = 1 [2][3] 0.9 - 2.5 ns
trrise time pin configured as output; EHS = 0 [2][3] 1.9 - 4.3 ns
tffall time pin configured as output; EHS = 0 [2][3] 1.9 - 4.0 ns
trrise time pin configured as input [4] 0.3 - 1.3 ns
tffall time pin configured as input [4] 0.2 - 1.2 ns
I/O pins - high drive strength
trrise time pin configured as output; standard
drive mode (EHD = 0x0) [2][5] 4.3 - 7.9 ns
tffall time pin configured as output; standard
drive mode (EHD = 0x0) [2][5] 4.7 - 8.7 ns
trrise time pin configured as output; medium
drive mode (EHD = 0x1) [2][5] 3.2 - 5.7 ns
tffall time pin configured as output; medium
drive mode (EHD = 0x1) [2][5] 3.2 - 5.5 ns
trrise time pin configured as output; high drive
mode (EHD = 0x2) [2][5] 2.9 - 4.9 ns
tffall time pin configured as output; high drive
mode (EHD = 0x2) [2][5] 2.5 - 3.9 ns
trrise time pin configured as output; ultra-high
drive mode (EHD = 0x3) [2][5] 2.8 - 4.7 ns
tffall time pin configured as output; ultra-high
drive mode (EHD = 0x3) [2][5] 2.4 - 3.4 ns
trrise time pin configured as input [4] 0.3 - 1.3 ns
tffall time pin configured as input [4] 0.2 - 1.2 ns
I/O pins - high-sp eed
trrise time pin configured as output; EHS = 1 [2][3] 350 - 670 ps
tffall time pin configured as output; EHS = 1 [2][3] 450 - 730 ps
trrise time pin configured as output; EHS = 0 [2][3] 1.0 - 1.9 ns
tffall time pin configured as output; EHS = 0 [2][3] 1.0 - 2.0 ns
trrise time pin configured as input [4] 0.3 - 1.3 ns
tffall time pin configured as input [4] 0.2 - 1.2 ns
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 108 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
[2] Simulated using 10 cm of 50 PCB trace with 5 pF receiver input. Rise and fall times measured between
80 % and 20 % of the full output signal level.
[3] The slew rate is configured in the system control block in the SFSP registers using the EHS bit. See the
LPC43xx user manual.
[4] CL = 20 pF. Rise and fall times measured between 90 % and 10 % of the full input signal level.
[5] The drive modes are configured in the system control block in the SFSP registers using the EHD bit. See
the LPC18xx user manual.
11.9 I2C-bus
[1] Parameters are valid over operating temperature range unless otherwise specified. See the I2C-bus specification UM10204 for details.
[2] tHD;DAT is the data hold time that is measured from the falling edge of SCL; applies to data in transmission and the acknowledge.
[3] 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.
[4] Cb = total capacitance of one bus line in pF. If mixed with Hs-mode devices, faster fall times are allowed.
[5] 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] 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.
[7] 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.
[8] 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.
Table 24. Dynamic character istic: I2C-bus pins
Tamb =
40
C to +105
C; 2.4 V
VDD(REG)(3V3)
3.6 V.[1]
Symbol Parameter Conditions Min Max Unit
fSCL SCL clock frequency Standard-mode 0 100 kHz
Fast-mode 0 400 kHz
Fast-mode Plus 0 1 MHz
tffall time [3][4][5][6] of both SDA and
SCL signals
Standard-mode
-300ns
Fast-mode 20 + 0.1 Cb300 ns
Fast-mode Plus - 120 ns
tLOW LOW period of the SCL clock Standard-mode 4.7 - s
Fast-mode 1.3 - s
Fast-mode Plus 0.5 - s
tHIGH HIGH period of the SCL clock Standard-mode 4.0 - s
Fast-mode 0.6 - s
Fast-mode Plus 0.26 - s
tHD;DAT data hold time [2][3][7] Standard-mode 0 - s
Fast-mode 0 - s
Fast-mode Plus 0 - s
tSU;DAT data set-up time
[8][9] Standard-mode 250 - ns
Fast-mode 100 - ns
Fast-mode Plus 50 - ns
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 109 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
[9] A Fast-mode I2C-bus device can be used in a Standard-mode I2C-bus system but the requirement tSU;DAT = 25 0 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 acknowledg e timing must meet this set-up time.
11.10 I2S-bus interface
[1] 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.
Fig 26. I2C-bus pins clock timing
002aaf425
tf
70 %
30 %
SDA
tf
70 %
30 %
S
70 %
30 %
70 %
30 %
tHD;DAT
SCL
1 / fSCL
70 %
30 %
70 %
30 %
tVD;DAT
tHIGH
tLOW
tSU;DAT
Table 25. Dynamic characteristics: I2S-bus interface pins
Tamb =
40
C to 105
C; 2.4 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 Parameter Conditions Min Typ Max Unit
common to input and ou tput
trrise time - 4 - ns
tffall time - 4 - ns
tWH pulse width HIGH on pins I2Sx_TX_SCK
and I2Sx_RX_SCK 36 - - ns
tWL pulse width LOW on pins I2Sx_TX_SCK
and I2Sx_RX_SCK 36 - - ns
output
tv(Q) data output valid time on pin I2Sx_T X_SDA [1] -4.4-ns
on pin I2Sx_TX_WS - 4.3 - ns
input
tsu(D) data input set-up time on pin I2Sx_RX_SDA [1] -0-ns
on pin I2Sx_RX_WS 0.20 ns
th(D) data input hold time on pin I2Sx_RX_SDA [1] -3.7-ns
on pin I2Sx_RX_WS - 3.9 - ns
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 110 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
11.11 USART interface
Fig 27. I2S-bus timing (transmit)
Fig 28. I2S-bus timing (receive)
002aag497
I2Sx_TX_SCK
I2Sx_TX_SDA
I2Sx_TX_WS
Tcy(clk) tftr
tWH tWL
tv(Q)
tv(Q)
002aag498
Tcy(clk) tftr
tWH
tsu(D) th(D)
tsu(D) th(D)
tWL
I2Sx_RX_SCK
I2Sx_RX_SDA
I2Sx_RX_WS
Table 26. USART dynamic characteristics
Tamb =
40
C to 105
C; 2.4 V
VDD(REG)(3V3)
3.6 V; 2.7 V
VDD(IO)
3.6 V ; CL = 20 pF. EHS = 1
for all pins. Simulated values.
Symbol Parameter Min Max Unit
USART master (in synchronous mode)
tsu(D) data input set-up time 26.6 - ns
th(D) data input hold time 0 - ns
tv(Q) data output valid time 0 10.4 ns
USART slave (in synchronous mode)
tsu(D) data input set-up time 2.4 - ns
th(D) data input hold time 0 - ns
tv(Q) data output valid time 4.3 24.3 ns
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 111 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Fig 29. USART timing
SCLK (FES = 1)
TXD
RXD
T
cy(clk)
t
v(Q)
t
v(Q)
t
h(D)
t
su(D)
START BIT0
SCLK (FES = 0)
START BIT0 BIT1
BIT1
aaa-016717
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 112 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
11.12 SSP interface
Table 27. Dynamic characteristics: SSP pins in SPI mode
Tamb =
40
C to +105
C; 2.4 V
VDD(REG)(3V3)
3.6 V; 2.7 V
VDD(IO)
3.6 V; CL = 20 pF; sampled at 10 % and 90 % of
the signal level; EHS = 1 for all pins. Simulated values.
Symbol Parameter Conditions Min Typ Max Unit
SSP master
Tcy(clk) clock cycle time full-duplex mode [1] 1/(25.5 106)- - s
when only transmitting 1/(51 106)- - s
tDS data set-up time in SPI mode 12.2 - - ns
tDH data hold time in SPI mode 3.6 - - ns
tv(Q) data output valid
time in SPI mode - - 6.7 ns
th(Q) data output hold
time in SPI mode 1.7 - - ns
tlead lead time continuous transfer mo de
SPI mode; CPOL = 0;
CPHA = 0
Tcy(clk) + 3.3 - Tcy(clk) + 8.2 ns
SPI mode; CPOL = 0;
CPHA = 1 0.5 Tcy(clk) + 3.3 - 0.5 Tcy(clk) + 8.2 ns
SPI mode; CPOL = 1;
CPHA = 0 Tcy(clk) + 3.3 - Tcy(clk) + 8.2 ns
SPI mode; CPOL = 1;
CPHA = 1 0.5 Tcy(clk) + 3.3 - 0.5 Tcy(clk) + 8.2 ns
synchronous serial
frame mode 0.5 Tcy(clk) + 3.3 - 0.5 Tcy(clk) + 8.2 ns
microwire frame format Tcy(clk) + 3.3 - Tcy(clk) + 8.2 ns
tlag lag time continuous transfer mode
SPI mode; CPOL = 0;
CPHA = 0
0.5 Tcy(clk) -- ns
SPI mode; CPOL = 0;
CPHA = 1 Tcy(clk) -- ns
SPI mode; CPOL = 1;
CPHA = 0 0.5 Tcy(clk) -- ns
SPI mode; CPOL = 1;
CPHA = 1 Tcy(clk) -- ns
synchronous serial
frame mode Tcy(clk) -- ns
microwire fra me format 0.5 Tcy(clk) -- ns
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 113 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
tddelay time continuous transfer mode
SPI mode; CPOL = 0;
CPHA = 0
-0.5 Tcy(clk) -ns
SPI mode; CPOL = 0;
CPHA = 1 -n/a- ns
SPI mode; CPOL = 1;
CPHA = 0 -0.5 Tcy(clk) -ns
SPI mode; CPOL = 1;
CPHA = 1 -n/a- ns
synchronous serial
frame mode -T
cy(clk) -ns
microwire frame format - n/a - ns
SSP slave
PCLK Peripheral clock
frequency - - 180 MHz
Tcy(clk) clock cycle time [2] 1/(11 106)- - s
tDS data set-up time in SPI mode 1.5 - - ns
tDH data hold time in SPI mode 2 - - ns
tv(Q) data output valid
time in SPI mode - - [4 (1/PCLK)] + 1 ns
th(Q) data output hold
time in SPI mode 4.5 - - ns
tlead lead time continuous transfer mo de
SPI mode; CPOL = 0;
CPHA = 0
Tcy(clk) -- ns
SPI mode; CPOL = 0;
CPHA = 1 0.5 Tcy(clk) -- ns
SPI mode; CPOL = 1;
CPHA = 0 Tcy(clk) -- ns
SPI mode; CPOL = 1;
CPHA = 1 0.5 Tcy(clk) -- ns
synchronous serial
frame mode 0.5 Tcy(clk) -- ns
microwire frame format Tcy(clk) -- ns
Table 27. Dynamic characteristics: SSP pins in SPI mode
Tamb =
40
C to +105
C; 2.4 V
VDD(REG)(3V3)
3.6 V; 2.7 V
VDD(IO)
3.6 V; CL = 20 pF; sampled at 10 % and 90 % of
the signal level; EHS = 1 for all pins. Simulated values.
Symbol Parameter Conditions Min Typ Max Unit
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 114 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
[1] 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).
[2] Tcy(clk) 12 Tcy(PCLK).
tlag lag time continuous transfer mode
SPI mode; CPOL = 0;
CPHA = 0
0.5 x Tcy(clk) + 1.5 - - ns
SPI mode; CPOL = 0;
CPHA = 1 Tcy(clk) + 1.5 - - ns
SPI mode; CPOL = 1;
CPHA = 0 0.5 Tcy(clk) + 1.5 - - ns
SPI mode; CPOL = 1;
CPHA = 1 Tcy(clk) + 1.5 - - ns
synchronous serial
frame mode Tcy(clk) + 1.5 - - ns
microwire fra me format 0.5 Tcy(clk) -- ns
tddelay time continuous transfer mode
SPI mode; CPOL = 0;
CPHA = 0
-0.5 Tcy(clk) -ns
SPI mode; CPOL = 0;
CPHA = 1 -n/a- ns
SPI mode; CPOL = 1;
CPHA = 0 -0.5 Tcy(clk) -ns
SPI mode; CPOL = 1;
CPHA = 1 -n/a- ns
synchronous serial
frame mode -T
cy(clk) -ns
microwire frame format - n/a - ns
Table 27. Dynamic characteristics: SSP pins in SPI mode
Tamb =
40
C to +105
C; 2.4 V
VDD(REG)(3V3)
3.6 V; 2.7 V
VDD(IO)
3.6 V; CL = 20 pF; sampled at 10 % and 90 % of
the signal level; EHS = 1 for all pins. Simulated values.
Symbol Parameter Conditions Min Typ Max Unit
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 115 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Fig 30. SSP master timing in SPI mode
SCK (CPOL = 0)
MOSI (CPHA = 1)
SSEL
MISO (CPHA = 1)
T
cy(clk)
t
DS
t
DH
t
v(Q)
DATA VALID (LSB) DATA VALID
t
h(Q)
SCK (CPOL = 1)
DATA VALID (LSB) DATA VALID
MOSI (CPHA = 0)
MISO (CPHA = 0) t
DS
t
lead
t
lag
t
d
t
DH
DATA VALID (MSB) DATA VALID (MSB)DATA VALID
DATA VALID (LSB)
DATA VALID (LSB)
t
h(Q)
DATA VALID (MSB) DATA VALID
t
v(Q)
aaa-013462
DATA VALID (MSB)
DATA VALID (MSB)
DATA VALID (MSB)
DATA VALID (MSB) IDLE
IDLE
DATA VALID (MSB)
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 116 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Fig 31. SSP slave timing in SPI mode
SCK (CPOL = 0)
MISO (CPHA = 1)
SSEL
MOSI (CPHA = 1)
Tcy(clk)
tDS tDH
tv(Q)
DATA VALID (LSB) DATA VALID
th(Q)
SCK (CPOL = 1)
DATA VALID (LSB) DATA VALID
MISO (CPHA = 0)
MOSI (CPHA = 0) tDS
tlead tlag
td
tDH
DATA VALID (MSB) DATA VALID (MSB)DATA VALID
DATA VALID (LSB)
DATA VALID (LSB)
th(Q)
DATA VALID (MSB) DATA VALID
tv(Q)
aaa-014942
DATA VALID (MSB)
DATA VALID (MSB)
DATA VALID (MSB)
DATA VALID (MSB)
IDLE
IDLE
IDLE
IDLE
DATA VALID (MSB)
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 117 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
11.13 External memory interface
Table 28. Dynamic characteristics: Static asynchronous external memory interface
CL= 22 pF for EMC_Dn CL= 20 pF for all others; Tamb =
40
C to +105
C; 2.4 V
VDD(REG)(3V3)
3.6 V;
2.7 V
VDD(IO)
3.6 V; values guaranteed by design; the values in the table have been calculated with WAITTURN = 0x0 in
STATICWAITTURN register.T iming parameters are given for single memory access cycles. In a normal read operation, the
EMC changes the address while CS is asserted which results in multiple memory accesses.
Symbol Parameter[1] Conditions Min Typ Max Unit
Read cycle parameters
tCSLAV CS LOW to address valid
time 3.1 - 1.6 ns
tCSLOEL CS LOW to OE LOW time [2] 0.6 + Tcy(clk)
WAITOEN - 1.3 + Tcy(clk)
WAITOEN ns
tCSLBLSL CS LOW to BLS LOW time PB = 1 0.7 - 1.8 ns
tOELOEH OE LOW to OE HIGH time [2] 0.6 +
(WAITRD
WAITOEN + 1)
Tcy(clk)
-0.4 +
(WAITRD
WAIT OEN + 1)
Tcy(clk)
ns
tam memory access time - - 16 +
(WAITRD
WAITOEN +1)
Tcy(clk)
ns
th(D) data input hold time 16 - - ns
tCSHBLSH CS HIGH to BLS HIGH time PB = 1 0.4 - 1.9 ns
tCSHOEH CS HIGH to OE HIGH time 0.4 - 1.4 ns
tOEHANV OE HIGH to address invalid PB = 1 2.0 - 2.6 ns
tCSHEOR CS HIGH to end of read
time [3] 2.0 - 0 ns
tCSLSOR CS LOW to start of read
time [4] 0- 1.8ns
Write cycle parameters
tCSLAV CS LOW to address valid
time 3.1 - 1.6 ns
tCSLDV CS LOW to data valid time 3.1 - 1.5 ns
tCSLWEL CS LOW to WE LOW time PB = 1 1.5 +
(WAITWEN + 1)
Tcy(clk)
- 0.2 +
(WAITWEN + 1)
Tcy(clk)
ns
tCSLBLSL CS LOW to BLS LOW time PB = 1 0.7 - 1.8 ns
tWELWEH WE LOW to WE HIGH time PB = 1 [2] 0.6 +
(WAITWR
WAITWEN + 1)
Tcy(clk)
-0.4 +
(WAITWR
WAITWEN + 1)
Tcy(clk)
ns
tWEHDNV WE HIGH to data invalid
time PB = 1 [2] 0.9 + Tcy(clk) - 2.3 + Tcy(clk) ns
tWEHEOW WE HIGH to end of write
time PB = 1 [2]
[5] 0.4 + Tcy(clk) -0.3 + Tcy(clk) ns
tCSLBLSL CS LOW to BLS LOW PB = 0 0.7 +
(WAITWEN + 1)
Tcy(clk)
- 1.8 +
(WAITWEN + 1)
Tcy(clk)
ns
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 118 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
[1] Parameters specified for 40 % of VDD(IO) for rising edges and 60 % of VDD(IO) for falling edges.
[2] Tcy(clk) = 1/CCLK (see LPC18xx User manual).
[3] End Of Read (EOR): longest of tCSHOEH, tOEHANV, tCSHBLSH.
[4] Start Of Read (SOR): longest of tCSLAV, tCSLOEL, tCSLBLSL.
[5] End Of Write (EOW): earliest of address not valid or EMC_BLSn HIGH.
tBLSLBLSH BLS LOW to BLS HIGH time PB = 0 [2] 0.9 +
(WAITWR
WAITWEN + 1)
Tcy(clk)
-0.1 +
(WAITWR
WAITWEN + 1)
Tcy(clk)
ns
tBLSHEOW BLS HIGH to end of write
time PB = 0 [2]
[5] 1.9 + Tcy(clk) -0.5 + Tcy(clk) ns
tBLSHDNV BLS HIGH to data invalid
time PB = 0 [2] 2.5 + Tcy(clk) - 1.4 + Tcy(clk) ns
tCSHEOW CS HIGH to end of write
time [5] 2.0 - 0 ns
tBLSHDNV BLS HIGH to data invalid
time PB = 1 2.5 - 1.4 ns
tWEHANV WE HIGH to address invalid
time PB = 1 0.9 + Tcy(clk) - 2.4 + Tcy(clk) ns
Table 28. Dynamic characteristics: Static asynchronous external memory interface …continued
CL= 22 pF for EMC_Dn CL= 20 pF for all others; Tamb =
40
C to +105
C; 2.4 V
VDD(REG)(3V3)
3.6 V;
2.7 V
VDD(IO)
3.6 V; values guaranteed by design; the values in the table have been calculated with WAITTURN = 0x0 in
STATICWAITTURN register.T iming parameters are given for single memory access cycles. In a normal read operation, the
EMC changes the address while CS is asserted which results in multiple memory accesses.
Symbol Parameter[1] Conditions Min Typ Max Unit
Fig 32. External static memory read/write access (PB = 0)
tCSLDV
tCSLBLSL
tCSHEOW
tBLSHEOW
tCSLAV
EOR
SOR EOW
EMC_An
EMC_CSn
EMC_OE
EMC_BLSn
EMC_WE
EMC_Dn
002aag699
tCSHOEH
tOEHANV
tCSHEOR
tam
tCSLSOR
tOELOEH
tCSLOEL
tCSLAV
th(D)
tBLSLBLSH
tBLSHDNV
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 119 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Fig 33. External static memory read/write access (PB = 1)
EMC_An
tCSLAV
tCSLBLSL
EMC_CSn
EMC_OE
EMC_BLSn
EMC_WE
tCSLSOR
tCSLDV
tam
th(D)
EOR
SOR EOW
EMC_Dn
tCSLWEL tWELWEH tWEHEOW
002aag700
tCSLBLSL
tCSLAV
tCSLOEL
tOELOEH
tCSHOEH
tOEHANV
tCSHBLSH
tCSHEOR
tCSHEOW
tWEHDNV
tBLSHDNV
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 120 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
[1] Program the EMC_CLKn delay values in the EMCDELAYCLK register (see the LPC18xx User manual).
The delay values must be the same for all SDRAM clocks EMC_CLKn: CLK0_DELAY = CLK1_DELAY =
CLK2_DELAY = CLK3_DELAY.
Table 29. 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
+105
C; 2.4 V
VDD(REG)(3V3)
3.6 V; VDD(IO) =3.3 V
10 %; RD = 1 (see LPC18xx User manual); EMC_CLKn delays
CLK0_DELAY = CLK1_DELAY = CLK2_DELAY = CLK3_DELAY = 0.
Symbol Parameter Min Typ Max Unit
Tcy(clk) clock cycle time 8.4 - - ns
Common to read and write cycles
td(DYCSV) dynamic chip select valid delay time - 3.1 + 0.5 Tcy(clk) 5.1 + 0.5 Tcy(clk) ns
th(DYCS) dynamic chip select hold time 0.3 + 0.5 Tcy(clk) 0.9 + 0.5 Tcy(clk) -ns
td(RASV) row address strobe valid delay time - 3.1 + 0.5 Tcy(clk) 4.9 + 0.5 Tcy(clk) ns
th(RAS) row address strobe hold time 0.5 + 0.5 Tcy(clk) 1.1 + 0.5 Tcy(clk) -ns
td(CASV) column address strobe valid delay time - 2.9 + 0.5 Tcy(clk) 4.6 + 0.5 Tcy(clk) ns
th(CAS) column address strobe hold time 0.3 + 0.5 Tcy(clk) 0.9 + 0.5 Tcy(clk) -ns
td(WEV) write enable valid delay time - 3.2 + 0.5 Tcy(clk) 5.9 + 0.5 Tcy(clk) ns
th(WE) write enable hold time 1.3 + 0.5 Tcy(clk) 1.4 + 0.5 Tcy(clk) -ns
td(DQMOUTV) DQMOUT valid delay time - 3.1 + 0.5 Tcy(clk) 5.0 + 0.5 Tcy(clk) ns
th(DQMOUT) DQMOUT hold time 0.2 + 0.5 Tcy(clk) 0.8 + 0.5 Tcy(clk) -ns
td(AV) address vali d delay time - 3.8 + 0.5 Tcy(clk) 6.3 + 0.5 Tcy(clk) ns
th(A) address hold time 0.3 + 0.5 Tcy(clk) 0.9 + 0.5 Tcy(clk) -ns
td(CKEOUTV) CKEOUT valid delay time - 3.1 + 0.5 Tcy(clk) 5.1 + 0.5 Tcy(clk) ns
th(CKEOUT) CKEOUT hold time 0.5 Tcy(clk) 0.7 + 0.5 Tcy(clk) -ns
Read cycle parameters
tsu(D) data input set-up time 1.5 0.5 - ns
th(D) data input hold time 2.2 0.8 - ns
Write cycle parameters
td(QV) data output valid delay time - 3.8 + 0.5 Tcy(clk) 6.2 + 0.5 Tcy(clk) ns
th(Q) data output hold time 0.5 Tcy(clk) 0.7 + 0.5 Tcy(clk) -ns
Table 30. Dynamic characteristics: Dynamic external memory interface; EMC_CLK[3:0]
delay values
Tamb =
40
C to 105
C; VDD(IO) =3.3 V
10 %; 2.4 V
VDD(REG)(3V3)
3.6 V.
Symbol Parameter Conditions Min Typ Max Unit
tddelay time delay value
CLKn_DELAY = 0
[1]
0.0 0.0 0.0 ns
CLKn_DELAY = 1 [1] 0.4 0.5 0.8 ns
CLKn_DELAY = 2 [1] 0.7 1.0 1.7 ns
CLKn_DELAY = 3 [1] 1.1 1.6 2.5 ns
CLKn_DELAY = 4 [1] 1.4 2.0 3.3 ns
CLKn_DELAY = 5 [1] 1.7 2.6 4.1 ns
CLKn_DELAY = 6 [1] 2.1 3.1 4.9 ns
CLKn_DELAY = 7 [1] 2.5 3.6 5.8 ns
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 121 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
For the programmable EMC_CLK[3:0] clock delays CLKn_DELAY, see Table 30.
Remark: For SDRAM operation, set CLK0_DELAY = CLK1_DELAY = CLK2_DELAY = CLK3_DELAY in the EMCDELAYCLK
register.
Fig 34. SDRAM timing
002aag703
T
cy(clk)
EMC_CLKn
delay = 0
EMC_CLKn
delay > 0
EMC_DYCSn,
EMC_RAS,
EMC_CAS,
EMC_WE,
EMC_CKEOUTn,
EMC_A[22:0],
EMC_DQMOUTn
t
h(Q)
t
h(Q)
-
t
d
t
h(D)
t
su(D)
t
h(D)
t
su(D)
EMC_D[31:0]
write
EMC_D[31:0]
read; delay = 0
EMC_D[31:0]
read; delay > 0
t
h(x)
-
t
d
t
d(xV)
-
t
d
t
d(QV)
-
t
d
t
d(QV)
t
h(x)
t
d(xV)
EMC_CLKn delay t
d
; programmable CLKn_DELAY
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 122 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
11.14 USB interface
[1] Characterized but not implemented as production test. Guaranteed by design.
Remark: If only USB0 (HS USB) is used, the pins VDDREG and VDDIO can be at
different voltages within the operating range but should have the same ramp up time. If
USB1(FS USB) is used, the pins VDDREG and VDDIO should be a mi nimum of 3.0 V and
be tied toge ther.
Table 31. Dynamic characteristics: USB0 and USB1 pins (full-speed)
CL = 50 pF; Rpu = 1.5 k
on D+ to VDD(IO), unless otherwise specified; 3.0 V
VDD(IO)
3.6 V.
Symbol Parameter Conditions Min Typ Max Unit
trrise time 10 % to 90 % 4 .0 - 20.0 ns
tffall time 10 % to 90 % 4.0 - 20 .0 ns
tFRFM differential rise and fall time
matching tr/t
f90 - 111.11 %
VCRS output signal crossover voltage 1.3 - 2.0 V
tFEOPT source SE0 interval of EOP see Figure 35 160 - 175 ns
tFDEOP source jitter for differential transition
to SE0 transition see Figure 35 2-+5ns
tJR1 receiver jitter to next transition 18.5 - +18.5 ns
tJR2 receiver jitter for paired transitions 10 % to 90 % 9-+9ns
tEOPR1 EOP width at receiver must reject as
EOP; see
Figure 35
[1] 40 --ns
tEOPR2 EOP width at receiver must accept as
EOP; see
Figure 35
[1] 82 --ns
Fig 35. Differential da ta-to-EOP transition skew and EOP width
002aab561
TPERIOD
differential
data lines
crossover point
source EOP width: tFEOPT
receiver EOP width: tEOPR1, tEOPR2
crossover point
extended
differential data to
SE0/EOP skew
n × TPERIOD + tFDEOP
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 123 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
[1] Characterized but not implemented as production test.
[2] Total average power consumption.
[3] The driver is active only 20 % of the time.
Table 32. Static characteristics: USB0 PHY pins[1]
Symbol Parameter Conditions Min Typ Max Unit
High-speed mode
Pcons power consumption [2] -68-mW
IDDA(3V3) analog supply current (3.3 V) on pin USB0_VDDA3V3_D RIVER;
total supply current
[3]
-18-mA
during transmit - 31 - mA
during receive - 14 - mA
with driver tri-stated - 14 - mA
IDDD digital supply current - 7 - mA
Full-speed/low-speed mode
Pcons power consumption [2] -15-mW
IDDA(3V3) analog supply current (3.3 V) on pin USB0_VDDA3V3_D RIVER;
total supply current - 3.5 - mA
during transmit - 5 - mA
during receive - 3 - mA
with driver tri-stated - 3 - mA
IDDD digital supply current - 3 - mA
Suspend mode
IDDA(3V3) analog supply current (3.3 V) - 24 - A
with driver tri-stated - 24 - A
with OTG functionality enabled - 3 - mA
IDDD digital supply current - 30 - A
VBUS detector outputs
Vth threshold voltage for VBUS valid 4.4 - - V
for session end 0.2 - 0.8 V
for A valid 0.8 - 2 V
for B valid 2 - 4 V
Vhys hysteresis voltage for session end - 150 10 mV
A valid - 200 10 mV
B valid - 200 10 mV
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 124 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
11.15 Ethernet
[1] Output drivers can drive a load 25 pF accommodating over 12 inch of PCB trace and the input
capacitance of the receiving device.
[2] T iming values are given from the point at which the clock signal waveform crosses 1.4 V to the valid input or
output level.
Table 33. Dynamic characteristics: Ethernet
Tamb =
40
C to +105
C, 2.4 V
VDD(REG)(3V3)
3.6 V; 2.7 V
VDD(IO)
3.6 V. Values guaranteed
by design.
Symbol Parameter Conditions Min Max Unit
RMII mode
fclk clock frequency for ENET_RX_CLK [1] -50MHz
clk clock duty cycle [1] 50 50 %
tsu set-up time fo r ENET_TXDn, ENET_TX_EN,
ENET_RXDn, ENET_RX_ER,
ENET_RX_DV
[1][2] 4- ns
thhold time for ENET_TXDn, ENET_TX_EN,
ENET_RXDn, ENET_RX_ER,
ENET_RX_DV
[1][2] 2- ns
MII mode
fclk clock frequency for ENET_TX_CLK [1] - 25 MHz
clk clock duty cycle [1] 50 50 %
tsu set-up time fo r ENET_TXDn, ENET_TX_EN,
ENET_TX_ER [1][2] 4- ns
thhold time for ENET_TXDn, ENET_TX_EN,
ENET_TX_ER [1][2] 2- ns
fclk clock frequency for ENET_RX_CLK [1] - 25 MHz
clk clock duty cycle [1] 50 50 %
tsu set-up time fo r ENET_RXDn, ENET_RX_ER,
ENET_RX_DV [1][2] 4- ns
thhold time for ENET_RXDn, ENET_RX_ER,
ENET_RX_DV [1][2] 2- ns
Fig 36. Ethernet timing
002aag210
th
tsu
ENET_RX_CLK
ENET_TX_CLK
ENET_RXD[n]
ENET_RX_DV
ENET_RX_ER
ENET_TXD[n]
ENET_TX_EN
ENET_TX_ER
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 125 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
11.16 SD/MMC
11.17 LCD
Table 34. Dynamic characteristics: SD/MMC
Tamb =
40
C to +105
C, 2.4 V
VDD(REG)(3V3)
3.6 V; 2.7 V
VDD(IO)
3.6 V, CL = 20 pF. Simulated
values. SAMPLE_DELAY = 0x9, DRV_DELAY = 0x6 in the SDDELAY register sampled at 90 % and 10 % of the signal level,
EHS = 1 for SD_CLK pin, EHS = 0 for SD_DATn and SD_CMD pins. Simulated values.
Symbol Parameter Conditions Min Max Unit
fclk clock frequency on pin SD_CLK; data transfer mode - 52 MHz
tsu(D) data input set-up time on pins SD_DATn as inputs 5.2 - ns
on pins SD_CMD as inputs 7 - ns
th(D) data input hold time on pins SD_DATn as inputs 0.2 - ns
on pins SD_CMD as inputs 1- ns
td(QV) data output valid delay
time on pins SD_DATn as outputs - 15.7 ns
on pins SD_CMD as outputs - 15.9 ns
th(Q) data output hold time on pins SD_DATn as outputs 3.5 - ns
on pins SD_CMD as outputs 3.5 - ns
Fig 37. SD/MMC timing
002aag204
SD_CLK
SD_DATn (O)
SD_DATn (I)
td(QV)
th(D)
tsu(D)
Tcy(clk)
th(Q)
SD_CMD (O)
SD_CMD (I)
Table 35. Dynamic characteristics: LCD
Tamb =
40
C to 105
C; 2.4 V
VDD(REG)(3V3)
3.6 V; 2.7 V
VDD(IO)
3.6 V; CL = 20 pF.
Simulated values.
Symbol Parameter Conditions Min Typ Max Unit
fclk clock frequency on pin LCD_DCLK - 50 - MHz
td(QV) data output valid
delay time - - 17 ns
th(Q) data output hold time 8.5 - - ns
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 126 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
11.18 SPIFI
Table 36. Dynamic characteristics: SPIFI
Tamb =
40
C to +105
C; 2.4 V
VDD(REG)(3V3)
3.6 V; 2.7 V
VDD(IO)
3.6 V. CL =20 pF.
Sampled at 90 % and 10 % of the signal level. EHS = 1 for all pins. Simulated values.
Symbol Parameter Min Max Unit
Tcy(clk) clock cycle time 9.6 - ns
tDS data set-up time 3.2 - ns
tDH data ho l d time 0 - ns
tv(Q) data output valid time - 3.2 ns
th(Q) data outp u t ho l d ti me 0. 6 - ns
Fig 38. SPIFI timing (Mode 0)
SPIFI_SCK
SPIFI data out
SPIFI data in
T
cy(clk)
t
DS
t
DH
t
v(Q)
DATA VALID DATA VALID
t
h(Q)
DATA VALID DATA VALID
002aah409
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 127 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
12. ADC/DAC electrical characteristics
[1] The ADC is monotonic, there are no missing codes.
[2] The differential linearity error (ED) is the difference between the actual step width and the ideal step width. See Figure 39.
[3] 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 39.
[4] 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 39.
[5] 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 39.
[6] 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 39.
[7] Tamb = 25 C.
[8] Input resistance Ri depends on the sampling frequency fs: Ri = 2 k + 1 / (fs Cia).
Table 37. ADC characteristics
VDDA(3V3) over specified ranges; Tamb =
40
C to +105
C; unless otherwise specified.
Symbol Parameter Conditions Min Typ Max Unit
VIA analog input voltage 0 - VDDA(3V3) V
Cia analog input capacitance - - 2 pF
EDdifferential linearity error 2.7 V VDDA(3V3) 3.6 V [1][2] -0.8 - LSB
2.4 V VDDA(3V3) < 2.7 V - 1.0 - LSB
EL(adj) integral non-linearity 2.7 V VDDA(3V3) 3.6 V [3] -0.8 - LSB
2.4 V VDDA(3V3) < 2.7 V - 1.5 - LSB
EOoffset error 2.7 V VDDA(3V3) 3.6 V [4] -0.15 - LSB
2.4 V VDDA(3V3) < 2.7 V - 0.15 - LSB
EGgain error 2.7 V VDDA(3V3) 3.6 V [5] -0.3 - %
2.4 V VDDA(3V3) < 2.7 V - 0.35 - %
ETabsolute error 2.7 V VDDA(3V3) 3.6 V [6] -3- LSB
2.4 V VDDA(3V3) < 2.7 V - 4- LSB
Rvsi voltage source interface
resistance see Figure 40 -- 1/(7 fclk(ADC)
Cia)k
Riinput resistance [7][8] -- 1.2 M
fclk(ADC) ADC clock frequency - - 4.5 MHz
fssampling frequency 10-bit resolution; 11 clock
cycles - - 400 kSamples/s
2-bit resolution; 3 clock
cycles 1.5 MSamples/s
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 128 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
(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.
Fig 39. 10-bit ADC ch a ra c t er i stics
002aaf959
1023
1022
1021
1020
1019
(2)
(1)
10241018 1019 1020 1021 1022 1023
7123456
7
6
5
4
3
2
1
0
1018
(5)
(4)
(3)
1 LSB
(ideal)
code
out
VDDA(3V3) VSSA
1024
offset
error
EO
gain
error
EG
offset error
EO
VIA (LSBideal)
1 LSB =
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 129 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
[1] In the DAC CR register, bit BIAS = 0 (see the LPC18xx user manual).
[2] Settling time is calculated within 1/2 LSB of the final value.
Rs < 1/((7 fclk(ADC) Cia) 2 k
Fig 40. ADC interface to pins
LPC18xx
ADC0_n/ADC1_n
Cia = 2 pF
R
vsi
Rs
V
SS
VEXT
002aag697
ADC
COMPARATOR
2 kΩ (analog pin)
2.2 kΩ (multiplexed pin)
Table 38. DAC characteristics
VDDA(3V3) over specified ranges; Tamb =
40
C to +105
C; unless otherwise specified
Symbol Parameter Conditions Min Typ Max Unit
EDdifferential linearity error 2.7 V VDDA(3V3) 3.6 V [1] -0.8 - LSB
2.4 V VDDA(3V3) < 2.7 V - 1.0 - LSB
EL(adj) integral non-linearity code = 0 to 975
2.7 V VDDA(3V3) 3.6 V
[1] -1.0 - LSB
2.4 V VDDA(3V3) < 2.7 V - 1.5 - LSB
EOoffset error 2.7 V VDDA(3V3) 3.6 V [1] -0.8 - LSB
2.4 V VDDA(3V3) < 2.7 V - 1.0 - LSB
EGgain error 2.7 V VDDA(3V3) 3.6 V [1] -0.3 - %
2.4 V VDDA(3V3) < 2.7 V - 1.0 - %
CLload capacitance - - 200 pF
RLload resistance 1 - - k
tssettling time [2] 0.4 s
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 130 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
13. Application information
13.1 LCD panel signal usage
Table 39. LCD panel connections for STN single panel mode
External pin 4-bit mono STN single panel 8-bit mono STN single panel Color STN single panel
LPC18xx pin
used LCD function LPC18xx pin
used LCD function LPC18xx pin
used LCD function
LCD_VD[23:8] - - - - - -
LCD_VD7 - - P8_4 UD[7] P8_4 UD[7]
LCD_VD6 - - P8_5 UD[6] P8_5 UD[6]
LCD_VD5 - - P8_6 UD[5] P8_6 UD[5]
LCD_VD4 - - P8_7 UD[4] P8_7 UD[4]
LCD_VD3 P4_2 UD[3] P4_2 UD[3] P4_2 UD[3]
LCD_VD2 P4_3 UD[2] P4_3 UD[2] P4_3 UD[2]
LCD_VD1 P4_4 UD[1] P4_4 UD[1] P4_4 UD[1]
LCD_VD0 P4_1 UD[0] P4_1 UD[0] P4_1 UD[0]
LCD_LP P7_6 LCDLP P7_6 LCDLP P7_6 LCDLP
LCD_ENAB/
LCDM P4_6 LCDENAB/
LCDM P4_6 LCDENAB/
LCDM P4_6 LCDENAB/
LCDM
LCD_FP P4_5 LCDFP P4_5 LCDFP P4_5 LCDFP
LCD_DCLK P4_7 LCDDCLK P4_7 LCDDCLK P4_7 LCDDCLK
LCD_LE P7_0 LCDLE P7_0 LCDLE P7_0 LCDLE
LCD_PWR P7_7 CDPWR P7_7 LCDPWR P7_7 LCDPWR
GP_CLKIN PF_4 LCDCLKIN PF_4 LCDCLKIN PF_4 LCDCLKIN
Table 40. LCD panel connections for STN dual panel mode
External pin 4-bi t mono STN dual panel 8-bit mono STN dual panel Color STN dual panel
LPC18xx pin
used LCD function LPC18x x pin
used LCD function LPC18xx pin
used LCD function
LCD_VD[23:16] - - - - - -
LCD_VD15 - - PB_4 LD[7] PB_4 LD[7]
LCD_VD14 - - PB_5 LD[6] PB_5 LD[6]
LCD_VD13 - - PB_6 LD[5] PB_6 LD[5]
LCD_VD12 - - P8_3 LD[4] P8_3 LD[4]
LCD_VD11 P4_9 LD[3] P4_9 LD[3] P4_9 LD[3]
LCD_VD10 P4_10 LD[2] P4_10 LD[2] P4_10 LD[2]
LCD_VD9 P4_8 LD[1] P4_8 LD[1] P4_8 LD[1]
LCD_VD8 P7_5 LD[0] P7_5 LD[0] P7_5 LD[0]
LCD_VD7 - - UD[7] P8_4 UD[7]
LCD_VD6 - - P8_5 UD[6] P8_5 UD[6]
LCD_VD5 - - P8_6 UD[5] P8_6 UD[5]
LCD_VD4 - - P8_7 UD[4] P8_7 UD[4]
LCD_VD3 P4_2 UD[3] P4_2 UD[3] P4_2 UD[3]
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 131 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
LCD_VD2 P4_3 UD[2] P4_3 UD[2] P4_3 UD[2]
LCD_VD1 P4_4 UD[1] P4_4 UD[1] P4_4 UD[1]
LCD_VD0 P4_1 UD[0] P4_1 UD[0] P4_1 UD[0]
LCD_LP P7_6 LCDLP P7_6 LCDLP P7_6 LCDLP
LCD_ENAB/
LCDM P4_6 LCDENAB/
LCDM P4_6 LCDENAB/
LCDM P4_6 LCDENAB/
LCDM
LCD_FP P4_5 LCDFP P4_5 LCDFP P4_5 LCDFP
LCD_DCLK P4_7 LCDDCLK P4_7 LCDDCLK P4_7 LCDDCLK
LCD_LE P7_0 LCDLE P7_0 LCDLE P7_0 LCDLE
LCD_PWR P7_7 LCDPWR P7_7 LCDPWR P7_7 LCDPWR
GP_CLKIN PF_4 LCDCLKIN PF_4 LCDCLKIN PF_4 LCDCLKIN
Table 40. LCD panel connections for STN dual panel mode
External pin 4-bi t mono STN dual panel 8-bit mono STN dual panel Color STN dual panel
LPC18xx pin
used LCD function LPC18x x pin
used LCD function LPC18xx pin
used LCD function
Table 41. LCD panel connections for TFT panels
External
pin TFT 12 bit (4:4:4
mode) TFT 16 bit (5:6:5 mode) TF T 1 6 bi t (1:5:5:5 mode) TFT 24 bit
LPC18xx
pin used LCD
function LPC18xx
pin used LCD
function LPC18xx pin
used LCD
function LPC18xx
pin used LCD
function
LCD_VD23 PB_0 BLUE3 PB_0 BLUE4 PB_0 BLUE4 BLUE7
LCD_VD22 PB_1 BLUE2 PB_1 BLUE3 PB_1 BLUE3 BLUE6
LCD_VD21 PB_2 BLUE1 PB_2 BLUE2 PB_2 BLUE2 BLUE5
LCD_VD20 PB_3 BLUE0 PB_3 BLUE1 PB_3 BLUE1 BLUE4
LCD_VD19 - - P7_1 BLUE0 P7_1 BLUE0 BLUE3
LCD_VD18 - - - - P7_2 intensity BLUE2
LCD_VD17 - - - - - - P7_3 BLUE1
LCD_VD16 - - - - - - P7_4 BLUE0
LCD_VD15 PB_4 GREEN3 PB_4 GREEN5 PB_4 GREEN4 PB_4 GREEN7
LCD_VD14 PB_5 GREEN2 PB_5 GREEN4 PB_5 GREEN3 PB_5 GREEN6
LCD_VD13 PB_6 GREEN1 PB_6 GREEN3 PB_6 GREEN2 PB_6 GREEN5
LCD_VD12 P8_3 GREEN0 P8_3 GREEN2 P8_3 GREEN1 P8_3 GREEN4
LCD_VD11 - - P4_9 GREEN1 P4_9 GREEN0 P4_9 GREEN3
LCD_VD10 - - P4_10 GREEN0 P4_10 intensity P4_10 GREEN2
LCD_VD9 - - - - - - P4_8 GREEN1
LCD_VD8 - - - - - - P7_5 GREEN0
LCD_VD7 P8_4 RED3 P8_4 RED4 P8_4 RED4 P8_4 RED7
LCD_VD6 P8_5 RED2 P8_5 RED3 P8_5 RED3 P8_5 RED6
LCD_VD5 P8_6 RED1 P8_6 RED2 P8_6 RED2 P8_6 RED5
LCD_VD4 P8_7 RED0 P8_7 RED1 P8_7 RED1 P8_7 RED4
LCD_VD3 - - P4_2 RED0 P4_2 RED0 P4_2 RED3
LCD_VD2 - - - - P4_3 intensity P4_3 RED2
LCD_VD1 - - - - - - P4_4 RED1
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 132 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
13.2 Crystal oscillator
The crystal oscillator is controlled by the XTAL_OSC_CTRL register in the CGU (see
LPC18xx 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, couple the input clock signal with a capacitor of 100 pF (CC in
Figure 41), 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 42,
and in Table 42 and Table 43. 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 (L, CL and RS repres en t the fun d am ental
frequency). Capacitance CP in Figure 42 repr esent s the pa rallel p ackage cap acit ance
and must not be larger than 7 pF. Parameters FC, CL, RS and CP are supplied by the
crystal manufacturer.
LCD_VD0 - - - - - - P4_1 RED0
LCD_LP P7_6 LCDLP P7_6 LCDLP P7_6 LCDLP P7_6 LCDLP
LCD_ENAB
/LCDM P4_6 LCDENAB/
LCDM P4_6 LCDENAB/
LCDM P4_6 LCDENAB/
LCDM P4_6 LCDENAB/
LCDM
LCD_FP P4_5 LCDFP P4_5 LCDFP P4_5 LCDFP P4_5 LCDFP
LCD_DCLK P4_7 LCDDCLK P4_7 LCDDCLK P4_7 LCDDCLK P4_7 LCDDCLK
LCD_LE P7_0 LCDLE P7_0 LCDLE P7_0 LCDLE P7_0 LCDLE
LCD_PWR P7_7 LCDPWR P7_7 LCDPWR P7_7 LCDPWR P7_7 LCDPWR
GP_CLKIN PF_4 LCDCLKIN PF_4 LCDCLKIN PF_4 LCDCLKIN PF_4 LCDCLKIN
Table 41. LCD panel connections for TFT panels
External
pin TFT 12 bit (4:4:4
mode) TFT 16 bit (5:6:5 mode) TF T 1 6 bi t (1:5:5:5 mode) TFT 24 bit
LPC18xx
pin used LCD
function LPC18xx
pin used LCD
function LPC18xx pin
used LCD
function LPC18xx
pin used LCD
function
Table 42. Recommended values for CX1/X2 in oscillation mo de (crystal and external
components parameters) low frequency mode
Fundamental oscillation
frequency Maximum crystal series
resistance RS
External load capacitors
CX1, CX2
2 MHz < 200 33 pF, 33 pF
< 200 39 pF, 39 pF
< 200 56 pF, 56 pF
4 MHz < 200 18 pF, 18 pF
< 200 39 pF, 39 pF
< 200 56 pF, 56 pF
8 MHz < 200 18 pF, 18 pF
< 200 39 pF, 39 pF
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 133 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
12 MHz < 160 18 pF, 18 pF
< 160 39 pF, 39 pF
16 MHz < 120 18 pF, 18 pF
< 80 33 pF, 33 pF
20 MHz < 100 18 pF, 18 pF
< 80 33 pF, 33 pF
Table 43. Recommended values for CX1/X2 in oscillation mo de (crystal and external
components parameters) high frequency mode
Fundamental oscillation
frequency Maximum crystal series
resistance RS
External load capacitors CX1,
CX2
15 MHz < 80 18 pF, 18 pF
20 MHz < 80 39 pF, 39 pF
< 100 47 pF, 47 pF
Fig 41. Slave mode operation of the on-chip oscillator
Fig 42. Oscillator modes with extern al crystal model used for CX1/CX2 evaluation
Table 42. Recommended values for CX1/X2 in oscillation mo de (crystal and external
components parameters) low frequency mode
Fundamental oscillation
frequency Maximum crystal series
resistance RS
External load capacitors
CX1, CX2
LPC1xxx
XTAL1
Ci
100 pF Cg
002aae835
002aag031
LPC18xx
XTAL1 XTAL2
CX2
CX1
XTAL
=CLCP
RS
L
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 134 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
13.3 RTC oscillator
In the RTC oscillator circuit, only the crystal (XTAL) and the capacitances CRTCX1 an d
CRTCX2 need to be connected externally. Typical capacitance values for CRTCX1 and
CRTCX2 are CRTCX1/2 = 20 (typical) 4 pF.
An external clock can be connected to RTCX1 if RTCX2 is lef t open. The recommended
amplitude of the clock signal is V i(RMS) = 100 mV to 200 mV with a coupling capacitance of
5 pF to 10 pF.
13.4 XTAL and RTCX Printed Circuit Board (PCB) layout guidelines
Connect the crystal on the PCB as close as possible to the oscillator input and output pins
of the chip. Take care that the load capacitors CX1, CX2, and CX3 in case of third overton e
crystal usag e have a common ground plane . Also connect the exter nal components to the
ground plain. To keep the noise coupled in via the PCB as small as possible, make loops
and parasitics as small as possible. Choose smaller values of CX1 and CX2 if parasitics
increase in the PCB layout.
Ensure no high-speed or high-drive signals are near the RTCX1/2 signals.
13.5 Standard I/O pin configuration
Figure 44 shows the possible pin modes for standard I/O pins with a nalog input function:
Digital output driver enabled/ dis ab le d
Digital input: Pull-up enabled/disabled
Digital input: Pull-down enabled/disabled
Digital input: Repeater mode enabled/disabled
Digital input: Input buffer enabled/disabled
Analog input
The default configuration for standard I/O pins is input buffer disabled and pull-up
enabled. The weak MOS devices provide a drive capability equivalent to pull-up and
pull-down resistors.
Fig 43. RTC 32 kHz oscillator circuit
002aah066
LPC18xx
RTCX1 RTCX2
CRTCX2
CRTCX1
XTAL
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 135 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
13.6 Reset pin configuration
13.7 Suggested USB interface solutions
The USB device can be connected to the USB as self-powered device (see Figure 46) or
bus-powered device (s ee Figure 47).
The glitch filter reje cts pulses of typical 12 ns width.
Fig 44. Standard I/O pin configuration with analog input
slew rate bit EHS
pull-up enable bit EPUN
pull-down enable bit EPD
glitch
filter
analog I/O
ESD
ESD
PIN
VDDIO
VSSIO
input buffer enable bit EZI
filter select bit ZIF
data input to core
data output from core
enable output driver
002aah028
Fig 45. Reset pin configuration
V
SS
reset
002aag702
V
ps
V
ps
V
ps
Rpu
ESD
ESD
20 ns RC
GLITCH FILTER PIN
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 136 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
On the LPC185x/3x/2x/1x, USBn_VBUS pins ar e 5 V tolerant only wh en VDDIO is applied
and at operating voltage level. Therefore, if the USBn_VBUS function is connected to the
USB connector and the device is self-powered, the USBn_VBUS pins must be protected
for situations when VDDIO = 0 V.
If VDDIO is always at operating level while VBUS = 5 V, the USBn_VBUS pin can be
connected direc tly to the VBUS pin on the USB con n ect or.
For systems where VDDIO can be 0 V and VBUS is directly applied to the USBn_VBUS
pins, precautions must be taken to reduce the voltage to below 3.6 V, which is the
maximum allowable voltage on the USBn_VBUS pins in this case.
One method is to use a voltage divider to connect the USBn_VBUS pins to VBUS on the
USB connector. The voltage divider ratio should be such that the USB_VBUS pin will be
greater than 0.7VDDIO to indicate a logic HIGH while below the 3.6 V allowable maximum
voltage.
For the following operat ing conditions
VBUSmax = 5.25 V
VDDIO = 3.6 V,
the voltage divider shou ld pr ov ide a red uc tio n of 3.6 V/5 .2 5 V or ~0. 68 6 V.
For bus-powered devices, a regulator powered by USB can provide 3.3 V to VDDIO
whenever bus power is presen t and ensu re th at power to the USBn_ VBUS pins is always
present when the 5 V VBUS signal is applied. See Figure 47.
Remark: Applying 5 V to the USBn_VBUS pins for a short time while the regulator ramps
up might compromise the long-term reliability of the part but does not affect its function.
Fig 46. USB interface on a self-powered device where USBn_VBUS = 5 V
LPC18xx
VDDIO
USB-B
connector
USBn_VBUS VBUS
USB
R2
R3
aaa-013015
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 137 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Remark: If the VBUS function of the USB1 interface is not connected, configure the pin
function for GPIO using the function control bits in the SYSCON block.
Remark: In OTG mode, it is important to be able to detect the VBUS level and to charge
and discharge VBUS. This requires adding active devices that disconnect the link when
VDDIO is not present.
Fig 47. USB interface on a bus-powered device
Fig 48. USB interface if the USB operates in OTG mode
REGULATOR
VBUSUSBn_VBUS
LPC18xx
VDDREG
USB-B
connector
USB
aaa-013016
VBUS
USBn_VBUS
LPC18xx
VDDIO
USB-B
connector
USB
aaa-013017
T2
T1
R1
R2
R3
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 138 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
14. Package outline
Fig 49. Package outline of the LBGA256 package
REFERENCES
OUTLINE
VERSION EUROPEAN
PROJECTION ISSUE DATE
IEC JEDEC
MO-192
JEITA
- - - - - -
SOT740-2
SOT740-2
05-06-16
05-08-04
UNIT A
max
mm 1.55 0.45
0.35 1.1
0.9 0.55
0.45 17.2
16.8 17.2
16.8
A1
DIMENSIONS (mm are the original dimensions)
LBGA256: plastic low profile ball grid array package; 256 balls; body 17 x 17 x 1 mm
X
A2b D E e
1
e1
15
e2
15
v
0.25
w
0.1
y
0.12
y1
0.35
1/2 e
1/2 e
AA2
A1
detail X
D
E
BA
ball A1
index area
y
y1C
C
AB
A
BC
DE
F
H
K
G
J
L
MN
PR
T
2 4 6 8 10 12 14 16
1 3 5 7 9 11 13 15
ball A1
index area
e
e
e1
b
e2
C
C
vM
wM
05 10 mm
scale
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 139 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Fig 50. Package outline of the TFBGA100 package
REFERENCES
OUTLINE
VERSION EUROPEAN
PROJECTION ISSUE DATE
IEC JEDEC JEITA
SOT926-1 - - - - - - - - -
SOT926-1
05-12-09
05-12-22
UNIT A
max
mm 1.2 0.4
0.3 0.8
0.65 0.5
0.4 9.1
8.9 9.1
8.9
A1
DIMENSIONS (mm are the original dimensions)
TFBGA100: plastic thin fine-pitch ball grid array package; 100 balls; body 9 x 9 x 0.7 mm
A2b D E e2
7.2
e
0.8
e1
7.2
v
0.15
w
0.05
y
0.08
y1
0.1
0 2.5 5 mm
scale
b
e2
e1
e
e
1/2 e
1/2 e
AC B
vMC wM
ball A1
index area
A
B
C
D
E
F
H
K
G
J
24681013579
ball A1
index area
B A
E
D
C
y
C
y1
X
detail X
A
A1
A2
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 140 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Fig 51. Package outline of the LQFP208 package
UNIT A1A2A3bpcE
(1) eH
ELL
pZywv θ
REFERENCES
OUTLINE
VERSION EUROPEAN
PROJECTION ISSUE DATE
IEC JEDEC JEITA
mm 0.15
0.05 1.45
1.35 0.25 0.27
0.17 0.20
0.09 28.1
27.9 0.5 30.15
29.85 1.43
1.08 7
0
o
o
0.080.121 0.08
DIMENSIONS (mm are the original dimensions)
Note
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
0.75
0.45
SOT459-1 136E30 MS-026 00-02-06
03-02-20
D(1)
28.1
27.9
HD
30.15
29.85
E
Z
1.43
1.08
D
pin 1 index
bp
e
θ
EA1
A
Lp
detail X L
(A )
3
B
52
c
D
H
bp
E
HA2
vMB
D
ZD
A
ZE
e
vMA
X
1
208
157
156 105
104
53
y
wM
wM
0 5 10 mm
scale
LQFP208; plastic low profile quad flat package; 208 leads; body 28 x 28 x 1.4 mm SOT459-1
A
max.
1.6
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 141 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Fig 52. Package outline of the LQFP100 package
UNIT A1A2A3bpcE
(1) eH
ELL
pZywv θ
REFERENCES
OUTLINE
VERSION EUROPEAN
PROJECTION ISSUE DATE
IEC JEDEC JEITA
mm 0.15
0.05 1.45
1.35 0.25 0.27
0.17 0.20
0.09 20.1
19.9 0.5 22.15
21.85 1.4
1.1 7
0
o
o
0.080.2 0.081
DIMENSIONS (mm are the original dimensions)
Note
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
0.75
0.45
SOT486-1 136E23 MS-026 00-03-14
03-02-20
D(1) (1)(1)
20.1
19.9
HD
22.15
21.85
E
Z
1.4
1.1
D
0 5 10 mm
scale
bp
e
θ
EA1
A
Lp
detail X
L
(A )
3
B
c
bp
E
HA2
D
HvMB
D
ZD
A
ZE
e
vMA
X
y
wM
wM
A
max.
1.6
LQFP144: plastic low profile quad flat package; 144 leads; body 20 x 20 x 1.4 mm SOT486-1
108
109
pin 1 index
73
72
37
1
144 36
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 142 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
15. Soldering
Fig 53. Reflow soldering for the LBGA256 package
DIMENSIONS in mm
PSLSPSRHxHy
Hx
Hy
SOT740-2
solder land plus solder paste
occupied area
Footprint information for reflow soldering of LBGA256 package
solder land
solder paste deposit
solder resist
P
P
SL
SP
SR
Generic footprint pattern
Refer to the package outline drawing for actual layout
detail X
see detail X
sot740-2_fr
1.00 0.450 0.450 0.600 17.500 17.500
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 143 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Fig 54. Reflow so ldering for the TFBGA100 package
DIMENSIONS in mm
PSLSPSRHxHy
Hx
Hy
SOT926-1
solder land plus solder paste
occupied area
Footprint information for reflow soldering of TFBGA100 package
solder land
solder paste deposit
solder resist
P
P
SL
SP
SR
Generic footprint pattern
Refer to the package outline drawing for actual layout
detail X
see detail X
sot926-1_fr
0.80 0.330 0.400 0.480 9.400 9.400
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 144 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Fig 55. Reflow soldering for the LQFP208 package
SOT459-1
DIMENSIONS in mm
occupied area
Footprint information for reflow soldering of LQFP208 package
Ax
Bx
Gx
Gy
Hy
Hx
AyBy
P1P2
D2 (8×) D1
(0.125)
Ax Ay Bx By D1 D2 Gx Gy Hx HyP1 P2 C
sot459-1_fr
solder land
C
Generic footprint pattern
Refer to the package outline drawing for actual layout
31.300 31.300 28.300 28.3000.500 0.560 0.2801.500 0.400 28.500 28.500 31.550 31.550
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 145 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Fig 56. Reflow soldering for the LQFP144 package
SOT486-1
DIMENSIONS in mm
occupied area
Footprint information for reflow soldering of LQFP144 package
Ax
Bx
Gx
Gy
Hy
Hx
AyBy
P1P2
D2 (8×) D1
(0.125)
Ax Ay Bx By D1 D2 Gx Gy Hx HyP1 P2 C
sot486-1_fr
solder land
C
Generic footprint pattern
Refer to the package outline drawing for actual layout
23.300 23.300 20.300 20.3000.500 0.560 0.2801.500 0.400 20.500 20.500 23.550 23.550
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 146 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
16. Abbreviations
Table 44. Abbreviations
Acronym Description
ADC Analog-to-Digital Converter
AHB Advanced Hig h-performance Bus
APB Advanced Peripheral Bus
API Application Programming Interface
BOD BrownOut Detection
BGA Ball Grid Array
CAN Controller Area Networ k
CMAC Cipher-based Message Authentication Code
CSMA/CD Carrier Sense Multiple Access with Collision Detection
DAC Digital-to-Analog Converter
DMA Direct Memory Access
EOP End Of Packet
ETB Embedded Trace Buffer
ETM Embedded T race Macrocell
GPIO General-Purpose Input/Output
IRC Internal RC
IrDA Infrared Data Association
JTAG Joint Test Action Group
LCD Liquid Crystal Display
LSB Least Significant Bit
LQFP Low Quad Flat Package
MAC Media Access Control
MCU MicroController Unit
MIIM Media Independent Interface Management
n.c. not connected
OTG On-The-Go
PHY PHYsical layer
PLL Phase-Locked Loop
PWM Pulse Width Modulator
RMII Reduced Media Independent Interface
SDRAM Synchronous Dynamic Random Access Memory
SPI Serial Peripheral Interface
SSI Serial Synchronous Interface
SSP Synchronous Serial Port
TCP/IP Transmission Control Protocol/Internet Protocol
TTL Transistor- Transistor Logic
UART Universal Asynchronous Receiver/Transmitter
ULPI UTMI+ Low Pin Interface
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 147 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
17. References
[1] LPC18xx User manual UM10430:
http://www.nxp.com/documents/user_manual/UM10430.pdf
[2] LPC18xx Errata sheet:
http://www.nxp.com/documents/errata_sheet/ES_LPC18XX.pdf
USART Universal Synchronous Asynchronous Recei ver /Transmitter
USB Universal Serial Bus
UTMI USB 2.0 Transceiver Macrocell Interface
Table 44. Abbreviations …continued
Acronym Description
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 148 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
18. Revision history
Table 45. Revision history
Document ID Release date Data sheet status Change notice Supersedes
LPC185X_3X_2X_1X v.5.2 20160308 Produ ct data sheet - LPC185X_3X_2X_ 1X v.5.1
Modifications: Updated Table 29 “Dynamic characteristics: Dynamic external memory interface:
Read cycle parameters th(D) min value is 2.2 ns and max value is “-”.
LPC185X_3X_2X_1X v.5.1 20151117 Produ ct data sheet 2015110041 LPC185X_3X_2 X_1X v.5
Modifications: Updated Table 2 “Ordering options”; TFBGA100 packages do not support ULPI
interface.
Updated SSP slave and SSP master values in Table 27 “Dynamic characteristics:
SSP pins in SPI mode”. Updated footnote 2 to: Tcy(clk) 12 Tcy(PCLK).
removed tv(Q), data output valid time in SPI mode, minimum value of 3 ´ (1/PCLK)
from SSP slave mode.
added units to td, delay time, for SSP slave and master mode.
Added GPCLKIN section and table. See Section 11.7 “GPCLKIN” and Table 22
“Dynamic characteristic: GPCLKIN”.
LPC185X_3X_2X_1X v.5 20150429 Product data sheet - LPC185X_3X_2X_1X v.4.1
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 149 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Modifications: Minimum operating voltage changed from 2.2 V to 2.4 V for VDD(REG)(3V3), VDD(IO),
VDDA(3V3), VBAT in Table 11.
Updated Dynamic characteristics: SSP pins in SPI mode. See Table 27.
Updated Dynamic characteristics: SD/MMC. See Table 34.
SPIFI timing data restated for CL = 20 pF in Table 36 “Dynamic characteristics:
SPIFI”.
SPIFI timing diagram corrected and specified for mode 0. See Table 36 and
Figure 38.
Table 23 “Dynamic characteristic: I/O pins[1]” added.
Parameter CI corrected for high-drive pins (changed from 2 pF to 5.2 pF). See
Table 11.
Internal pull-up resistor configu r ation added for RESET, WAKEUPn, and ALARM
pins. See Table 3.
Description of DEBUG pin updated.
Input range for PLL1 corrected: 1 MHz to 25 MHz. See Section 7.20.7 “System PLL1”.
Signal polarity corrected for pins EMC_CKEOUT and EMC_DQMOUT. Both signals
are active HIGH.
Updated USART timing figure. See Figure 29 “USART timing”.
Updated USART Dynamic characteristics table. See Table 26.
USB0_VBUS changed to input only. See Table 3 “Pin description”
SPIFI output timing parameters in Table 36 corrected to apply to Mode 0:
tv(Q) changed to 3.2 ns.
th(Q) changed to 0.6 ns,
Parameter tCSLWEL with condition PB = 1 corrected: (WAITWEN + 1) Tcy(clk) added.
See Table 28 “Dynamic characteristics: S tatic asynchronous external memory
interface”.
Parameter tCSLBLSL with condition PB = 0 corrected: (WAITWEN + 1) Tcy(clk) added.
See Table 28 “Dynamic characteristics: S tatic asynchronous external memory
interface”.
Removed restriction on C_CAN bus usage. See CAN.1 errata in Ref. 2.
Updated Figure 30, SSP master timing in SPI mode and Figure 31, SSP slave timing
in SPI mode.
Changed the flash erase time (ter) to 100ms. See Table 15.
Updated Dynamic characteristics: USB0 and USB1 pins (full-speed). See Table 31.
Updated Dynamic characteristics: SD/MMC table. See Table 34.
Updated Table 2: Motor control PWM instead of PWM.
Added a remark to Table 31.
Updated Table 13 “BOD static characteristics[1]”. Removed BOD interrupt levels 0
and 1; removed Reset levels 0 and 1. They are not applicable.
LPC185X_3X_2X_1X v.4.1 <tbd> Product data sheet - LPC185X_3X_2X_ 1X v.4
Table 45. Revision history …continued
Document ID Release date Data sheet status Change notice Supersedes
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 150 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Modifications: Parameter tret (retention time) for EEPROM updated in Table 15.
Parameter VDDA(3V3) added for pins USB0_VDDA3V3_DRIVER and
USB0_VDDA3V3 in Table 11.
Parameter name IDD(ADC) changed to IDDA in Tab le 11.
Minimum wake-up time from sleep mode added in Table 16.
Data for IDD(IO) added in Table 11.
Data sheet status changed to Product data sheet.
IRC specifications corrected in Table 19 “Dynamic char acteristic: IRC oscillator” and
Section 2: Accuracy changed to +/- 3 % over the entire temperature range.
Bandgap characteristics removed.
Section 13.7 “Suggested USB interface solutions” added.
IDD(REG)(3V3) updated in Table 11 “Static characteristics” for the following conditions:
Active mode: CCLK = 12 MHz; IDD(REG)(3V3) changed from 9.3 mA to 10 mA.
Active mode: CCLK = 60 MHz; IDD(REG)(3V3) changed from 26 mA to 28 mA.
Active mode: CCLK = 120 MHz; IDD(REG)(3V3) changed from 46 mA to 51 mA.
Active mode: CCLK = 180 MHz; IDD(REG)(3V3) changed from 66 mA to 74 mA.
Sleep mode: CCLK = 12 MHz; IDD(REG)(3V3) changed from 6.2 mA to 8.8 mA.
Figure 10 to Figure 13 updated.
General-purpose OTP size corrected.
LPC185X_3X_2X_1X v.4 20121031 Preliminary data sheet - LPC1857_53 v.3.2
Modifications: Removed TFBGA180 package.
Parts LPC183x, LPC182x, and LPC181x added.
LQFP144 and TFBGA100 packages added.
T = 105 °C data added in Figure 19 to Figure 22.
Changed symbol names and parameter names in Table 21.
Parameter ILH updated for condition VI = 5 V and Tamb = 25 °C/105 °C in Table 11.
Power consumption data added in Section 10.1.
Modifications: SPIFI dynamic characteristics added in Section 11.16.
IRC accuracy corrected to 2 % for Tamb = -40 °C to 0 °C and Tamb = 85 °C to 105 °C.
Pull-up and Pull-down current data (Figure 23 and Figure 24) updated with data for
Tamb = 105 °C.
SCT dither engine added and SCT bi-directional event enable features added. See
Section 7.15.1.
SPIFI maximum data rate changed to 52 MB per second.
Recommendation for VBAT use added: The re commended operating condition for the
battery supply is VDD(REG)(3V3) > VBAT + 0.2 V. See Table 11, Tabl e note 2.
Table 14 “Band gap characteristics” added.
Minimum value for parameter VIL changed to 0 V in Table 11 “Static characteristics”.
Description of ADC pins on digital/analog input pins changed. Each input to the ADC
is connected to ADC0 and ADC1. See Table 3.
OTP memory size changed to 64 bit.
Use of C_CAN peripheral restricted in Section 2.
ADC channels limited to a total of 8 channels shared between ADC0 and ADC1.
LPC1857_53 v. 3.2 20120920 Preliminary data sheet - LPC1857_53 v. 3.1
Position of index sector in Figure 4 “Pin configuration LQFP208 package” corrected.
Table 45. Revision history …continued
Document ID Release date Data sheet status Change notice Supersedes
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 151 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
LPC1857_53 v.3.1 20120904 Preliminary data sheet - LPC1857_53 v.3
Modifications: SSP0 boot pin functions added in Table 5 and Table 4. Pin P3_3 = SSP0_SCK, pin
P3_6 = SSP0_SSEL, pin P3_7 = SSP0_MISO, pin P3_8 = SSP0_MOSI.
Peripheral power consumption data added in Table 12.
BOD de-assertion levels add in Table 13.
Minimum value for all supply voltages changed to -0.5 V n Table 7.
LPC1857_53 v.3 20120711 Preliminary data sheet - LPC1857_53 v.2
Modifications: Data sheet status changed to preliminary.
AES removed. Available on parts LPC18Sxx only.
Minimum value of VI for conditions “USB0 pins USB0_DP; USB0_DM; USB0_VBUS”,
“USB0 pins USB0_ID; USB0_RREF”, and “USB1 pins USB1_DP an d USB1_DM”
changed to 0.3 V in Table 6.
Dynamic characteristics of the SD/MMC controller updated in Table 29.
Dynamic characteristics of the LCD controller updated in Table 30.
Dynamic characteristics of the SSP controller updated in Table 22.
Section 10.2 added.
Table 8 “Thermal resistance value (BGA packages)” added.
Description of pins USB1_DP and USB1_DM updated in Table 3.
Editorial updates.
Parameters IIL and IIH renamed to ILL and ILH in Table 9.
LPC1857_53 v. 2 201 20515 Objective data sheet - LPC1857_53 v.1
LPC1857_53 v. 1 20111214 Objective data sheet - -
Table 45. Revision history …continued
Document ID Release date Data sheet status Change notice Supersedes
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 152 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
19. Legal information
19.1 Data sheet status
[1] Please consult the most recently issued document before initiating or completing a design.
[2] The term ‘short data sheet’ is explained in section “Definitions”.
[3] The product status of de vice(s) descr ibed in th is document m ay have cha nged since thi s document w as publish ed and may di ffe r in case of multiple devices. The latest product status
information is available on the Internet at URL http://www.nxp.com.
19.2 Definitions
Draft — The document is a draft version only. The content is still under
internal review and subject to formal approval, which may result in
modifications or additions. NXP Semiconductors does not give any
representations or warranties as to the accuracy or completeness of
information included herein and shall have no liab ility for the consequences of
use of such information.
Short data sheet — A short data sheet is an extract from a full data sheet
with the same product type number(s) and tit le. A short data sh eet is intended
for quick reference only and shou ld not b e relied u pon to cont ain det ailed and
full information. For detailed and full information see the relevant full data
sheet, which is available on request via the local NXP Semicond uctors sales
office. In case of any inconsistency or conflict with the short data sheet, the
full data sheet shall pre va il.
Product specificat io n The information and data provided in a Product
data sheet shall define the specification of the product as agreed between
NXP Semiconductors and its customer, unless NXP Semiconductors and
customer have explicitly agreed otherwise in writing. In no event however,
shall an agreement be valid in which the NXP Semiconductors product is
deemed to off er functions and qualities beyond those described in the
Product data sheet.
19.3 Disclaimers
Limited warr a nty and liability — Information in this document is believed to
be accurate and reliable. However, NXP Semiconductors does not give any
representations or warrant ies, expressed or implied, as to the accuracy or
completeness of such information and shall have no liability for the
consequences of use of such information. NXP Se miconductors takes no
responsibility for the content in this document if provided by an information
source outside of NXP Semiconductors.
In no event shall NXP Semiconductors be liable for any indirect, incidental,
punitive, special or consequ ential damages (including - wit hout limitation - lost
profits, lost savings, business interruption, costs related to the removal or
replacement of any products or rework charges) whether or not such
damages are based on tort (including negligence), warranty, breach of
contract or any other legal theory.
Notwithstanding any damages that customer might incur for any reason
whatsoever, NXP Semiconductors’ aggregate and cumulative liability t owards
customer for the products described herein shall be limited in accordance
with the Terms and conditions of commercial sale of NXP Semiconductors.
Right to make changes — NXP Semiconductors reserves the right to make
changes to information published in this document, including without
limitation specifications and product descripti ons, at any time and without
notice. This document supersedes and replaces all informa tion supplied prior
to the publication hereof .
Suitability for use NXP Semiconductors products are not designed,
authorized or warranted to be suitable for use in life support , life-critical or
safety-critical systems or equipment, nor in applications where failure or
malfunction of an NXP Semiconductors pro duct can reasonably be expected
to result in perso nal injury, death or severe property or environme ntal
damage. NXP Semiconductors and its suppliers accept no liability for
inclusion and/or use of NXP Semiconducto rs products in such equipment or
applications and ther efore such inclu sion and/or use is at the cu stomer’s own
risk.
Applications — Applications that are described herein for any of these
products are for illustrative purposes only. NXP Semiconductors makes no
representation or warranty that such applications will be suitable for the
specified use without further testing or modification.
Customers are responsible for the design and ope ration of their applications
and products using NXP Semiconductors product s, and NXP Semiconductors
accepts no liability for any assistance with applications or customer product
design. It is customer’s sole responsibility to determine whether the NXP
Semiconductors product is suit able and fit for t he customer’s applications and
products planned, as well as fo r the planned application and use of
customer’s third party customer(s). Custo mers should provide appropriate
design and operating safeguards to minimize the risks associate d with their
applications and products.
NXP Semiconductors does not accept any liabil ity related to any default,
damage, costs or problem which is based on any weakness or default in the
customer’s applications or products, or the appl ication or use by customer’s
third party custo mer(s). Customer is responsible for doing all necessa ry
testing for the customer’s applications and products using NXP
Semiconductors products in order to avoid a default of the applications and
the products or of the application or use by customer’s third party
customer(s). NXP does not accept any liability in this respect.
Limiting values — Stress above one or more limiting values (as defined in
the Absolute Maximum Ratings System of IEC 60134) will cause permanent
damage to the device. Limiting values are stress ratings only and (proper)
operation of the device at these or any other conditions above those given in
the Recommended operating conditions section (if present) or the
Characteristics sections of this document is not warranted. Constant or
repeated exposure to limiting values will permanently and irreversibly affect
the quality and reliability of the device.
Terms and conditions of commercial sale — NXP Semiconductors
products are sold subject to the general terms and conditions of commercial
sale, as published at http://www.nxp.com/profile/terms, unless otherwise
agreed in a valid written individua l agreement. In case an individual
agreement is concluded only the terms and conditions of the respective
agreement shall apply. NXP Semiconductors hereby expressly objects to
applying the customer’s general terms and conditions with regard to the
purchase of NXP Semiconductors products by customer.
No offer to sell or license — Nothing i n this document may be interpreted or
construed as an of fer t o sell product s that is open for accept ance or the gr ant,
conveyance or implication of any license under any copyrights, patents or
other industrial or inte llectual property right s.
Document status[1][2] Product status[3] Definition
Objective [short] data sheet Development This document contains data from the objective specification for product development.
Preliminary [short] dat a sheet Qualification This document contains data from the preliminary specification.
Product [short] data sheet Production This document contains the product specification.
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 153 of 155
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
Export control — This document as well as the item(s) described herein
may be subject to export control regulations. Export might require a prior
authorization from competent authorities.
Non-automotive qualified products — Unless this data sheet expressly
states that this specific NXP Semiconductors prod uct is automotive qualified,
the product is not suitable for aut omo tive use. It i s neither qua lif ied nor test ed
in accordance with automotive testing or application requirements. NXP
Semiconductors accepts no liability for inclusion and/or use of
non-automotive qualified products in automotive equipment or applications.
In the event that customer uses the product for design-in and use in
automotive applications to automot ive specifications and standards, custome r
(a) shall use the product without NXP Semiconductors’ warranty of the
product for such au tomotive applications, use and specifi cations, and (b)
whenever customer uses the product for automotive applications beyond
NXP Semiconductors’ specifications such use shall be solely at customer’s
own risk, and (c) customer fully indemnifies NXP Semiconduct ors for an y
liability, damages or failed product claims resulting f rom customer design an d
use of the product for automotive applications beyond NXP Semiconductors’
standard warranty and NXP Semiconductors’ product specif ications.
19.4 Trademarks
Notice: All referenced b rands, produc t names, service names and trademarks
are the property of their respective ow ners.
I2C-bus — logo is a trademark of NXP B.V.
20. Contact information
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: salesaddresses@nxp.com
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
Product data sheet Rev. 5.2 — 8 March 2016 154 of 155
continued >>
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
21. Contents
1 General description. . . . . . . . . . . . . . . . . . . . . . 1
2 Features and benefits . . . . . . . . . . . . . . . . . . . . 1
3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
4 Ordering information. . . . . . . . . . . . . . . . . . . . . 4
4.1 Ordering options. . . . . . . . . . . . . . . . . . . . . . . . 5
5 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6 Pinning information. . . . . . . . . . . . . . . . . . . . . . 7
6.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
6.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 7
7 Functional description . . . . . . . . . . . . . . . . . . 60
7.1 Architectural overview . . . . . . . . . . . . . . . . . . 60
7.2 ARM Cortex-M3 processor. . . . . . . . . . . . . . . 60
7.3 System Tick timer (SysTick) . . . . . . . . . . . . . . 60
7.4 AHB multilayer matrix. . . . . . . . . . . . . . . . . . . 61
7.5 Nested Vectored Interrupt Controller (NVIC) . 61
7.5.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
7.5.2 Interrupt sources . . . . . . . . . . . . . . . . . . . . . . . 62
7.6 Event router . . . . . . . . . . . . . . . . . . . . . . . . . . 62
7.7 Global Input Multiplexer Array (GIMA) . . . . . . 62
7.7.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
7.8 On-chip static RAM. . . . . . . . . . . . . . . . . . . . . 62
7.9 On-chip flash memory . . . . . . . . . . . . . . . . . . 63
7.10 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
7.11 Boot ROM. . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
7.12 Memory mapping . . . . . . . . . . . . . . . . . . . . . . 65
7.13 One-Time Programmable (OTP) memory . . . 67
7.14 General-Purpose I/O (GPIO) . . . . . . . . . . . . . 67
7.14.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
7.15 AHB peripherals . . . . . . . . . . . . . . . . . . . . . . . 67
7.15.1 State Config urable Ti me r/PW M
(SCTimer/PWM) subsystem. . . . . . . . . . . . . . 67
7.15.1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
7.15.2 General-Purpose DMA . . . . . . . . . . . . . . . . . 68
7.15.2.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
7.15.3 SPI Flash Interface (SPIFI). . . . . . . . . . . . . . . 69
7.15.3.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
7.15.4 SD/MMC card interface . . . . . . . . . . . . . . . . . 70
7.15.5 External Memory Controller (EMC). . . . . . . . . 70
7.15.5.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
7.15.6 High-speed USB Host/Device/OTG interface
(USB0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
7.15.6.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
7.15.7 High-speed USB Host/Device interface
with ULPI (USB1) . . . . . . . . . . . . . . . . . . . . . . 72
7.15.7.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
7.15.8 LCD controller. . . . . . . . . . . . . . . . . . . . . . . . . 72
7.15.8.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
7.15.9 Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
7.15.9.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
7.16 Digital serial peripherals. . . . . . . . . . . . . . . . . 73
7.16.1 UART. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
7.16.1.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
7.16.2 USART. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
7.16.2.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
7.16.3 SSP serial I/O controller. . . . . . . . . . . . . . . . . 74
7.16.3.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
7.16.4 I2C-bus interface . . . . . . . . . . . . . . . . . . . . . . 75
7.16.4.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
7.16.5 I2S interface . . . . . . . . . . . . . . . . . . . . . . . . . . 75
7.16.5.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
7.16.6 C_CAN. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
7.16.6.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
7.17 Counter/timers and motor control . . . . . . . . . 77
7.17.1 General purpose 32-bit timers/external
event counter. . . . . . . . . . . . . . . . . . . . . . . . . 77
7.17.1.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
7.17.2 Motor control PWM . . . . . . . . . . . . . . . . . . . . 77
7.17.3 Quadrature Encoder Interface (QEI) . . . . . . . 77
7.17.3.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
7.17.4 Repetitive Interrupt (RI) timer . . . . . . . . . . . . . 78
7.17.4.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
7.17.5 Windowed WatchDog Timer (WWDT) . . . . . . 78
7.17.5.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
7.18 Analog peripherals. . . . . . . . . . . . . . . . . . . . . 79
7.18.1 Analog-to-Digital Converter . . . . . . . . . . . . . . 79
7.18.1.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7.18.2 Digital-to-Analog Converter (DAC). . . . . . . . . 79
7.18.2.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7.19 Peripherals in the RTC power domain. . . . . . 79
7.19.1 RTC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7.19.1.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7.19.2 Event monitor/recorder . . . . . . . . . . . . . . . . . 80
7.19.2.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
7.19.3 Alarm timer . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
7.20 System control. . . . . . . . . . . . . . . . . . . . . . . . 80
7.20.1 Configuration registers (CREG). . . . . . . . . . . 80
7.20.2 System Control Unit (SCU) . . . . . . . . . . . . . . 81
7.20.3 Clock Generation Uni t (CGU) . . . . . . . . . . . . 81
7.20.4 Internal RC oscillator (IRC) . . . . . . . . . . . . . . 81
7.20.5 PLL0USB (for USB0). . . . . . . . . . . . . . . . . . . 81
7.20.6 PLL0AUDIO (for audio) . . . . . . . . . . . . . . . . . 81
7.20.7 System PLL1 . . . . . . . . . . . . . . . . . . . . . . . . . 82
7.20.8 Reset Generation Unit (RGU) . . . . . . . . . . . . 82
7.20.9 Power control. . . . . . . . . . . . . . . . . . . . . . . . . 82
7.20.10 Code security (Code Read Protection - CRP) 83
NXP Semiconductors LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
© NXP B.V. 2016. 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: 8 March 2016
Document identifier: LPC185X_3X_2X_1X
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
7.21 Emulation and debugging. . . . . . . . . . . . . . . . 84
8 Limiting values. . . . . . . . . . . . . . . . . . . . . . . . . 85
9 Thermal characteristics . . . . . . . . . . . . . . . . . 86
10 Static characteristics. . . . . . . . . . . . . . . . . . . . 87
10.1 Power consumption . . . . . . . . . . . . . . . . . . . . 94
10.2 Peripheral power consumption. . . . . . . . . . . . 97
10.3 Electrical pin characteristics. . . . . . . . . . . . . . 99
10.4 BOD and band gap static characteristics . . . 103
11 Dynamic characteristics . . . . . . . . . . . . . . . . 104
11.1 Flash/EEPROM memory . . . . . . . . . . . . . . . 104
11.2 Wake-up times . . . . . . . . . . . . . . . . . . . . . . . 105
11.3 External clock for oscillator in slave mode . . 105
11.4 Crystal oscillator . . . . . . . . . . . . . . . . . . . . . . 106
11.5 IRC oscillator . . . . . . . . . . . . . . . . . . . . . . . . 106
11.6 RTC oscillator. . . . . . . . . . . . . . . . . . . . . . . . 106
11.7 GPCLKIN . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
11.8 I/O pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
11.9 I2C-bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
11.10 I2S-bus interface. . . . . . . . . . . . . . . . . . . . . . 109
11.11 USART interface. . . . . . . . . . . . . . . . . . . . . . 110
11.12 SSP interface . . . . . . . . . . . . . . . . . . . . . . . . 112
11.13 External memory interface . . . . . . . . . . . . . . 117
11.14 USB interface . . . . . . . . . . . . . . . . . . . . . . . 122
11.15 Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
11.16 SD/MMC. . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
11.17 LCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
11.18 SPIFI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
12 ADC/DAC electrical characteristics . . . . . . . 12 7
13 Application information. . . . . . . . . . . . . . . . . 130
13.1 LCD panel signal usage . . . . . . . . . . . . . . . . 130
13.2 Crystal oscillator. . . . . . . . . . . . . . . . . . . . . . 132
13.3 RTC oscillator. . . . . . . . . . . . . . . . . . . . . . . . 134
13.4 XTAL and RTCX Printed Circuit Board
(PCB) layout guidelines . . . . . . . . . . . . . . . . 134
13.5 Standard I/O pin configuration . . . . . . . . . . . 134
13.6 Reset pin configuration. . . . . . . . . . . . . . . . . 135
13.7 Suggested USB interface solutions . . . . . . . 135
14 Package outline . . . . . . . . . . . . . . . . . . . . . . . 138
15 Soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
16 Abbreviations. . . . . . . . . . . . . . . . . . . . . . . . . 146
17 References . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
18 Revision history. . . . . . . . . . . . . . . . . . . . . . . 148
19 Legal information . . . . . . . . . . . . . . . . . . . . . 152
19.1 Data sheet status. . . . . . . . . . . . . . . . . . . . . 152
19.2 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . 152
19.3 Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . 152
19.4 Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . 153
20 Contact information . . . . . . . . . . . . . . . . . . . 153
21 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154