Lpc11u2x 1893403
Lpc11u2x 1893403
Lpc11u2x 1893403
1. General description
The LPC11U2x are an ARM Cortex-M0 based, low-cost 32-bit MCU family, designed for
8/16-bit microcontroller applications, offering performance, low power, simple instruction set
and memory addressing together with reduced code size compared to existing 8/16-bit
architectures.
Equipped with a highly flexible and configurable Full-Speed USB 2.0 device controller, the
LPC11U2x brings unparalleled design flexibility and seamless integration to today’s
demanding connectivity solutions.
■ System:
■ Memory:
◆ 16 kB boot ROM.
◆ In-System Programming (ISP) and In-Application Programming (IAP) for flash and
EEPROM via on-chip bootloader software.
◆ ROM-based USB drivers. Flash updates via USB supported.
■ Debug options:
■ Digital peripherals:
■ Serial interfaces:
◆ Clock output function with divider that can reflect the crystal oscillator, the main
clock, the IRC, or the watchdog oscillator.
■ Power control:
◆ Processor wake-up from Deep power-down mode using one special function pin.
◆ Brownout detect with four separate thresholds for interrupt and forced reset.
3. Applications
■ Industrial control
4. Ordering information
LPC11U24FHI33/30 plastic thermal enhanced very thin quad flat package; no leads; n/a
1 HVQFN3
33 terminals; body 5 × 5 × 0.85 mm
3
plastic thin fine-pitch ball grid array package; 48 balls; body 4.5 ×
LPC11U24FET48/30 SOT1155-
1 TFBGA4 2
8 4.5 × 0.7 mm
LPC11U24FHN33/40 plastic thermal enhanced very thin quad flat package; no leads; n/a
1 HVQFN3
33 terminals; body 7 × 7 × 0.85 mm
3
LPC11U22FBD48/30 16 1 6 2 1 1 2 8 40 LQFP48
1
LPC11U23FBD48/30 24 1 6 2 1 1 2 8 40 LQFP48
1
HVQFN33 (5 ×
LPC11U24FHI33/30 32 2 6 2 1 1 2 8 26
1
5)
LPC11U24FBD48/30 32 2 6 2 1 1 2 8 40 LQFP48
1
LPC11U24FET48/30 32 2 6 2 1 1 2 8 40 TFBGA48
1
HVQFN33 (7 ×
LPC11U24FHN33/4 32 4 8 2 1 1 2 8 26
01
7)
LPC11U24FBD48/40 32 4 8 2 1 1 2 8 40 LQFP48
1
LPC11U24FBD64/40 32 4 8 2 1 1 2 8 54 LQFP64
1
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 3 of 74
5. Block diagram
RESET SWD, JTAG
XTALIN XTALOUT
LPC11U2x
SYSTEM OSCILLATOR
TEST/DEBUG
CLOCK
INTERFACE
GENERATION,
IRC, WDO
POWER CONTROL,
CLKOUT
SYSTEM
BOD
ARM
FUNCTIONS
CORTEX-M0
POR
AHB TO APB
BRIDGE
RXD
TXD
10-bit ADC USART/
(1) (1)
DCD, DSR , RI
SMARTCARD INTERFACE AD[7:0]
CTS, RTS, DTR
SCLK
SCL, SDA
2
I C-BUS
16-bit COUNTER/TIMER 0 CT16B0_MAT[2:0]
(2)
CT16B0_CAP[1:0]
SSP0 SCK0, SSEL0,
CT16B1_MAT[1:0]
MISO0, MOSI0
16-bit COUNTER/TIMER 1
(2)
CT16B1_CAP[1:0]
SSP1 SCK1, SSEL1,
32-bit COUNTER/TIMER 0 CT32B0_MAT[3:0]
MISO1, MOSI1
(2)
CT32B0_CAP[1:0]
IOCON
32-bit COUNTER/TIMER 1 CT32B1_MAT[3:0]
(2)
CT32B1_CAP[1:0]
SYSTEM CONTROL
WINDOWED WATCHDOG
PMU
TIMER
GPIO pins
GPIO INTERRUPTS
GPIO pins
GPIO GROUP0 INTERRUPTS
002aag333
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 4 of 74
6. Pinning information
6.1 Pinning
PIO0_16/AD5/CT32B1_MAT3/WAKEUP
SWDIO/PIO0_15/AD4/CT32B1_MAT2
PIO1_15/DCD/CT16B0_MAT2/SCK1
1 0
PIO0_19/TXD/CT32B0_MAT PIO0_18/RXD/CT32B0_MAT
PIO0_17/RTS/CT32B0_CAP0/SCLK
PIO0_23/AD7
D
V D
terminal 1
index area
32
31
30
29
28
27
26
25
1 24
PIO1_19/DTR/SSEL1 TRST/PIO0_14/AD3/CT32B1_MAT1
2 23
RESET/PIO0_0 TDO/PIO0_13/AD2/CT32B1_MAT0
3 22
PIO0_1/CLKOUT/CT32B0_MAT2/USB_FTOGGLE TMS/PIO0_12/AD1/CT32B1_CAP0 4 21
XTALIN TDI/PIO0_11/AD0/CT32B0_MAT3
LPC11U24
5 20
XTALOUT PIO0_22/AD6/CT16B1_MAT1/MISO1
6 19
VDD SWCLK/PIO0_10/SCK0/CT16B0_MAT2
7 18
PIO0_20/CT16B1_CAP0
PIO0_9/MOSI0/CT16B0_MAT1
33 VSS
8 17
PIO0_8/MISO0/CT16B0_MAT0
PIO0_2/SSEL0/CT16B0_CAP0
10
11
12
13
14
15
16
9
S L
PIO0_3/USB_VBU PIO0_4/SC PIO0_5/SDA
M P 1 0
PIO0_21/CT16B1_MAT0/MOSI USB_D USB_D PIO0_6/USB_CONNECT/SCK PIO0_7/CTS
002aag621
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 5 of 74
A
B
C
D
E
F
G
H
002aag623
Transparent top view
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 6 of 74
48
47
46
45
44
43
42
41
40
39
38
37
1
36
PIO1_25/CT32B0_MAT1 PIO1_13/DTR/CT16B0_MAT0/TXD 2
35
PIO1_19/DTR/SSEL1 TRST/PIO0_14/AD3/CT32B1_MAT1 3
34
RESET/PIO0_0 TDO/PIO0_13/AD2/CT32B1_MAT0
4
33
PIO0_1/CLKOUT/CT32B0_MAT2/USB_FTOGGLE TMS/PIO0_12/AD1/CT32B1_CAP0 5
32
VSS TDI/PIO0_11/AD0/CT32B0_MAT3
LPC11U22FBD48/301
LPC11U23FBD48/301
6
31
XTALIN PIO1_29/SCK0/CT32B0_CAP1
LPC11U24FBD48/301
7
30
XTALOUT PIO0_22/AD6/CT16B1_MAT1/MISO1
LPC11U24FBD48/401
8
29
VDD SWCLK/PIO0_10/SCK0/CT16B0_MAT2
9
28
PIO0_20/CT16B1_CAP0 PIO0_9/MOSI0/CT16B0_MAT1
10
27
PIO0_2/SSEL0/CT16B0_CAP0 PIO0_8/MISO0/CT16B0_MAT0 11
26
PIO1_26/CT32B0_MAT2/RXD PIO1_21/DCD/MISO1
12
25
PIO1_27/CT32B0_MAT3/TXD PIO1_31
13
14
15
16
17
18
19
20
21
22
23
24
002aag622
PIO1_20/DSR/SCK1
PIO0_4/SCL
PIO0_21/CT16B1_MAT0/MOSI1
PIO1_23/CT16B1_MAT1/SSEL1
PIO1_24/CT32B0_MAT0
PIO0_6/USB_CONNECT/SCK0
PIO1_28/CT32B0_CAP0/SCLK
PIO0_7/CTS
USB_DP
PIO0_3/USB_VBUS
PIO0_5/SDA
USB_DM
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 7 of 74
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
1
48
PIO1_0 VDD
2
47
PIO1_25 PIO1_13
3
46
PIO1_19 TRST/PIO0_14
4
45
RESET/PIO0_0 TDO/PIO0_13
5
44
PIO0_1 TMS/PIO0_12
6
43
PIO1_7 PIO1_11
7
42
VSS TDI/PIO0_11
8
41
XTALIN PIO1_29
LPC11U24FBD64/401
9
40
XTALOUT PIO0_22
10
39
VDD PIO1_8
11
38
PIO0_20 SWCLK/PIO0_10
12
37
PIO1_10 PIO0_9
13
36
PIO0_2 PIO0_8
14
35
PIO1_26 PIO1_21
15
34
PIO1_27 PIO1_2
16
33
PIO1_4 VDD
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
002aag624
PIO0_6
PIO0_7
PIO1_5
PIO1_23
PIO1_24
PIO1_18
PIO1_28
PIO1_1
PIO0_3
PIO0_4
PIO0_5
PIO1_20
PIO0_21
PIO1_17
USB_DP
USB_DM
See Table 3 for the full pin name.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 8 of 74
Every port pin has a corresponding IOCON register for programming the digital or analog
function, the pull-up/pull-down configuration, the repeater, and the open-drain modes.
The USART, counter/timer, and SSP functions are available on more than one port pin.
H F L
V B Q
Q G F
F A P
N 4 4
8 8
3
3
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 9 of 74
H F L
V B Q
Q G F
F A P
N 4 4
8 8
3
3
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 10 of 74
H F L
V B Q
Q G F
F A P
N 4 4
8 8
3
3
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 11 of 74
H F L
V B Q
Q G F
F A P
N 4 4
8 8
3
3
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 12 of 74
H F L
V B Q
Q G F
F A P
N 4 4
8 8
3
3
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 13 of 74
H F L
V B Q
Q G F
F A P
N 4 4
8 8
3
3
USB_DM 25 [7] F -
USB_DM — USB bidirectional D− line.
1 G 1
3 5 9
VSS 3 5; 7; - - Ground.
3 B 4 54
5 1
;
D
2
[1] Pin state at reset for default function: I = Input; O = Output; PU = internal pull-up enabled; IA = inactive, no pull-up/down enabled; F =
floating; If the pins are not used, tie floating pins to ground or power to minimize power consumption.
[2] 5 V tolerant pad. RESET functionality is not available in Deep power-down mode. Use the WAKEUP pin to reset the chip and wake up from Deep
power-down mode. An external pull-up resistor is required on this pin for the Deep power-down mode. See Figure 32 for the reset pad
configuration.
[3] 5 V tolerant pad providing digital I/O functions with configurable pull-up/pull-down resistors and configurable hysteresis (see Figure 31).
2 2 2 2 2
[4] I C-bus pin compliant with the I C-bus specification for I C standard mode, I C Fast-mode, and I C Fast-mode Plus. The pin requires an external
pull-up to provide output functionality. When power is switched off, this pin is floating and does not disturb the I2C lines. Open-drain
configuration applies to all functions on this pin.
[5] 5 V tolerant pad providing digital I/O functions with configurable pull-up/pull-down resistors and configurable hysteresis (see Figure 31); includes
high-current output driver.
[6] 5 V tolerant pad providing digital I/O functions with configurable pull-up/pull-down resistors, configurable hysteresis, and analog input. When
configured as a ADC input, digital section of the pad is disabled and the pin is not 5 V tolerant (see Figure 31); includes digital input glitch
filter.
[7] Pad provides USB functions. It is designed in accordance with the USB specification, revision 2.0 (Full-speed and Low-speed mode only).
This pad is not 5 V tolerant.
[8] When the system oscillator is not used, connect XTALIN and XTALOUT as follows: XTALIN can be left floating or can be grounded
(grounding is preferred to reduce susceptibility to noise). Leave XTALOUT floating.
7. Functional description
7.2 EEPROM
The LPC11U2x contain 1 kB, 2 kB, or 4 kB of on-chip byte-erasable and
byte-programmable EEPROM data memory. The EEPROM can be programmed using In-
Application Programming (IAP) via the on-chip boot loader software.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 14 of 74
7.3 SRAM
The LPC11U2x contain a total of 8 kB or 10 kB on-chip static RAM memory.
• In-System Programming (ISP) and In-Application Programming (IAP) support for flash •
IAP support for EEPROM
• USB API
• Power profiles for configuring power consumption and PLL settings
• 32-bit integer division routines
The AHB (Advanced High-performance Bus) peripheral area is 2 MB in size and is divided to
allow for up to 128 peripherals. The APB (Advanced Peripheral Bus) peripheral area is 512
kB in size and is divided to allow for up to 32 peripherals. Each peripheral of either type is
allocated 16 kB of space. This addressing scheme allows simplifying the address decoding
for each peripheral.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 15 of 74
reserved
APB peripherals
0x4008 0000
0x5000 4000
GPIO
25 - 31 reserved
0x4006 4000
0x5000 0000
24 GPIO GROUP1 INT
0x4006 0000
reserved
23 GPIO GROUP0 INT
0x4005 C000
0x4008 4000
SSP1
22
USB
0x4005 8000
0x4008 0000
20 - 21 reserved
0x4004 C000
APB peripherals
0x4000 0000
1 GB
19 GPIO interrupts
0x4004 C000
reserved
system control
18
0x4004 8000
IOCON
17
0x4004 4000
0x2000 4800
SSP0
16
2 kB USB RAM
0x4004 0000
0x2000 4000
15
flash/EEPROM controller
reserved
0x4003 C000
0x2000 0000
0.5 GB
14
PMU
0x4003 8000
reserved
10 - 13 reserved
0x1FFF 4000
0x4002 8000
16 kB boot ROM
0x1FFF 0000
reserved
9
0x4002 4000
reserved
8
0x4002 0000
reserved
ADC
7
0x4001 C000
0x1000 2000
32-bit counter/timer 1
6
0x4001 8000
8 kB SRAM (LPC11U2x/401)
32-bit counter/timer 0
0x1000 1800
5
0x4001 4000
6 kB SRAM (LPC11U2x/301)
16-bit counter/timer 1
4
0x4001 0000
0x1000 0000
16-bit counter/timer 0
3
0x4000 C000
reserved
USART/SMART CARD
2
0x4000 8000
0x0000 8000
WWDT
1
0x4000 4000
32 kB on-chip flash (LPC11U24)
0x0000 6000
2
I C-bus
0
0x4000 0000
0x0000 4000 24 kB on-chip flash (LPC11U23)
0x0000 00C0
16 kB on-chip flash (LPC11U22)
active interrupt vectors
0x0000 0000
0 GB 0x0000 0000
002aag594
7.6.1 Features
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 16 of 74
Connect peripherals to the appropriate pins before activating the peripheral and before
enabling any related interrupt. Activity of any enabled peripheral function that is not
mapped to a related pin is treated as undefined.
7.7.1 Features
• GPIO registers are a dedicated AHB peripheral so that the fastest possible I/O timing can
be achieved.
• Entire port value can be written in one instruction.
Any GPIO pin providing a digital function can be programmed to generate an interrupt on a
level, a rising or falling edge, or both.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 17 of 74
The LPC11U2x USB interface consists of a full-speed device controller with on-chip PHY
(PHYsical layer) for device functions.
Remark: Configure the LPC11U2x in default power mode with the power profiles before
using the USB (see Section 7.17.5.1). Do not use the USB with the part in performance,
efficiency, or low-power mode.
7.10 USART
The LPC11U2x contains one USART.
The USART includes full modem control, support for synchronous mode, and a smart
card interface. The RS-485/9-bit mode allows both software address detection and
automatic address detection using 9-bit mode.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 18 of 74
7.10.1 Features
• Maximum USART data bit rate of 3.125 Mbit/s.
• 16 byte receive and transmit FIFOs.
• Register locations conform to 16C550 industry standard.
• Receiver FIFO trigger points at 1 B, 4 B, 8 B, and 14 B.
• Built-in fractional baud rate generator covering wide range of baud rates without a
need for external crystals of particular values.
• Fractional divider for baud rate control, auto baud capabilities and FIFO control
mechanism that enables software flow control implementation.
• Support for RS-485/9-bit mode.
• Support for modem control.
• Support for synchronous mode.
• Includes smart card interface.
7.11.1 Features
• Maximum SSP speed of 25 Mbit/s (master) or 4.17 Mbit/s (slave) (in SSP mode)
• Compatible with Motorola SPI (Serial Peripheral Interface), 4-wire Texas Instruments SSI
(Serial Synchronous Interface), and National Semiconductor Microwire buses
• Synchronous serial communication
• Master or slave operation
• 8-frame FIFOs for both transmit and receive
• 4-bit to 16-bit frame
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 19 of 74
• The I2C-interface is an I2C-bus compliant interface with open-drain pins. The I2C-bus
interface supports Fast-mode Plus with bit rates up to 1 Mbit/s.
• 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 mechanism to suspend and
resume serial transfer.
• The I2C-bus can be used for test and diagnostic purposes.
• The I2C-bus controller supports multiple address recognition and a bus monitor mode.
7.13.1 Features
• 10-bit successive approximation ADC.
• Input multiplexing among 8 pins.
• Power-down mode.
• Measurement range 0 V to VDD.
• 10-bit conversion time ≥ 2.44 μs (up to 400 kSamples/s).
• Burst conversion mode for single or multiple inputs.
• Optional conversion on transition of input pin or timer match signal.
• Individual result registers for each ADC channel to reduce interrupt overhead.
7.14.1 Features
• A 32-bit/16-bit timer/counter with a programmable 32-bit/16-bit prescaler.
• Counter or timer operation.
• One capture channel per timer, that can take a snapshot of the timer value when an
input signal transitions. A capture event can also generate an interrupt.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 20 of 74
7.16.1 Features
• Internally resets chip if not periodically reloaded during the programmable time-out
period.
• Optional windowed operation requires reload to occur between a minimum and
maximum time period, both programmable.
• Optional warning interrupt can be generated at a programmable time before watchdog
time-out.
• Software enables the WWDT, but a hardware reset or a watchdog reset/interrupt is
required to disable the WWDT.
• Incorrect feed sequence causes reset or interrupt, if enabled.
• Flag to indicate watchdog reset.
• Programmable 24-bit timer with internal prescaler.
• Selectable time period from (Tcy(WDCLK) × 256 × 4) to (Tcy(WDCLK) × 224 × 4) in
multiples of Tcy(WDCLK) × 4.
• The Watchdog Clock (WDCLK) source can be selected from the IRC or the dedicated
watchdog oscillator (WDO). The clock source selection provides a wide range of
potential timing choices of watchdog operation under different power conditions.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 21 of 74
Following reset, the LPC11U2x operates from the internal RC oscillator until software
switches to a different clock source. The IRC allows the system to operate without any
external crystal and the bootloader code to operate at a known frequency.
SYSPLLCLKSEL
(system PLL clock select)
USB PLL
system oscillator
USB 48 MHz CLOCK
DIVIDER USB
USBPLLCLKSEL
(USB clock select)
USBUEN
(USB clock update enable)
IRC oscillator
system oscillator CLKOUT PIN CLOCK
DIVIDER CLKOUT pin
watchdog oscillator
CLKOUTUEN
(CLKOUT update enable)
IRC oscillator
WDT
watchdog oscillator
WDCLKSEL
(WDT clock select)
002aaf892
Upon power-up, any chip reset, or wake-up from Deep power-down mode, the LPC11U2x
use the IRC as the clock source. Software can later switch to one of the other available clock
sources.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 23 of 74
NXP Semiconductors LPC11U2x 32-bit ARM Cortex-M0 microcontroller
7.17.1.2 System oscillator
The system oscillator can be used as the clock source for the CPU, with or without using the
PLL. On the LPC11U2x, use the system oscillator to provide the clock source to USB.
The system 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 system
PLL.
The PLL accepts an input clock frequency in the range of 10 MHz to 25 MHz. The input
frequency is multiplied up to a high frequency with a Current Controlled Oscillator (CCO). The
multiplier can be an integer value from 1 to 32. The CCO operates in the range of 156 MHz to
320 MHz. To support this frequency range, an additional divider keeps the CCO within its
frequency range while 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 output clock. The PLL output frequency
must be lower than 100 MHz. Since the minimum output divider value is 2, it is insured that
the PLL output has a 50 % duty cycle. The PLL is turned off and bypassed following a chip
reset. Software can enable the PLL later. The program must configure and activate the PLL,
wait for the PLL to lock, and then connect to the PLL as a clock source. The PLL settling time
is 100 μs.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 24 of 74
Remark: When using the USB, configure the LPC11U2x in Default mode.
The LPC11U2x can wake up from Deep-sleep mode via reset, selected GPIO pins, a
watchdog timer interrupt, or an interrupt generating USB port activity.
Deep-sleep mode saves power and allows for short wake-up times.
The LPC11U2x can wake up from Power-down mode via reset, selected GPIO pins, a
watchdog timer interrupt, or an interrupt generating USB port activity.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 25 of 74
The LPC11U2x can be prevented from entering Deep power-down mode by setting a lock bit
in the PMU block. Locking out Deep power-down mode enables the application to keep the
watchdog timer or the BOD running at all times.
When entering Deep power-down mode, an external pull-up resistor is required on the
WAKEUP pin to hold it HIGH. Pull the RESET pin HIGH to prevent it from floating while in
Deep power-down mode.
7.17.6.1 Reset
Reset has four sources on the LPC11U2x: the RESET pin, the Watchdog reset, power-on
reset (POR), and the BrownOut Detection (BOD) circuit. The RESET pin is a Schmitt trigger
input pin. Assertion of chip reset by any source, once the operating voltage attains a usable
level, starts the IRC and initializes the flash controller.
When the internal Reset is removed, the processor begins executing at address 0, which is
initially the Reset vector mapped from the boot block. At that point, all of the processor and
peripheral registers have been initialized to predetermined values.
In Deep power-down mode, an external pull-up resistor is required on the RESET pin.
The LPC11U2x includes four levels for monitoring the voltage on the VDD pin. If this
voltage falls below one of the four selected levels, the BOD asserts an interrupt signal to the
NVIC. This signal can be enabled for interrupt in the Interrupt Enable Register in the NVIC to
cause a CPU interrupt. Alternatively, software can monitor the signal by reading a dedicated
status register. Four additional threshold levels can be selected to cause a forced reset of the
chip.
In addition, ISP entry via the PIO0_1 pin can be disabled without enabling CRP. For
details, see the LPC11Uxx user manual.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 26 of 74
In addition to the three CRP levels, sampling of pin PIO0_1 for valid user code can be
disabled. For details, see the LPC11Uxx user manual.
7.17.6.5 AHBLite
The AHBLite connects the CPU bus of the ARM Cortex-M0 to the flash memory, the main
static RAM, and the ROM.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 27 of 74
The RESET pin selects between the JTAG boundary scan (RESET = LOW) and the ARM
SWD debug (RESET = HIGH). The ARM SWD debug port is disabled while the
LPC11U2x is in reset.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 28 of 74
8. Limiting values
−0.5
supply voltage (core [2] +4.6 V
VDD
and external rail)
−0.5
input voltage [5][2] +5.5 V
VI
5 V tolerant digital I/O pins;
VDD ≥ 1.8 V
−0.5
VDD = 0 V +3.6 V
−0.5
[2][4] +5.5
5 V tolerant open-drain pins
PIO0_4 and PIO0_5
VIA analog input voltage pin configured as analog input [2][3] −0.5
4.6 V
Tj < 125 °C
°C
Tj(max) maximum junction - 150
temperature
[7] Human body model: equivalent to discharging a 100 pF capacitor through a 1.5 k Ω series resistor.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 29 of 74
9. Static characteristics
[3][4][5] - 1 - mA
Sleep mode;
[6][7][8]
[4][7] - 360 -
Deep-sleep mode; VDD = 3.3 V; μA
Tamb = 25 °C
[10] - 220 - nA
Deep power-down mode;
VDD = 3.3 V; Tamb = 25 °C
0.4
- - 0.4 V
1.8 V ≤ VDD < 2.0 V; IOL = 3 mA
VOH = VDD − 0.4 V; −4
IOH HIGH-level output - - mA
current
2.0 V ≤ VDD ≤ 3.6 V
−3
- - mA
1.8 V ≤ VDD < 2.0 V
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 30 of 74
3 - - mA
1.8 V ≤ VDD < 2.0 V
0.4
- - 0.4 V
1.8 V ≤ VDD < 2.0 V; IOL = 3 mA
12 - - mA
1.8 V ≤ VDD < 2.5 V
3 - - mA
1.8 V ≤ VDD < 2.0 V
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 31 of 74
3 - -
1.8 V ≤ VDD < 2.0 V
16 - -
1.8 V ≤ VDD < 2.0 V
VI =5V - 10 22
μA
Oscillator pins
−0.5
Vi(xtal) crystal input voltage 1.8 1.95 V
−0.5
Vo(xtal) crystal output voltage 1.8 1.95 V
USB pins
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 32 of 74
Pin capacitance
[1] Typical ratings are not guaranteed. The values listed are at room temperature (25 °C), nominal supply voltages. [2] For
[7] Tamb = 25 °C; maximum sampling frequency fs = 400 kSamples/s and analog input capacitance Cia = 1 pF. [8]
1023
1022
1021
1020
1019
1018
(2)
7
code
(1)
out
6
5
(5)
4
(4)
3
(3)
2
1 LSB
1
(ideal)
0
123456 7 1018 1019 1020 1021 1022 1023 1024
VIA (LSBideal)
offset error
EO
VDD − VSS
1 LSB =
1024
002aaf426
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 35 of 74
assertion - 2.22 - V
de-assertion - 2.35 - V
interrupt level 2
assertion - 2.52 - V
de-assertion - 2.66 - V
interrupt level 3
assertion - 2.80 - V
de-assertion - 2.90 - V
reset level 0
assertion - 1.46 - V
de-assertion - 1.63 - V
reset level 1
assertion - 2.06 - V
de-assertion - 2.15 - V
reset level 2
assertion - 2.35 - V
de-assertion - 2.43 - V
reset level 3
assertion - 2.63 - V
de-assertion - 2.71 - V
[1] Interrupt levels are selected by writing the level value to the BOD control register BODCTRL, see the
LPC11Uxx user manual.
• Configure all pins as GPIO with pull-up resistor disabled in the IOCON block.
• Configure GPIO pins as outputs using the GPIOnDIR registers.
• Write 0 to all GPIOnDATA registers to drive the outputs LOW.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 36 of 74
(2)
48 MHz
IDD
(mA)
6
(2)
36 MHz
(2)
24 MHz
3
(1)
12 MHz
0
1.8 2.4 3.0 3.6 VDD (V)
Conditions: Tamb = 25 °C; Active mode entered executing code while(1){} from flash;
internal pull-up resistors disabled; BOD disabled; all peripherals disabled in the
SYSAHBCLKCTRL register; all peripheral clocks disabled; low-current mode; USB_DP and
USB_DM pulled LOW externally.
(1) System oscillator and system PLL disabled; IRC enabled.
(2) System oscillator and system PLL enabled; IRC disabled.
Fig 9. Typical supply current versus regulator supply voltage V DD in active mode
002aag750
9
(2)
48 MHz
IDD
(mA)
6
(2)
36 MHz
(2)
24 MHz
3
(1)
12 MHz
0
-40 -15 10 60 35 85 temperature (°C)
Conditions: VDD = 3.3 V; Active mode entered executing code while(1){} from flash; internal
pull-up resistors disabled; BOD disabled; all peripherals disabled in the SYSAHBCLKCTRL
register; all peripheral clocks disabled; low-current mode; USB_DP and USB_DM pulled LOW
externally.
(1) System oscillator and system PLL disabled; IRC enabled.
(2) System oscillator and system PLL enabled; IRC disabled.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 37 of 74
IDD
(mA)
3
(2)
48 MHz
(2)
36 MHz
2
(2)
24 MHz
(1)
12 MHz
1
0
-40 -15 10 60 35 85 temperature (°C)
Conditions: VDD = 3.3 V; Sleep mode entered from flash; internal pull-up resistors disabled; BOD
disabled; all peripherals disabled in the SYSAHBCLKCTRL register; all peripheral clocks disabled;
low-current mode; USB_DP and USB_DM pulled LOW externally.
(1) System oscillator and system PLL disabled; IRC enabled.
(2) System oscillator and system PLL enabled; IRC disabled.
002aag745
385
IDD
(μA)
375
VDD = 3.6 V
VDD = 3.3 V
365
VDD = 2.0 V
355
VDD = 1.8 V
345
-40 -15 10 60 35 85 temperature (°C)
Conditions: BOD disabled; all oscillators and analog blocks turned off in the PDSLEEPCFG
register; USB_DP and USB_DM pulled LOW externally.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 38 of 74
IDD
VDD = 3.6 V, 3.3 V
(μA)
VDD = 2.0 V
VDD = 1.8 V
15
10
0
-40 -15 10 60 35 85 temperature (°C)
Conditions: BOD disabled; all oscillators and analog blocks turned off in the PDSLEEPCFG
register; USB_DP and USB_DM pulled LOW externally.
002aag747
0.8
VDD = 3.6 V
IDD
(μA)
VDD = 3.3 V
VDD = 2.0 V
0.6
VDD = 1.8 V
0.4
0.2
0
-40 -15 10 60 35 85 temperature (°C)
Fig 14. Typical supply current versus temperature in Deep power-down mode
The supply currents are shown for system clock frequencies of 12 MHz and 48 MHz.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 39 of 74
n/a 12 48
MHz MHz
USB - - 1.2 -
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 40 of 74
VOH
T = 85 °C
(V)
25 °C
−40 °C
3.2
2.8
2.4
2
0 10 50 20 30 40 60
IOH (mA)
002aaf019
60
T = 85 °C
IOL
(mA)
25 °C
−40 °C
40
20
0
0 0.2 0.4 0.6
VOL (V)
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 41 of 74
IOL
T = 85 °C
(mA)
25 °C
−40 °C
10
0
0 0.2 0.4 0.6
VOL (V)
Fig 17. Typical LOW-level output current I OL versus LOW-level output voltage VOL
002aae992
3.6
VOH
(V)
T = 85 °C
3.2
25 °C
−40 °C
2.8
2.4
2
0 8 16 24
IOH (mA)
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 42 of 74
Ipu
(μA)
−10
−30
T = 85 °C
25 °C
−40 °C
−50
−70
012345
VI (V)
002aae989
80
T = 85 °C
Ipd
25 °C
(μA)
−40 °C
60
40
20
0
012345
VI (V)
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 43 of 74
unpowered 20 - -
year
s
Tcy(clk) × 0.4
tCHCX clock HIGH time - - ns
Tcy(clk) × 0.4
tCLCX clock LOW time - - ns
[2] Typical ratings are not guaranteed. The values listed are at room temperature (25 °C), nominal supply
voltages.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 44 of 74
002aaa907
Fig 21. External clock timing (with an amplitude of at least V i(RMS) = 200 mV)
[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.
002aaf403
12.15
f
(MHz)
VDD = 3.6 V
3.3 V
3.0 V
12.05
2.7 V
2.4 V
2.0 V
11.95
11.85
−40 −15 10 60 35 85 temperature (°C)
Conditions: Frequency values are typical values. 12 MHz ± 1 % accuracy is guaranteed for 2.7 V ≤
VDD ≤ 3.6 V and Tamb = −40 °C to +85 °C. Variations between parts may cause the IRC to fall
outside the 12 MHz ± 1 % accuracy specification for voltages below 2.7 V.
Fig 22. Internal RC oscillator frequency versus temperature
[2][3] - -
DIVSEL = 0x00, FREQSEL = 170 kH
0xF in the WDTOSCCTRL 0 z
register
[1] Typical ratings are not guaranteed. The values listed are at nominal supply voltages.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 45 of 74
[2] The typical frequency spread over processing and temperature (T amb = −40 °C to +85 °C) is ±40 %.
[3] See the LPC11Uxx user manual.
10.5 I2C-bus
Table 15. Dynamic characteristic: I2C-bus pins[1]
Tamb = −40 °C to +85 °C.[2]
20 + 0.1 × Cb
Fast-mode 300 ns
Fast-mode Plus - 120 ns
Fast-mode 1.3 -
μs
Fast-mode 0.6 -
μs
Fast-mode 0 -
μs
Fast-mode Plus 0 -
μs
Fast-mode 100 - ns
Fast-mode Plus 50 - ns
2
[1] See the I C-bus specification UM10204 for details.
[2] Parameters are valid over operating temperature range unless otherwise specified.
[3] A device must internally provide a hold time of at least 300 ns for the SDA signal (with respect to the V IH(min) of the SCL signal) to bridge the
undefined region of the falling edge of SCL.
[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 t VD;DAT or tVD;ACK
by a transition time (see UM10204). This maximum must only be met if the device does not stretch the LOW period (t LOW) 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] tHD;DAT is the data hold time that is measured from the falling edge of SCL; applies to data in transmission and the acknowledge.
[9] 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.
2 2
[10] A Fast-mode I C-bus device can be used in a Standard-mode I C-bus system but the requirement tSU;DAT = 250 ns must then be met. This will
automatically be the case if the device does not stretch the LOW period of the SCL signal. If such a device does stretch the LOW period of the SCL
2
signal, it must output the next data bit to the SDA line t r(max) + tSU;DAT = 1000 + 250 = 1250 ns (according to the Standard-mode I C-bus
specification) before the SCL line is released. Also the acknowledge timing must meet this set-up time.
tf
tSU;DAT
70 %
70 %
30 % SDA
30 %
tHD;DAT
tVD;DAT
tf
tHIGH
70 %
70 %
70 %
70 %
SCL
30 %
30 %
30 %
30 %
tLOW
S
1 / fSCL
002aaf425
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 47 of 74
20 ns
2.0 V ≤ VDD < 2.4 V [2]
24 - - ns
1.8 V ≤ VDD < 2.0 V [2]
[1] Tcy(clk) = (SSPCLKDIV × (1 + SCR) × CPSDVSR) / fmain. The clock cycle time derived from the SPI bit rate T cy(clk) is a function of the main clock
frequency fmain, the SPI peripheral clock divider (SSPCLKDIV), the SPI SCR parameter (specified in the SSP0CR0 register), and the SPI
CPSDVSR parameter (specified in the SPI clock prescale register).
[4] Tamb = 25 °C; for normal voltage supply range: VDD = 3.3 V.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 48 of 74
SCK (CPOL = 0)
SCK (CPOL = 1)
tv(Q)
th(Q)
DATA VALID DATA VALID
MOSI
CPHA = 1
tDS tDH
tv(Q)
th(Q)
DATA VALID DATA VALID
MOSI
CPHA = 0
tDS tDH
002aae829
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 49 of 74
SCK (CPOL = 0)
SCK (CPOL = 1)
tDS tDH
MOSI
DATA VALID DATA VALID
tv(Q)
th(Q)
CPHA = 1
MISO
DATA VALID DATA VALID
tDS tDH
MOSI
DATA VALID DATA VALID
CPHA = 0
tv(Q)
th(Q)
MISO
DATA VALID DATA VALID
002aae830
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 50 of 74
−2
tFDEOP source jitter for differential see Figure 26 - +5 ns
transition to SE0 transition
−18.5
tJR1 receiver jitter to next transition - +18.5 ns
−9
tJR2 receiver jitter for paired transitions 10 % to 90 % - +9 ns
TPERIOD
crossover point
extended
crossover point
differential
data lines
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 51 of 74
NXP Semiconductors LPC11U2x 32-bit ARM Cortex-M0 microcontroller
On the LPC11U2x, the PIO0_3/USB_VBUS pin is 5 V tolerant only when V DD is applied and
at operating voltage level. Therefore, if the USB_VBUS function is connected to the USB
connector and the device is self-powered, the USB_VBUS pin must be protected for
situations when VDD = 0 V.
If VDD is always at operating level while VBUS = 5 V, the USB_VBUS pin can be
connected directly to the VBUS pin on the USB connector.
For systems where VDD can be 0 V and VBUS is directly applied to the VBUS pin,
precautions must be taken to reduce the voltage to below 3.6 V, which is the maximum
allowable voltage on the USB_VBUS pin in this case.
One method is to use a voltage divider to connect the USB_VBUS pin to the VBUS on the
USB connector. The voltage divider ratio should be such that the USB_VBUS pin will be
greater than 0.7VDD to indicate a logic HIGH while below the 3.6 V allowable maximum
voltage.
VBUSmax = 5.25 V
VDD = 3.6 V,
USB_CONNECT
soft-connect switch
R1
1.5 kΩ
LPC1xxx
R2
R3
USB_VBUS
R
S = 33 Ω
USB-B
USB_DP
connector
R
S = 33 Ω
USB_DM
VSS
aaa-010178
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 52 of 74
LPC1xxx
R1
1.5 kΩ
VBUS
USB-B
R
S = 33 Ω
connector USB_DP
R
S = 33 Ω
USB_DM
VSS
aaa-010179
Remark: When a self-powered circuit is used without connecting VBUS, configure the
PIO0_3/USB_VBUS pin for GPIO (PIO0_3) and provide software that can detect the host
presence through some other mechanism before enabling USB_CONNECT and the soft-
connect feature. Enabling the soft-connect without host presence will lead to USB
compliance failure.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 53 of 74
XTALIN
C
i
C
g
100 pF
002aae788
In slave mode, couple the input clock signal with a capacitor of 100 pF (Figure 29), with an
amplitude between 200 mV (RMS) and 1000 mV (RMS). This signal corresponds to a square
wave signal with a signal swing of between 280 mV and 1.4 V. The XTALOUT pin in this
configuration can be left unconnected.
External components and models used in oscillation mode are shown in Figure 30 and in
Table 18 and Table 19. 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 represent the fundamental frequency).
Capacitance CP in Figure 30 represents the parallel package capacitance and must not be
larger than 7 pF. Parameters FOSC, CL, RS and CP are supplied by the crystal
manufacturer.
LPC1xxx
L
XTALIN XTALOUT
C C
= L P
XTAL
R
S
C C
X1 X2
002aaf424
Fig 30. Oscillator modes and models: oscillation mode of operation and external
crystal model used for CX1/CX2 evaluation
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 54 of 74
Table 18. Recommended values for CX1/CX2 in oscillation mode (crystal and external
components parameters) low frequency mode
Fundamental Crystal load Maximum crystal External load
oscillation frequency capacitance CL series resistance RS capacitors CX1, CX2
FOSC
30 pF 57 pF, 57 pF
< 300 Ω
20 pF 39 pF, 39 pF
< 200 Ω
30 pF 57 pF, 57 pF
< 100 Ω
20 pF 39 pF, 39 pF
< 60 Ω
Table 19. Recommended values for CX1/CX2 in oscillation mode (crystal and external
components parameters) high frequency mode
Fundamental Crystal load Maximum crystal External load
oscillation frequency capacitance CL series resistance RS capacitors CX1, CX2
FOSC
20 pF 39 pF, 39 pF
< 100 Ω
20 pF 39 pF, 39 pF
< 80 Ω
• 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 overtone crystal use
have a common ground plane.
• Connect the external components to the ground plain.
• To keep parasitics and the noise coupled in via the PCB as small as possible, keep
loops as small as possible.
• Choose smaller values of Cx1 and Cx2 if parasitics of the PCB layout increase.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 55 of 74
ESD
output enable
pin configured
as digital output
output
PIN
driver
ESD
VDD
VSS
weak
pull-up
pull-up enable
weak
repeater mode
pull-down
pin configured
enable
as digital input
pull-down enable
data input
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 56 of 74
VDD
VDD
Rpu
ESD
20 ns RC
reset
GLITCH FILTER PIN
ESD
VSS
002aaf274
Source
R R
mux sw
R
s
ADC
COMPARATOR
<2 kΩ <1.3 kΩ
R
in
C
ia
V
EXT
C
io
VSS
002aah615
The effective input impedance, Rin, seen by the external voltage source, VEXT, is the
parallel impedance of ((1/fs x Cia) + Rmux + Rsw) and (1/fs x Cio), and can be calculated
using Equation 1 with
fs = sampling frequency
Cia = ADC analog input capacitance
Rmux = analog mux resistance
Rsw = switch resistance
Cio = pin capacitance
++
fs Cia × ----------------- Rmux Rsw ⎝⎠⎛⎞1
Rin1
(1)
----------------- ⎛⎞
fs Cio × ⎝⎠ = ||
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 57 of 74
Under nominal operating condition VDD = 3.3 V and with the maximum sampling
frequency fs = 400 kHz, the parameters assume the following values:
Cia = 1 pF (max)
Rmux = 2 kΩ (max)
Rsw = 1.3 kΩ (max)
Cio = 7.1 pF (max)
The effective input impedance with these parameters is Rin = 308 kΩ.
• The ADC input trace must be short and as close as possible to the LPC11U2x chip. •
Shield The ADC input traces from fast switching digital signals and noisy power
supply lines.
• The ADC and the digital core share the same power supply. Therefore, filter the power
supply line adequately.
• To improve the ADC performance in a noisy environment, put the device in Sleep
mode during the ADC conversion.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 58 of 74
HVQFN33: plastic thermal enhanced very thin quad flat package; no leads;
33 terminals; body 7 x 7 x 0.85 mm
DBA
terminal 1
index area
e1 v AC B detail X C
A
e A1 y1 C y
b
E
c
L 33 e2
1
wC
24
17
Eh e
9 16 8
terminal 1 32 25 X
index area Dimensions
Dh
0 2.5 5 mm scale
mm
Note
max nom min
1.00 0.85 0.80
0.05 0.02 0.00
0.35 0.28 0.23
0.2
7.1 7.0 6.9
4.85 4.70 4.55
7.1 7.0 6.9
4.85 4.70 4.55
0.65 4.55
4.55
0.75 0.60 0.45
0.1
0.05
0.08
0.1
1. Plastic or metal protrusions of 0.075 mm maximum per side are not included. hvqfn33_po
Outline version
References
---
European
IEC JEDEC
projection Issue date
09-03-17
09-03-23
Fig 34. Package outline HVQFN33 (7 x 7 x 0.85 mm)
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 59 of 74
HVQFN33: plastic thermal enhanced very thin quad flat package; no leads;
32 terminals; body 5 x 5 x 0.85 mm
y C
y 1 e
1/2 e
b
v AC B
L E
h 8 17 e
9 16 e
wC 2
mm Note 0.85 0.00 0.18 0.2 4.9 3.45 4.9 3.45 0.5 3.5 3.5 0.3 0.1 0.1 hvqfn33f_po
nom min
1. Plastic or metal protrusions of 0.075 mm maximum per side are not included.
Outline version
References
IEC JEDEC
MO-220
European
projection Issue date
11-10-11
11-10-17
Fig 35. Package outline HVQFN33 (5 x 5 x 0.85 mm)
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 60 of 74
LQFP48: plastic low profile quad flat package; 48 leads; body 7 x 7 x 1.4 mm SOT313-2
c
y
X
37 A Z
E
36 25 24
0 2.5 5 mm scale
DIMENSIONS (mm are the original dimensions) UNITA
Note 0.05 0.17 0.12 6.9 8.85 8.85 0.45 0.55 0.55 0
EUROPEAN
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included. OUTLINE
REFERENCES
VERSION
PROJECTION ISSUE DATE
IEC JEDEC
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 61 of 74
LQFP64: plastic low profile quad flat package; 64 leads; body 10 x 10 x 1.4 mm SOT314-2
c
y
X
48 33
49 e wM 16 B vMA Lp
bp L
D Z
D
32 detail X
Z
E
E
EH A2
A
e (A ) 3
64
pin 1 index
1 θ
wM
17 A1
bp
0 2.5 5 mm scale
0.18 10.1 D
mm 1.6 0.20 1.35 0.25 0.27 1.45 o
HD ZE
10.1 0.75 1.45 1.45 7
9.9 0.5 12.15 12.15
0.05 0.17 0.12 11.85
1 0.2 0.12 0.1 o
EUROPEAN
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included. OUTLINE
REFERENCES
VERSION
PROJECTION ISSUE DATE
IEC JEDEC
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 62 of 74
TFBGA48: plastic thin fine-pitch ball grid array package; 48 balls; body 4.5 x 4.5 x 0.7 mm SOT1155-2
DBA
ball A1
index area
E
AA2
A1
detail X
e1 C
e 1/2 e H e
b G
F
E
Ø v AC B Ø w C e2
y1 C y
0 5 mm scale
Unit A A1 A2 b DE ee1 e2 v w y y1
mm max nom 1.10 0.95 0.30 0.25 0.80 0.70 0.35 0.30 4.6 4.5 4.6 4.5 0.5 3.5 0.15 0.08
min 0.85 0.20 0.65 0.25 4.4 4.4 3.5 0.05 0.1 sot1155-2_po
Outline version
IEC JEDEC
References European
projection Issue date
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 63 of 74
13. Soldering
Footprint information for reflow soldering of HVQFN33 package
Hx
Gx
see detail X
P
nSPx
Ay
Hy Gy By
SLy
nSPy
D
SLx
Bx
Ax
0.60
solder land
0.30
solder paste
detail X
occupied area
Dimensions in mm
Ax Ay Bx C D
By
Gx
Gy
Hx
Hy
SLx SLy nSPx nSPy
P
5.95 5.95 4.25 0.85
4.25 0.27
5.25
5.25
6.2
6.2
3.75 3.75 3 3
0.5
11-11-15
Issue date 002aag766 11-11-20
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 64 of 74
OID = 8.20 OA
PID = 7.25 PA+OA
OwDtot = 5.10 OA
evia = 4.25
0.20 SR
W = 0.30 CU
chamfer (4×)
e = 0.65
GapE = 0.70 SP
evia = 1.05
SPE = 1.00 SP
PIE = 7.25 PA+OA
OwEtot = 5.10 OA
SEhtot = 2.70 SP
EHS = 4.85 CU
OIE = 8.20 OA
LbE = 5.80 CU
LaE = 7.95 CU
evia = 4.25
4.55 SR
0.45 DM
GapD = 0.70 SP
B-side
evia = 2.40
SDhtot = 2.70 SP
Solder resist
covered via
4.55 SR
DHS = 4.85 CU
0.30 PH
LbD = 5.80 CU
0.60 SR cover
LaD = 7.95 CU
0.60 CU
solder land
solder land plus solder paste
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 65 of 74
Hx
Gx
(0.125)
P1
P2
Hy Gy
AyBy
D2 (8⋅) D1
Bx
Ax
solder land
occupied area
DIMENSIONS in mm
P1
P2
Ax Ay Bx By D1 D2 Gx Gy Hx Hy
C
0.500 0.280
0.560 10.350 7.350 7.350
10.350
1.500 0.500 7.500 7.500 10.650 10.650 sot313-2_fr
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 66 of 74
Hx
Hy
see detail X
solder land
0.50 0.225 0.275 0.325 4.75 4.75 sot1155-2_frFig 42. Reflow soldering for the TFBGA48 package
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 67 of 74
(0.125)
P2 P1
Hy Gy
AyBy
D2 (8⋅) D1
Bx
Ax
solder land
occupied area
DIMENSIONS in mm
P1
P2
Ax Ay Bx By D1 D2 Gx Gy Hx Hy
C
0.500
0.560 0.280
13.300 13.300 10.300 10.300
1.500 0.400 10.500 10.500 13.550 13.550 sot314-2_fr
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 68 of 74
14. Abbreviations
Table 20. Abbreviations
Acronym Description
A/D Analog-to-Digital
RC Resistor-Capacitor
15. References
[1] LPC11U2x User manual UM10462:
http://www.nxp.com/documents/user_manual/UM10462.pdf
[2] LPC11U2x Errata sheet:
http://www.nxp.com/documents/errata_sheet/ES_LPC11U2X.pdf
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 69 of 74
NXP Semiconductors LPC11U2x 32-bit ARM Cortex-M0 microcontroller
Modifications: • Updated Section 11.1 “Suggested USB interface solutions” for clarity.
• Open-drain I2C-bus and RESET pin descriptions updated for clarity. See Table 3.
LPC11U2X v.2.1 20130917 Product data sheet - LPC11U2X v.2
Modifications: • Number of CAP and MAT functions for timers updated in Figure 1.
• Table 3: Added “5 V tolerant pad” to RESET/PIO0_0 table note.
• Table 7: Removed BOD interrupt level 0.
• Added Section 11.6 “ADC effective input impedance”.
• Programmable glitch filter is enabled by default. See Section 7.7.1.
• Table 5 “Static characteristics” added Pin capacitance section.
• Updated Section 11.1 “Suggested USB interface solutions”.
• Table 4 “Limiting values”:
– Updated VDD min and max.
– Updated VI conditions.
• Table 10 “EEPROM characteristics”:
– Removed fclk and ter; the user does not have control over these parameters. –
Changed the tprog from 1.1 ms to 2.9 ms; the EEPROM IAP always does an erase and
program, thus the total program time is ter + tprog.
• Changed title of Figure 29 from “USB interface on a self-powered device” to “USB
interface with soft-connect”.
• Section 10.7 “USB interface” added. Parameter tEOPR1 and tEOPR2 renamed to tEOPR.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 70 of 74
Objective [short] data sheet Development This document contains data from the objective specification for product development.
Preliminary [short] data sheet Qualification This document contains data from the preliminary specification.
Product [short] data sheet Production This document contains the product specification.
[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 device(s) described in this document may have changed since this document was published and may differ in case of multiple devices. The latest product status
information is available on the Internet at URL http://www.nxp.com.
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 71 of 74
19. Contents
1 General description . . . . . . . . . . . . . . . . . . . . . . 1 2 7.17.5.1 Power profiles . . . . . . . . . . . . . . . . . . . . . . . . 25
Features and benefits . . . . . . . . . . . . . . . . . . . . 1 3 7.17.5.2 Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 4 Ordering 7.17.5.3 Deep-sleep mode. . . . . . . . . . . . . . . . . . . . . . 25
information. . . . . . . . . . . . . . . . . . . . . 3 4.1 Ordering options . 7.17.5.4 Power-down mode . . . . . . . . . . . . . . . . . . . . . 25
. . . . . . . . . . . . . . . . . . . . . . . 3 5 Block 7.17.5.5 Deep power-down mode . . . . . . . . . . . . . . . . 26
diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 4 6 Pinning 7.17.6 System control . . . . . . . . . . . . . . . . . . . . . . . . 26
information. . . . . . . . . . . . . . . . . . . . . . 5 6.1 7.17.6.1 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 6.2 Pin 7.17.6.2 Brownout detection . . . . . . . . . . . . . . . . . . . . 26
description . . . . . . . . . . . . . . . . . . . . . . . . . 9 7 Functional 7.17.6.3 Code security (Code Read Protection - CRP) 26
description . . . . . . . . . . . . . . . . . . 14 7.1 On-chip flash 7.17.6.4 APB interface . . . . . . . . . . . . . . . . . . . . . . . . . 27
programming memory . . . . . . . 14 7.2 7.17.6.5 AHBLite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 7.3 SRAM . . . 7.17.6.6 External interrupt inputs . . . . . . . . . . . . . . . . . 27 7.18
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 7.4 On-chip Emulation and debugging . . . . . . . . . . . . . . . 28 8 Limiting
ROM . . . . . . . . . . . . . . . . . . . . . . . . . 15 7.5 Memory values . . . . . . . . . . . . . . . . . . . . . . . . 29 9 Static
map. . . . . . . . . . . . . . . . . . . . . . . . . . 15 7.6 Nested Vectored characteristics . . . . . . . . . . . . . . . . . . . 30 9.1 BOD static
Interrupt Controller (NVIC) . 16 7.6.1 Features . . . . . . . . . . . . . characteristics . . . . . . . . . . . . . . . 36 9.2 Power
. . . . . . . . . . . . . . . . 16 7.6.2 Interrupt sources. . . . . . . . . . . . . . consumption . . . . . . . . . . . . . . . . . . . 36 9.3 Peripheral power
. . . . . . . . . 17 7.7 IOCON block . . . . . . . . . . . . . . . . . . . . . . . . . consumption . . . . . . . . . . . 39 9.4 Electrical pin characteristics.
17 7.7.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 7.8 . . . . . . . . . . . . . 41 10 Dynamic
General-Purpose Input/Output GPIO . . . . . . . 17 7.8.1 characteristics. . . . . . . . . . . . . . . . . 44 10.1 Flash
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 7.9 USB memory . . . . . . . . . . . . . . . . . . . . . . . . 44 10.2 External
interface . . . . . . . . . . . . . . . . . . . . . . . . 18 7.9.1 Full-speed clock. . . . . . . . . . . . . . . . . . . . . . . . . 44 10.3 Internal oscillators
USB device controller . . . . . . . . . . 18 7.9.1.1 . . . . . . . . . . . . . . . . . . . . . 45 10.4 I/O pins . . . . . . . . . . . . . . . .
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 7.10 . . . . . . . . . . . . . 46 10.5 I 2C-bus. . . . . . . . . . . . . . . . . . . . . . . . .
USART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 7.10.1 . . . . . 46 10.6 SSP interface . . . . . . . . . . . . . . . . . . . . . . . . . 48
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 7.11 SSP 10.7 USB interface . . . . . . . . . . . . . . . . . . . . . . . . 51 11
serial I/O controller . . . . . . . . . . . . . . . . . 19 7.11.1 Features . . Application information . . . . . . . . . . . . . . . . . 52 11.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . 19 7.12 I 2C-bus serial I/O Suggested USB interface solutions . . . . . . . . 52 11.2 XTAL
controller . . . . . . . . . . . . . . 19 7.12.1 Features . . . . . . . . . . . . . input . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 11.3 XTAL Printed-
. . . . . . . . . . . . . . . . 20 7.13 10-bit Circuit Board (PCB) layout
ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 7.13.1 guidelines. . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 7.14 General 11.4 Standard I/O pad configuration . . . . . . . . . . . 56 11.5
purpose external event Reset pad configuration . . . . . . . . . . . . . . . . . 57 11.6 ADC
counter/timers. . . . . . . . . . . . . . . . . . . . . . . . . 20 effective input impedance . . . . . . . . . . . 57 11.7 ADC usage
7.14.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 7.15 notes. . . . . . . . . . . . . . . . . . . . . . 58 12 Package outline. . . . .
System tick timer . . . . . . . . . . . . . . . . . . . . . . 21 7.16 . . . . . . . . . . . . . . . . . . . 59 13
Windowed WatchDog Timer (WWDT) . . . . . . 21 7.16.1 Soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 14
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.17 Clocking Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 69 15
and power control . . . . . . . . . . . . . . 22 7.17.1 Integrated References. . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 16
oscillators . . . . . . . . . . . . . . . . . . . 22 7.17.1.1 Internal RC Revision history . . . . . . . . . . . . . . . . . . . . . . . 70 17 Legal
oscillator . . . . . . . . . . . . . . . . . . . 23 7.17.1.2 System oscillator
information . . . . . . . . . . . . . . . . . . . . . . 71 17.1 Data sheet
. . . . . . . . . . . . . . . . . . . . . . 24 7.17.1.3 Watchdog
status . . . . . . . . . . . . . . . . . . . . . . 71 17.2
oscillator . . . . . . . . . . . . . . . . . . . . 24 7.17.2 System PLL and
USB PLL . . . . . . . . . . . . . . . 24 7.17.3 Clock output . . . . . . . . . Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 17.3
. . . . . . . . . . . . . . . . . 24 7.17.4 Wake-up process . . . . . . . . . . . Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . 71
. . . . . . . . . . . 24
7.17.5 Power control . . . . . . . . . . . . . . . . . . . . . . . . . 24 continued >>
LPC11U2X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved. Product data sheet Rev. 2.3 — 27 March 2014 73 of 74
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
Mouser Electronics
Authorized Distributor