LPC15XX 1126372 PDF
LPC15XX 1126372 PDF
1. General description
The LPC15xx are ARM Cortex-M3 based microcontrollers for embedded applications
featuring a rich peripheral set with very low power consumption. The ARM Cortex-M3 is a
next generation core that offers system enhancements such as enhanced debug features
and a higher level of support block integration.
The LPC15xx operate at CPU frequencies of up to 72 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.
For additional documentation related to the LPC15xx parts, see Section 17 “References”.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Analog peripherals:
Two 12-bit ADC with up to 12 input channels per ADC and with multiple internal
and external trigger inputs and sample rates of up to 2 Msamples/s. Each ADC
supports two independent conversion sequences. ADC conversion clock can be
the system clock or an asynchronous clock derived from one of the three PLLs.
One 12-bit DAC.
Integrated temperature sensor and band gap internal reference voltage.
Four comparators with external and internal voltage references (ACMP0 to 3).
Comparator outputs are internally connected to the SCTimer/PWMs and ADCs and
externally to pins. Each comparator output contains a programmable glitch filter.
Serial interfaces:
Three USART interfaces with DMA, RS-485 support, autobaud, and with
synchronous mode and 32 kHz mode for wake-up from Deep-sleep and
Power-down modes. The USARTs share a fractional baud-rate generator.
Two SPI controllers.
One I2C-bus interface supporting fast mode and Fast-mode Plus with data rates of
up to 1Mbit/s and with multiple address recognition and monitor mode.
One C_CAN controller.
One USB 2.0 full-speed device controller with on-chip PHY.
Clock generation:
12 MHz internal RC oscillator trimmed to 1 % accuracy for 25 C Tamb +85 C
that can optionally be used as a system clock.
Crystal oscillator with an operating range of 1 MHz to 25 MHz.
Watchdog oscillator with a frequency range of 503 kHz.
32 kHz low-power RTC oscillator with 32 kHz, 1 kHz, and 1 Hz outputs.
System PLL allows CPU operation up to the maximum CPU rate without the need
for a high-frequency crystal. May be run from the system oscillator or the internal
RC oscillator.
Two additional PLLs for generating the USB and SCTimer/PWM clocks.
Clock output function with divider that can reflect the crystal oscillator, the main
clock, the IRC, or the watchdog oscillator.
Power control:
Integrated PMU (Power Management Unit) to minimize power consumption.
Reduced power modes: Sleep mode, Deep-sleep mode, Power-down mode, and
Deep power-down mode.
APIs provided for optimizing power consumption in active and sleep modes and for
configuring Deep-sleep, Power-down, and Deep power-down modes.
Wake-up from Deep-sleep and Power-down modes on activity on USB, USART,
SPI, and I2C peripherals.
Wake-up from Sleep, Deep-sleep, Power-down, and Deep power-down modes
from the RTC alarm or wake-up interrupts.
Timer-controlled self wake-up from Deep power-down mode using the RTC
high-resolution/wake-up 1 kHz timer.
Power-On Reset (POR).
BrownOut Detect BOD).
JTAG boundary scan modes supported.
Unique device serial number for identification.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
3. Applications
4. Ordering information
Table 1. Ordering information
Type number Package
Name Description Version
LPC1549JBD100 LQFP100 plastic low profile quad flat package; 100 leads; body 14 14 1.4 mm SOT407-1
LPC1549JBD64 LQFP64 plastic low profile quad flat package; 64 leads; body 10 10 1.4 mm SOT314-2
LPC1549JBD48 LQFP48 plastic low profile quad flat package; 48 leads; body 7 7 1.4 mm SOT313-2
LPC1548JBD100 LQFP100 plastic low profile quad flat package; 100 leads; body 14 14 1.4 mm SOT407-1
LPC1548JBD64 LQFP64 plastic low profile quad flat package; 64 leads; body 10 10 1.4 mm SOT314-2
LPC1547JBD64 LQFP64 plastic low profile quad flat package; 64 leads; body 10 10 1.4 mm SOT314-2
LPC1547JBD48 LQFP48 plastic low profile quad flat package; 48 leads; body 7 7 1.4 mm SOT313-2
LPC1519JBD100 LQFP100 plastic low profile quad flat package; 100 leads; body 14 14 1.4 mm SOT407-1
LPC1519JBD64 LQFP64 plastic low profile quad flat package; 64 leads; body 10 10 1.4 mm SOT314-2
LPC1518JBD100 LQFP100 plastic low profile quad flat package; 100 leads; body 14 14 1.4 mm SOT407-1
LPC1518JBD64 LQFP64 plastic low profile quad flat package; 64 leads; body 10 10 1.4 mm SOT314-2
LPC1517JBD64 LQFP64 plastic low profile quad flat package; 64 leads; body 10 10 1.4 mm SOT314-2
LPC1517JBD48 LQFP48 plastic low profile quad flat package; 48 leads; body 7 7 1.4 mm SOT313-2
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
5. Marking
n
n
Terminal 1 index area 1 1
aaa-011231 Terminal 1 index area aaa-011232
The LPC15xx devices typically have the following top-side marking for LQFP100
packages:
LPC15xxJxxx
Xxxxxx xx
xxxyywwxxx
The LPC15xx devices typically have the following top-side marking for LQFP64 packages:
LPC15xxJ
Xxxxxx xx
xxxyywwxxx
The LPC15xx devices typically have the following top-side marking for LQFP48 packages:
LPC15xxJ
Xxxxxx
Xxxyy
wwxxx
Field ‘yy’ states the year the device was manufactured. Field ‘ww’ states the week the
device was manufactured during that year.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
6. Block diagram
LPC15xx
PROCESSOR CORE
ARM TEST/DEBUG INTERFACE
NVIC MPU SWD/ETM SYSTICK
CORTEX-M3
HS GPIO MEMORY
ANALOG PERIPHERALS
ACMP0/ ACMP1 ACMP2 ACMP3
TEMPERATURE
SENSOR 12-bit ADC0 12-bit ADC1
SWM
n
pads SCTIMER/PWM/MOTOR CONTROL SUBSYSTEM
DMA TRIGGER
SCTIPU
SERIAL PERIPHERALS
TIMERS
MRT RIT WWDT RTC
CLOCK
GENERATION PRECISION WATCHDOG SYSTEM RTC
IRC OSCILLATOR OSCILLATOR OSCILLATOR
SYSTEM/MEMORY CONTROL
aaa-010869
Grey-shaded blocks show peripherals that can provide hardware triggers for DMA transfers or have DMA request lines.
Fig 3. LPC15xx Block diagram
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
7. Pinning information
7.1 Pinning
28 PIO0_17/WAKEUP/TRST
29 SWCLK/ PIO0_19/TCK
34 RESET/PIO0_21
32 RTCXOUT
25 XTALOUT
36 USB_DM
35 USB_DP
31 RTCXIN
26 XTALIN
30 VBAT
VSS 40 21 PIO0_13/ADC1_6
VSS 41 20 VSS
VDD 42 LPC1547JBD48 19 PIO0_12/DAC_OUT
PIO0_24/SCT0_OUT6 43 LPC1549JBD48 18 PIO0_11/ADC1_3
PIO0_25/ACMP0_I4 44 17 VSSA
PIO0_9/ADC1_1/TDI 12
VREFN 11
PIO0_0/ADC0_10/ SCT0_OUT3 1
PIO0_1/ADC0_7/ SCT0_OUT4 2
PIO0_2/ADC0_6/ SCT1_OUT3 3
PIO0_3/ADC0_5/ SCT1_OUT4 4
PIO0_4/ADC0_4 5
PIO0_5/ADC0_3 6
PIO0_6/ADC0_2/ SCT2_OUT3 7
PIO0_7/ADC0_1 8
PIO0_8/ADC0_0/TDO 9
aaa-009352
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
28 PIO0_17/WAKEUP/TRST
29 SWCLK/ PIO0_19/TCK
34 RESET/PIO0_21
32 RTCXOUT
25 XTALOUT
36 PIO2_13
35 PIO2_12
31 RTCXIN
26 XTALIN
30 VBAT
27 VDD
PIO0_22/I2C0_SCL 37 24 PIO0_16/ADC1_9
PIO0_23/I2C0_SDA 38 23 PIO0_15/ADC1_8
VDD 39 22 PIO0_14/ADC1_7/ SCT1_OUT5
VSS 40 21 PIO0_13/ADC1_6
VSS 41 20 VSS
PIO0_25/ACMP0_I4 44 17 VSSA
PIO0_26/ACMP0_I3/ SCT3_OUT3 45 16 VDDA
PIO0_27/ACMP_I1 46 15 PIO0_10/ADC1_2
PIO0_28/ACMP1_I3 47 14 VREFP_DAC_VDDCMP
PIO0_29/ACMP2_I3/ SCT2_OUT4 48 13 PIO0_18/ SCT0_OUT5
VREFP_ADC 10
PIO0_9/ADC1_1/TDI 12
VREFN 11
PIO0_0/ADC0_10/ SCT0_OUT3 1
PIO0_1/ADC0_7/ SCT0_OUT4 2
PIO0_2/ADC0_6/ SCT1_OUT3 3
PIO0_3/ADC0_5/ SCT1_OUT4 4
PIO0_4/ADC0_4 5
PIO0_5/ADC0_3 6
PIO0_6/ADC0_2/ SCT2_OUT3 7
PIO0_7/ADC0_1 8
PIO0_8/ADC0_0/TDO 9
aaa-009354
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
39 PIO0_17/WAKEUP
40 SWCLK/ PIO0_19
44 SWDIO/ PIO0_20
45 RESET/PIO0_21
43 RTCXOUT
35 XTALOUT
48 USB_DM
47 USB_DP
38 PIO1_11
42 RTCXIN
36 XTALIN
46 PIO1_6
34 PIO1_5
33 PIO1_4
41 VBAT
37 VDD
PIO0_22 49 32 PIO0_16
PIO0_23 50 31 PIO0_15
PIO1_7 51 30 PIO0_14
VDD 52 29 PIO0_13
PIO1_8 53 28 PIO1_3
PIO1_9 54 27 VSS
VSS 55 26 VSS
VSS 56 LPC1549JBD64 25 PIO1_2
LPC1548JBD64
VDD 57 LPC1547JBD64 24 PIO0_12
PIO0_24 58 23 PIO0_11
PIO1_10 59 22 VDD
PIO0_25 60 21 VSSA
PIO0_26 61 20 VDDA
PIO0_27 62 19 PIO0_10
PIO0_28 63 18 VREFP_DAC_VDDCMP
PIO0_29 64 17 PIO0_18
PIO0_6 10
PIO0_8 12
VREFP_ADC 13
VREFN 14
PIO1_1 15
PIO0_9 16
PIO0_7 11
PIO0_30 1
PIO0_0 2
PIO0_31 3
PIO1_0 4
PIO0_1 5
PIO0_2 6
PIO0_3 7
PIO0_4 8
PIO0_5 9
aaa-009353
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
39 PIO0_17/WAKEUP
40 SWCLK/ PIO0_19
44 SWDIO/ PIO0_20
45 RESET/PIO0_21
43 RTCXOUT
35 XTALOUT
48 PIO2_13
47 PIO2_12
38 PIO1_11
42 RTCXIN
36 XTALIN
46 PIO1_6
34 PIO1_5
33 PIO1_4
41 VBAT
37 VDD
PIO0_22 49 32 PIO0_16
PIO0_23 50 31 PIO0_15
PIO1_7 51 30 PIO0_14
VDD 52 29 PIO0_13
PIO1_8 53 28 PIO1_3
PIO1_9 54 27 VSS
VSS 55 26 VSS
VSS 56 LPC1519JBD64 25 PIO1_2
LPC1518JBD64
VDD 57 LPC1517JBD64 24 PIO0_12
PIO0_24 58 23 PIO0_11
PIO1_10 59 22 VDD
PIO0_25 60 21 VSSA
PIO0_26 61 20 VDDA
PIO0_27 62 19 PIO0_10
PIO0_28 63 18 VREFP_DAC_VDDCMP
PIO0_29 64 17 PIO0_18
PIO0_6 10
PIO0_8 12
VREFP_ADC 13
VREFN 14
PIO1_1 15
PIO0_9 16
PIO0_7 11
PIO0_30 1
PIO0_0 2
PIO0_31 3
PIO1_0 4
PIO0_1 5
PIO0_2 6
PIO0_3 7
PIO0_4 8
PIO0_5 9
aaa-009376
51
76 50
LPC1548JBD100
LPC1518JBD100
100 26
25
1
aaa-009351
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
The switch matrix enables certain fixed-pin functions that can only reside on specific pins
(see Table 3) and assigns all other pin functions (movable functions) to any available pin
(see Table 4), so that the pinout can be optimized for a given application.
The input multiplexer provides many choices (pins and internal signals) for selecting the
inputs of the SCTimer/PWMs and the frequency measure block. Pins that are connected
to the input multiplexer are listed in Table 5. If a pin is selected in the input multiplexer, it is
directly connected to the peripheral input without being routed through the switch matrix.
Independently of being selected in the input multiplexer, the same pin can also be
assigned by the switch matrix to another peripheral input.
Four pins can also be connected directly to the SCTIPU and at the same time be inputs to
the input multiplexer and the switch matrix (see Table 5).
LQFP64
state[1]
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LQFP100
LQFP48
LQFP64
state[1]
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LQFP100
LQFP48
LQFP64
state[1]
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LQFP100
LQFP48
LQFP64
state[1]
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LQFP100
LQFP48
LQFP64
state[1]
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LQFP100
LQFP48
LQFP64
state[1]
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LQFP100
LQFP48
LQFP64
state[1]
[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 providing digital I/O functions with configurable pull-up/pull-down resistors, configurable hysteresis, and analog input.
When configured as analog input, digital section of the pad is disabled and the pin is not 5 V tolerant. This pin includes a 10 ns on/off
glitch filter. By default, the glitch filter is turned on.
[3] This pin is not 5 V tolerant due to special analog functionality. When configured for a digital function, this pin is 3 V tolerant and provides
standard digital I/O functions with configurable internal pull-up and pull-down resistors and hysteresis. When configured for DAC_OUT,
the digital section of the pin is disabled and this pin is a 3 V tolerant analog output. This pin includes a 10 ns on/off glitch filter. By default,
the glitch filter is turned on.
[4] 5 V tolerant pad providing digital I/O functions with configurable pull-up/pull-down resistors, and configurable hysteresis. This pin
includes a 10 ns on/off glitch filter. By default, the glitch filter is turned on. This pin is powered in deep power-down mode and can wake
up the part. The wake-up pin function can be disabled and the pin can be used for other purposes, if the RTC is enabled for waking up
the part from Deep power-down mode.
[5] 5 V tolerant pad providing digital I/O functions with configurable pull-up/pull-down resistors and configurable hysteresis.
[6] 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.
[7] I2C-bus pin compliant with the I2C-bus specification for I2C standard mode, I2C Fast-mode, and I2C 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.
[8] 5 V tolerant pad providing digital I/O functions with configurable pull-up/pull-down resistors and configurable hysteresis; includes
high-current output driver.
[9] Special analog pin.
[10] 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.
[11] When the main 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). XTALOUT should be left floating.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LQFP64
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LQFP100
LQFP48
LQFP64
PIO1_7/ACMP3_I4 - 51 81 SCT0 input multiplexer
PIO1_11 - 38 58 SCT3 input multiplexer
SCTIPU input SAMPLE_IN_A2
PIO1_12 - - 9 SCT0 input multiplexer
PIO1_13 - - 11 SCT0 input multiplexer
PIO1_15 - - 12 SCT1 input multiplexer
PIO1_16 - - 18 SCT1 input multiplexer
PIO1_18 - - 25 SCT2 input multiplexer
PIO1_19 - - 29 SCT2 input multiplexer
PIO1_21 - - 37 SCT3 input multiplexer
PIO1_22 - - 38 SCT3 input multiplexer
PIO1_26 - - 48 SCTIPU input SAMPLE_IN_A3
PIO1_27 - - 50 FREQMEAS
8. Functional description
Pipeline techniques are employed so that all parts of the processing and memory systems
can operate continuously. Typically, while one instruction is being executed, its successor
is being decoded, and a third instruction is being fetched from memory.
The MPU allows separating processing tasks by disallowing access to each other's data,
disabling access to memory regions, allowing memory regions to be defined as read-only
and detecting unexpected memory accesses that could potentially break the system.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
The MPU separates the memory into distinct regions and implements protection by
preventing disallowed accesses. The MPU supports up to eight regions each of which can
be divided into eight subregions. Accesses to memory locations that are not defined in the
MPU regions, or not permitted by the region setting, will cause the Memory Management
Fault exception to take place.
The flash memory is divided into 4 kB sectors with each sector consisting of 16 pages.
Individual pages of 256 byte each can be erased using the IAP erase page command.
The ISP pin assignment is different for each package, so that the fewest functions
possible are blocked. No more than four pins must be set aside for entering ISP in any
ISP mode. The boot code assigns two ISP pins for each package, which are probed when
the part boots to determine whether or not to enter ISP mode. Once the ISP mode has
been determined, the boot loader configures the necessary serial pins for each package.
Pins which are not configured by the boot loader for the selected boot mode (for example
CAN0_RD and CAN0_TD in USART mode) can be assigned to any function through the
switch matrix.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
8.4 EEPROM
The LPC15xx contain 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.
8.5 SRAM
The LPC15xx contain a total 36 kB, 20 kB or 12 kB of contiguous, on-chip static RAM
memory. For each SRAM configuration, the SRAM is divided into three blocks: 2 x 16 kB +
4 kB for 36 kB SRAM, 2 x 8 kB + 4 kB for 20 kB SRAM, and 2 x 4 kB + 4 kB for 12 kB
SRAM. The bottom 16 kB, 8 kB, or 4 kB are enabled by the bootloader and cannot be
disabled. The next two SRAM blocks in each configuration can be disabled or enabled
individually in the SYSCON block to save power.
• In-System Programming (ISP) and In-Application Programming (IAP) support for flash
including IAP erase page command.
• IAP support for EEPROM.
• Flash updates via USB and C_CAN supported.
• USB API (HID, CDC, and MSC drivers).
• DMA, I2C, USART, SPI, and C_CAN drivers.
• Power profiles for configuring power consumption and PLL settings.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
TEST/DEBUG
INTERFACE
ARM
CORTEX-M3 USB DMA masters
slaves
FLASH
SRAM0
SRAM1
SRAM2
ROM
EEPROM
HS GPIO
SCTIMER0/PWM
SCTIMER1/PWM
SCTIMER2/PWM
SCTIMER3/PWM
CRC
AHB-TO-APB
BRIDGE0
ADC0 DAC ACMP INPUT MUX RTC
AHB-TO-APB
BRIDGE1
AHB MULTILAYER MATRIX
ADC1 MRT PINT GINT0 GINT1
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
APB peripherals
0x400F 0000
31 EEPROM CTRL
0x400F C000
30 IOCON
0x400F 8000
29 reserved
0x400F 4000
28 C_CAN
LPC15xx 0x400F 0000
4 GB 0xFFFF FFFF 27 reserved
0x400E C000
reserved 26 reserved
0x400E 8000
0xE010 0000 25:17 reserved
private peripheral bus 0x400C 4000
0xE000 0000 16 USART2
0x400C 0000
reserved 15 flash ctrl FMC
0x400B C000
14 SCTIPU
0x400F 0000 0x400B 8000
APB peripherals 1 13 RIT
0x4008 0000 0x400B 4000
12 reserved
APB peripherals 0 0x400B 0000
0x4000 0000 11 GINT1
0x400A C000
reserved GINT0
10
0x1C02 8000 0x400A 8000
9 PINT
SCTimer3/PWM 0x400A 4000
0x1C02 4000 MRT
8
SCTimer2/PWM 0x400A 0000
0x1C02 0000 7:1 reserved
0x4008 4000
SCTimer1/PWM 0 ADC1
0x1C01 C000 0x4008 0000
SCTimer0/PWM 0x4008 0000
0x1C01 8000 31:30 reserved
0x4007 8000
reserved 29 SYSCON
0x1C01 4000 0x4007 4000
28:23 reserved
CRC 0x4005 C000
0x1C01 0000 22 QEI
USB 0x4005 8000
0x1C00 C000 21 reserved
reserved 0x4005 4000
0x1C00 8000 20 I2C0
0x4005 0000
DMA 19 SPI1
0x1C00 4000
0x4004 C000
GPIO 18 SPI0
0x1C00 0000 0x4004 8000
reserved 17 USART1
0x1000 0000 0x4004 4000
reserved 16 USART0
0x0320 1000 0x4004 0000
15 PMU
4 kB EEPROM 0x4003 C000
0x0320 0000 switch matrix SWM
14
reserved 0x4003 8000
0x0300 8000 13:12 reserved
32 kB boot ROM 0x4003 0000
0x0300 0000 11 WWDT
0x4002 C000
10 RTC
reserved 0x4002 8000
9:7 reserved
0x0200 9000 0x4001 C000
36 kB SRAM (LPC1549/19) 6 reserved
0x0200 5000 0x4001 8000
20 kB SRAM (LPC1548/18) 5 INPUT MUX
0x4001 4000
0x0200 3000 4:3 reserved
12 kB SRAM (LPC1547/17) 0x4000 C000
0x0200 0000 2 analog comparators ACMP
0x4000 8000
1 DAC
reserved 0x4000 4000
0x0004 0000 0 ADC0
0x4000 0000
256 kB flash 0x0000 00C0
active interrupt vectors
0x0000 0000
0 GB 0x0000 0000 aaa-010871
8.9.1 Features
• Nested Vectored Interrupt Controller that is an integral part of the ARM Cortex-M3.
• Tightly coupled interrupt controller provides low interrupt latency.
• Controls system exceptions and peripheral interrupts.
• The NVIC supports 47 vectored interrupts.
• Eight programmable interrupt priority levels with hardware priority level masking.
• Software interrupt generation using the ARM exceptions SVCall and PendSV.
• Support for NMI.
• ARM Cortex-M3 Vector table offset register VTOR implemented.
Remark: The pin function and whether the pin operates in digital or analog mode are
entirely under the control of the switch matrix.
Enabling an analog function through the switch matrix disables the digital pad. However,
the internal pull-up and pull-down resistors as well as the pin hysteresis must be disabled
to obtain an accurate reading of the analog input.
8.10.1 Features
• Programmable pull-up, pull-down, or repeater mode.
• All pins (except PIO0_22 and PIO0_23) are pulled up to 3.3 V (VDD = 3.3 V) if their
pull-up resistor is enabled.
• Programmable pseudo open-drain mode.
• Programmable (on/off) 10 ns glitch filter on 36 pins (PIO0_0 to PIO0_17, PIO0_25 to
PIO0_31, PIO1_0 to PIO1_10). The glitch filter is turned on by default.
• Programmable hysteresis.
• Programmable input inverter.
• Digital filter with programmable filter constant on all pins.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
VDD VDD
open-drain enable
strong ESD
output enable
pull-up
VSS
VDD
weak
pull-up
pull-up enable
weak
repeater mode
pull-down
enable
pull-down enable
pin configured
as analog input aaa-010776
Functions that need specialized pads like the ADC or analog comparator inputs can be
enabled or disabled through the switch matrix. These functions are called fixed-pin
functions and cannot move to other pins. The fixed-pin functions are listed in Table 3. If a
fixed-pin function is disabled, any other movable function can be assigned to this pin.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
8.12.1 Features
• Bit level port registers allow a single instruction to set and clear any number of bits in
one write operation.
• Direction control of individual bits.
The pattern match engine can be used, in conjunction with software, to create complex
state machines based on pin inputs.
Any digital pin on ports 0 and 1 can be configured through the SYSCON block as input to
the pin interrupt or pattern match engine. The registers that control the pin interrupt or
pattern match engine are located on the IO+ bus for fast single-cycle access.
8.13.1 Features
• Pin interrupts
– Up to eight pins can be selected from all digital pins on ports 0 and 1 as edge- or
level-sensitive interrupt requests. Each request creates a separate interrupt in the
NVIC.
– Edge-sensitive interrupt pins can interrupt on rising or falling edges or both.
– Level-sensitive interrupt pins can be HIGH- or LOW-active.
– Pin interrupts can wake up the part from sleep mode, deep-sleep mode, and
power-down mode.
• Pin interrupt pattern match engine
– Up to 8 pins can be selected from all digital pins on ports 0 and 1 to contribute to a
boolean expression. The boolean expression consists of specified levels and/or
transitions on various combinations of these pins.
– Each minterm (product term) comprising the specified boolean expression can
generate its own, dedicated interrupt request.
– Any occurrence of a pattern match can be programmed to also generate an RXEV
notification to the ARM CPU.
– The pattern match engine does not facilitate wake-up.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
The GPIO grouped interrupt registers also select whether the interrupt output will be level
or edge triggered and whether it will be based on the OR or the AND of all of the enabled
inputs.
When the designated pattern is detected on the selected input pins, the GPIO grouped
interrupt block generates an interrupt. If the part is in a power-savings mode, it first
asynchronously wakes the part up prior to asserting the interrupt request. The interrupt
request line can be cleared by writing a one to the interrupt status bit in the control
register.
8.14.1 Features
• Two group interrupts are supported to reflect two distinct interrupt patterns.
• The inputs from any number of digital pins can be enabled to contribute to a combined
group interrupt.
• The polarity of each input enabled for the group interrupt can be configured HIGH or
LOW.
• Enabled interrupts can be logically combined through an OR or AND operation.
• The grouped interrupts can wake up the part from sleep, deep-sleep or power-down
modes.
8.15.1 Features
• 18 channels with 14 channels connected to peripheral request inputs.
• DMA operations can be triggered by on-chip events. Each DMA channel can select
one trigger input from 24 sources through the input multiplexer.
• Priority is user selectable for each channel.
• Continuous priority arbitration.
• Address cache with four entries.
• Efficient use of data bus.
• Supports single transfers up to 1,024 words.
• Address increment options allow packing and/or unpacking data.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
The ADCs and analog comparators also support input multiplexing using source selection
registers as part of their configuration registers.
The Universal Serial Bus (USB) is a 4-wire bus that supports communication between a
host and one or more (up to 127) peripherals. The host controller allocates the USB
bandwidth to attached devices through a token-based protocol. The bus supports
hot-plugging and dynamic configuration of the devices. All transactions are initiated by the
host controller.
The USB interface consists of a full-speed device controller with on-chip PHY (PHYsical
layer) for device functions.
Remark: Configure the part in default power mode with the power profiles before using
the USB (see Section 8.40.1). Do not use the USB when the part runs in performance,
efficiency, or low-power mode.
[Link] Features
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
8.18 USART0/1/2
Remark: All USART functions are movable functions and are assigned to pins through
the switch matrix. Do not connect USART functions to the open-drain pins PIO0_22 and
PIO0_23.
Interrupts generated by the USART peripherals can wake up the part from Deep-sleep
and power-down modes if the USART is in synchronous mode, the 32 kHz mode is
enabled, or the CTS interrupt is enabled.
8.18.1 Features
• Maximum bit rates of 4.5 Mbit/s in asynchronous mode, 15 Mbit/s in synchronous
mode master mode, and 18 Mbit/s in synchronous slave mode.
• 7, 8, or 9 data bits and 1 or 2 stop bits.
• Synchronous mode with master or slave operation. Includes data phase selection and
continuous clock option.
• Multiprocessor/multidrop (9-bit) mode with software address compare.
• RS-485 transceiver output enable.
• Autobaud mode for automatic baud rate detection
• Parity generation and checking: odd, even, or none.
• Software selectable oversampling from 5 to 16 clocks in asynchronous mode.
• One transmit and one receive data buffer.
• RTS/CTS for hardware signaling for automatic flow control. Software flow control can
be performed using Delta CTS detect, Transmit Disable control, and any GPIO as an
RTS output.
• Received data and status can optionally be read from a single register
• Break generation and detection.
• Receive data is 2 of 3 sample "voting". Status flag set when one sample differs.
• Built-in Baud Rate Generator with auto-baud function.
• A fractional rate divider is shared among all USARTs.
• Interrupts available for Receiver Ready, Transmitter Ready, Receiver Idle, change in
receiver break detect, Framing error, Parity error, Overrun, Underrun, Delta CTS
detect, and receiver sample noise detected.
• Loopback mode for testing of data and flow control.
• In synchronous slave mode, wakes up the part from deep-sleep and power-down
modes.
• Special operating mode allows operation at up to 9600 baud using the 32 kHz RTC
oscillator as the UART clock. This mode can be used while the device is in
Deep-sleep or Power-down mode and can wake-up the device when a character is
received.
• USART transmit and receive functions work with the system DMA controller.
8.19 SPI0/1
All SPI functions are movable functions and are assigned to pins through the switch
matrix. Do not connect SPI functions to the open-drain pins PIO0_22 and PIO0_23.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
8.19.1 Features
• Maximum data rates of 17 Mbit/s in master mode and slave mode for SPI functions
connected to all digital pins except PIO0_22 and PIO0_23.
• Data transmits of 1 to 16 bits supported directly. Larger frames supported by software.
• Master and slave operation.
• Data can be transmitted to a slave without the need to read incoming data. This can
be useful while setting up an SPI memory.
• Control information can optionally be written along with data. This allows very
versatile operation, including “any length” frames.
• Up to four Slave Select input/outputs with selectable polarity and flexible usage.
• Supports DMA transfers: SPIn transmit and receive functions work with the system
DMA controller.
Remark: Texas Instruments SSI and National Microwire modes are not supported.
The I2C-bus functions are fixed-pin functions and must be enabled through the switch
matrix on the open-drain pins PIO0_22 and PIO0_23.
8.20.1 Features
• Supports standard and fast mode with data rates of up to 400 kbit/s.
• Supports Fast-mode Plus with bit rates up to 1 Mbit/s.
• Fail-safe operation: When the power to an I2C-bus device is switched off, the SDA
and SCL pins connected to the I2C-bus are floating and do not disturb the bus.
• Independent Master, Slave, and Monitor functions.
• Supports both Multi-master and Multi-master with Slave functions.
• Multiple I2C slave addresses supported in hardware.
• One slave address can be selectively qualified with a bit mask or an address range in
order to respond to multiple I2C bus addresses.
• 10-bit addressing supported with software assist.
• Supports SMBus.
• Supported by on-chip ROM API.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
8.21 C_CAN
Controller Area Network (CAN) is the definition of a high performance communication
protocol for serial data communication. The C_CAN controller is designed to provide a full
implementation of the CAN protocol according to the CAN Specification Version 2.0B. The
C_CAN controller can build powerful local networks with low-cost multiplex wiring by
supporting distributed real-time control with a high level of reliability.
The C_CAN functions are movable functions and are assigned to pins through the switch
matrix. Do not connect C_CAN functions to the open-drain pins PIO0_22 and PIO0_23.
8.21.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-test operation.
Combining the PWM functions with the analog functions, the PWM output can react to
control signals like comparator outputs or the ADC interrupts. The SCT IPU adds
emergency shut-down functions and pre-processing of controlling events. For an overview
of the PWM subsystem, see Figure 12 “PWM-Analog subsystem”.
For high-speed PWM functionality, use only outputs that are fixed-pin functions to
minimize pin-to-pin differences in output skew. See also Table 22 “SCTimer/PWM output
dynamic characteristics”. This reduces the number of PWM outputs to five for each large
SCT.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
ADC0/ADC1
4
ANALOG IN
THRESHOLD CROSSING
INTERRUPTS
TRIGGER
SWITCH MATRIX
SCT0/1/2/3
SWITCH MATRIX
8 x PWM OUT
INPUT MUX
MATCH/ SCT1
VDDA DIVIDER TIMER1
MATCHRELOAD OUTPUTS
TEMP SENSOR 6 x PWM OUT
MATCH/ SCT2
VOLTAGE TIMER2
MATCHRELOAD OUTPUTS
REFERENCE SCT IPU
6 x PWM OUT
MATCH/ SCT3
TIMER3
MATCHRELOAD OUTPUTS
ACMP0
ANALOG IN
OUTPUTS
ACMP1
ACMP2
ACMP3
aaa-010873
For an overview of the subsystem, see Figure 13 “Subsystem with timers, switch matrix,
DMA, and analog components”.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
DMA
digital signal from/to pins analog peripheral
INPUT MUX
analog signal from/to pins digital peripheral
digital signal internal
analog signal internal
4
ADC0/ADC1
THRESHOLD CROSSING
ANALOG IN
INTERRUPTS
NVIC
SWITCH MATRIX
TRIGGER
TIMER0 (SCT0)
VDDA DIVIDER
INPUT MUX
OUTPUTS
TEMP SENSOR TIMER1 (SCT1)
VOLTAGE
REFERENCE SCT IPU TIMER2 (SCT2)
TIMER3 (SCT3)
SWITCH MATRIX
ACMP0
ANALOG IN
OUTPUTS
ACMP1
ACMP2
ACMP3
DAC_SHUTOFF DAC
aaa-010874
Fig 13. Subsystem with timers, switch matrix, DMA, and analog components
[Link] Features
The following feature list summarizes the configuration for the two large SCTs. Each large
SCT has a companion small SCT (see Section 8.22.4) with fewer inputs and outputs and
a reduced feature set.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Inputs and outputs on the SCTimer0/PWM and SCTimer1/PWM are configured as follows:
• 8 inputs
– 7 inputs. Each input except input 7 can select one of 23 sources from an input
multiplexer.
– One input connected directly to the SCT PLL for a high-speed dedicated clock
input.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
[Link] Features
The following feature list summarizes the configuration for the two small SCTs. Each small
SCT has a companion large SCT (see Section 8.22.3) with more inputs and outputs and a
dither engine.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
– The following conditions define an event: a counter match condition, an input (or
output) condition, a combination of a match and/or and input/output condition in a
specified state.
– Selected events can limit, halt, start, or stop a counter.
– Events control state changes, outputs, interrupts, 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 another qualifying event occurs.
• State control features:
– A state is defined by events that can take place in the state while the counter is
running.
– A state changes into another state as result of an event.
– Each event can be assigned to one or more states.
– State variable allows sequencing across multiple counter cycles.
• Integrated with an input pre-processing unit (SCTIPU) to combine or delay input
events.
Inputs and outputs on the SCTimer2/PWM and SCTimer3/PWM are configured as follows:
In addition, the SCTIPU can generate a common signal from several combined input
sources that can be selected on all SCT inputs. Such a mechanism can be useful to
create an abort signal that stops all timers.
[Link] Features
The SCTIPU pre-processes inputs to the State-Configurable Timers (SCT).
• Four outputs created from a selection of input transitions. Each output can be used as
abort input to the SCTs or for any other application which requires a collection of
multiple SCT inputs to trigger an identical SCT response.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
• Four registers to indicate which specific input sources caused the abort input to the
SCTs.
• Four additional outputs which can be sampled at certain times and latched at others
before being routed to SCT inputs.
• Nine abort inputs. Any combination of the abort inputs can trigger the dedicated abort
input of each SCT.
8.23.1 Features
• Tracks encoder position.
• Increments/decrements depending on direction.
• Programmable for 2 or 4 position counting.
• Velocity capture using built-in timer.
• Velocity compare function with “less than” interrupt.
• Uses 32-bit registers for position and velocity.
• Three position-compare registers with interrupts.
• Index counter for revolution counting.
• Index compare register with interrupts.
• Can combine index and position interrupts to produce an interrupt for whole and
partial revolution displacement.
• Digital filter with programmable delays for encoder input signals.
• Can accept decoded signal inputs (clock and direction).
The ADC supports a variable clocking scheme with clocking synchronous to the system
clock or independent, asynchronous clocking for high-speed conversions.
The ADC includes a hardware threshold compare function with zero-crossing detection.
The threshold crossing interrupt is connected internally to the SCT inputs for tight timing
control between the ADC and the SCTs.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
8.24.1 Features
• 12-bit successive approximation analog-to-digital converter.
• 12-bit conversion rate of 2 MHz.
• Input multiplexing among 12 pins and up to 4 internal sources.
• Internal sources are the temperature sensor voltage, internal reference voltage, core
voltage regulator output, and VDDA/2.
• Two configurable conversion sequences with independent triggers.
• Optional automatic high/low threshold comparison and zero-crossing detection.
• Power-down mode and low-power operating mode.
• Measurement range VREFN to VREFP (typically 3 V; not to exceed VDDA voltage
level).
• Burst conversion mode for single or multiple inputs.
• Synchronous or asynchronous operation. Asynchronous operation maximizes
flexibility in choosing the ADC clock frequency, Synchronous mode minimizes trigger
latency and can eliminate uncertainty and jitter in response to a trigger.
The DAC includes an optional automatic hardware shut-off feature which forces the DAC
output voltage to zero while a HIGH level on the external DAC_SHUTOFF pin is detected.
8.25.1 Features
• 12-bit digital-to-analog converter.
• Supports DMA.
• Internal timer or pin external trigger for staged, jitter-free DAC
conversion sequencing.
• Automatic hardware shut-off triggered by an external pin.
The analog inputs to the comparators are fixed-pin functions and must be enabled through
the switch matrix.
The outputs of each analog comparator are internally connected to the ADC trigger inputs
and to the SCT inputs, so that the result of a voltage comparison can trigger a timer
operation or an analog-to-digital conversion.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
8.26.1 Features
• Seven selectable inputs. Fully configurable on either the positive side or the negative
input channel.
• 32-stage voltage ladder internal reference for selectable voltages on each
comparator; configurable on either positive or negative comparator input.
• Voltage ladder source voltage is selectable from an external pin or the 3.3 V analog
voltage supply.
• 0.9 V internal band gap reference voltage selectable as either positive or negative
input on each comparator.
• Temperature sensor voltage selectable as either positive or negative input on each
comparator.
• Voltage ladder can be separately powered down for applications only requiring the
comparator function.
• Individual comparator outputs can be connected internally to the SCT and ADC trigger
inputs or the external pins.
• Separate interrupt for each comparator.
• Pin filter included on each comparator output.
• Three propagation delay values are programmable to optimize between speed and
power consumption.
• Relaxation oscillator circuitry output for a 555 style timer operation using comparator
blocks 0 and 1.
After power-up, the temperature sensor output must be allowed to settle to its stable value
before it can be used as an accurate ADC input.
For an accurate measurement of the temperature sensor by the ADC, the ADC must be
configured in single-channel burst mode. The last value of a nine-conversion (or more)
burst provides an accurate result.
• When the supply voltage VDD is known accurately, the internal voltage reference can
be used to reduce the offset error EO of the ADC code output. The ADC error
correction then increases the accuracy of temperature sensor voltage output
measurements.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
• When the ADC is accurately calibrated, the internal voltage reference can be used to
measure the power supply voltage. This requires calibration by recording the ADC
code of the internal voltage reference at different power supply levels yielding a
different ADC code value for each supply voltage level. In a particular application, the
internal voltage reference can be measured and the actual power supply voltage can
be determined from the stored calibration values. The calibration values can be stored
in the EEPROM for easy access.
After power-up, the internal voltage reference must be allowed to settle to its stable value
before it can be used as an ADC reference voltage input.
For an accurate measurement of the internal voltage reference by the ADC, the ADC must
be configured in single-channel burst mode. The last value of a nine-conversion (or more)
burst provides an accurate result.
8.29.1 Features
• 24-bit interrupt timer
• Four channels independently counting down from individually set values
• Repeat and one-shot interrupt modes
8.30.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 prior to
watchdog time-out.
• Enabled by software but requires a hardware reset or a watchdog reset/interrupt to be
disabled.
• Incorrect feed sequence causes reset or interrupt if enabled.
• Flag to indicate watchdog reset.
• Programmable 24-bit timer with internal prescaler.
• Selectable time period from (Tcy(WDCLK) 256 4) to (Tcy(WDCLK) 224 4) in
multiples of Tcy(WDCLK) 4.
• The WWDT is clocked by the dedicated watchdog oscillator (WDOsc) running at a
fixed frequency.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
8.31.1 Features
• 48-bit counter running from the main clock. Counter can be free-running or can be
reset when an RIT interrupt is generated.
• 48-bit compare value.
• 48-bit compare mask. An interrupt is generated when the counter value equals the
compare value, after masking. This allows for combinations not possible with a simple
compare.
8.33.1 Features
• 32-bit, 1 Hz RTC counter and associated match register for alarm generation.
• Separate 16-bit high-resolution/wake-up timer clocked at 1 kHz for 1 ms resolution
with a more that one minute maximum time-out period.
• RTC alarm and high-resolution/wake-up timer time-out each generate independent
interrupt requests. Either time-out can wake up the part from any of the low power
modes, including Deep power-down.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
IRC
system oscillator
watchdog oscillator
CPU, system control,
PMU
MAINCLKSELA system clock
SYSTEM CLOCK n
(main clock select A) main clock DIVIDER memories,
peripheral clocks
RTC oscillator
32 kHz SYSAHBCLKCTRLn
(AHB clock enable)
MAINCLKSELB
(main clock select B)
USBPLLCLKSEL USBCLKSEL
(USB PLL clock select) (USB clock select)
IRC
SCT PLL SCT
system oscillator
IRC
SCTPLLCLKSEL
ASYNC ADC CLOCK ADC
(SCT PLL clock select)
DIVIDER
ADCASYNCCLKSEL
(clock select)
IRC
system oscillator
watchdog oscillator
CLKOUTSELA
(CLKOUT clock select A)
CLKOUTSELB
(CLKOUT clock select B)
watchdog oscillator WWDT
aaa-010875
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
The VBAT pin supplies power only to the RTC domain. The RTC requires a minimum of
power to operate, which can be supplied by an external battery. The device core power
(VDD) is used to operate the RTC whenever VDD is present. Therefore, there is no power
drain from the RTC battery when VDD is and VDD >= VBAT + 0.3 V.
LPC15xx
to I/O pads
VSS to core
REGULATOR to memories,
VDD
peripherals,
oscillators, WAKEUP
MAIN POWER DOMAIN PLLs
ULTRA LOW-POWER
VBAT REGULATOR
WAKE-UP
CONTROL
BACKUP REGISTERS
RTCXIN 32 kHz
OSCILLATOR REAL-TIME CLOCK
RTCXOUT
INTERNAL
VDDA
ACMP VOLTAGE REF
VDD
ADC POWER DOMAIN DAC
VSSA
aaa-010876
Following reset, the LPC15xx 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.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Upon power-up, any chip reset, or wake-up from Deep power-down mode, the LPC15xx
use the IRC as the clock source. Software can later switch to one of the other available
clock sources.
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.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Remark: When using the USB, configure the LPC15xx in Default mode.
The LPC15xx can wake up from Deep-sleep mode via reset, selected GPIO pins, a
watchdog timer interrupt, an interrupt generating USB port activity, an RTC interrupt, or
any interrupts that the USART, SPI, or I2C interfaces can create in Deep-sleep mode. The
USART wake-up requires the 32 kHz mode, the synchronous mode, or the CTS interrupt
to be set up.
Deep-sleep mode saves power and allows for short wake-up times.
The LPC15xx can wake up from Power-down mode via reset, selected GPIO pins, a
watchdog timer interrupt, an interrupt generating USB port activity, an RTC interrupt, or
any interrupts that the USART, SPI, or I2C interfaces can create in Power-down mode.
The USART wake-up requires the 32 kHz mode, the synchronous mode, or the CTS
interrupt to be set up.
The LPC15xx can be blocked from entering Deep power-down mode by setting a lock bit
in the PMU block. Blocking the Deep power-down mode enables the application to keep
the watchdog timer or the BOD running at all times.
If the WAKEUP pin is used in the application, an external pull-up resistor is required on
the WAKEUP pin to hold it HIGH while the part is in deep power-down mode. Pulling the
WAKEUP pin LOW wakes up the part from deep power-down mode. In addition, pull the
RESET pin HIGH to prevent it from floating while in Deep power-down mode.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
8.41.1 Reset
Reset has four sources on the LPC15xx: 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 RESET pin is operational in active, sleep, deep-sleep, and power-down modes if the
RESET function is selected through the switch matrix for pin PIO0_21 (this is the default).
A LOW-going pulse as short as 50 ns executes the reset and thereby wakes up the part to
its active state. The RESET pin is not functional in Deep power-down mode and must be
pulled HIGH externally while the part is in Deep power-down mode.
9''
9''
9''
5SX (6'
QV5&
UHVHW 3,1
*/,7&+),/7(5
(6'
966
DDD
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
In addition, ISP entry the external pins can be disabled without enabling CRP. For details,
see the LPC15xx user manual.
1. CRP1 disables access to the chip via the SWD and allows partial flash update
(excluding flash sector 0) using a limited set of the ISP commands. This mode is
useful when CRP is required and flash field updates are needed but all sectors cannot
be erased.
2. CRP2 disables access to the chip via the SWD and only allows full flash erase and
update using a reduced set of the ISP commands.
3. Running an application with level CRP3 selected, fully disables any access to the chip
via the SWD pins and the ISP. This mode effectively disables ISP override using ISP
pin as well. If necessary, the application must provide a flash update mechanism
using IAP calls or using a call to the reinvoke ISP command to enable flash update via
the USART.
CAUTION
If level three Code Read Protection (CRP3) is selected, no future factory testing can be
performed on the device.
In addition to the three CRP levels, sampling of the ISP pins for valid user code can be
disabled. For details, see the LPC15xx user manual.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
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 LPC15xx
is in reset.
9. Limiting values
Table 9. Limiting values
In accordance with the Absolute Maximum Rating System (IEC 60134).[1]
Symbol Parameter Conditions Min Max Unit
VDD supply voltage (3.3 V) [2] 0.5 VDDA V
VDDA analog supply voltage 0.5 +4.6 V
Vref reference voltage on pin VREFP_DAC_VDDCMP 0.5 VDDA V
on pin VREFP_ADC 0.5 VDDA V
VBAT battery supply voltage 0.5 +4.6 V
VI input voltage 5 V tolerant I/O pins; only valid [3][4] 0.5 +5.5 V
when the VDD(IO) supply voltage
is present
on I2C open-drain pins [5] 0.5 +5.5 V
PIO0_22, PIO0_23
3 V tolerant I/O pin without [6] 0.5 VDDA V
over-voltage protection. Applies
to PIO0_12.
USB_DM, USB_DP pins 0.5 VDD + 0.5 V
VIA analog input voltage [7][8] 0.5 +4.6 V
[9]
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
T j = T amb + P D R th j – a (1)
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
The internal power dissipation is the product of IDD and VDD. The I/O power dissipation of
the I/O pins is often small and many times can be negligible. However it can be significant
in some applications.
Sleep mode;
system clock = 12 MHz; default [3][4][5] - 2.1 - mA
mode; VDD = 3.3 V [7][8]
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
VBAT = 3.0 V 1 - A
Standard port pins configured as digital pins, RESET; see Figure 17
IIL LOW-level input current VI = 0 V; on-chip pull-up resistor - 0.5 10[14] nA
disabled
IIH HIGH-level input VI = VDD; on-chip pull-down - 0.5 10[14] nA
current resistor disabled
IOZ OFF-state output VO = 0 V; VO = VDD; on-chip - 0.5 10[14] nA
current pull-up/down resistors disabled
VI input voltage VDD 2.4 V; 5 V tolerant pins [16] 0 - 5 V
except PIO0_12 [18]
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
VDD = 0 V 0 - 3.6 V
VO output voltage output active 0 - VDD V
VIH HIGH-level input 0.7VDD - - V
voltage
VIL LOW-level input voltage - - 0.3VDD V
Vhys hysteresis voltage 2.4 V <= VDD < 3.0 V 0.30 - - V
3.0 V <= VDD <= 3.6 V 0.35 - - V
VOH HIGH-level output IOH = 20 mA; 2.7 V <= VDD < VDD 0.4 - - V
voltage 3.6 V
IOH = 12 mA; 2.4 V <= VDD < VDD 0.4 - - V
2.7 V
VOL LOW-level output IOL = 4 mA - - 0.4 V
voltage
IOH HIGH-level output VOH = VDD 0.4 V; 2.7 V <= VDD 20 - - mA
current < 3.6 V
VOH = VDD 0.4 V; 2.4 V <= VDD 12 - - mA
< 2.7 V
IOL LOW-level output VOL = 0.4 V 4 - - mA
current
IOLS LOW-level short-circuit VOL = VDD [19] - - 50 mA
output current
Ipd pull-down current VI = 5 V [20] 10 50 150 A
Ipu pull-up current VI = 0 V [20] 10 50 85 A
VDD < VI < 5 V 0 0 0 A
I2C-bus pins (PIO0_22 and PIO0_23); see Figure 17
VIH HIGH-level input 0.7VDD - - V
voltage
VIL LOW-level input voltage - - 0.3VDD V
Vhys hysteresis voltage - 0.05VDD - V
IOL LOW-level output VOL = 0.4 V; I2C-bus
pins 3.5 - - mA
current configured as standard mode pins
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
[1] Typical ratings are not guaranteed. The values listed are for room temperature (25 C), nominal supply voltages.
[2] For USB operation: 3.0 VVDD 3.6 V.
[3] Tamb = 25 C.
[4] IDD measurements were performed with all pins configured as GPIO outputs driven LOW and pull-up resistors disabled.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
VDD
IOL
Ipd
- +
pin PIO0_n A
IOH
Ipu
+ -
pin PIO0_n A
aaa-010819
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
• Configure all pins as GPIO with pull-up resistor disabled in the IOCON block.
• Configure GPIO pins as outputs using the GPIO DIR register.
• Write 1 to the GPIO CLR register to drive the outputs LOW.
aaa-011384
20
IDD
72 MHz
(mA)
16
60 MHz
12
48 MHz
8 36 MHz
24 MHz
4
12 MHz
6 MHz
1 MHz
0
2.4 2.6 2.8 3 3.2 3.4 3.6
VDD (V)
Conditions: Tamb = 25 C; active mode entered executing code while(1){} from flash; all
peripherals disabled in the SYSAHBCLKCTRL0/1 registers; all peripheral clocks disabled; internal
pull-up resistors disabled; BOD disabled; low-current mode.
1 MHz - 6 MHz: IRC enabled; PLL disabled.
12 MHz: IRC enabled; PLL disabled.
24 MHz to 72 MHz: IRC enabled; PLL enabled.
Fig 18. Active mode: Typical supply current IDD versus supply voltage VDD
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
aaa-011385
20
IDD
72 MHz
(mA)
16
60 MHz
12
48 MHz
8 36 MHz
24 MHz
4
12 MHz
6 MHz
1 MHz
0
-40 -10 20 50 80 110
temperature (°C)
Conditions: VDD = 3.3 V; active mode entered executing code while(1){} from flash; all
peripherals disabled in the SYSAHBCLKCTRL0/1 registers; all peripheral clocks disabled; internal
pull-up resistors disabled; BOD disabled; low-current mode.
1 MHz - 6 MHz: IRC enabled; PLL disabled.
12 MHz: IRC enabled; PLL disabled.
24 MHz to 72 MHz: IRC enabled; PLL enabled.
Fig 19. Active mode: Typical supply current IDD versus temperature
aaa-011386
8
IDD 72 MHz
(mA)
6 60 MHz
48 MHz
4
36 MHz
24 MHz
2
12 MHz
6 MHz
1 MHz
0
-40 -10 20 50 80 110
temperature (°C)
Conditions: VDD = 3.3 V; sleep mode entered from flash; all peripherals disabled in the
SYSAHBCLKCTRL0/1 registers; all peripheral clocks disabled; internal pull-up resistors disabled;
BOD disabled; low-current mode.
1 MHz - 6 MHz: IRC enabled; PLL disabled.
12 MHz: IRC enabled; PLL disabled.
24 MHz to 72 MHz: IRC enabled; PLL enabled.
Fig 20. Sleep mode: Typical supply current IDD versus temperature for different system
clock frequencies
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
aaa-011234
400
IDD
(μA)
380
3.6 V
3.3 V
360
3.0 V
2.7 V
2.4 V
340
320
300
280
-40 -10 20 50 80 110
temperature (°C)
Conditions: BOD disabled; all oscillators and analog blocks disabled. Use API
power_mode_configure() with mode parameter set to DEEP_SLEEP and peripheral parameter set
to 0xFF.
Fig 21. Deep-sleep mode: Typical supply current IDD versus temperature for different
supply voltages VDD
aaa-011235
80
IDD
(μA)
60
40
20
0
-40 -10 20 50 80 110
temperature (°C)
Conditions: BOD disabled; all oscillators and analog blocks disabled; VDD = 2.4 V to 3.6 V. Use API
power_mode_configure() with mode parameter set to POWER_DOWN and peripheral parameter
set to 0xFF.
Fig 22. Power-down mode: Typical supply current IDD versus temperature for different
supply voltages VDD
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
aaa-011236
4
IDD
(μA)
2
3.6 V 3.3 V
1
2.4 V
0
-40 -10 20 50 80 110
temperature (°C)
VBAT = 0 V.
Fig 23. Deep power-down mode: Typical supply current IDD versus temperature for
different supply voltages VDD
aaa-011333
4
IBAT
(μA)
0
-40 -10 20 50 80 110
temperature (°C)
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
aaa-011746
2.65
CM score
2.6
2.55
cpu
2.5
2.45
efficiency
2.4
default/low current
2.35
0 12 24 36 48 60 72
system clock frequency (MHz)
Conditions: VDD = 3.3 V; active mode; all peripherals except one UART and the SCT disabled in
the SYSAHBCLKCTRL0/1 register; internal pull-up resistors enabled; BOD disabled. Measured
with Keil uVision v.[Link], C compiler v.[Link].
Fig 25. CoreMark score
aaa-011747
30
IDD
(mA)
25
20
15
default
10 cpu
efficiency
low-current
5
0
0 12 24 36 48 60 72
system clock frequency (MHz)
Conditions: VDD = 3.3 V; Tamb = 25 C; active mode; all peripherals except one UART and the SCT
disabled in the SYSAHBCLKCTRL0/1 registers; system clock derived from the IRC; system
oscillator disabled; internal pull-up resistors enabled; BOD disabled. Measured with Keil uVision
v.[Link], C compiler v.[Link].
Fig 26. Active mode: CoreMark power consumption IDD
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
The supply currents are shown for system clock frequencies of 12 MHz and 72 MHz.
Table 12. Power consumption for individual analog and digital blocks
Peripheral Typical supply current in mA Notes
n/a 12 MHz 72 MHz
IRC 0.008 - - System oscillator running; PLL off; independent
of main clock frequency.
System oscillator at 12 MHz 0.220 - - IRC running; PLL off; independent of main clock
frequency.
Watchdog oscillator 0.002 - - System oscillator running; PLL off; independent
of main clock frequency.
BOD 0.045 - - Independent of main clock frequency.
Main PLL - 0.085 - -
USB PLL 0.100
SCT PLL 0.110
CLKOUT - 0.005 0.01 Main clock divided by 4 in the CLKOUTDIV
register.
ROM - 0.015 0.02 -
GPIO + pin interrupt/pattern - 0.55 0.60 GPIO pins configured as outputs and set to
match LOW. Direction and pin state are maintained if
the GPIO is disabled in the SYSAHBCLKCFG
register.
SWM - 0.04 0.29 -
INPUT MUX 0.05 0.30
IOCON - 0.06 0.40 -
SCTimer0/PWM - 0.18 1.10 -
SCTimer1/PWM - 0.19 1.10 -
SCTimer2/PWM - 0.13 0.70 -
SCTimer3/PWM - 0.16 0.90 -
SCT IPU 0.02 0.1
RTC - 0.01 0.05 -
MRT - 0.03 0.10 -
WWDT - 0.01 0.10 Main clock selected as clock source for the
WDT.
RIT 0.07 0.20
QEI 0.12 0.80
I2C0 - 0.02 0.12 -
SPI0 - 0.03 0.3 -
SPI1 - 0.01 0.28 -
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Table 12. Power consumption for individual analog and digital blocks …continued
Peripheral Typical supply current in mA Notes
n/a 12 MHz 72 MHz
USART0 - 0.02 0.15 -
USART1 - 0.02 0.16 -
USART2 - 0.02 0.15 -
C_CAN - 0.50 3.00
USB - 0.10 0.50
Comparator ACMP0/1/2/3 - 0.01 0.03 -
ADC0 - 0.05 0.33 -
ADC1 - 0.04 0.33 -
temperature sensor - 0.03 0.03
internal voltage reference/band - 0.03 0.04
gap
DAC - 0.02 0.09 -
DMA - 0.36 1.5
CRC - 0.01 0.08 -
aaa-011257
3.3
VOH
(V)
3.2
3.1
-40 °C
3
25 °C
90 °C
105 °C
2.9
2.8
2.7
0 10 20 30 40 50
IOH (mA)
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
aaa-011258
50
IOL
OH
(mA)
40
-40 °C
25 °C
30
90 °C
105 °C
20
10
0
0 0.1 0.2 0.3 0.4 0.5
VOL (V)
aaa-011263
10
VOL
(V)
8
-40 °C
25 °C
90 °C
105 °C
6
0
0 0.1 0.2 0.3 0.4 0.5
IOL (mA)
Conditions: VDD = 3.3 V; standard port pins and high-drive pin PIO0_24.
Fig 29. Typical LOW-level output current IOL versus LOW-level output voltage VOL
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
aaa-011276
3.3
IOH
(mA)
-40 °C
3.1
25 °C
90 °C
105 °C
2.9
2.7
0 3 6 9 12
VOH (V)
aaa-011277
0
Ipu
pd
(μA)
-20
105 °C
90 °C
25 °C
-40 °C
-40
-60
-80
0 1 2 3 4 5
VI (V)
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
aaa-011278
80
Ipu
(μA)
60
-40 °C
25 °C
90 °C
105 °C
40
20
0
0 1 2 3 4 5
VI (V)
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
[1] Parameters are valid over operating temperature range unless otherwise specified.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
[2] Typical ratings are not guaranteed. The values listed are for room temperature (25 C), nominal supply
voltages.
W&+&;
W&+&/ W&/&; W&/&+
7F\FON
DDD
Fig 33. External clock timing (with an amplitude of at least Vi(RMS) = 200 mV)
[1] Parameters are valid over operating temperature range unless otherwise specified.
[2] Typical ratings are not guaranteed. The values listed are for room temperature (25 C), nominal supply
voltages.
aaa-011233
12.15
fosc(RC)
(MHz) 3.6 V
3.3 V
12.1
3.0 V
2.7 V
12.05
12
11.95
11.9
11.85
-40 -10 20 50 80 110
temperature (°C)
Conditions: Frequency values are typical values. 12 MHz 1 % accuracy is guaranteed for
2.7 V VDD 3.6 V and Tamb = 25 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 34. Typical Internal RC oscillator frequency versus temperature
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
[1] Typical ratings are not guaranteed. The values listed are at nominal supply voltages.
[2] The typical frequency spread over processing and temperature (Tamb = 40 C to +105 C) is 40 %.
12.5 I2C-bus
Table 19. Dynamic characteristic: I2C-bus pins[1]
Tamb = 40 C to +105 C; values guaranteed by design.[2]
Symbol Parameter Conditions Min Max Unit
fSCL SCL clock Standard-mode 0 100 kHz
frequency Fast-mode 0 400 kHz
Fast-mode Plus; on 0 1 MHz
pins PIO0_22 and
PIO0_23
tf fall time [4][5][6][7] of both SDA and - 300 ns
SCL signals
Standard-mode
Fast-mode 20 + 0.1 Cb 300 ns
Fast-mode Plus; - 120 ns
on pins PIO0_22
and PIO0_23
tLOW LOW period of Standard-mode 4.7 - s
the SCL clock Fast-mode 1.3 - s
Fast-mode Plus; on 0.5 - s
pins PIO0_22 and
PIO0_23
tHIGH HIGH period of Standard-mode 4.0 - s
the SCL clock Fast-mode 0.6 - s
Fast-mode Plus; on 0.26 - s
pins PIO0_22 and
PIO0_23
tHD;DAT data hold time [3][4][8] Standard-mode 0 - s
Fast-mode 0 - s
Fast-mode Plus; on 0 - s
pins PIO0_22 and
PIO0_23
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
WI W68'$7
6'$
W+''$7 W9''$7
WI
W+,*+
W/2:
6 I6&/
DDD
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Remark: SPI functions can be assigned to all digital pins. The characteristics are valid for
all digital pins except the open-drain pins PIO0_22 and PIO0_23.
7F\FON
6&.&32/
6&.&32/
WY4 WK4
WY4 WK4
DDD
Tcy(clk) = CCLK/DIVVAL with CCLK = system clock frequency. DIVVAL is the SPI clock divider. See
the LPC15xx User manual UM10736.
Fig 36. SPI master timing
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
7F\FON
6&.&32/
6&.&32/
W'6 W'+
WY4 WK4 &3+$
0,62 '$7$9$/,' '$7$9$/,'
W'6 W'+
WY4 WK4 &3+$
0,62 '$7$9$/,' '$7$9$/,'
DDD
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Remark: USART functions can be assigned to all digital pins. The characteristics are valid
for all digital pins except the open-drain pins PIO0_22 and PIO0_23.
7F\FON
8QB6&/.&/.32/
8QB6&/.&/.32/
WY4 WK4
DDD
In master mode, Tcy(clk) = U_PCLK/BRGVAL. See the LPC15xx User manual UM10736.
Fig 38. USART timing
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
[1] Interrupt levels are selected by writing the level value to the BOD control register BODCTRL, see the
LPC15xx user manual.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
[1] The input resistance of ADC channel 0 is higher than for all other channels.
[2] The differential linearity error (ED) is the difference between the actual step width and the ideal step width.
See Figure 40.
[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 40.
[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 40.
[5] The full-scale error voltage or gain error (EG) is the difference 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 40.
[6] Tamb = 25 C; maximum sampling frequency fs = 2 Msamples/s and analog input capacitance Cia = 0.132
pF.
[7] Input impedance Zi is inversely proportional to the sampling frequency and the total input capacity including
Cia and Cio: Zi 1 / (fs Ci). See Table 11 for Cio.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Cia
aaa-011748
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
offset gain
error error
EO EG
4095
4094
4093
4092
4091
4090
(2)
7
code (1)
out
6
(5)
4
(4)
3
(3)
2
1 1 LSB
(ideal)
0
1 2 3 4 5 6 7 4090 4091 4092 4093 4094 4095 4096
VIA (LSBideal)
offset error
EO VREFP - VSS
1 LSB =
4096
002aaf436
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
[1] Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply
voltages.
LPCxxxx
DAC DVM
RL
10 kΩ
aaa-011964
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
[1] Maximum and minimum values are measured on samples from the corners of the process matrix lot.
aaa-011179
920
Voltage
(V)
915
910
905
900
895
890
-40 -10 20 50 80 110
temperature (°C)
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
aaa-011334
800
VO
(mV)
LLS fit
600
400
Measured temperature sensor output
measured
200
0
-40 -10 20 50 80 110
temperature (°C)
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
[1] CL = 10 pF; results from measurements on silicon samples over process corners and over the full temperature range Tamb = -40 C to
+105 C.
[2] Input hysteresis is relative to the reference input channel and is software programmable.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
[1] Measured over a polyresistor matrix lot with a 2 kHz input signal and overdrive < 100 V.
[2] All peripherals except comparator, temperature sensor, and IRC turned off.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
• The ADC input trace must be short and as close as possible to the LPC15xx chip.
• The ADC input traces must be shielded from fast switching digital signals and noisy
power supply lines.
• If the ADC and the digital core share the same power supply, the power supply line
must be adequately filtered.
• To improve the ADC performance in a very noisy environment, put the device in Sleep
mode during the ADC conversion.
On the LPC15xx, the PIO0_3/USB_VBUS pin is 5 V tolerant only when VDD 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 greater than 0 V 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,
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LPC1xxx
VDD
USB_CONNECT R2
R3
USB
R1
1.5 kΩ USB_VBUS
RS = 33 Ω USB_DP USB-B
connector
RS = 33 Ω USB_DM
VSS
aaa-010820
For a bus-powered device, the VBUS signal does not need to be connected to the
USB_VBUS pin (see Figure 45). The USB_CONNECT function can additionally be
enabled internally by setting the DCON bit in the DEVCMDSTAT register to prevent the
USB from timing out when there is a significant delay between power-up and handling
USB traffic. External circuitry is not required for the USB_CONNECT functionality.
LPC1xxx
VDD
REGULATOR
USB_CONNECT
USB
R1
1.5 kΩ VBUS
RS = 33 Ω USB_DP USB-B
connector
RS = 33 Ω USB_DM
VSS
aaa-010821
Remark: When a bus-powered circuit as shown in Figure 45 is used or, for a self-powered
device, when the VBUS pin is not connected, configure the PIO0_3/USB_VBUS pin for
GPIO (PIO0_3) in the IOCON block. This ties the VBUS signal HIGH internally.
LPC1xxx
XTALIN
Ci Cg
100 pF
002aae788
In slave mode the input clock signal should be coupled by means of a capacitor of 100 pF
(Figure 46), with an amplitude between 200 mV (RMS) and 1000 mV (RMS). This
corresponds to a square wave signal with a signal swing of between 280 mV and 1.4 V.
The XTALOUT pin in this configuration can be left unconnected.
External components and models used in oscillation mode are shown in Figure 47 and in
Table 32 and Table 33. Since the feedback resistance is integrated on chip, only a crystal
and the capacitances CX1 and CX2 need to be connected externally in case of
fundamental mode oscillation (the fundamental frequency is represented by L, CL and
RS). Capacitance CP in Figure 47 represents the parallel package capacitance and should
not be larger than 7 pF. Parameters FOSC, CL, RS and CP are supplied by the crystal
manufacturer (see Table 32).
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LPC1xxx
XTALIN XTALOUT
= CL CP
XTAL
RS
CX1 CX2
002aaf424
Fig 47. Oscillator modes and models: oscillation mode of operation and external crystal
model used for CX1/CX2 evaluation
Table 32. Recommended values for CX1/CX2 in oscillation mode (crystal and external
components parameters) low frequency mode
Fundamental oscillation Crystal load Maximum crystal External load
frequency FOSC capacitance CL series resistance RS capacitors CX1, CX2
1 MHz to 5 MHz 10 pF < 300 18 pF, 18 pF
20 pF < 300 39 pF, 39 pF
30 pF < 300 57 pF, 57 pF
5 MHz to 10 MHz 10 pF < 300 18 pF, 18 pF
20 pF < 200 39 pF, 39 pF
30 pF < 100 57 pF, 57 pF
10 MHz to 15 MHz 10 pF < 160 18 pF, 18 pF
20 pF < 60 39 pF, 39 pF
15 MHz to 20 MHz 10 pF < 80 18 pF, 18 pF
Table 33. Recommended values for CX1/CX2 in oscillation mode (crystal and external
components parameters) high frequency mode
Fundamental oscillation Crystal load Maximum crystal External load
frequency FOSC capacitance CL series resistance RS capacitors CX1, CX2
15 MHz to 20 MHz 10 pF < 180 18 pF, 18 pF
20 pF < 100 39 pF, 39 pF
20 MHz to 25 MHz 10 pF < 160 18 pF, 18 pF
20 pF < 80 39 pF, 39 pF
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
order to keep the noise coupled in via the PCB as small as possible. Also parasitics
should stay as small as possible. Smaller values of Cx1 and Cx2 should be chosen
according to the increase in parasitics of the PCB layout.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LPC1xxx
RTCXIN RTCXOUT
= CL CP
XTAL
RS
CX1 CX2
aaa-010822
Select Cx1 and Cx2 based on the external 32 kHz crystal used in the application
[Link] pad capacitance CP of the RTCXIN and RTCXOUT pad is 3 pF. If the external
crystal’s load capacitance is CL, the optimal Cx1 and Cx2 can be selected as:
Cx1 = Cx2 = 2 x CL – CP
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
3.3 V
RTCXOUT C4
DGND
DGND DGND
Note 3
VSSA VDD (3 to 6 pins)
3.3 V
0.1 μF 0.01 μF
AGND LPC15xx
DGND
ISP_0 Note 4
VDDA
Note 8 3.3 V
ISP select pins ISP_1
0.1 μF 10 μF
Note 7
pins with analog functions
DGND
Note 4
VREFP_ADC/VREFP_DAC_VDDCMP
3.3 V
0.1 μF 0.1 μF 10 μF
VREFN
AGND
AGND
Note 5
VBAT
3.3 V
0.1 μF
AGND DGND
DGND aaa-018157
(1) See Section 14.3 “XTAL input and crystal oscillator component selection” for the values of C1 and C2.
(2) See Section 14.5 “RTC oscillator component selection” for the values of C3 and C4.
(3) Position the decoupling capacitors of 0.1 μF and 0.01 μF as close as possible to the VDD pin. Add one set of decoupling
capacitors to each VDD pin.
(4) Position the decoupling capacitors of 0.1 μF as close as possible to the VREFN and VDDA pins. The 10 μF bypass capacitor
filters the power line. Tie VDDA and VREFP to VDD if the ADC is not used. Tie VREFN to VSS if ADC is not used.
(5) Position the decoupling capacitor of 0.1 μF as close as possible to the VBAT pin. Tie VBAT to VDD if not used.
(6) Uses the ARM 10-pin interface for SWD.
(7) When measuring signals of low frequency, use a low-pass filter to remove noise and to improve ADC performance. Also see
Ref. 3.
(8) ISP pin assignments is dependent on package type. See Table 7 “Pin assignments for ISP modes”.
Fig 49. Power, clock, and debug connections
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Unused pins with GPIO function should be configured as GPIO (switch matrix default) and
setto outputs driving LOW with their internal pull-up disabled. To drive the output LOW,
select output in the GPIO DIR register, and write a 0 to the GPIO PORT register for that
pin. Disable the pull-up in the pin’s IOCON register.
In addition, it is recommended to configure all GPIO pins that are not bonded out on
smaller packages as outputs driven LOW with their internal pull-up disabled.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
[1] Default and programmed pin states are retained in sleep, deep-sleep, and power-down modes.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Table 36. ElectroMagnetic Compatibility (EMC) for part LPC1549 (TEM-cell method)
VDD = 3.3 V; Tamb = 25 C.
Parameter Frequency band System Unit
clock =
12 MHz 24 MHz 36 MHz 48 MHz 60 MHz 72 MHz
Input clock: IRC (12 MHz)
maximum 1 MHz to 30 MHz -5 -1 -5 -4 -3 0 dBV
peak level 30 MHz to 150 MHz -1 +3 +6 +8 +11 +14 dBV
150 MHz to 1 GHz -1 +2 +5 +10 +9 +11 dBV
IEC level[1] - O O O N N M -
Input clock: crystal oscillator (12 MHz)
maximum 1 MHz to 30 MHz -2 0 -5 -2 -2 2 dBV
peak level 30 MHz to 150 MHz 0 +3 +6 +8 +12 +14 dBV
150 MHz to 1 GHz -1 +3 +5 +10 +10 +11 dBV
IEC level[1] - O O O N N M -
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LQFP48: plastic low profile quad flat package; 48 leads; body 7 x 7 x 1.4 mm SOT313-2
y
X
36 25 A
37 24 ZE
e
E HE
A A2 (A 3)
A1
w M
θ
pin 1 index bp Lp
48 13 L
detail X
1 12
ZD v M A
e w M
bp
D B
HD v M B
0 2.5 5 mm
scale
mm 1.6 0.20 1.45 0.27 0.18 7.1 7.1 9.15 9.15 0.75 0.95 0.95 7o
0.25 0.5 1 0.2 0.12 0.1 o
0.05 1.35 0.17 0.12 6.9 6.9 8.85 8.85 0.45 0.55 0.55 0
Note
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
00-01-19
SOT313-2 136E05 MS-026
03-02-25
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LQFP64: plastic low profile quad flat package; 64 leads; body 10 x 10 x 1.4 mm SOT314-2
c
y
48 33
49 32 ZE
e
E HE A
A2
(A 3)
A1
wM
θ
bp Lp
pin 1 index L
64 17
1 16 detail X
ZD v M A
e wM
bp
D B
HD v M B
0 2.5 5 mm
scale
mm 1.6 0.20 1.45 0.27 0.18 10.1 10.1 12.15 12.15 0.75 1.45 1.45 7o
0.25 0.5 1 0.2 0.12 0.1 o
0.05 1.35 0.17 0.12 9.9 9.9 11.85 11.85 0.45 1.05 1.05 0
Note
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
00-01-19
SOT314-2 136E10 MS-026
03-02-25
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LQFP100: plastic low profile quad flat package; 100 leads; body 14 x 14 x 1.4 mm SOT407-1
c
y
X
A
75 51
76 50
ZE
E HE A A2 (A 3)
A1
w M
θ
bp
Lp
pin 1 index L
100 detail X
26
1 25
ZD v M A
e w M
bp
D B
HD v M B
0 5 10 mm
scale
mm 1.6
0.15 1.45 0.27 0.20 14.1 14.1 16.25 16.25 0.75 1.15 1.15 7o
0.25 0.5 1 0.2 0.08 0.08 o
0.05 1.35 0.17 0.09 13.9 13.9 15.75 15.75 0.45 0.85 0.85 0
Note
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
00-02-01
SOT407-1 136E20 MS-026
03-02-20
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
16. Soldering
Hx
Gx
P2 P1 (0.125)
Hy Gy By Ay
D2 (8×) D1
Bx
Ax
solder land
occupied area
DIMENSIONS in mm
P1 P2 Ax Ay Bx By C D1 D2 Gx Gy Hx Hy
0.500 0.560 10.350 10.350 7.350 7.350 1.500 0.280 0.500 7.500 7.500 10.650 10.650
sot313-2_fr
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Hx
Gx
P2 P1 (0.125)
Hy Gy By Ay
D2 (8×) D1
Bx
Ax
solder land
occupied area
DIMENSIONS in mm
P1 P2 Ax Ay Bx By C D1 D2 Gx Gy Hx Hy
0.500 0.560 13.300 13.300 10.300 10.300 1.500 0.280 0.400 10.500 10.500 13.550 13.550
sot314-2_fr
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Hx
Gx
P2 P1 (0.125)
Hy Gy By Ay
D2 (8×) D1
Bx
Ax
solder land
occupied area
DIMENSIONS in mm
P1 P2 Ax Ay Bx By C D1 D2 Gx Gy Hx Hy
0.500 0.560 17.300 17.300 14.300 14.300 1.500 0.280 0.400 14.500 14.500 17.550 17.550
sot407-1
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
17. References
[1] LPC15xx User manual UM10736:
[Link]
[2] LPC15xx Errata sheet:
[Link]
[3] Technical note ADC design guidelines:
[Link]
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
[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 [Link]
19.2 Definitions 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
Draft — The document is a draft version only. The content is still under
malfunction of an NXP Semiconductors product can reasonably be expected
internal review and subject to formal approval, which may result in
to result in personal injury, death or severe property or environmental
modifications or additions. NXP Semiconductors does not give any
damage. NXP Semiconductors and its suppliers accept no liability for
representations or warranties as to the accuracy or completeness of
inclusion and/or use of NXP Semiconductors products in such equipment or
information included herein and shall have no liability for the consequences of
applications and therefore such inclusion and/or use is at the customer’s own
use of such information.
risk.
Short data sheet — A short data sheet is an extract from a full data sheet
Applications — Applications that are described herein for any of these
with the same product type number(s) and title. A short data sheet is intended
products are for illustrative purposes only. NXP Semiconductors makes no
for quick reference only and should not be relied upon to contain detailed and
representation or warranty that such applications will be suitable for the
full information. For detailed and full information see the relevant full data
specified use without further testing or modification.
sheet, which is available on request via the local NXP Semiconductors sales
office. In case of any inconsistency or conflict with the short data sheet, the Customers are responsible for the design and operation of their applications
full data sheet shall prevail. and products using NXP Semiconductors products, and NXP Semiconductors
accepts no liability for any assistance with applications or customer product
Product specification — The information and data provided in a Product design. It is customer’s sole responsibility to determine whether the NXP
data sheet shall define the specification of the product as agreed between Semiconductors product is suitable and fit for the customer’s applications and
NXP Semiconductors and its customer, unless NXP Semiconductors and products planned, as well as for the planned application and use of
customer have explicitly agreed otherwise in writing. In no event however, customer’s third party customer(s). Customers should provide appropriate
shall an agreement be valid in which the NXP Semiconductors product is design and operating safeguards to minimize the risks associated with their
deemed to offer functions and qualities beyond those described in the applications and products.
Product data sheet.
NXP Semiconductors does not accept any liability related to any default,
damage, costs or problem which is based on any weakness or default in the
19.3 Disclaimers customer’s applications or products, or the application or use by customer’s
third party customer(s). Customer is responsible for doing all necessary
testing for the customer’s applications and products using NXP
Limited warranty and liability — Information in this document is believed to
Semiconductors products in order to avoid a default of the applications and
be accurate and reliable. However, NXP Semiconductors does not give any
the products or of the application or use by customer’s third party
representations or warranties, expressed or implied, as to the accuracy or
customer(s). NXP does not accept any liability in this respect.
completeness of such information and shall have no liability for the
consequences of use of such information. NXP Semiconductors takes no Limiting values — Stress above one or more limiting values (as defined in
responsibility for the content in this document if provided by an information the Absolute Maximum Ratings System of IEC 60134) will cause permanent
source outside of NXP Semiconductors. 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
In no event shall NXP Semiconductors be liable for any indirect, incidental,
the Recommended operating conditions section (if present) or the
punitive, special or consequential damages (including - without limitation - lost
Characteristics sections of this document is not warranted. Constant or
profits, lost savings, business interruption, costs related to the removal or
repeated exposure to limiting values will permanently and irreversibly affect
replacement of any products or rework charges) whether or not such
the quality and reliability of the device.
damages are based on tort (including negligence), warranty, breach of
contract or any other legal theory. Terms and conditions of commercial sale — NXP Semiconductors
Notwithstanding any damages that customer might incur for any reason products are sold subject to the general terms and conditions of commercial
whatsoever, NXP Semiconductors’ aggregate and cumulative liability towards sale, as published at [Link] unless otherwise
customer for the products described herein shall be limited in accordance agreed in a valid written individual agreement. In case an individual
with the Terms and conditions of commercial sale of NXP Semiconductors. agreement is concluded only the terms and conditions of the respective
agreement shall apply. NXP Semiconductors hereby expressly objects to
Right to make changes — NXP Semiconductors reserves the right to make applying the customer’s general terms and conditions with regard to the
changes to information published in this document, including without purchase of NXP Semiconductors products by customer.
limitation specifications and product descriptions, at any time and without
notice. This document supersedes and replaces all information supplied prior No offer to sell or license — Nothing in this document may be interpreted or
to the publication hereof. construed as an offer to sell products that is open for acceptance or the grant,
conveyance or implication of any license under any copyrights, patents or
other industrial or intellectual property rights.
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
Export control — This document as well as the item(s) described herein whenever customer uses the product for automotive applications beyond
may be subject to export control regulations. Export might require a prior NXP Semiconductors’ specifications such use shall be solely at customer’s
authorization from competent authorities. own risk, and (c) customer fully indemnifies NXP Semiconductors for any
liability, damages or failed product claims resulting from customer design and
Non-automotive qualified products — Unless this data sheet expressly
use of the product for automotive applications beyond NXP Semiconductors’
states that this specific NXP Semiconductors product is automotive qualified,
standard warranty and NXP Semiconductors’ product specifications.
the product is not suitable for automotive use. It is neither qualified nor tested
in accordance with automotive testing or application requirements. NXP
Semiconductors accepts no liability for inclusion and/or use of
non-automotive qualified products in automotive equipment or applications.
19.4 Trademarks
In the event that customer uses the product for design-in and use in Notice: All referenced brands, product names, service names and trademarks
automotive applications to automotive specifications and standards, customer are the property of their respective owners.
(a) shall use the product without NXP Semiconductors’ warranty of the I2C-bus — logo is a trademark of NXP Semiconductors N.V.
product for such automotive applications, use and specifications, and (b)
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
21. Contents
1 General description . . . . . . . . . . . . . . . . . . . . . . 1 8.21.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2 Features and benefits . . . . . . . . . . . . . . . . . . . . 1 8.22 PWM/timer/motor control subsystem . . . . . . . 34
3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 8.22.1 SCtimer/PWM subsystem . . . . . . . . . . . . . . . 34
8.22.2 Timer controlled subsystem . . . . . . . . . . . . . . 35
4 Ordering information . . . . . . . . . . . . . . . . . . . . . 4
8.22.3 SCTimer/PWM in the large configuration (SCT0/1)
4.1 Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 5 36
5 Marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 [Link] Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 7 8.22.4 State-Configurable Timers in the small
7 Pinning information . . . . . . . . . . . . . . . . . . . . . . 8 configuration (SCT2/3). . . . . . . . . . . . . . . . . . 38
7.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 [Link] Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
7.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . 12 8.22.5 SCT Input processing unit (SCTIPU) . . . . . . . 39
[Link] Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
8 Functional description . . . . . . . . . . . . . . . . . . 21
8.23 Quadrature Encoder Interface (QEI) . . . . . . . 40
8.1 ARM Cortex-M3 processor . . . . . . . . . . . . . . . 21
8.23.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
8.2 Memory Protection Unit (MPU). . . . . . . . . . . . 21
8.24 Analog-to-Digital Converter (ADC). . . . . . . . . 40
8.3 On-chip flash programming memory . . . . . . . 22
8.24.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
8.3.1 ISP pin configuration . . . . . . . . . . . . . . . . . . . 22
8.25 Digital-to-Analog Converter (DAC). . . . . . . . . 41
8.4 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.25.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
8.5 SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.26 Analog comparator (ACMP) . . . . . . . . . . . . . . 41
8.6 On-chip ROM . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.26.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
8.7 AHB multilayer matrix . . . . . . . . . . . . . . . . . . . 25
8.27 Temperature sensor . . . . . . . . . . . . . . . . . . . . 42
8.8 Memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 26
8.28 Internal voltage reference . . . . . . . . . . . . . . . 42
8.9 Nested Vectored Interrupt controller (NVIC) . . 27
8.29 Multi-Rate Timer (MRT) . . . . . . . . . . . . . . . . . 43
8.9.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
8.29.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
8.9.2 Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 27
8.30 Windowed WatchDog Timer (WWDT) . . . . . . 43
8.10 IOCON block . . . . . . . . . . . . . . . . . . . . . . . . . 27
8.30.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
8.10.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
8.31 Repetitive Interrupt (RI) timer. . . . . . . . . . . . . 44
8.10.2 Standard I/O pad configuration . . . . . . . . . . . . 27
8.31.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
8.11 Switch Matrix (SWM) . . . . . . . . . . . . . . . . . . . 28
8.32 System tick timer . . . . . . . . . . . . . . . . . . . . . . 44
8.12 Fast General-Purpose parallel I/O (GPIO) . . . 29
8.33 Real-Time Clock (RTC) . . . . . . . . . . . . . . . . . 44
8.12.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.33.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
8.13 Pin interrupt/pattern match engine (PINT) . . . 29
8.34 Clock generation . . . . . . . . . . . . . . . . . . . . . . 45
8.13.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.35 Power domains . . . . . . . . . . . . . . . . . . . . . . . 46
8.14 GPIO group interrupts (GINT0/1) . . . . . . . . . . 30
8.36 Integrated oscillators . . . . . . . . . . . . . . . . . . . 46
8.14.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.36.1 Internal RC oscillator . . . . . . . . . . . . . . . . . . . 47
8.15 DMA controller . . . . . . . . . . . . . . . . . . . . . . . . 30
8.36.2 System oscillator . . . . . . . . . . . . . . . . . . . . . . 47
8.15.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.36.3 Watchdog oscillator . . . . . . . . . . . . . . . . . . . . 47
8.16 Input multiplexing (Input mux) . . . . . . . . . . . . 31
8.36.4 RTC oscillator . . . . . . . . . . . . . . . . . . . . . . . . 47
8.17 USB interface . . . . . . . . . . . . . . . . . . . . . . . . 31
8.37 System PLL, USB PLL, and SCT PLL . . . . . . 47
8.17.1 Full-speed USB device controller . . . . . . . . . . 31
8.38 Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . 48
[Link] Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.39 Wake-up process . . . . . . . . . . . . . . . . . . . . . . 48
8.18 USART0/1/2 . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.40 Power control . . . . . . . . . . . . . . . . . . . . . . . . . 48
8.18.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.40.1 Power profiles . . . . . . . . . . . . . . . . . . . . . . . . 48
8.19 SPI0/1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.40.2 Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . 48
8.19.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.40.3 Deep-sleep mode. . . . . . . . . . . . . . . . . . . . . . 49
8.20 I2C-bus interface . . . . . . . . . . . . . . . . . . . . . . 33
8.40.4 Power-down mode . . . . . . . . . . . . . . . . . . . . . 49
8.20.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.40.5 Deep power-down mode . . . . . . . . . . . . . . . . 49
8.21 C_CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8.41 System control . . . . . . . . . . . . . . . . . . . . . . . . 50
continued >>
LPC15XX All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved.
8.41.1 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
8.41.2 Brownout detection . . . . . . . . . . . . . . . . . . . . . 50
8.41.3 Code security (Code Read Protection - CRP) 50
8.42 Emulation and debugging . . . . . . . . . . . . . . . . 52
9 Limiting values. . . . . . . . . . . . . . . . . . . . . . . . . 52
10 Thermal characteristics . . . . . . . . . . . . . . . . . 53
11 Static characteristics. . . . . . . . . . . . . . . . . . . . 55
11.1 Power consumption . . . . . . . . . . . . . . . . . . . . 60
11.2 CoreMark data . . . . . . . . . . . . . . . . . . . . . . . . 64
11.3 Peripheral power consumption . . . . . . . . . . . . 65
11.4 Electrical pin characteristics . . . . . . . . . . . . . . 66
12 Dynamic characteristics . . . . . . . . . . . . . . . . . 70
12.1 Flash/EEPROM memory . . . . . . . . . . . . . . . . 70
12.2 External clock for the oscillator in slave mode 70
12.3 Internal oscillators. . . . . . . . . . . . . . . . . . . . . . 71
12.4 I/O pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
12.5 I2C-bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
12.6 SPI interfaces . . . . . . . . . . . . . . . . . . . . . . . . . 74
12.7 USART interface. . . . . . . . . . . . . . . . . . . . . . . 76
12.8 SCTimer/PWM output timing . . . . . . . . . . . . . 77
13 Characteristics of analog peripherals . . . . . . 77
14 Application information. . . . . . . . . . . . . . . . . . 86
14.1 ADC usage notes . . . . . . . . . . . . . . . . . . . . . . 86
14.2 Suggested USB interface solutions . . . . . . . . 86
14.2.1 USB Low-speed operation . . . . . . . . . . . . . . . 87
14.3 XTAL input and crystal oscillator component
selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
14.4 XTAL Printed-Circuit Board (PCB) layout
guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
14.5 RTC oscillator component selection . . . . . . . . 91
14.6 Connecting power, clocks, and debug
functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
14.7 Termination of unused pins. . . . . . . . . . . . . . . 93
14.8 Pin states in different power modes . . . . . . . . 94
14.9 ElectroMagnetic Compatibility (EMC) . . . . . . . 95
15 Package outline . . . . . . . . . . . . . . . . . . . . . . . . 96
16 Soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
17 References . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
18 Revision history . . . . . . . . . . . . . . . . . . . . . . . 103
19 Legal information. . . . . . . . . . . . . . . . . . . . . . 104
19.1 Data sheet status . . . . . . . . . . . . . . . . . . . . . 104
19.2 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
19.3 Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . 104
19.4 Trademarks. . . . . . . . . . . . . . . . . . . . . . . . . . 105
20 Contact information. . . . . . . . . . . . . . . . . . . . 105
21 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
Authorized Distributor
NXP:
OM13067UL LPC1517JBD48E LPC1549JBD100E LPC1518JBD64E LPC1548JBD64QL LPC1518JBD100E
LPC1547JBD48QL LPC1549JBD64QL LPC1519JBD64E LPC1517JBD64E LPC1548JBD100E LPC1547JBD64QL
LPC1519JBD100E LPC1549JBD48QL OM13056,598 LPC1517JBD64Y