LPC81xM: 1. General Description
LPC81xM: 1. General Description
LPC81xM: 1. General Description
1. General description
The LPC81xM are an ARM Cortex-M0+ based, low-cost 32-bit MCU family operating at
CPU frequencies of up to 30 MHz. The LPC81xM support up to 16 kB of flash memory
and 4 kB of SRAM.
The peripheral complement of the LPC81xM includes a CRC engine, one I2C-bus
interface, up to three USARTs, up to two SPI interfaces, one multi-rate timer, self wake-up
timer, and state-configurable timer, one comparator, function-configurable I/O ports
through a switch matrix, an input pattern match engine, and up to 18 general-purpose I/O
pins.
3. Applications
4. Ordering information
Table 1. Ordering information
Type number Package
Name Description Version
LPC810M021FN8 DIP8 plastic dual in-line package; 8 leads (300 mil) SOT097-2
LPC811M001JDH16 TSSOP16 plastic thin shrink small outline package; 16 leads; body width 4.4 mm SOT403-1
LPC812M101JDH16 TSSOP16 plastic thin shrink small outline package; 16 leads; body width 4.4 mm SOT403-1
LPC812M101JD20 SO20 plastic small outline package; 20 leads; body width 7.5 mm SOT163-1
LPC812M101JDH20 TSSOP20 plastic thin shrink small outline package; 20 leads; body width 4.4 mm SOT360-1
LPC812M101JTB16 XSON16 plastic extremely thin small outline package; no leads; 16 terminals; SOT1341-1
body 2.5 3.2 0.5 mm
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
5. Marking
The LPC81xM devices typically have the following top-side marking:
LPC81x
xxxxx
xxxxxxxx
xxYWWxR[x]
The last two letters in the last line (field ‘xR’) identify the boot code version and device
revision.
Field ‘Y’ states the year the device was manufactured. Field ‘WW’ states the week the
device was manufactured during that year.
Remark: On the TSSOP16 package, the last line includes only the date code xxYWW.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
6. Block diagram
/3&[0
6:&/.6:' 7(67'(%8*
[ ,17(5)$&(
3,2 +,*+63(('
*3,2
$50
&257(;0 )/$6+ 65$0
3,1,17(558376 520
N% N%
3$77(510$7&+
VODYH VODYH VODYH
&7287B>@
6&7,0(5
&7,1B>@ $+%/,7(%86
3:0
VODYH
VODYH
$+%72$3% &5&
%5,'*(
7;'576
::'7
5;'&76
86$57
6&/. ,2&21
7;'576
[ 6:,7&+ 5;'&76 08/7,5$7(7,0(5
0$75,; 86$57
6&/.
7;'576
5;'&76
86$57
6&/.
6&.66(/
0,62026, 308
63,
6&.66(/
6(/)
0,62026,
63, :$.(837,0(5
6&/ $/:$<62132:(5'20$,1
6'$ ,&%86
;7$/287
;7$/,1 ;7$/
,5&
6<6&21 &/2&.
5(6(7&/.,1
:'2VF *(1(5$7,21
&/.287 32:(5&21752/
%2' 6<67(0
)81&7,216
$&03B, 325
9''&03
&203$5$725 FORFNVDQG
$&03B2 FRQWUROV
DDD
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
7. Pinning information
7.1 Pinning
5(6(73,2B 3,2B$&03B,7'2
3,2B:$.(837567 966
',3
6:&/.3,2B7&. 9''
6:',23,2B706 3,2B$&03B,&/.,17',
DDD
3,2B 3,2B$&03B,7'2
3,2B 3,2B9''&03
5(6(73,2B 3,2B
3,2B:$.(837567 966
76623
6:&/.3,2B7&. 9''
6:',23,2B706 3,2B;7$/,1
3,2B 3,2B;7$/287
3,2B 3,2B$&03B,&/.,17',
DDD
3,2B 3,2B
3,2B 3,2B$&03B,7'2
3,2B 3,2B9''&03
5(6(73,2B 3,2B
3,2B:$.(837567 62 966
6:&/.3,2B7&. 9''
6:',23,2B706 3,2B;7$/,1
3,2B 3,2B;7$/287
3,2B 3,2B$&03B,&/.,17',
3,2B 3,2B
DDD
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
3,2B 3,2B
3,2B 3,2B$&03B,7'2
3,2B 3,2B9''&03
5(6(73,2B 3,2B
3,2B:$.(837567 76623 966
6:&/.3,2B7&. 9''
6:',23,2B706 3,2B;7$/,1
3,2B 3,2B;7$/287
3,2B 3,2B$&03B,&/.,17',
3,2B 3,2B
DDD
terminal 1
XSON16
index area
PIO0_13 1 16 PIO0_0/ACMP_I1/TDO
PIO0_12 2 15 PIO0_6/VDDCMP
RESET/PIO0_5 3 14 PIO0_7
PIO0_4/WAKEUP/TRST 4 13 VSS
SWCLK/PIO0_3/TCK 5 12 VDD
SWDIO/PIO0_2/TMS 6 11 PIO0_8/XTALIN
PIO0_11 7 10 PIO0_9/XTALOUT
PIO0_10 8 9 PIO0_1/ACMP_I2/CLKIN/TDI
aaa-009570
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
The pin description table in Table 4 shows the pin functions that are fixed to specific pins
on each package. These fixed-pin functions are selectable between GPIO and the
comparator inputs, SWD, RESET, and the XTAL pins. By default, the GPIO function is
selected except on pins PIO0_2, PIO0_3, and PIO0_5. JTAG functions are available in
boundary scan mode only.
Table 5 shows the the I2C, USART, SPI, and SCT pin functions, which can be assigned
through the switch matrix to any pin that is not power or ground in place of the pin’s fixed
functions.
For full I2C-bus compatibility, assign the I2C functions to the open-drain pins PIO0_11 and
PIO0_10.
Do not assign more than one output to any pin. However, more than one input 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 you need to wake up
from Deep power-down mode via an external pin, do not assign any movable function to
this pin.
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.
XSON16
state
SO20/
[1]
DIP8
PIO0_0/ACMP_I1/ 19 16 16 8 [5] I/O I; PU PIO0_0 — General purpose digital input/output port 0 pin 0.
TDO In ISP mode, this is the USART0 receive pin U0_RXD.
In boundary scan mode: TDO (Test Data Out).
AI - ACMP_I1 — Analog comparator input 1.
PIO0_1/ACMP_I2/ 12 9 9 5 [5] I/O I; PU PIO0_1 — General purpose digital input/output pin.
CLKIN/TDI In boundary scan mode: TDI (Test Data In).
ISP entry pin on chip versions 1A and 2A and on the DIP8
package (see Table 6). For these chip versions and
packages, a LOW level on this pin during reset starts the
ISP command handler.
See PIO0_12 for all other packages.
AI - ACMP_I2 — Analog comparator input 2.
I - CLKIN — External clock input.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
TSSOP20
TSSOP16
XSON16
state
SO20/
[1]
DIP8
SWDIO/PIO0_2/TMS 7 6 6 4 [2] I/O I; PU SWDIO — Serial Wire Debug I/O. SWDIO is enabled by
default on this pin.
In boundary scan mode: TMS (Test Mode Select).
I/O - PIO0_2 — General purpose digital input/output pin.
SWCLK/PIO0_3/ 6 5 5 3 [2] I/O I; PU SWCLK — Serial Wire Clock. SWCLK is enabled by default
TCK on this pin.
In boundary scan mode: TCK (Test Clock).
I/O - PIO0_3 — General purpose digital input/output pin.
PIO0_4/WAKEUP/ 5 4 4 2 [6] I/O I; PU PIO0_4 — General purpose digital input/output pin.
TRST In ISP mode, this is the USART0 transmit pin U0_TXD.
In boundary scan mode: TRST (Test Reset).
This pin triggers a wake-up from Deep power-down mode. If
you need to wake up from Deep power-down mode via an
external pin, do not assign any movable function to this pin.
This pin should be pulled HIGH externally before entering
Deep power-down mode. A LOW-going pulse as short as 50
ns causes the chip to exit Deep power-down mode and
wakes up the part.
RESET/PIO0_5 4 3 3 1 [4] I/O I; PU RESET — External reset input: A LOW-going pulse as short
as 50 ns on this pin resets the device, causing I/O ports and
peripherals to take on their default states, and processor
execution to begin at address 0.
In deep power-down mode, this pin must be pulled HIGH
externally. The RESET pin can be left unconnected or be
used as a GPIO or for any movable function if an external
RESET function is not needed and the Deep power-down
mode is not used.
I - PIO0_5 — General purpose digital input/output pin.
PIO0_6/VDDCMP 18 15 15 - [9] I/O I; PU PIO0_6 — General purpose digital input/output pin.
AI - VDDCMP — Alternate reference voltage for the analog
comparator.
PIO0_7 17 14 14 - [2] I/O I; PU PIO0_7 — General purpose digital input/output pin.
PIO0_8/XTALIN 14 11 11 - [8] I/O I; PU PIO0_8 — General purpose digital input/output pin.
I - XTALIN — Input to the oscillator circuit and internal clock
generator circuits. Input voltage must not exceed 1.95 V.
PIO0_9/XTALOUT 13 10 10 - [8] I/O I; PU PIO0_9 — General purpose digital input/output pin.
O - XTALOUT — Output from the oscillator circuit.
PIO0_10 9 8 8 - [3] I IA PIO0_10 — General purpose digital input/output pin. Assign
I2C functions to this pin when true open-drain pins are
needed for a signal compliant with the full I2C specification.
PIO0_11 8 7 7 - [3] I IA PIO0_11 — General purpose digital input/output pin. Assign
I2C functions to this pin when true open-drain pins are
needed for a signal compliant with the full I2C specification.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
TSSOP20
TSSOP16
XSON16
state
SO20/
[1]
DIP8
PIO0_12 3 2 2 - [2] I/O I; PU PIO0_12 — General purpose digital input/output pin. ISP
entry pin on the SO20/TSSOP20/TSSOP16/XSON16
packages starting with chip version 4C (see Table 6). A
LOW level on this pin during reset starts the ISP command
handler.
See pin PIO0_1 for the DIP8 package and chip versions 1A
and 2A.
PIO0_13 2 1 1 - [2] I/O I; PU PIO0_13 — General purpose digital input/output pin.
PIO0_14 20 - - - [7] I/O I; PU PIO0_14 — General purpose digital input/output pin.
PIO0_15 11 - - - [7] I/O I; PU PIO0_15 — General purpose digital input/output pin.
PIO0_16 10 - - - [7] I/O I; PU PIO0_16 — General purpose digital input/output pin.
PIO0_17 1 - - - [7] I/O I; PU PIO0_17 — General purpose digital input/output pin.
VDD 15 12 12 6 - - 3.3 V supply voltage.
VSS 16 13 13 7 - - Ground.
[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.
[2] 5 V tolerant pad providing digital I/O functions with configurable pull-up/pull-down resistors and configurable hysteresis; includes
high-current output driver.
[3] 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.
Remark: If this pin is not available on the package, prevent it from internally floating as follows: Set bits 10 and 11 in the GPIO DIR0
register to 1 to enable the output driver and write 1 to bits 10 and 11 in the GPIO CLR0 register to drive the outputs LOW internally.
[4] See Figure 11 for the reset pad configuration. 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.
[5] 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.
[6] 5 V tolerant pad providing digital I/O functions with configurable pull-up/pull-down resistors and configurable hysteresis. In Deep
power-down mode, pulling this 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.
[7] 5 V tolerant pad providing digital I/O functions with configurable pull-up/pull-down resistors and configurable hysteresis.
[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 as an analog I/O, the digital section of the pin is disabled, and the pin is not 5 V tolerant.
[9] 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.
Table 5. Movable functions (assign to pins PIO0_0 to PIO_17 through switch matrix)
Function name Type Description
U0_TXD O Transmitter output for USART0.
U0_RXD I Receiver input for USART0.
U0_RTS O Request To Send output for USART0.
U0_CTS I Clear To Send input for USART0.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
Table 5. Movable functions (assign to pins PIO0_0 to PIO_17 through switch matrix)
Function name Type Description
U0_SCLK I/O Serial clock input/output for USART0 in synchronous mode.
U1_TXD O Transmitter output for USART1.
U1_RXD I Receiver input for USART1.
U1_RTS O Request To Send output for USART1.
U1_CTS I Clear To Send input for USART1.
U1_SCLK I/O Serial clock input/output for USART1 in synchronous mode.
U2_TXD O Transmitter output for USART2.
U2_RXD I Receiver input for USART2.
U2_RTS O Request To Send output for USART2.
U2_CTS I Clear To Send input for USART2.
U2_SCLK I/O Serial clock input/output for USART2 in synchronous mode.
SPI0_SCK I/O Serial clock for SPI0.
SPI0_MOSI I/O Master Out Slave In for SPI0.
SPI0_MISO I/O Master In Slave Out for SPI0.
SPI0_SSEL I/O Slave select for SPI0.
SPI1_SCK I/O Serial clock for SPI1.
SPI1_MOSI I/O Master Out Slave In for SPI1.
SPI1_MISO I/O Master In Slave Out for SPI1.
SPI1_SSEL I/O Slave select for SPI1.
CTIN_0 I SCT input 0.
CTIN_1 I SCT input 1.
CTIN_2 I SCT input 2.
CTIN_3 I SCT input 3.
CTOUT_0 O SCT output 0.
CTOUT_1 O SCT output 1.
CTOUT_2 O SCT output 2.
CTOUT_3 O SCT output 3.
I2C0_SCL I/O I2C-bus clock input/output (open-drain if assigned to pin PIO0_10).
High-current sink only if assigned to PIO0_10 and if I2C Fast-mode
Plus is selected in the I/O configuration register.
I2C0_SDA I/O I2C-bus data input/output (open-drain if assigned to pin PIO0_11).
High-current sink only if assigned to pin PIO0_11 and if I2C
Fast-mode Plus is selected in the I/O configuration register.
ACMP_O O Analog comparator digital output.
CLKOUT O Clock output.
GPIO_INT_BMAT O Output of the pattern match engine.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
8. Functional description
• In-System Programming (ISP) and In-Application Programming (IAP) support for flash
programming
• Power profiles for configuring power consumption and PLL settings
• USART driver API routines
• I2C-bus driver API routines
8.5.1 Features
• Controls system exceptions and peripheral interrupts.
• On the LPC81xM, the NVIC supports 32 vectored interrupts including up to 8 external
interrupt inputs selectable from all GPIO pins.
• Four programmable interrupt priority levels with hardware priority level masking.
• Software interrupt generation using the ARM exceptions SVCall and PendSV.
• Relocatable interrupt vector table using vector table offset register.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. 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.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
$3%SHULSKHUDOV
[
/3&[0
*% [)))))))) UHVHUYHG
UHVHUYHG
[( [
SULYDWHSHULSKHUDOEXV 86$57
[(
[&
UHVHUYHG 86$57
[
86$57
[$ [
SLQLQWHUUXSWVSDWWHUQPDWFK UHVHUYHG
[$ [
*3,2 63,
[&
[$
63,
UHVHUYHG [
[ UHVHUYHG
[
6&7LPHU3:0 ,&
[ [
&5& UHVHUYHG
[ [&
6<6&21 [
UHVHUYHG ,2&21
[
[
IODVKFRQWUROOHU [
$3%SHULSKHUDOV
*% [ UHVHUYHG
[&
UHVHUYHG [
UHVHUYHG UHVHUYHG
*% [ [
UHVHUYHG [
UHVHUYHG
[))) UHVHUYHG [&
N%ERRW520
[))) UHVHUYHG
[
UHVHUYHG DQDORJFRPSDUDWRU
[
[
308 [
N%07%UHJLVWHUV
[ UHVHUYHG
[&
UHVHUYHG UHVHUYHG
[
[ UHVHUYHG
N%65$0/3& [
[ UHVHUYHG
N%65$0/3& [
[ VZLWFKPDWUL[
N%65$0/3& [&
[ VHOIZDNHXSWLPHU
[
UHVHUYHG 057 [
[ ::'7 [
N%RQFKLSIODVK/3&
[
N%RQFKLSIODVK/3& [&
[ DFWLYHLQWHUUXSWYHFWRUV
N%RQFKLSIODVK/3& [
*% [
DDD
• Program the input glitch filter with different filter constants using one of the IOCON
divided clock signals (IOCONCLKCDIV, see Figure 10 “LPC81xM clock generation”).
You can also bypass the glitch filter.
• Invert the input signal.
• Hysteresis can be enabled or disabled.
• For pins PIO0_10 and PIO0_11, select the I2C-mode and output driver for standard
digital operation, for I2C standard and fast modes, or for I2C Fast mode+.
• On mixed digital/analog pins, enable the analog input mode. Enabling the analog
mode disconnects the digital functionality.
Remark: The functionality of each I/O pin is flexible and is determined entirely through the
switch matrix. See Section 8.9 for details.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
9'' 9''
RSHQGUDLQHQDEOH
VWURQJ (6'
SLQFRQILJXUHG RXWSXWHQDEOH
SXOOXS
DVGLJLWDORXWSXW
GULYHU GDWDRXWSXW 3,1
VWURQJ
SXOOGRZQ (6'
966
9''
ZHDN
SXOOXS
SXOOXSHQDEOH
ZHDN
UHSHDWHUPRGH
SLQFRQILJXUHG SXOOGRZQ
HQDEOH
DVGLJLWDOLQSXW SXOOGRZQHQDEOH
GDWDLQSXW 352*5$00$%/(
*/,7&+),/7(5
VHOHFWGDWD
LQYHUWHU
VHOHFWJOLWFK
ILOWHU
VHOHFWDQDORJLQSXW
SLQFRQILJXUHG
DVDQDORJLQSXW DQDORJLQSXW
DDD
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 located 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.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
8.10.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 inputs with internal pull-up resistors enabled after reset - except for
the I2C-bus true open-drain pins PIO0_2 and PIO0_3.
• Pull-up/pull-down configuration, repeater, and open-drain modes can be programmed
through the IOCON block for each GPIO pin (see Figure 8).
•
The pattern match engine can be used, in conjunction with software, to create complex
state machines based on pin inputs.
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 located on
the IO+ bus for fast single-cycle access.
8.11.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 LPC81xM 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 programmed to also generate an RXEV
notification to the ARM CPU. The RXEV signal can be connected to a pin.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
8.12 USART0/1/2
Remark: USART0 and USART1 are available on all LPC800 parts. USART2 is available
on parts LPC812M101JTB16, LPC812M101JDH16, and LPC812M101JDH20 only.
All USART functions are movable functions and are assigned to pins through the switch
matrix.
8.12.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 PIO0_10
and PIO0_11.
• 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.
• Supported by on-chip ROM API.
8.13 SPI0/1
Remark: SPI0 is available on all LPC800 parts. SPI1 is available on parts
LPC812M101JDH16 and LPC812M101JDH20 only.
All SPI functions are movable functions and are assigned to pins through the switch
matrix.
8.13.1 Features
• Maximum data rates of 30 Mbit/s in master mode and 25 Mbit/s in slave mode for SPI
functions connected to all digital pins except PIO0_10 and PIO0_11.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
The I2C-bus functions are movable functions and can be assigned through the switch
matrix to any pin. However, only the true open-drain PIO0_10 and PIO0_11 provide the
electrical characteristics to support the full I2C-bus specification (see Ref. 1).
8.14.1 Features
• Supports 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.
• Supported by on-chip ROM API.
• If the I2C functions are connected to the true open-drain pins (PIO0_10 and
PIO0_11), the I2C supports the full I2C-bus specification:
– 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.
– Supports Fast-mode Plus with bit rates up to 1 Mbit/s.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
All inputs and outputs of the SCTimer/PWM are movable functions and are assigned to
pins through the switch matrix.
8.15.1 Features
• Two 16-bit counters or one 32-bit counter.
• Counters clocked by bus clock or selected input.
• Up counters or up-down counters.
• State variable allows sequencing across multiple counter cycles.
• The following conditions define an event: a counter match condition, an input (or
output) condition, a combination of a match and/or and input/output condition in a
specified state, and the count direction.
• Events control outputs, interrupts, and the SCT states.
– 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.
• Selected events can limit, halt, start, or stop a counter.
• Supports:
– 4 inputs
– 4 outputs
– 5 match/capture registers
– 6 events
– 2 states
8.16.1 Features
• 31-bit interrupt timer
• Four channels independently counting down from individually set values
• Bus stall, repeat and one-shot interrupt modes
8.17.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.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
8.18.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 two clock sources: the low-power oscillator and the IRC. 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 23.
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 or disabled
on pins PIO0_0 and PIO0_1 through the switch matrix.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
&203$5$725$1$/2*%/2&. &203$5$725',*,7$/%/2&.
9''
9''&03
FRPSDUDWRU
OHYHO$&03B2
V\QF
HGJHGHWHFW
FRPSDUDWRU
HGJH19,&
LQWHUQDO
YROWDJH
UHIHUHQFH
$&03B,>@
DDD
8.19.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 VDDCMP on pin PIO0_6); 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.
• The comparator output can be routed internally to the SCT input through the switch
matrix.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
6<6&21
$+%FORFN
FRUHV\VWHP
PDLQFORFN &/2&.',9,'(5 V\VWHPFORFN DOZD\VRQ
6<6$+%&/.',9
PHPRULHV
DQGSHULSKHUDOV
SHULSKHUDOFORFNV
6<6$+%&/.&75/>@
V\VWHPFORFNHQDEOH
)5$&7,21$/5$7( 86$57
&/2&.',9,'(5
8$57&/.',9 *(1(5$725 86$57
86$57
,5&RVFLOODWRU &/2&.',9,'(5 ,2&21
,2&21&/.',9 JOLWFKILOWHU
ZDWFKGRJRVFLOODWRU
0$,1&/.6(/
PDLQFORFNVHOHFW
,5&RVFLOODWRU ,5&RVFLOODWRU
V\VWHPRVFLOODWRU &/2&.',9,'(5 &/.287SLQ
;7$/,1 6<67(0 &/.287',9
6<67(03// ZDWFKGRJRVFLOODWRU
;7$/287 26&,//$725
&/.,1
&/.2876(/
&/.287FORFNVHOHFW
6<63//&/.6(/
V\VWHP3//FORFNVHOHFW ZDWFKGRJRVFLOODWRU ::'7
,5&RVFLOODWRU :.7
308 :.7
ORZSRZHURVFLOODWRU
DDD
1. The crystal oscillator (SysOsc) operating at frequencies between 1 MHz and 25 MHz.
2. The internal RC Oscillator (IRC) with a fixed frequency of 12 MHz, trimmed to 1%
accuracy.
3. The internal low-power, low-frequency Oscillator with a nominal frequency of 10 kHz
with 40% accuracy for use with the self wake-up timer.
4. The dedicated Watchdog Oscillator (WDOsc) with a programmable nominal
frequency between 9.4 kHz and 2.3 MHz with 40% accuracy.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
Each oscillator, except the low-frequency oscillator, can be used for more than one
purpose as required in a particular application.
Following reset, the LPC81xM will operate from the IRC until switched by software. This
allows systems to operate without any external crystal and the bootloader code to operate
at a known frequency.
The IRC can be used as a clock source for the CPU with or without using the PLL. The
IRC frequency can be boosted to a higher frequency, up to the maximum CPU operating
frequency, by the system PLL.
Upon power-up or any chip reset, the LPC81xM use the IRC as the clock source.
Software may later switch to one of the other available clock sources.
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.
The internal low-power 10 kHz ( 40% accuracy) oscillator serves a 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).
divider may be set to divide by 2, 4, 8, or 16 to produce the output clock. Since the
minimum output divider value is 2, it is insured that the PLL output has a 50 % duty cycle.
The PLL is turned off and bypassed following a chip reset and may be enabled by
software. The program must configure and activate the PLL, wait for the PLL to lock, and
then connect to the PLL as a clock source. The PLL settling time is nominally 100 s.
The power configuration routine configures the LPC81xM for one of the following power
modes:
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
The LPC81xM can wake up from Deep-sleep mode via a reset, digital pins selected as
inputs to the pin interrupt block, a watchdog timer interrupt, 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 LPC81xM can wake up from Power-down mode via a reset, digital pins selected as
inputs to the pin interrupt block, a watchdog timer interrupt, 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.
The LPC81xM 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.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
When entering Deep power-down mode, an external pull-up resistor is required on the
WAKEUP pin to hold it HIGH. Pull the RESET pin HIGH to prevent it from floating while in
Deep power-down mode.
8.21.1 Reset
Reset has four sources on the LPC81xM: 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.
9''
9''
9''
5SX (6'
QV5&
UHVHW 3,1
*/,7&+),/7(5
(6'
966
DDD
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
In addition, ISP entry via the ISP entry pin can be disabled without enabling CRP. For
details, see the LPC800 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 LPC800 user manual.
8.21.5 AHBLite
The AHBLite connects the CPU bus of the ARM Cortex-M0+ to the flash memory, the
main static RAM, the CRC, and the ROM.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. 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 LPC81xM
is in reset. The JTAG boundary scan pins are selected by hardware when the part is in
boundary scan mode on pins PIO0_0 to PIO0_3 (see Table 4).
9''
/3&
975()
6:',2 6:',2
IURP6:' 6:&/. 6:&/.
FRQQHFWRU
Q5(6(7 5(6(7
*1'
3,2B
,63HQWU\
DDD
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
9. Limiting values
Table 7. 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 rail) [2] 0.5 +4.6 V
VI input voltage 5 V tolerant I/O pins; VDD 1.8 V [3] 0.5 +5.5 V
5 V tolerant open-drain pins PIO0_10 [4] 0.5 +5.5 V
and PIO0_11
3 V tolerant I/O pin PIO0_6 [5] 0.5 +3.6 V
VIA analog input voltage [6] 0.5 4.6 V
[7]
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
T j = T amb + P D R th j – a (1)
DIP8
Rth(j-a) thermal resistance from JEDEC (4.5 in 4 in); still air 60 ± 15 % C/W
junction to ambient Single-layer (4.5 in 3 in); still air 81 ± 15 % C/W
Rth(j-c) thermal resistance from 38 ± 15 % C/W
junction to case
TSSOP16
Rth(j-a) thermal resistance from JEDEC (4.5 in 4 in); still air 133 ± 15 % C/W
junction to ambient Single-layer (4.5 in 3 in); still air 182 ± 15 % C/W
Rth(j-c) thermal resistance from 33 ± 15 % C/W
junction to case
TSSOP20
Rth(j-a) thermal resistance from JEDEC (4.5 in 4 in); still air 110 ± 15 % C/W
junction to ambient Single-layer (4.5 in 3 in); still air 153 ± 15 % C/W
Rth(j-c) thermal resistance from 23 ± 15 % C/W
junction to case
SO20
Rth(j-a) thermal resistance from JEDEC (4.5 in 4 in); still air 87 ± 15 % C/W
junction to ambient Single-layer (4.5 in 3 in); still air 112 ± 15 % C/W
Rth(j-c) thermal resistance from 50 ± 15 % C/W
junction to case
XSON16
Rth(j-a) thermal resistance from JEDEC (4.5 in 4 in); still air 92 ± 15 % C/W
junction to ambient Single-layer (4.5 in 3 in); still air 180 ± 15 % C/W
Rth(j-c) thermal resistance from 27 ± 15 % C/W
junction to case
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
Sleep mode
system clock = 12 MHz; default [2][3][4][5] - 0.8 - mA
mode; VDD = 3.3 V
system clock = 12 MHz; [2][3][4][5] - 0.7 - mA
low-current mode; VDD = 3.3 V [6]
Deep-sleep mode
VDD = 3.3 V, Tamb = 25 °C [2][9] - 150 300 A
VDD = 3.3 V, Tamb = 105 °C [2][9] - - 400 A
Power-down mode
VDD = 3.3 V, Tamb = 25 °C [2][9] - 0.9 5 A
VDD = 3.3 V, Tamb = 105 °C [2][9] - - 40 A
Deep power-down mode;
Low-power oscillator and self
wakeup timer (WKT) disabled
VDD = 3.3 V, Tamb = 25 °C [10] - 170 1000 nA
VDD = 3.3 V, Tamb = 105 °C [10] - - 4 A
Deep power-down mode; - 1 - A
Low-power oscillator and self
wakeup timer (WKT) enabled
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. 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 2.5 V VDD 3.6 V; IOH = 20 mA VDD 0.4 - - V
voltage 1.8 V VDD < 2.5 V; IOH = 12 mA VDD 0.4 - - V
VOL LOW-level output 2.5 V VDD 3.6 V; IOL = 4 mA - - 0.4 V
voltage 1.8 V VDD < 2.5 V; IOL = 3 mA - - 0.4 V
IOH HIGH-level output VOH = VDD 0.4 V; 20 - - mA
current 2.5 V VDD 3.6 V
1.8 V VDD < 2.5 V 12 - - mA
IOL LOW-level output VOL = 0.4 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 [13] - - 50 mA
output current
Ipd pull-down current VI = 5 V [14] 10 50 150 A
Ipu pull-up current VI = 0 V [14] 15 50 85 A
2.0 V VDD 3.6 V
1.8 V VDD < 2.0 V 10 50 85 A
VDD < VI < 5 V 0 0 0 A
I2C-bus pins (PIO0_10 and PIO0_11); see Figure 13
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
2.5 V VDD 3.6 V
1.8 V VDD < 2.5 V 3 - -
IOL LOW-level output VOL = 0.4 V; I2C-bus
pins 20 - - mA
current configured as Fast-mode Plus
pins
2.5 V VDD 3.6 V
1.8 V VDD < 2.5 V 16 - -
ILI input leakage current VI = VDD [15] - 2 4 A
VI = 5 V - 10 22 A
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
[1] Typical ratings are not guaranteed. The values listed are for room temperature (25 C), nominal supply voltages.
[2] IDD measurements were performed with all pins configured as GPIO outputs driven LOW and pull-up resistors disabled.
[3] IRC enabled; system oscillator disabled; system PLL disabled.
[4] BOD disabled.
[5] All peripherals disabled in the SYSAHBCLKCTRL register. Peripheral clocks to USART, CLKOUT, and IOCON disabled in system
configuration block.
[6] Low-current mode PWR_LOW_CURRENT selected when running the set_power routine in the power profiles.
[7] IRC enabled; system oscillator disabled; system PLL enabled.
[8] IRC disabled; system oscillator enabled; system PLL enabled.
[9] All oscillators and analog blocks turned off in the PDSLEEPCFG register; PDSLEEPCFG = 0x0000 18FF.
[10] WAKEUP pin pulled HIGH externally.
[11] Including voltage on outputs in tri-state mode.
[12] 3-state outputs go into tri-state mode in Deep power-down mode.
[13] Allowed as long as the current limit does not exceed the maximum current allowed by the device.
[14] Pull-up and pull-down currents are measured across the weak internal pull-up/pull-down resistors. See Figure 8.
[15] To VSS.
/3& 9''
,2/
,SG
SLQ3,2BQ $
,2+
,SX
SLQ3,2BQ $
DDD
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. 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.
DDD
,''
P$
0+]
0+]
0+]
0+]
0+]
0+]
0+]
0+]
9''9
Conditions: Tamb = 25 C; active mode entered executing code while(1){} from flash; all
peripherals disabled in the SYSAHBCLKCTRL register (SYSAHBCLKCTRL =0x1F); 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: IRC enabled; PLL enabled.
30 MHz: IRC disabled; SYSOSC enabled; PLL enabled.
Fig 14. Active mode: Typical supply current IDD versus supply voltage VDD
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
DDD
,''
P$
0+]
0+]
0+]
0+]
0+]
0+]
0+]
0+]
WHPSHUDWXUH&
Conditions: VDD = 3.3 V; active mode entered executing code while(1){} from flash; all
peripherals disabled in the SYSAHBCLKCTRL register (SYSAHBCLKCTRL = 0x1F); 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: IRC enabled; PLL enabled.
30 MHz: IRC disabled; SYSOSC enabled; PLL enabled.
Fig 15. Active mode: Typical supply current IDD versus temperature
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
DDD
,''
P$
0+]
0+]
0+]
0+]
0+]
0+]
0+]
0+]
WHPSHUDWXUH&
Conditions: VDD = 3.3 V; sleep mode entered from flash; all peripherals disabled in the
SYSAHBCLKCTRL register (SYSAHBCLKCTRL = 0x1F); 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: IRC enabled; PLL enabled.
30 MHz: IRC disabled; SYSOSC enabled; PLL enabled.
Fig 16. Sleep mode: Typical supply current IDD versus temperature for different system
clock frequencies
DDD
9
,''
,''
9
ȝ$
9
WHPSHUDWXUH&
Conditions: BOD disabled; all oscillators and analog blocks disabled in the PDSLEEPCFG register
(PDSLEEPCFG = 0x0000 18FF).
Fig 17. Deep-sleep mode: Typical supply current IDD versus temperature for different
supply voltages VDD
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. 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 18. Power-down mode: Typical supply current IDD versus temperature for different
supply voltages VDD
DDD
,''
,''
ȝ$
9
9
9
WHPSHUDWXUH&
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
DDD
,''
,''
P$
'HIDXOW
&38HIILFLHQF\
/RZFXUUHQW
V\VWHPFORFNIUHTXHQF\0+]
Conditions: VDD = 3.3 V; Tamb = 25 C; active mode; all peripherals except one UART and the SCT
disabled in the SYSAHBCLKCTRL register; system clock derived from the IRC; system oscillator
disabled; internal pull-up resistors enabled; BOD disabled. Measured with Keil uVision v.4.7.
Fig 20. Active mode: CoreMark power consumption IDD
DDD
&0
LWHUDWLRQVV0+]
P$
&38HIILFLHQF\
'HIDXOW
/RZFXUUHQW
V\VWHPFORFNIUHTXHQF\0+]
Conditions: VDD = 3.3 V; active mode; all peripherals except one UART and the SCT disabled in
the SYSAHBCLKCTRL register; internal pull-up resistors enabled; BOD disabled. Measured with
Keil uVision v.4.7.
Fig 21. CoreMark score
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
The supply currents are shown for system clock frequencies of 12 MHz and 30 MHz.
Table 10. Power consumption for individual analog and digital blocks
Peripheral Typical supply current in mA Notes
n/a 12 MHz 30 MHz
IRC 0.21 - - System oscillator running; PLL off; independent
of main clock frequency.
System oscillator at 12 MHz 0.28 - - IRC running; PLL off; independent of main clock
frequency.
Watchdog oscillator at 0.002 - - System oscillator running; PLL off; independent
500 kHz/2 of main clock frequency.
BOD 0.05 - - Independent of main clock frequency.
Main PLL - 0.31 - -
CLKOUT - 0.06 0.09 Main clock divided by 4 in the CLKOUTDIV
register.
ROM - 0.08 0.19 -
I2C - 0.06 0.15 -
GPIO + pin interrupt/pattern - 0.09 0.23 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.03 0.07 -
SCT - 0.17 0.42 -
WKT - 0.01 0.03 -
MRT - 0.09 0.21 -
SPI0 - 0.05 0.13 -
SPI1 - 0.06 0.14 -
CRC - 0.03 0.07 -
USART0 - 0.04 0.10 -
USART1 - 0.04 0.11 -
USART2 - 0.04 0.10 -
WWDT - 0.04 0.10 Main clock selected as clock source for the
WDT.
IOCON - 0.03 0.08 -
Comparator - 0.04 0.09 -
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
DDD
¡&9
&Y
92+
92+
¡&9
&9
P$
¡&9
&9
¡&9
&9
¡&9
&Y
&9
¡&9
¡&9
&9
&9
¡&9
,2+P$
Conditions: VDD = 3.3 V and VDD = 1.8 V; on pins PIO0_2, PIO0_3, PIO0_7, PIO0_12, PIO0_13.
Fig 22. High-drive output: Typical HIGH-level output voltage VOH versus HIGH-level
output current IOH
DDD
&9
"&9
,2/
,2/
&9
"&9
P$
&9
"&9
&9
"&9
&9
"&9
&9
"&9
&9
"&9
&9
"&9
92/9
Conditions: VDD = 3.3 V and VDD = 1.8 V; on pins PIO0_10 and PIO0_11.
Fig 23. I2C-bus pins (high current sink): Typical LOW-level output current IOL versus
LOW-level output voltage VOL
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
DDD
¡&9
&9
,2/
,2/
¡&9
&9
P$
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
92/9
Conditions: VDD = 3.3 V and VDD = 1.8 V; standard port pins and high-drive pins PIO0_2, PIO0_3,
PIO0_7, PIO0_12, PIO0_13.
Fig 24. Typical LOW-level output current IOL versus LOW-level output voltage VOL
DDD
92+
92+
9
9'' 9
7 &
7 &
7 &
7 &
9'' 9
7 &
7 &
7 &
7 &
,2+P$
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
DDD
,SX
,SX
P$ 9'' 9
&
¡&
¡&
&
¡&
&
¡&
&
¡&
&
¡&
&
¡&
&
9'' 9 ¡&
&
¡&
&
&
¡&
9,9
DDD
,3'
,3' ¡&9
&9
P$ ¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
9,9
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
tr
VDD
200 mV
0
twait
t = t1
aaa-017426
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
[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.
W&+&;
W&+&/ W&/&; W&/&+
7F\FON
DDD
Fig 29. External clock timing (with an amplitude of at least Vi(RMS) = 200 mV)
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
[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.
DDD
I
0+]
9
9
9
9
9
9
9
WHPSHUDWXUH&
Conditions: Frequency values are typical values. 12 MHz 1.5 % accuracy is guaranteed for
2.7 V VDD 3.6 V and Tamb = 40 C to +105 C. Variations between parts may cause the IRC to
fall outside the 12 MHz 1.5 % accuracy specification for voltages below 2.7 V.
Fig 30. Typical Internal RC oscillator frequency versus temperature
[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 LPC81xM user manual.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
12.6 I2C-bus
Table 17. Dynamic characteristic: I2C-bus pins[1]
Tamb = 40 C to +105 C.[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
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
[3] tHD;DAT is the data hold time that is measured from the falling edge of SCL; applies to data in transmission
and the acknowledge.
[4] A device must internally provide a hold time of at least 300 ns for the SDA signal (with respect to the
VIH(min) of the SCL signal) to bridge the undefined region of the falling edge of SCL.
[5] Cb = total capacitance of one bus line in pF.
[6] The maximum tf for the SDA and SCL bus lines is specified at 300 ns. The maximum fall time for the SDA
output stage tf is specified at 250 ns. This allows series protection resistors to be connected in between the
SDA and the SCL pins and the SDA/SCL bus lines without exceeding the maximum specified tf.
[7] In Fast-mode Plus, fall time is specified the same for both output stage and bus timing. If series resistors
are used, designers should allow for this when considering bus timing.
[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
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. 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.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
7F\FON
6&.&32/
6&.&32/
WY4 WK4
WY4 WK4
DDD
Pin names SCK, MISO, and MOSI refer to pins for both SPI peripherals, SPI0 and SPI1.
Fig 32. SPI master timing
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. 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
Pin names SCK, MISO, and MOSI refer to pins for both SPI peripherals, SPI0 and SPI1.
Fig 33. SPI slave timing
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. 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.
[1] Typical ratings are not guaranteed. The values listed are for room temperature (25 C), VDD = 3.3 V, typical
samples.
[2] Tcy(clk) = U_PCLK/BRGVAL. See the LPC800 User manual UM10601.
[3] Capacitance on pin Un_SCLK CSCLK < 5 pF.
7F\FON
8QB6&/.&/.32/
8QB6&/.&/.32/
WY4 WK4
DDD
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
13.1 BOD
Table 20. BOD static characteristics[1]
Tamb = 40 C to +105 C.
Symbol Parameter Conditions Typ[2] Unit
Vth threshold voltage interrupt level 1
assertion 2.3 V
de-assertion 2.4 V
interrupt level 2
assertion 2.6 V
de-assertion 2.7 V
interrupt level 3
assertion 2.8 V
de-assertion 2.9 V
reset level 1
assertion 2.1 V
de-assertion 2.2 V
reset level 2
assertion 2.4 V
de-assertion 2.5 V
reset level 3
assertion 2.6 V
de-assertion 2.8 V
[1] Interrupt levels are selected by writing the level value to the BOD control register BODCTRL.
[2] Typical ratings are not guaranteed. The values listed are for room temperature (25 C), VDD = 3.3 V, typical
samples.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
[3] Typical values are derived from nominal simulation (VDD = 3.3 V; Tamb = 27 C; nominal process models).
Maximum values are derived from worst case simulation (VDD = 2.6 V; Tamb = 105 C; slow process
models).
[4] Maximum and minimum values are measured on samples from the corners of the process matrix lot.
DDD
92
92
P9
WHPSHUDWXUH&
VDD = 3.3 V
Fig 35. Typical internal voltage reference output voltage
13.3 Comparator
Table 22. Comparator characteristics
VDD = 3.0 V and Tamb = 27 C unless noted otherwise.
Symbol Parameter Conditions Min Typ Max Unit
Static characteristics
Vref(cmp) comparator reference pin PIO0_6/VDDCMP configured for 1.5 - 3.6 V
voltage function VDDCMP
IDD supply current - 55 - A
VIC common-mode input 0 - VDD V
voltage
DVO output voltage variation 0 - VDD V
Voffset offset voltage VIC = 0.1 V - 1.9 - mV
VIC = 1.5 V - 2.1 - mV
VIC = 2.8 V - 2.0 mV
Dynamic characteristics
tstartup start-up time nominal process - 4 - s
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. 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. Typical data are for Tamb = 27 C.
[2] Input hysteresis is relative to the reference input channel and is software programmable to three levels.
value
[1] Maximum values are derived from worst case simulation (VDD = 2.6 V; Tamb = 105 C; slow process
models).
[2] Settling time applies to switching between comparator channels.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. 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 and IRC turned off.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
[1] 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.
[2] IRC enabled, all peripherals off.
[3] Watchdog oscillator disabled, Brown-Out Detect (BOD) disabled.
[4] Self wakeup-timer disabled. Wake-up from deep power-down causes the LPC800 to go through entire reset
process. The wake-up time measured is the time between when a wake-up pin is triggered to wake the
device up from the low power modes and from when a GPIO output pin is set in the reset handler.
/3&
;7$/,1
&L &J
S)
DDD
In slave mode the input clock signal should be coupled by means of a capacitor of 100 pF
(Figure 36), 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 37 and in
Table 26 and Table 27. 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
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
RS). Capacitance CP in Figure 37 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 26).
/3&
;7$/,1 ;7$/287
&/ &3
;7$/
56
&; &;
DDD
Fig 37. Oscillator modes and models: oscillation mode of operation and external crystal
model used for CX1/CX2 evaluation
Table 26. 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 27. 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
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
Table 28. ElectroMagnetic Compatibility (EMC) for part LPC812M101 (TEM-cell method)
VDD = 3.3 V; Tamb = 25 C.
Parameter Frequency band System clock = Unit
12 MHz 24 MHz 30 MHz
Input clock: IRC (12 MHz)
maximum peak 1 MHz to 30 MHz 6 5 5 dBV
level 30 MHz to 150 MHz -2 -1 -2 dBV
150 MHz to 1 GHz 1 -1 -1 dBV
IEC level[1] - O O O -
Input clock: crystal oscillator (12 MHz)
maximum peak 1 MHz to 30 MHz 5 6 6 dBV
level 30 MHz to 150 MHz 2 -1 -2 dBV
150 MHz to 1 GHz 1 -2 -1 dBV
IEC level[1] - O O N -
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
D ME
seating plane
A2
A
A1
L
c
Z e w
b1
(e1)
b b2 MH
8 5
pin 1 index
E
1 4
0 2.5 5 mm
scale
max 4.2 3.43 1.73 0.53 1.07 0.38 9.8 6.48 3.60 7.88 9.40 1.15
mm nom 2.54 7.62 0.254
min 0.51 1.14 0.38 0.89 0.20 9.2 6.20 3.05 7.62 7.88
max 0.17 0.14 0.068 0.021 0.042 0.015 0.39 0.26 0.14 0.31 0.37 0.045
inches nom 0.1 0.01
min 0.02 0.045 0.015 0.035 0.008 0.36 0.24 0.3 0.12 0.30 0.31
Note
1. Plastic or metal protrusions of 0.15 mm (0.006 inch) maximum per side are not included sot097-2_po
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
TSSOP16: plastic thin shrink small outline package; 16 leads; body width 4.4 mm SOT403-1
D E A
X
y HE v M A
16 9
Q
A2 (A 3)
A
A1
pin 1 index
θ
Lp
L
1 8
detail X
w M
e bp
0 2.5 5 mm
scale
Notes
1. Plastic or metal protrusions of 0.15 mm maximum per side are not included.
2. Plastic interlead protrusions of 0.25 mm maximum per side are not included.
99-12-27
SOT403-1 MO-153
03-02-18
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
SO20: plastic small outline package; 20 leads; body width 7.5 mm SOT163-1
D E A
X
c
y HE v M A
20 11
Q
A2 A
A1 (A 3)
pin 1 index
θ
Lp
L
1 10 detail X
e w M
bp
0 5 10 mm
scale
Note
1. Plastic or metal protrusions of 0.15 mm (0.006 inch) maximum per side are not included.
99-12-27
SOT163-1 075E04 MS-013
03-02-19
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
TSSOP20: plastic thin shrink small outline package; 20 leads; body width 4.4 mm SOT360-1
D E A
X
y HE v M A
20 11
Q
A2 (A 3) A
A1
pin 1 index
θ
Lp
L
1 10
detail X
w M
e bp
0 2.5 5 mm
scale
Notes
1. Plastic or metal protrusions of 0.15 mm maximum per side are not included.
2. Plastic interlead protrusions of 0.25 mm maximum per side are not included.
99-12-27
SOT360-1 MO-153
03-02-19
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
XSON16: plastic extremely thin small outline package; no leads; 16 terminals; body 2.5 x 3.2 x 0.5 mm SOT1341-1
D B A
E
A
A1
c
detail X
terminal 1
index area
e1 C
terminal 1 v C A B
e b y1 C y
index area w C
1 8
L1
16 9
0 1 2 3 mm
scale
Dimensions (mm are the original dimensions)
Unit(1) A A1 b c D E e e1 k L L1 v w y y1
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
16. Soldering
Hx
Gx
P2
(0.125) (0.125)
Hy Gy By Ay
D2 (4x) P1 D1
solder land
occupied area
DIMENSIONS in mm
P1 P2 Ay By C D1 D2 Gx Gy Hx Hy
0.650 0.750 7.200 4.500 1.350 0.400 0.600 5.600 5.300 5.800 7.450
sot403-1_fr
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
13.40
0.60 (20×)
1.50
1.27 (18×)
solder lands
occupied area placement accuracy ± 0.25 Dimensions in mm sot163-1_fr
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
Hx
Gx
P2
(0.125) (0.125)
Hy Gy By Ay
D2 (4x) P1 D1
solder land
occupied area
DIMENSIONS in mm
P1 P2 Ay By C D1 D2 Gx Gy Hx Hy
0.650 0.750 7.200 4.500 1.350 0.400 0.600 6.900 5.300 7.300 7.450
sot360-1_fr
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
)RRWSULQWLQIRUPDWLRQIRUUHIORZVROGHULQJRI;621SDFNDJH 627
RFFXSLHGDUHD VROGHUUHVLVW
VROGHUODQGV VROGHUSDVWH
'LPHQVLRQVLQPP
,VVXHGDWH VRWBIU
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
17. Abbreviations
Table 29. 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] I2C-bus specification UM10204.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. 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.
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. 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)
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
22. Contents
1 General description . . . . . . . . . . . . . . . . . . . . . . 1 8.20.1.1 Internal RC Oscillator (IRC) . . . . . . . . . . . . . . 25
2 Features and benefits . . . . . . . . . . . . . . . . . . . . 1 8.20.1.2 Crystal Oscillator (SysOsc) . . . . . . . . . . . . . . 25
3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 8.20.1.3 Internal Low-power Oscillator and Watchdog
Oscillator (WDOsc) . . . . . . . . . . . . . . . . . . . . 25
4 Ordering information . . . . . . . . . . . . . . . . . . . . . 3
8.20.2 Clock input . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.1 Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 3 8.20.3 System PLL . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5 Marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 8.20.4 Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 5 8.20.5 Wake-up process . . . . . . . . . . . . . . . . . . . . . . 26
7 Pinning information . . . . . . . . . . . . . . . . . . . . . . 6 8.20.6 Power control . . . . . . . . . . . . . . . . . . . . . . . . . 26
7.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 8.20.6.1 Power profiles . . . . . . . . . . . . . . . . . . . . . . . . 26
7.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 8 8.20.6.2 Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . 26
8.20.6.3 Deep-sleep mode. . . . . . . . . . . . . . . . . . . . . . 27
8 Functional description . . . . . . . . . . . . . . . . . . 13
8.20.6.4 Power-down mode . . . . . . . . . . . . . . . . . . . . . 27
8.1 ARM Cortex-M0+ core . . . . . . . . . . . . . . . . . . 13
8.20.6.5 Deep power-down mode . . . . . . . . . . . . . . . . 27
8.2 On-chip flash program memory . . . . . . . . . . . 13
8.21 System control . . . . . . . . . . . . . . . . . . . . . . . . 28
8.3 On-chip SRAM . . . . . . . . . . . . . . . . . . . . . . . . 13
8.21.1 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
8.4 On-chip ROM . . . . . . . . . . . . . . . . . . . . . . . . . 13
8.21.2 Brownout detection . . . . . . . . . . . . . . . . . . . . 28
8.5 Nested Vectored Interrupt Controller (NVIC) . 13
8.21.3 Code security (Code Read Protection - CRP) 29
8.5.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
8.21.4 APB interface . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.5.2 Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 13
8.21.5 AHBLite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.6 System tick timer . . . . . . . . . . . . . . . . . . . . . . 14
8.22 Emulation and debugging . . . . . . . . . . . . . . . 30
8.7 Memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 14
8.8 I/O configuration . . . . . . . . . . . . . . . . . . . . . . . 15 9 Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 31
8.8.1 Standard I/O pad configuration . . . . . . . . . . . . 16 10 Thermal characteristics . . . . . . . . . . . . . . . . . 32
8.9 Switch Matrix (SWM) . . . . . . . . . . . . . . . . . . . 17 11 Static characteristics . . . . . . . . . . . . . . . . . . . 33
8.10 Fast General-Purpose parallel I/O (GPIO) . . . 17 11.1 Power consumption . . . . . . . . . . . . . . . . . . . . 37
8.10.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 11.2 CoreMark data . . . . . . . . . . . . . . . . . . . . . . . . 41
8.11 Pin interrupt/pattern match engine . . . . . . . . . 18 11.3 Peripheral power consumption . . . . . . . . . . . 42
8.11.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 11.4 Electrical pin characteristics. . . . . . . . . . . . . . 43
8.12 USART0/1/2 . . . . . . . . . . . . . . . . . . . . . . . . . . 19 12 Dynamic characteristics. . . . . . . . . . . . . . . . . 46
8.12.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 12.1 Power-up ramp conditions . . . . . . . . . . . . . . . 46
8.13 SPI0/1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 12.2 Flash memory . . . . . . . . . . . . . . . . . . . . . . . . 46
8.13.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 12.3 External clock for the oscillator in slave mode 47
8.14 I2C-bus interface . . . . . . . . . . . . . . . . . . . . . . 20 12.4 Internal oscillators . . . . . . . . . . . . . . . . . . . . . 48
8.14.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 12.5 I/O pins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
8.15 State-Configurable Timer/PWM 12.6 I2C-bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
(SCTimer/PWM) . . . . . . . . . . . . . . . . . . . . . . . 20 12.7 SPI interfaces. . . . . . . . . . . . . . . . . . . . . . . . . 51
8.15.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 12.8 USART interface . . . . . . . . . . . . . . . . . . . . . . 54
8.16 Multi-Rate Timer (MRT) . . . . . . . . . . . . . . . . . 21
13 Analog characteristics . . . . . . . . . . . . . . . . . . 55
8.16.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
8.17 Windowed WatchDog Timer (WWDT) . . . . . . 21 13.1 BOD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
8.17.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 13.2 Internal voltage reference . . . . . . . . . . . . . . . 55
8.18 Self Wake-up Timer (WKT). . . . . . . . . . . . . . . 22 13.3 Comparator . . . . . . . . . . . . . . . . . . . . . . . . . . 56
8.18.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 14 Application information . . . . . . . . . . . . . . . . . 59
8.19 Analog comparator (ACMP) . . . . . . . . . . . . . . 22 14.1 Typical wake-up times . . . . . . . . . . . . . . . . . . 59
8.19.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 14.2 XTAL input . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
8.20 Clocking and power control . . . . . . . . . . . . . . 24 14.3 XTAL Printed Circuit Board (PCB) layout
8.20.1 Crystal and internal oscillators . . . . . . . . . . . . 24 guidelines. . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
14.4 ElectroMagnetic Compatibility (EMC) . . . . . . 62
continued >>
LPC81XM All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
15 Package outline . . . . . . . . . . . . . . . . . . . . . . . . 63
16 Soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
17 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . 72
18 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
19 Revision history . . . . . . . . . . . . . . . . . . . . . . . . 73
20 Legal information. . . . . . . . . . . . . . . . . . . . . . . 75
20.1 Data sheet status . . . . . . . . . . . . . . . . . . . . . . 75
20.2 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
20.3 Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
20.4 Trademarks. . . . . . . . . . . . . . . . . . . . . . . . . . . 76
21 Contact information. . . . . . . . . . . . . . . . . . . . . 76
22 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.