LPC84 X
LPC84 X
1. General description
The LPC84x are an Arm Cortex-M0+ based, low-cost 32-bit MCU family operating at CPU
frequencies of up to 30 MHz. The LPC84x support up to 64 KB of flash memory and
16 KB of SRAM.
The peripheral complement of the LPC84x includes a CRC engine, four I2C-bus
interfaces, up to five USARTs, up to two SPI interfaces, Capacitive Touch Interface, one
multi-rate timer, self-wake-up timer, SCTimer/PWM, one general purpose 32-bit
counter/timer, a DMA, one 12-bit ADC, two 10-bit DACs, one analog comparator,
function-configurable I/O ports through a switch matrix, an input pattern match engine,
and up to 54 general-purpose I/O pins.
For additional documentation related to the LPC84x parts, see Section 18.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
3. Applications
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
4. Ordering information
Table 1. Ordering information
Type number Package
Name Description Version
LPC845M301JBD64 LQFP64 Plastic low profile quad flat package; 64 leads; body 10 10 1.4 mm SOT314-2
LPC845M301JBD48 LQFP48 Plastic low profile quad flat package; 48 leads; body 7 7 1.4 mm SOT313-2
LPC845M301JHI48 HVQFN48 HVQFN: plastic thermal enhanced very thin quad flat package; no leads; SOT619-1
48 terminals; body 7 7 0.85 mm
LPC845M301JHI33 HVQFN33 HVQFN: plastic thermal enhanced very thin quad flat package; no leads; SOT617-11
33 terminals; body 5 5 0.85 mm
LPC844M201JBD64 LQFP64 Plastic low profile quad flat package; 64 leads; body 10 10 1.4 mm SOT314-2
LPC844M201JBD48 LQFP48 Plastic low profile quad flat package; 48 leads; body 7 7 1.4 mm SOT313-2
LPC844M201JHI48 HVQFN48 HVQFN: plastic thermal enhanced very thin quad flat package; no leads; SOT619-1
48 terminals; body 7 7 0.85 mm
LPC844M201JHI33 HVQFN33 HVQFN: plastic thermal enhanced very thin quad flat package; no leads; SOT617-11
33 terminals; body 5 5 0.85 mm
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
5. Marking
NXP
n
Terminal 1 index area 1
aaa-014382 aaa-011231
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
6. Block diagram
Boot ROM
16 kB
P1 SRAM/MTB
Multilayer 8 kB
AHB Matrix P2 SRAM
8 kB
P4
FAIM Registers
Wakeup Timer
Multi-Rate Timer
Watchdog
Windowed WDT
Osc
Gray-shaded blocks show peripherals that can provide hardware triggers or fixed DMA requests for DMA transfers.
Fig 3. LPC84x block diagram
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
7. Pinning information
7.1 Pinning
63 PIO0_17/ADC_9/DACOUT_0
51 PIO0_23/ADC_3/ACMP_I4
49 PIO0_14/ACMP_I3/ADC_2
50 PIO0_29/DACOUT_1
54 PIO0_30/ACMP_I5
61 PIO0_18/ADC_8
60 PIO0_19/ADC_7
58 PIO0_20/ADC_6
57 PIO0_21/ADC_5
55 PIO0_22/ADC_4
64 PIO1_10
62 PIO1_11
59 PIO1_21
56 PIO1_20
52 VDDA
53 VSSA
PIO1_8/CAPT_YL 1 48 PIO0_0/ACMP_ I1/TDO
PIO0_13/ADC_10 2 47 PIO1_7/CAPT_X8
PIO1_9/CAPT_YH 3 46 PIO0_6/ADC_1/ACMPVREF
PIO0_12 4 45 PIO0_7/ADC_0
PIO0_5/RESET 5 44 PIO1_19
PIO0_4/ADC_11/TRST/WAKEUP 6 43 PIO1_18
VDD 7 42 VREFP
VSS 8 41 VREFN
PIO1_12 9 40 VSS
PIO0_28/WKTCLKIN 10 39 VDD
PIO1_13 11 38 PIO1_6/CAPT_X7
SWCLK/PIO0_3/TCK 12 37 PIO1_17
PIO0_31/CAPT_X0 13 36 PIO1_16
SWDIO/PIO0_2/TMS 14 35 PIO1_5/CAPT_6
PIO1_0/CAPT_X1 15 34 PIO0_8/XTALIN
PIO0_11/I2C0_SDA 16 33 PIO0_9/XTALOUT
PIO0_10/I2C0_SCL 17
PIO1_1/CAPT_X2 18
PIO0_16 19
PIO1_2/CAPT_X3 20
PIO0_27 21
PIO1_14 22
PIO0_26 23
PIO1_15 24
VSS 25
VDD 26
PIO0_25 27
PIO0_24 28
PIO1_3/CAPT_X4 29
PIO0_15 30
PIO1_4/CAPT_X5 31
PIO0_1/ACMP_I2/CLKIN/TDI 32
aaa-026593
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
48 PIO0_17/ADC_9/DACOUT_0
37 PIO0_14/ACMP_I3/ADC_2
39 PIO0_23/ADC_3/ACMP_I4
38 PIO0_29/DACOUT_1
42 PIO0_30/ACMP_I5
46 PIO0_19/ADC_7
47 PIO0_18/ADC_8
45 PIO0_20/ADC_6
44 PIO0_21/ADC_5
43 PIO0_22/ADC_4
40 VDDA
41 VSSA
PIO1_8/CAPT_YL 1 36 PIO0_0/ACMP_I1/TDO
PIO0_13/ADC_10 2 35 PIO1_7/CAPT_X8
PIO1_9/CAPT_YH 3 34 PIO0_6/ADC_1/ACMPVREF
PIO0_12 4 33 PIO0_7/ADC_0
PIO0_5/RESET 5 32 VREFP
PIO0_4/ADC_11/TRST/WAKEUP 6 31 VREFN
PIO0_28/WKTCLKIN 7 30 VSS
SWDCLK/PIO0_3/TCK 8 29 VDD
PIO0_31/CAPT_X0 9 28 PIO1_6/CAPT_X7
SWDIO/PIO0_2/TMS 10 27 PIO1_5/CAPT_X6
PIO1_0/CAPT_X1 11 26 PIO0_8/XTALIN
PIO0_11/I2C0_SDA 12 25 PIO0_9/XTALOUT
PIO0_10/I2C0_SCL 13
PIO1_1/CAPT_X2 14
PIO0_16 15
PIO1_2/CAPT_X3 16
PIO0_27 17
PIO0_26 18
PIO0_25 19
PIO0_24 20
PIO1_3/CAPT_X4 21
PIO0_15 22
PIO1_4/CAPT_X5 23
PIO0_1/ACMP_I2/CLKIN/TDI 24
aaa-026594
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
48 PIO0_17/ADC_9/DACOUT_0
39 PIO0_23/ADC_3/ACMP_I4
37 PIO0_14/ADC_2/ACMP_I3
38 PIO0_29/DACOUT_1
42 PIO0_30/ACMP_I5
47 PIO0_18/ADC_8
46 PIO0_19/ADC_7
45 PIO0_20/ADC_6
44 PIO0_21/ADC_5
43 PIO0_22/ADC_4
40 VDDA
41 VSSA
terminal 1
index area
PIO1_8/CAPT_YL 1 36 PIO0_0/ACMPIN_I1/TDO
PIO0_13/ADC_10 2 35 PIO1_7/CAPT_X8
PIO1_9/CAPT_YH 3 34 PIO0_6/ADC_1/ACMPVREF
PIO0_12 4 33 PIO0_7/ADC_0
PIO0_5/RESET 5 32 VREFP
PIO0_4/ADC_11/TRST/WAKEUP 6 31 VREFN
PIO0_28/WKTCLKIN 7 30 VSS
SWDCLK/PIO0_3/TCK 8 29 VDD
PIO0_31/CAPT_X0 9 28 PIO1_6/CAPT_X7
SWDIO/PIO0_2/TMS 10 27 PIO1_5/CAPT_X6
PIO1_0/CAPT_X1 11 26 PIO0_8/XTALIN
PIO0_11/I2C0_SDA 12 25 PIO0_9/XTALOUT
PIO0_10/I2C0_SCL 13
PIO1_01/CAPT_X2 14
PIO0_16 15
PIO1_2/CAPT_X3 16
PIO0_27 17
PIO0_26 18
PIO0_25 19
PIO0_24 20
PIO1_3/CAPT_X4 21
PIO0_15 22
PIO1_4/CAPT_X5 23
PIO0_1/ACMP_I2/CLKIN/TDI 24
aaa-0265 6
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
PIO0_17/ADC_9/DACOUT_0
PIO0_14/ACMP_I3/ADC_2
PIO0_23/ADC_3/ACMP_I4
PIO0_18/ADC_8
PIO0_19/ADC_7
PIO0_20/ADC_6
PIO0_21/ADC_5
PIO0_22/ADC_4
terminal 1
index area
32
31
30
29
28
27
26
25
PIO0_13/ADC_10 1 24 PIO0_0/ACMP_I1/TDO
PIO0_12 2 23 PIO0_6/ADC_1/ACMPVREF
PIO0_5/RESET 3 22 PIO0_7/ADC_0
PIO0_4/ADC_11/TRST/WAKEUP 4 21 VREFP
PIO0_28/WKTCLKIN 5 20 VREFN
SWCLK/PIO0_3/TCK 6 19 VDD
SWDIO/PIO0_2/TMS 7 33 VSS 18 PIO0_8/XTALIN
PIO0_11/I2C0_SDA 8 17 PIO0_9/XTALOUT
10
11
12
13
14
15
16
9
PIO0_10/I2C0_SCL
PIO0_16
PIO0_27
PIO0_26
PIO0_25
PIO0_24
PIO0_15
PIO0_1/ACMP_I2/CLKINTDI
aaa-026595
Movable functions for the I2C, USART, SPI, CTimer, SCT pins, and other peripherals can
be assigned through the switch matrix to any pin that is not power or ground in place of
the pin’s fixed functions.
Do not assign more than one output to any pin. However, an output and/or one or more
inputs can be assigned to a pin. Once any function is assigned to a pin, the pin’s GPIO
functionality is disabled.
Pin PIO0_4 triggers a wake-up from deep power-down mode. If the part must wake up
from deep power-down mode via an external pin, do not assign any movable function to
this pin.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
PIO0_10 and PIO_11 are high current source pins while PIO0_2, PIO0_3, PIO0_12, and
PIO0_16 are high drive output pins.
The JTAG functions TDO, TDI, TCK, TMS, and TRST are selected on pins PIO0_0 to
PIO0_4 by hardware when the part is in boundary scan mode.
HVQFN48
HVQFN33
LQFP64
LQFP48
state[1]
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
HVQFN48
HVQFN33
LQFP64
LQFP48
state[1]
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
HVQFN48
HVQFN33
LQFP64
LQFP48
state[1]
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
HVQFN48
HVQFN33
LQFP64
LQFP48
state[1]
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
HVQFN48
HVQFN33
LQFP64
LQFP48
state[1]
[1] Pin state at reset for default function: I = Input; AI = Analog Input; O = Output; PU = internal pull-up enabled (pins pulled up to full VDD
level); IA = inactive, no pull-up/down enabled; F = floating. For pin states in the different power modes, see Section 14.6 “Pin states in
different power modes”. For termination on unused pins, see Section 14.5 “Termination of unused pins”.
[2] 5 V tolerant pin providing standard digital I/O functions with configurable modes, configurable hysteresis, and analog input. When
configured as an analog input, the digital section of the pin is disabled, and the pin is not 5 V tolerant.
[3] 5 V tolerant pad providing digital I/O functions with configurable pull-up/pull-down resistors and configurable hysteresis. This pin is
active in deep power-down mode and includes a 20 ns glitch filter (active in all power modes). In deep power-down mode, pulling the
WAKEUP pin LOW wakes up the chip. The wake-up pin function can be disabled and the pin can be used for other purposes, if the
WKT low-power oscillator is enabled for waking up the part from deep power-down mode. See Table 20 “Dynamic characteristics:
WKTCLKIN pin” for the WKTCLKIN input.
[4] 5 V tolerant pad providing digital I/O functions with configurable pull-up/pull-down resistors and configurable hysteresis; includes
high-current output driver.
[5] 5 V tolerant pad providing digital I/O functions with configurable pull-up/pull-down resistors and configurable hysteresis.
[6] True open-drain pin. I2C-bus pins compliant with the I2C-bus specification for I2C standard mode, I2C Fast-mode, and I2C Fast-mode
Plus. Do not use this pad for high-speed applications such as SPI or USART. 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.
[7] See Figure 14 for the reset pad configuration. This pin includes a 20 ns glitch filter (active in all power modes). RESET functionality is
available in deep power-down mode. Use the WAKEUP pin to reset the chip and wake up from deep power-down mode.
[8] 5 V tolerant pin providing standard digital I/O functions with configurable modes, configurable hysteresis, and analog I/O for the system
oscillator. When configured for XTALIN and XTALOUT, the digital section of the pin is disabled, and the pin is not 5 V tolerant.
[9] The WKTCLKIN function is enabled in the DPDCTRL register in the PMU. See the LPC84x user manual.
[10] The digital part of this pin is 3 V tolerant pin due to special analog functionality. Pin provides standard digital I/O functions with
configurable modes, configurable hysteresis, and an analog input. When configured as an analog input, the digital section of the pin is
disabled.
[11] Thermal pad for HVQFN33.
Table 5. Movable functions (assign to pins PIO0_0 to PIO0_31, PIO1_0 to PIO1_21 through
switch matrix)
Function name Type Description
Ux_TXD O Transmitter output for USART0 to USART4.
Ux_RXD I Receiver input for USART0 to USART4.
Ux_RTS O Request To Send output for USART0 to USART4.
Ux_CTS I Clear To Send input for USART0 to USART4.
Ux_SCLK I/O Serial clock input/output for USART0 to USART4 in synchronous mode.
SPIx_SCK I/O Serial clock for SPI0 and SPI1.
SPIx_MOSI I/O Master Out Slave In for SPI0 and SPI1.
SPIx_MISO I/O Master In Slave Out for SPI0 and SPI1.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
Table 5. Movable functions (assign to pins PIO0_0 to PIO0_31, PIO1_0 to PIO1_21 through
switch matrix)
Function name Type Description
SPIx_SSEL0 I/O Slave select 0 for SPI0 and SPI1.
SPIx_SSEL1 I/O Slave select 1 for SPI0 and SPI1.
SPIx_SSEL2 I/O Slave select 2 for SPI0 and SPI1.
SPIx_SSEL3 I/O Slave select 3 for SPI0 and SPI1.
SCT_PIN0 I Pin input 0 to the SCT input multiplexer.
SCT_PIN1 I Pin input 1 to the SCT input multiplexer.
SCT_PIN2 I Pin input 2 to the SCT input multiplexer.
SCT_PIN3 I Pin input 3 to the SCT input multiplexer.
SCT_OUT0 O SCT output 0.
SCT_OUT1 O SCT output 1.
SCT_OUT2 O SCT output 2.
SCT_OUT3 O SCT output 3.
SCT_OUT4 O SCT output 4.
SCT_OUT5 O SCT output 5.
I2Cx_SDA I/O I2C1, I2C2, and I2C3 bus data input/output.
I2Cx_SCL I/O I2C1, I2C2, and I2C3 bus clock input/output.
ACMP_O O Analog comparator output.
CLKOUT O Clock output.
GPIO_INT_BMAT O Output of the pattern match engine.
T0_MAT0 O Timer Match channel 0.
T0_MAT1 O Timer Match channel 1.
T0_MAT2 O Timer Match channel 2.
T0_MAT3 O Timer Match channel 3.
T0_CAP0 I Timer Capture channel 0.
T0_CAP1 I Timer Capture channel 1.
T0_CAP2 I Timer Capture channel 2.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
8. Functional description
Integrated in the core are the NVIC and Serial Wire Debug with four breakpoints and two
watchpoints. The Arm Cortex-M0+ core supports a single-cycle I/O enabled port for fast
GPIO access.
A bit-band module is added in series with the AHB matrix to allow atomic
read-modify-write operations acting on a single bit.
• Boot loader.
• Supports Flash In-Application Programming (IAP).
• Supports In-System Programming (ISP) through USART, SPI, and I2C.
• On-chip ROM APIs for integer divide.
• FAIM API.
• FRO API.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
The Arm private peripheral bus includes the Arm core registers for controlling the NVIC,
the system tick timer (SysTick), and the reduced power modes.
aaa-026589
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
8.7.1 Features
• Nested Vectored Interrupt Controller is a part of the Arm Cortex-M0+.
• Tightly coupled interrupt controller provides low interrupt latency.
• Controls system exceptions and peripheral interrupts.
• Supports 32 vectored interrupts.
• In the LPC84x, the NVIC supports vectored interrupts for each of the peripherals and
the eight pin interrupts.
• Four programmable interrupt priority levels with hardware priority level masking.
• Software interrupt generation using the Arm exceptions SVCall and PendSV.
• Supports NMI.
Remark: The functionality of each I/O pin is flexible and is determined entirely through the
switch matrix. See Section 8.10 for details.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. 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-014392
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
Functions that need specialized pads like the oscillator pins XTALIN and XTALOUT 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 4. If a
fixed-pin function is disabled, any other movable function can be assigned to this pin.
• GPIO registers are on the Arm Cortex-M0+ IO bus for fastest possible single-cycle I/O
timing, allowing GPIO toggling with rates of up to 15 MHz.
• An entire port value can be written in one instruction.
• Mask, set, and clear operations are supported for the entire port.
All GPIO port pins are fixed-pin functions that are enabled or disabled on the pins by the
switch matrix. Therefore each GPIO port pin is assigned to one specific pin and cannot be
moved to another pin. Except for pins SWDIO/PIO0_2, SWCLK/PIO0_3, and
RESET/PIO0_5, the switch matrix enables the GPIO port pin function by default.
8.11.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.
• All I/O default to GPIO inputs with internal pull-up resistors enabled after reset -
except for the I2C-bus true open-drain pins PIO0_10 and PIO0_11.
• Pull-up/pull-down configuration, repeater, and open-drain modes can be programmed
through the IOCON block for each GPIO pin (see Figure 9).
• Direction (input/output) can be set and cleared individually.
• Pin direction bits can be toggled.
The pattern match engine can be used, with software, to create complex state machines
based on pin inputs.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
Any digital pin, independently of the function selected through the switch matrix, 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 on the IO+
bus for fast single-cycle access.
8.12.1 Features
• Pin interrupts
– Up to eight pins can be selected from all digital pins 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 LPC84x from sleep mode, deep-sleep mode, and
power-down mode.
• Pin interrupt pattern match engine
– Up to eight pins can be selected from all digital pins 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 also programmed to generate an RXEV
notification to the Arm CPU. The RXEV signal can be connected to a pin.
– The pattern match engine does not facilitate wake-up.
8.13.1 Features
• Twenty five channels with each channel connected to peripheral request inputs.
• DMA operations can be triggered by on-chip events or by two pin interrupts. Each
DMA channel can select one trigger input from13 sources.
• Priority is user selectable for each channel.
• Continuous priority arbitration.
• Address cache with two entries.
• Efficient use of data bus.
• Supports single transfers up to 1,024 words.
• Address increment options allow packing and/or unpacking data.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
8.14 USART0/1/2/3/4
All USART functions are movable functions and are assigned to pins through the switch
matrix.
8.14.1 Features
• Maximum bit rates of 1.875 Mbit/s in asynchronous mode and 10 Mbit/s in
synchronous mode for USART functions connected to all digital pins except the
open-drain pins.
• 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
possible with software address detection and transceiver direction control.)
• Parity generation and checking: odd, even, or none.
• 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.
• A fractional rate divider is shared among all UARTs.
• 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.
• Separate data and flow control loopback modes for testing.
• Baud rate clock can also be output in asynchronous mode.
8.15 SPI0/1
All SPI functions are movable functions and are assigned to pins through the switch
matrix.
8.15.1 Features
• Maximum data rates of up to 30 Mbit/s in master mode and up to 18 Mbit/s in slave
mode for SPI functions connected to all digital pins except the open-drain pins.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
The I2C0-bus functions are fixed-pin functions. All other I2C-bus functions for I2C1/2/3
are movable functions and can be assigned through the switch matrix to any pin.
However, only the true open-drain pins provide the electrical characteristics to support the
full I2C-bus specification (see Ref. 3).
8.16.1 Features
• I2C0 supports Fast-mode Plus with data rates of up to 1 Mbit/s in addition to standard
and fast modes on two true open-drain pins.
• True open-drain pins provide fail-safe operation: When the power to an I2C-bus
device is switched off, the SDA and SCL pins connected to the I2C0-bus are floating
and do not disturb the bus.
• I2C1/2/3 support standard and fast mode with data rates of up to 400 kbit/s.
• 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.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
The Capacitive Touch module measures the change in capacitance of an electrode plate
when an earth-ground connected object (for example, finger) is brought within close
proximity.
8.18 SCTimer/PWM
The SCTimer/PWM can perform basic 16-bit and 32-bit timer/counter functions with
match outputs and external and internal capture inputs. In addition, the SCTimer/PWM
can employ up to eight different programmable states, which can change under the
control of events, to provide complex timing patterns.
The inputs to the SCT are multiplexed between movable functions from the switch matrix
and internal connections such as the ADC threshold compare interrupt, the comparator
output, and the Arm core signals Arm_TXEV and DEBUG_HALTED. The signal on each
SCT input is selected through the INPUT MUX.
All outputs of the SCT are movable functions and are assigned to pins through the switch
matrix. One SCT output can also be selected as one of the ADC conversion triggers.
8.18.1 Features
• Each SCTimer/PWM supports:
– Eight match/capture registers.
– Eight events.
– Eight states.
– Five inputs. The fifth input is hard-wired to a clock source. Each input is
configurable through an input multiplexer to use one of four external pins
(connected through the switch matrix) or one of four internal sources. The
maximum input signal frequency is 25 MHz.
– Six outputs. Connected to pins through the switch matrix.
• Counter/timer features:
– Each SCTimer is configurable as two 16-bit counters or one 32-bit counter.
– Counters can be clocked by the system clock or selected input.
– Configurable as up counters or up-down counters.
– Configurable number of match and capture registers. Up to eight match and
capture registers total.
– Upon match create the following events: interrupt; stop, limit, halt the timer or
change counting direction; toggle outputs.
– Counter value can be loaded into capture register triggered by a match or
input/output toggle.
• PWM features:
– Counters can be used with match registers to toggle outputs and create
time-proportioned PWM signals.
– Up to six single-edge or dual-edge PWM outputs with independent duty cycle and
common PWM cycle length.
• Event creation features:
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
– The following conditions define an event: a counter match condition, an input (or
output) condition such as a rising or falling edge or level, a combination of match
and/or input/output condition.
– Selected events can limit, halt, start, or stop a counter or change its direction.
– Events trigger state changes, output toggles, interrupts, and DMA transactions.
– Match register 0 can be used as an automatic limit.
– In bidirectional 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 happen in the state while the counter is
running.
– A state changes into another state as a result of an event.
– Each event can be assigned to one or more states.
– State variable allows sequencing across multiple counter cycles.
• One SCTimer match output can be selected as ADC hardware trigger input.
8.19 CTIMER
8.19.2 Features
• A 32-bit timer/counter with a programmable 32-bit prescaler.
• Counter or timer operation.
• Up to three 32-bit captures can take a snapshot of the timer value when an input
signal transitions. A capture event may also optionally generate an interrupt. The
number of capture inputs for each timer that are actually available on device pins can
vary by device.
• Four 32-bit match registers that allow:
– Continuous operation with optional interrupt generation on match.
– Stop timer on match with optional interrupt generation.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
8.20.1 Features
• 31-bit interrupt timer
• Four channels independently counting down from individually set values
• Bus stall, repeat and one-shot interrupt modes
8.21.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.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
8.22.1 Features
• 32-bit loadable down counter. Counter starts automatically when a count value is
loaded. Time-out generates an interrupt/wake up request.
• The WKT resides in a separate, always-on power domain.
• The WKT supports three clock sources: an external clock on the WKTCLKIN pin, the
low-power oscillator, and the FRO. The low-power oscillator is located in the
always-on power domain, so it can be used as the clock source in deep power-down
mode.
• The WKT can be used for waking up the part from any reduced power mode,
including deep power-down mode, or for general-purpose timing.
After power-up and after switching the input channels of the comparator, the output of the
voltage ladder must be allowed to settle to its stable value before it can be used as a
comparator reference input. Settling times are given in Table 29.
The analog comparator output is a movable function and is assigned to a pin through the
switch matrix. The comparator inputs and the voltage reference are enabled through the
switch matrix.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
4
32 comparator
level ACMP_O,
sync ADC trigger
edge detect
comparator
edge NVIC
DACOUT_0
internal
voltage
reference
4
ACMP_I[5:1]
aaa-027485
8.23.1 Features
• Selectable 0 mV, 10 mV ( 5 mV), and 20 mV ( 10 mV), 40 mV ( 20 mV) input
hysteresis.
• Two selectable external voltages (VDD or ACMPVREF ); fully configurable on either
positive or negative input channel.
• Internal voltage reference from band gap selectable on either positive or negative
input channel.
• 32-stage voltage ladder with the internal reference voltage selectable on either the
positive or the negative input channel.
• Voltage ladder source voltage is selectable from an external pin or the main 3.3 V
supply voltage rail.
• Voltage ladder can be separately powered down for applications only requiring the
comparator function.
• Interrupt output is connected to NVIC.
• Comparator level output is connected to output pin ACMP_O.
• One comparator output is internally collected to the ADC trigger input multiplexer.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
The ADC includes a hardware threshold compare function with zero-crossing detection.
Remark: For best performance, select VREFP and VREFN at the same voltage levels as
VDD and VSS. When selecting VREFP and VREFN different from VDD and VSS, ensure
that the voltage midpoints are the same:
8.24.1 Features
• 12-bit successive approximation analog to digital converter.
• 12-bit conversion rate of up to 1.2 MSamples/s.
• 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 (not to exceed VDD voltage level).
• Burst conversion mode for single or multiple inputs.
• Hardware calibration mode.
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
• 10-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.
8.26.1 Features
• Supports three common polynomials CRC-CCITT, CRC-16, and CRC-32.
– CRC-CCITT: x16 + x12 + x5 + 1
– CRC-16: x16 + x15 + x2 + 1
– CRC-32: x32 + x26 + x23 + x22 + x16 + x12 + x11 + x10 + x8 + x7 + x5 + x4 + x2 + x + 1
• Bit order reverse and 1’s complement programmable setting for input data and CRC
sum.
• Programmable seed number setting.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
1. The crystal oscillator (SysOsc) operating at frequencies between 1 MHz and 25 MHz.
2. Free Running Oscillator.
3. Watchdog Oscillator
4. Low Power Oscillator
Each oscillator, except the low-frequency oscillator, can be used for more than one
purpose as required in a particular application.
Following reset, the LPC84x operates from the FRO until switched by software allowing
the part to run without any external crystal and the bootloader code to operate at a known
frequency.
• This oscillator provides a selectable 18 MHz, 24 MHz, and 30 MHz outputs that can
be used as a system clock. Also, these outputs can be divided down to 1.125 MHz,
1.5 MHz, 1.875 MHz, 9 MHz, 12 MHz, and 15 MHz for system clock.
• The FRO is trimmed to ±1 % accuracy over the entire voltage and temperature range
of 0 C to 70 C.
• By default, the fro_oscout is 24 MHz and is divided by 2 to provide a default system
(CPU) clock frequency of 12 MHz.
The SysOsc 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.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
The internal low-power 10 kHz ( 40% accuracy) oscillator serves as the clock input to the
WKT. This oscillator can be configured to run in all low-power modes.
An 1.8 V external clock source can be supplied on the XTALIN pins to the system
oscillator limiting the voltage of this signal (see Section 14.2 “XTAL oscillator”).
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
fro SYSAHBCLKCTRL
sys_osc_clk 00
0 external_clk (one bit per destination)
clk_in 01 main_clk_pre_pll
1 wd_osc_clk 00 to AHB peripherals, AHB
10 sys_pll0_clk matrix, memories, etc.
fro_div 01 main_clk main_clk
11 (1) “none”
External clock select 10 Divider
to CPU
EXTCLKSEL[0] “none”
11 (1)
Main clock select
MAINCLKSEL[1:0] SYSAHBCLKDIV
Main clock PLL select
MAINCLKPLLSEL
fro
00
external_clk
01 System sys_pll0_clk peripheral_clk
wdt_osc_clk pin filter(i)
10 PLL Divider
fro_div
11 (1)
System PLL IOCONCLKDIV(i)
settings
PLL clock select
SYSPLLCLKSEL[1:0]
SYSAHBCLKCTRL0[SCT]
fro
00
xtalin main_clk to SCT input 4
Crystal sys_osc_clk 01 SCT
xtalout sys_pll0_clk Clock Divider
oscillator 10
“none”
11
Range select and bypass SCTCLKDIV
SYSOSCCTRL[1:0]
SCT clock select
SCTCLKSEL[1:0]
fro
00
sys_pll0_clk
01 ADC Clock to ADC
“none” Divider
11
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
fro SYSAHBCLKCTRL0[UARTn]
000
main_clk
001
frg0clk to UARTn
010
frg1clk
011
fro_div
100
“none”
111
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
Divide by 2 0
Divide by 8 1
FAIM word0,
low power boot bit 0
fro
FRO fro_oscout
1
Oscillator 30/24/18 MHz
(default = 24 MHz)
FROOSCCTRL[17] fro_div
FRO_DIRECT bit Divide by 2
set_fro_frequency() API
aaa-027256
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
The LPC84x can wake up from deep-sleep mode via a reset, digital pins selected as
inputs to the pin interrupt block, a watchdog timer interrupt, an interrupt from Capacitive
Touch, or an interrupt from the USART (if the USART is configured in synchronous slave
mode), the SPI, or the I2C blocks (in slave mode).
Any interrupt used for waking up from deep-sleep mode must be enabled in one of the
SYSCON wake-up enable registers and the NVIC.
Deep-sleep mode saves power and allows for short wake-up times.
The LPC84x can wake up from power-down mode via a reset, digital pins selected as
inputs to the pin interrupt block, a watchdog timer interrupt, an interrupt from Capacitive
Touch, or an interrupt from the USART (if the USART is configured in synchronous slave
mode), the SPI, or the I2C blocks (in slave mode).
Any interrupt used for waking up from power-down mode must be enabled in one of the
SYSCON wake-up enable registers and the NVIC.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
The LPC84x can be prevented from entering deep power-down mode by setting a lock bit
in the PMU block. Locking out deep power-down mode enables the application to keep
the watchdog timer or the BOD running at all times.
If the part must wake up from deep power-down mode via the WAKEUP pin or RESET
pin, do not assign any movable function to this pin and must be externally pulled HIGH
before entering deep power-down mode.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
8.28.1 Reset
Reset has four sources on the LPC84x: 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 FRO 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.
9''
9''
9''
5SX (6'
QV5&
UHVHW 3,1
*/,7&+),/7(5
(6'
966
DDD
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
In addition, ISP entry via the ISP entry pin can be disabled without enabling CRP. For
details, see the LPC84x 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 the
ISP entry 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 entry pin for valid user code can
be disabled. For details, see the LPC84x user manual.
8.28.5 AHBLite
The AHBLite connects the CPU bus of the Arm Cortex-M0+ to the flash memory, the main
static RAM, the CRC, the DMA, the ROM, and the APB peripherals.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. 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 LPC84x is
in reset. The JTAG boundary scan pins are selected by hardware when the part is in
boundary scan mode (see Table 4).
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
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 (core and external [2] 0.5 +4.6 V
rail)
VDDA Analog supply voltage on pin VDDA 0.5 +4.6 V
Vref reference voltage on pin VREFP 0.5 VDD V
VI input voltage 5 V tolerant I/O pins; VDD 1.8 V [3][4] 0.5 +5.5 V
on I2C open-drain pins [5] 0.5 +5.5 V
3 V tolerant I/O pin ACMPVREF [6] 0.5 +3.6 V
VIA analog input voltage on digital pins configured for an [7][8] 0.5 +4.6 V
analog function [9]
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
T j = T amb + P D R th j – a (1)
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
[1] Typical ratings are not guaranteed. The values listed are for room temperature (25 C), nominal supply voltages.
[2] Including bonding pad capacitance. Based on simulation, not tested in production.
[3] The VDD supply voltage must be 1.9 V or above when connecting an external crystal oscillator to the system oscillator. If the VDD supply
voltage is below 1.9 V, an external clock source can be fed to the XTALIN by bypassing the system oscillator or the other clock sources
mentioned above can be used.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
[1] Assert the external reset pin until VDD is > 1.8 V if the power-up characteristic specification cannot be
implemented.
[2] VDD to stay above V1 for the entire duration twd.
[3] VDD to stay below V2 for the minimum duration of twd.
twd
VDD
V2
V1
0
t1 aaa-025788
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. 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.
Table 13. Static characteristics, supply pins
Tamb = 40 C to +105 C, unless otherwise specified.
Symbol Parameter Conditions Min Typ[1][2] Max[9] Unit
IDD supply current Active mode; code
while(1){}
executed from flash;
system clock = 1.5 MHz; VDD = 3.3 V; [3][4][5][6] - 530 - A
Low power boot
system clock = 12 MHz; VDD = 3.3 V; [3][4][5][6] - 2.0 - mA
Normal boot
system clock = 30 MHz; VDD = 3.3 V; [3][4][5][6] - 4.0 - mA
Normal boot
Sleep mode
system clock = 12 MHz; VDD = 3.3 V [3][4][5][6] - 1.3 - mA
system clock = 30 MHz; VDD = 3.3 V [3][4][5][6] - 2.8 - mA
IDD supply current Deep-sleep mode; [3][7]
VDD = 3.3 V;
Tamb = 25 C - 240 320 A
Tamb = 105 C - - 425 A
IDD supply current Power-down mode; [3][7]
VDD = 3.3 V
Tamb = 25 C - 1.5 10 A
Tamb = 105 C - - 70 A
IDD supply current Deep power-down mode; VDD = 3.3 V; 10 [8]
[1] Typical ratings are not guaranteed. The values listed are for room temperature (25 C), VDD = 3.3 V.
[2] Characterized through bench measurements using typical samples.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
[3] IDD measurements were performed with all pins configured as GPIO outputs driven LOW and pull-up resistors disabled.
[4] FRO enabled; system oscillator disabled; system PLL disabled.
[5] BOD disabled.
[6] All peripherals disabled in the SYSAHBCLKCTRL register. Peripheral clocks disabled in system configuration block.
[7] All oscillators and analog blocks turned off.
[8] WAKEUP pin pulled HIGH externally.
[9] Tested in production, VDD = 3.6 V.
DDD
9
,''
9
$
9
9
9
WHPSHUDWXUH&
Conditions: BOD disabled; all oscillators and analog blocks disabled in the PDSLEEPCFG register
(PDSLEEPCFG = 0x0000 18FF).
Fig 16. Deep-sleep mode: Typical supply current IDD versus temperature for different
supply voltages VDD
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
DDD
,''
$
9
9
9
WHPSHUDWXUH&
Conditions: BOD disabled; all oscillators and analog blocks disabled in the PDSLEEPCFG register
(PDSLEEPCFG = 0x0000 18FF).
Fig 17. Power-down mode: Typical supply current IDD versus temperature for different
supply voltages VDD
DDD
,''
$
9
9
9
9
WHPSHUDWXUH&
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
DDD
,''
$
9
9
9
9
WHPSHUDWXUH&
DDD
,''
$
9
9
9
9
WHPSHUDWXUH&
WKT running with external 10 kHz clock. Clock input waveform: square wave with rise time and fall
time of 5 ns.
Fig 20. Deep power-down mode: Typical supply current IDD versus temperature for
different supply voltages VDD (external 10 kHz input clock)
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
DDD
,''
$
9
9
9
9
WHPSHUDWXUH&
WKT running with external 32 kHz clock. Clock input waveform: square wave with rise time and fall
time of 5 ns.
Fig 21. Deep power-down mode: Typical supply current IDD versus temperature for
different supply voltages VDD (external 32 kHz input clock)
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
The supply currents are shown for FRO clock frequencies of 12 MHz and 30 MHz.
Table 14. Power consumption for individual analog and digital blocks
Peripheral Typical supply current in μA Notes
System clock frequency =
n/a 12 MHz 30 MHz
FRO 89 - - System oscillator running; PLL off;
independent of main clock frequency; FRO =
24 MHz. FRO output disabled.
System oscillator at 12 MHz 243 - - FRO running; PLL off; independent of main
clock frequency.
Watchdog oscillator 1 - - FRO; PLL off; independent of main clock
frequency.
BOD 42 - - Independent of main clock frequency.
Flash 273 - - -
Main PLL 156 - - FRO (24 MHz) running; Main clock running at
fro_div (12 MHz)
CLKOUT - 25 61 Main clock divided by 4 in the CLKOUTDIV
register. Not connected to pin.
ROM - 35 86 -
GPIO + pin interrupt/pattern - 159 384 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 - 85 206 -
IOCON - 80 193 -
SCTimer/PWM - 172 419 -
CTimer 51 123
MRT - 102 245 -
WWDT - 28 70 -
I2C0 - 54 131 -
I2C1 - 47 115 -
I2C2 - 44 106 -
I2C3 - 60 145 -
SPI0 - 43 106 -
SPI1 - 44 107 -
USART0 - 53 128 -
USART1 - 53 130 -
USART2 - 46 90 -
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
Table 14. Power consumption for individual analog and digital blocks …continued
Peripheral Typical supply current in μA Notes
System clock frequency =
n/a 12 MHz 30 MHz
USART3 - 58 142 -
USART4 - 56 137 -
Comparator ACMP - 79 144 -
ADC - 78 190 Digital controller only. Analog portion of the
ADC disabled in the PDRUNCFG register.
- 78 190 Combined analog and digital logic. ADC
enabled in the PDRUNCFG register and
LPWRMODE bit set to 1 in the ADC CTRL
register (ADC in low-power mode).
- 79 190 Combined analog and digital logic. ADC
enabled in the PDRUNCFG register and
LPWRMODE bit set to 0 in the ADC CTRL
register (ADC powered).
DAC 0 - 46 107 -
DAC 1 - 36 88 -
Capacitive Touch - 49 117 -
DMA - 355 858 -
CRC - 36 83 -
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. 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 - 0.4 - V
VOH HIGH-level output IOH = 20 mA; 2.5 V <= VDD < 3.6 V VDD 0.5 - - V
voltage IOH = 12 mA; 1.8 V <= VDD < 2.5 V VDD 0.5 - - V
VOL LOW-level output IOL = 4 mA - - 0.5 V
voltage 2.5 V <= VDD < 3.6 V
IOL = 3 mA - - 0.5 V
1.8 V <= VDD < 2.5 V
IOH HIGH-level output VOH = VDD 0.5 V; 20 - - mA
current 2.5 V <= VDD < 3.6 V
VOH = VDD 0.5 V; 12 - - mA
1.8 V <= VDD < 2.5 V
IOL LOW-level output VOL = 0.5 V 4 - - mA
current 2.5 V VDD 3.6 V
1.8 V VDD < 2.5 V 3 - - mA
IOLS LOW-level short-circuit VOL = VDD [5] - - 50 mA
output current
Ipd pull-down current VI = 5 V [6] 10 50 150 A
Ipu pull-up current VI = 0 V [6] 10 50 85 A
VDD < VI < 5 V 0 0 0 A
I2C-bus pins (PIO0_10 and PIO0_11)
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.5 V; I2C-bus
pins
current configured as standard mode pins
2.5 V <= VDD < 3.6 V 3.5 - - mA
1.8 V <= VDD < 2.5 V 3 - - mA
IOL LOW-level output VOL = 0.5 V; I2C-bus pins
current configured as Fast-mode Plus pins;
2.5 V <= VDD < 3.6 V 20 - - mA
1.8 V <= VDD < 2.5 V 16 - - mA
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
[1] Typical ratings are not guaranteed. The values listed are for room temperature (25 C), nominal supply voltages.
[2] Based on characterization. Not tested in production.
[3] Including voltage on outputs in 3-state mode.
[4] 3-state outputs go into 3-state mode in deep power-down mode.
[5] Allowed as long as the current limit does not exceed the maximum current allowed by the device.
[6] Pull-up and pull-down currents are measured across the weak internal pull-up/pull-down resistors. See Figure 22.
[7] To VSS.
VDD
IOL
Ipd
- +
pin PIO0_n A
IOH
Ipu
+ -
pin PIO0_n A
aaa-010819
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
DDD DDD
92+ 92+
9 9
& &
& &
& &
& &
,2+P$ ,2+P$
Conditions: VDD = 1.8 V; on pin PIO0_12. Conditions: VDD = 3.3 V; on pin PIO0_12.
Fig 23. High-drive output: Typical HIGH-level output voltage VOH versus HIGH-level output current IOH
DDD DDD
,2/ ,2/
P$ P$
&
&
&
&
&
&
&
&
92/9 92/9
Conditions: VDD = 1.8 V; on pins PIO0_10 and PIO0_11. Conditions: VDD = 3.3 V; on pins PIO0_10 and PIO0_11.
Fig 24. I2C-bus pins (high current sink): Typical LOW-level output current IOL versus LOW-level output voltage
VOL
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
DDD DDD
,2/ ,2/
P$ P$
& &
& &
& &
& &
92/9 92/9
Conditions: VDD = 1.8 V; standard port pins and Conditions: VDD = 3.3 V; standard port pins and
high-drive pin PIO0_12. high-drive pin PIO0_12.
Fig 25. Typical LOW-level output current IOL versus LOW-level output voltage VOL
DDD DDD
92+ 92+
9 9
&
&
&
&
&
&
&
&
,2+P$ ,2+P$
Conditions: VDD = 1.8 V; standard port pins. Conditions: VDD = 3.3 V; standard port pins.
Fig 26. Typical HIGH-level output voltage VOH versus HIGH-level output source current IOH
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
DDD DDD
,SX ,SX
$ $
& &
& &
& &
& &
9,9 9,9
Conditions: VDD = 1.8 V; standard port pins. Conditions: VDD = 3.3 V; standard port pins.
Fig 27. Typical pull-up current IPU versus input voltage VI
DDD DDD
,SG ,SG
$ $
& &
& &
& &
& &
9,9 9,9
Conditions: VDD = 1.8 V; standard port pins. Conditions: VDD = 3.3 V; standard port pins.
Fig 28. Typical pull-down current IPD versus input voltage VI
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
12.2 FRO
Table 17. Dynamic characteristic: FRO
Tamb = 40 C to +105 C; 1.8 V VDD 3.6 V.
Symbol Min Typ[1] Max Unit
FRO clock frequency; Condition: 0 C Tamb 70 C
fosc(RC) 18 -1 % 18 18 +1 % MHz
fosc(RC) 24 -1 % 24 24 +1 % MHz
fosc(RC) 30 -1 % 30 30 +1 % MHz
FRO clock frequency; Condition: 20 C Tamb 70 C
fosc(RC) 18 -2 % 18 18 +1 % MHz
fosc(RC) 24 -2 % 24 24 +1 % MHz
fosc(RC) 30 -2 % 30 30 +1 % MHz
FRO clock frequency; Condition: 40 C Tamb 105 C
fosc(RC) 18 -3.5 % 18 18 +2.5 % MHz
fosc(RC) 24 -3.5 % 24 24 +2.5 % MHz
fosc(RC) 30 -3.5 % 30 30 +2.5 % MHz
[1] Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply
voltages.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
fosc(int) internal oscillator DIVSEL = 0x1F, FREQSEL = 0x1 [2][3] - 9.4 - kHz
frequency in the WDTOSCCTRL register;
DIVSEL = 0x00, FREQSEL = 0xF [2][3] - 2300 - kHz
in the WDTOSCCTRL register
[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 %.
[3] See the LPC84x user manual.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
12.6 I2C-bus
Table 22. 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_10 and
PIO0_11
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_10
and PIO0_11
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_10 and
PIO0_11
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_10 and
PIO0_11
tHD;DAT data hold time [3][4][8] Standard-mode 0 - s
Fast-mode 0 - s
Fast-mode Plus; on 0 - s
pins PIO0_10 and
PIO0_11
tSU;DAT data set-up [9][10] Standard-mode 250 - ns
time Fast-mode 100 - ns
Fast-mode Plus; on 50 - ns
pins PIO0_10 and
PIO0_11
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
[8] The maximum tHD;DAT could be 3.45 s and 0.9 s for Standard-mode and Fast-mode but must be less than
the maximum of tVD;DAT or tVD;ACK by a transition time (see UM10204). This maximum must only be met if
the device does not stretch the LOW period (tLOW) of the SCL signal. If the clock stretches the SCL, the
data must be valid by the set-up time before it releases the clock.
[9] tSU;DAT is the data set-up time that is measured with respect to the rising edge of SCL; applies to data in
transmission and the acknowledge.
[10] A Fast-mode I2C-bus device can be used in a Standard-mode I2C-bus system but the requirement
tSU;DAT = 250 ns must then be met. This will automatically be the case if the device does not stretch the
LOW period of the SCL signal. If such a device does stretch the LOW period of the SCL signal, it must
output the next data bit to the SDA line tr(max) + tSU;DAT = 1000 + 250 = 1250 ns (according to the
Standard-mode I2C-bus specification) before the SCL line is released. Also the acknowledge timing must
meet this set-up time.
WI W68'$7
6'$
W+''$7 W9''$7
WI
W+,*+
W/2:
6 I6&/
DDD
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. 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_10 and PIO0_11.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
Tcy(clk)
SCK (CPOL = 0)
SCK (CPOL = 1)
SSEL
DATA VALID (MSB) DATA VALID DATA VALID (LSB) IDLE DATA VALID (MSB)
tDS tDH
MISO (CPHA = 0)
DATA VALID (MSB) DATA VALID DATA VALID (LSB) IDLE DATA VALID (MSB)
DATA VALID (LSB) DATA VALID DATA VALID (MSB) IDLE DATA VALID (MSB)
DATA VALID (LSB) DATA VALID DATA VALID (MSB) IDLE DATA VALID (MSB)
aaa-014969
Tcy(clk) = CCLK/DIVVAL with CCLK = system clock frequency. DIVVAL is the SPI clock divider. See the LPC84x User manual.
Fig 30. SPI master timing
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
Tcy(clk)
SCK (CPOL = 0)
SCK (CPOL = 1)
SSEL
DATA VALID (MSB) DATA VALID DATA VALID (LSB) IDLE DATA VALID (MSB)
tDS tDH
MOSI (CPHA = 0)
DATA VALID (MSB) DATA VALID DATA VALID (LSB) IDLE DATA VALID (MSB)
DATA VALID (LSB) DATA VALID DATA VALID (MSB) IDLE DATA VALID (MSB)
DATA VALID (LSB) DATA VALID DATA VALID (MSB) IDLE DATA VALID (MSB)
aaa-014970
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. 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_10 and PIO0_11.
Tcy(clk)
Un_SCLK (CLKPOL = 0)
Un_SCLK (CLKPOL = 1)
tv(Q) tvQ)
tsu(D) th(D)
aaa-015074
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
[1] Typical ratings are not guaranteed. The values listed are at room temperature (25 C), nominal supply
voltages.
[2] The wake-up time measured is the time between when a GPIO input pin is triggered to wake the device up
from the low power modes and from when a GPIO output pin is set in the interrupt service routine (ISR)
wake-up handler. ISR is located in SRAM.
[3] FRO enabled, all peripherals off. PLL disabled.
[4] WKT disabled. Wake up from deep power-down causes the part to go through entire reset
process. The wake-up time measured is the time between when the RESET pin is triggered to wake the
device up and when a GPIO output pin is set in the reset handler.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
13.1 BOD
Table 26. BOD static characteristics[1]
Tamb = 25 C.
Symbol Parameter Conditions Min Typ Max Unit
Vth threshold voltage interrupt level 1
assertion - 2.25 - V
de-assertion - 2.38 - V
interrupt level 2
assertion - 2.55 - V
de-assertion - 2.66 - V
interrupt level 3
assertion - 2.84 - V
de-assertion - 2.92 - V
reset level 0
assertion - 1.84 - V
de-assertion - 1.97 - V
reset level 1
assertion - 2.05 - V
de-assertion - 2.18 - V
reset level 2
assertion - 2.35 - V
de-assertion - 2.47 - V
reset level 3
assertion - 2.63 - V
de-assertion - 2.76 - V
[1] Interrupt levels are selected by writing the level value to the BOD control register BODCTRL, see the
LPC84x user manual. Interrupt level 0 is reserved.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
13.2 ADC
Table 27. 12-bit ADC static characteristics
Tamb = 40 C to +105 C unless noted otherwise; VDD = VDDA = 2.4 V to 3.6 V; VREFP = VDD = VDDA; VREFN = VSS.
Symbol Parameter Conditions Min Typ Max Unit
VIA analog input voltage 0 - VDDA V
Vref reference voltage on pin VREFP 2.4 - VDDA V
Cia analog input capacitance - - 26 pF
fclk(ADC) ADC clock frequency [2] - - 30 MHz
fs sampling frequency [2] - - 1.2 Msamples/s
ED differential linearity error [5][4] - 3.0 - LSB
EL(adj) integral non-linearity [6][4] - 2.0 - LSB
EO offset error [7][4] - 3.5 - LSB
Verr(fs) full-scale error voltage [8][4] - 0.1 - %
Zi input impedance fs = 1.2 Msamples/s [1][9][10] 0.1 - - M
[1] The input resistance of ADC channel 0 is higher than for all other channels. See Figure 33.
[2] In the ADC TRM register, set VRANGE = 0 (default).
[3] In the ADC TRM register, set VRANGE = 1.
[4] Based on characterization. Not tested in production.
[5] The differential linearity error (ED) is the difference between the actual step width and the ideal step width. See Figure 34.
[6] 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 34.
[7] 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 34.
[8] 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 34.
[9] Tamb = 25 C; maximum sampling frequency fs = 1.2 Msamples/s and analog input capacitance Cia = 26 pF.
[10] Input impedance Zi (See Section 13.2.1 “ADC input impedance”) is inversely proportional to the sampling frequency and the total input
capacity including Cia and Cio: Zi 1 / (fs Ci). See Table 13 for Cio.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. 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 - VREFN
1 LSB =
4096
aaa-016908
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
ADC
R1
ADCx
Cio
Cia Rsw
DAC ADCy
Cio
aaa-017600
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
aaa-014424
0.910
VO
ref
(mV)
(V)
0.905
0.900
0.895
0.890
-40 -10 20 50 80 110
temperature (°C)
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
[1] CL = 10 pF
[2] Characterized on typical samples, not tested in production.
[3] Input hysteresis is relative to the reference input channel and is software programmable.
[4] 100 mV overdrive corresponds to a square wave from 50 mV below the reference (VIC) to 50 mV above the reference.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
13.4 DAC
Table 32. 10-bit DAC electrical characteristics
VDD = VDDA = 2.7 V to 3.6 V; Tamb = 40 C to +105 C unless otherwise specified
Symbol Parameter Min Typ Max Unit
ED differential linearity error [1][2] - 0.4 - LSB
EL(adj) integral non-linearity [1][2] - 6.0 - LSB
EO offset error [1][2] - 57.0 - mV
EG gain error [1][2] - 36.0 - mV
CL load capacitance - 200 - pF
ROUT PIO0_17/DACOUT_0 pin resistance [3] - 90 200
ROUT PIO0_29/DACOUT_1 pin resistance [3] - 2 5 k
VOUT Output voltage range 0.175 - VDDA-0.175 V
[1] Typical ratings are not guaranteed. The values listed are for room temperature (25 C) and VDD = VDDA =
3.6 V.
[2] Characterized through bench measurements, not tested in production.
[3] DAC output voltage depends on the voltage divider ratio of the ROUT and external load resistance.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
FRO
starts
FRO status
internal reset
VDD
valid threshold
= 1.8 V
ta μs tb μs
GND
boot code
execution
finishes;
user code starts
aaa-027486
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
LPCxxxx
XTALIN XTALOUT
= CL CP
XTAL
RS
CX1 CX2
aaa-025725
For best results, it is very critical to select a matching crystal for the on-chip oscillator.
Load capacitance (CL), series resistance (RS), and drive level (DL) are important
parameters to consider while choosing the crystal. After selecting the proper crystal, the
external load capacitor CX1 and CX2 values can also be generally determined by the
following expression:
Where:
Although CParasitic can be ignored in general, the actual board layout and placement of
external components influences the optimal values of external load capacitors. Therefore,
it is recommended to fine tune the values of external load capacitors on actual hardware
board to get the accurate clock frequency. For fine tuning, measure the clock on the
XTALOUT pin and optimize the values of external load capacitors for minimum frequency
deviation.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
/3&
;7$/,1
&L &J
S)
DDD
In slave mode the input clock signal should be coupled with a capacitor of 100 pF
(Figure 38), 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.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
3.3 V 3.3 V
SWD connector
(4) ~10 kΩ - 100 kΩ
(6)
SWDIO/PIO0_2
1 2
3.3 V
~10 kΩ - 100 kΩ
SWCLK/PIO0_3
3 4 PIO0_8/XTALIN
(6)
C1 Note 1
5 6 n.c.
PIO0_9/XTALOUT C2
n.c. 7 8 n.c. DGND
RESETN/PIO0_5
9 10
VSS
DGND
Note 2
DGND VDD
3.3 V
LPC84x
0.1 μF 0.01 μF
PIO0_12 DGND
ISP select pin Note 5 (ADC_1),
Note 3 (ACMPVREF)
PIO0_6/ADC_1/ACMPVREF
Note 5
ADC_0
Note 3
VREFP
3.3 V
0.1 μF 0.1 μF 10 μF
VREFN
AGND AGND
AGND DGND
aaa-026592
(1) See Section 14.2 “XTAL oscillator” for the values of C1 and C2.
(2) 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.
(3) Position the decoupling capacitors of 0.1 μF as close as possible to the VREFN and VDD pins. The 10 μF bypass capacitor
filters the power line. Tie VREFP to VDD if the ADC is not used. Tie VREFN to VSS if ADC is not used.
(4) Uses the Arm 10-pin interface for SWD.
(5) When measuring signals of low frequency, use a low-pass filter to remove noise and to improve ADC performance. Also see
Ref. 4.
(6) External pull-up resistors on SWDIO and SWCLK pins are optional because these pins have an internal pull-up enabled by
default.
Fig 39. Power, clock, and debug connections
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
I/O pins also contribute to the dynamic power consumption when the pins are switching
because the VDD supply provides the current to charge and discharge all internal and
external capacitive loads connected to the pin in addition to powering the I/O circuitry.
The contribution from the I/O switching current Isw can be calculated as follows for any
given switching frequency fsw if the external capacitive load (Cext) is known (see Table 15
for the internal I/O capacitance):
Unused pins with GPIO function should be configured as outputs set to LOW with their
internal pull-up disabled. To configure a GPIO pin as output and drive it LOW, select the
GPIO function in the IOCON register, 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.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
[1] Default and programmed pin states are retained in sleep, deep-sleep, and power-down modes.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. 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
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
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. 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
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
HVQFN33: plastic thermal enhanced very thin quad flat package; no leads;
32 terminals; body 5 x 5 x 0.85 mm
D B A
terminal 1
index area
A
E A1
c
detail X
C
e1
v C A B y1 C y
e 1/2 e b
w C
9 16
L
8 17
e
Eh e2
1/2 e
1 24
terminal 1
index area 32 25
Dh X
0 2.5 5 mm
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
HVQFN48: plastic thermal enhanced very thin quad flat package; no leads;
48 terminals; body 7 x 7 x 0.85 mm SOT619-1
D B A
terminal 1
index area
A
A1
E c
detail X
e1 C
e 1/2 e b v C A B y1 C y
13 24 w C
L
25
12
e
Eh e2
1/2 e
1 36
terminal 1
index area 48 37
Dh
X
0 2.5 5 mm
scale
Unit(1) A A1 b C D Dh E Eh e e1 e2 L v w y y1
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. 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
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. 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
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
Hx
Gx
see detail X
P
nSPx
Ay
Hy Gy SLy By
nSPy
SLx
Bx
Ax
0.60
solder land
0.30
solder paste
detail X
occupied area
Dimensions in mm
0.5 5.95 5.95 4.25 4.25 0.85 0.27 5.25 5.25 6.2 6.2 3.75 3.75 3 3
11-11-15
Issue date 002aag766
11-11-20
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
17. Abbreviations
Table 36. Abbreviations
Acronym Description
AHB Advanced High-performance Bus
APB Advanced Peripheral Bus
BOD BrownOut Detection
GPIO General-Purpose Input/Output
PLL Phase-Locked Loop
RC Resistor-Capacitor
SPI Serial Peripheral Interface
SMBus System Management Bus
TEM Transverse ElectroMagnetic
UART Universal Asynchronous Receiver/Transmitter
18. References
[1] LPC84x User manual UM11029:
[2] LPC84x Errata sheet:
[3] I2C-bus specification UM10204.
[4] Technical note ADC design guidelines:
http://www.nxp.com/documents/technical_note/TN00009.pdf
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. 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 http://www.nxp.com.
20.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
20.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 http://www.nxp.com/profile/terms, 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.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. 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.
20.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 B.V.
product for such automotive applications, use and specifications, and (b)
continued >>
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.
22. Contents
1 General description . . . . . . . . . . . . . . . . . . . . . . 1 8.20.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2 Features and benefits . . . . . . . . . . . . . . . . . . . . 1 8.21 Windowed WatchDog Timer (WWDT) . . . . . . 28
3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 8.21.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
8.22 Self-Wake-up Timer (WKT) . . . . . . . . . . . . . . 29
4 Ordering information . . . . . . . . . . . . . . . . . . . . . 4
8.22.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.1 Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 4 8.23 Analog comparator (ACMP) . . . . . . . . . . . . . . 29
5 Marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 8.23.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 7 8.24 Analog-to-Digital Converter (ADC) . . . . . . . . . 30
7 Pinning information . . . . . . . . . . . . . . . . . . . . . . 8 8.24.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 8.25 Digital-to-Analog Converter (DAC). . . . . . . . . 31
7.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . 11 8.25.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.26 CRC engine . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8 Functional description . . . . . . . . . . . . . . . . . . 18
8.26.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.1 Arm Cortex-M0+ core . . . . . . . . . . . . . . . . . . . 18
8.27 Clocking and power control . . . . . . . . . . . . . . 32
8.2 On-chip flash program memory . . . . . . . . . . . 18
8.27.1 Crystal and internal oscillators . . . . . . . . . . . . 32
8.3 On-chip SRAM . . . . . . . . . . . . . . . . . . . . . . . . 18
8.27.1.1 Free Running Oscillator (FRO) . . . . . . . . . . . 32
8.4 FAIM memory . . . . . . . . . . . . . . . . . . . . . . . . . 18
8.27.1.2 Crystal Oscillator (SysOsc) . . . . . . . . . . . . . . 32
8.5 On-chip ROM . . . . . . . . . . . . . . . . . . . . . . . . . 18
8.27.1.3 Internal Low-power Oscillator and Watchdog
8.6 Memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 19
Oscillator (WDOsc) . . . . . . . . . . . . . . . . . . . . 32
8.7 Nested Vectored Interrupt Controller (NVIC) . 20
8.27.2 Clock input . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.7.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
8.27.3 System PLL . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.7.2 Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 20
8.27.4 Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.8 System tick timer . . . . . . . . . . . . . . . . . . . . . . 20
8.27.5 Power control . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.9 I/O configuration . . . . . . . . . . . . . . . . . . . . . . . 20
8.27.5.1 Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.9.1 Standard I/O pad configuration. . . . . . . . . . . . 21
8.27.5.2 Deep-sleep mode. . . . . . . . . . . . . . . . . . . . . . 37
8.10 Switch Matrix (SWM) . . . . . . . . . . . . . . . . . . . 22
8.27.5.3 Power-down mode . . . . . . . . . . . . . . . . . . . . . 37
8.11 Fast General-Purpose parallel I/O (GPIO) . . . 22
8.27.5.4 Deep power-down mode . . . . . . . . . . . . . . . . 37
8.11.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
8.27.6 Wake-up process . . . . . . . . . . . . . . . . . . . . . . 39
8.12 Pin interrupt/pattern match engine . . . . . . . . . 22
8.28 System control . . . . . . . . . . . . . . . . . . . . . . . . 40
8.12.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.28.1 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
8.13 DMA controller . . . . . . . . . . . . . . . . . . . . . . . . 23
8.28.2 Brownout detection . . . . . . . . . . . . . . . . . . . . 40
8.13.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.28.3 Code security (Code Read Protection - CRP) 41
8.13.2 DMA trigger input MUX (TRIGMUX). . . . . . . . 24
8.28.4 APB interface . . . . . . . . . . . . . . . . . . . . . . . . . 41
8.14 USART0/1/2/3/4 . . . . . . . . . . . . . . . . . . . . . . . 24
8.28.5 AHBLite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
8.14.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
8.29 Emulation and debugging . . . . . . . . . . . . . . . 42
8.15 SPI0/1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
8.15.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 9 Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 43
8.16 I2C-bus interface (I2C0/1/2/3) . . . . . . . . . . . . . 25 10 Thermal characteristics . . . . . . . . . . . . . . . . . 45
8.16.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 11 Static characteristics . . . . . . . . . . . . . . . . . . . 46
8.17 Capacitive Touch Interface . . . . . . . . . . . . . . . 25 11.1 General operating conditions . . . . . . . . . . . . . 46
8.18 SCTimer/PWM . . . . . . . . . . . . . . . . . . . . . . . . 26 11.2 Power-up ramp conditions . . . . . . . . . . . . . . . 47
8.18.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 11.3 Power consumption . . . . . . . . . . . . . . . . . . . . 48
8.18.2 SCTimer/PWM input MUX (INPUT MUX) . . . . 27 11.4 Peripheral power consumption. . . . . . . . . . . . 53
8.19 CTIMER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 11.5 Pin characteristics . . . . . . . . . . . . . . . . . . . . . 55
8.19.1 General-purpose 32-bit timers/external event 11.5.1 Electrical pin characteristics. . . . . . . . . . . . . . 58
counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 12 Dynamic characteristics . . . . . . . . . . . . . . . . . 61
8.19.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 12.1 Flash memory . . . . . . . . . . . . . . . . . . . . . . . . 61
8.20 Multi-Rate Timer (MRT) . . . . . . . . . . . . . . . . . 28 12.2 FRO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2019. All rights reserved.