PHILIPS LPC811M001JDH16

LPC81xM
32-bit ARM Cortex-M0+ microcontroller; up to 16 kB flash and
4 kB SRAM
Rev. 3 — 29 July 2013
Product data sheet
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.
2. Features and benefits
 System:
 ARM Cortex-M0+ processor, running at frequencies of up to 30 MHz with
single-cycle multiplier and fast single-cycle I/O port.
 ARM Cortex-M0+ built-in Nested Vectored Interrupt Controller (NVIC).
 System tick timer.
 Serial Wire Debug (SWD) and JTAG boundary scan modes supported.
 Micro Trace Buffer (MTB) supported.
 Memory:
 Up to 16 kB on-chip flash programming memory with 64 Byte page write and erase.
 Up to 4 kB SRAM.
 ROM API support:
 Boot loader.
 USART drivers.
 I2C drivers.
 Power profiles.
 Flash In-Application Programming (IAP) and In-System Programming (ISP).
 Digital peripherals:
 High-speed GPIO interface connected to the ARM Cortex-M0+ IO bus with up to 18
General-Purpose I/O (GPIO) pins with configurable pull-up/pull-down resistors,
programmable open-drain mode, input inverter, and glitch filter.
 High-current source output driver (20 mA) on four pins.
 High-current sink driver (20 mA) on two true open-drain pins.
 GPIO interrupt generation capability with boolean pattern-matching feature on eight
GPIO inputs.
 Switch matrix for flexible configuration of each I/O pin function.
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller








 State Configurable Timer (SCT) with input and output functions (including capture
and match) assigned to pins through the switch matrix.
 Multiple-channel multi-rate timer (MRT) for repetitive interrupt generation at up to
four programmable, fixed rates.
 Self Wake-up Timer (WKT) clocked from either the IRC or a low-power,
low-frequency internal oscillator.
 CRC engine.
 Windowed Watchdog timer (WWDT).
Analog peripherals:
 Comparator with internal and external voltage references with pin functions
assigned or enabled through the switch matrix.
Serial interfaces:
 Three USART interfaces with pin functions assigned through the switch matrix.
 Two SPI controllers with pin functions assigned through the switch matrix.
 One I2C-bus interface with pin functions assigned through the switch matrix.
Clock generation:
 12 MHz internal RC oscillator trimmed to 1.5 % accuracy that can optionally be
used as a system clock.
 Crystal oscillator with an operating range of 1 MHz to 25 MHz.
 Programmable watchdog oscillator with a frequency range of 9.4 kHz to 2.3 MHz.
 10 kHz low-power oscillator for the WKT.
 PLL allows CPU operation up to the maximum CPU rate without the need for a
high-frequency crystal. May be run from the system oscillator, the external clock
input CLKIN, or the internal RC oscillator.
 Clock output function with divider that can reflect the crystal oscillator, the main
clock, the IRC, or the watchdog oscillator.
Power control:
 Integrated PMU (Power Management Unit) to minimize power consumption.
 Reduced power modes: Sleep mode, Deep-sleep mode, Power-down mode, and
Deep power-down mode.
 Wake-up from Deep-sleep and Power-down modes on activity on USART, SPI, and
I2C peripherals.
 Timer-controlled self wake-up from Deep power-down mode.
 Power-On Reset (POR).
 Brownout detect.
Unique device serial number for identification.
Single power supply.
Operating temperature range -40 °C to 105 °C except for the DIP8 package, which is
available for a temperature range of -40 °C to 85 °C.
Available as DIP8, TSSOP16, SO20, and TSSOP20 package.
3. Applications
 8/16-bit applications
 Consumer
 Climate control
LPC81xM
Product data sheet
 Lighting
 Motor control
 Fire and security applications
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
2 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
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
4.1 Ordering options
Table 2.
Ordering options
Type number
Flash/kB SRAM/kB USART
I2C
SPI
Comparator
GPIO
Package
LPC810M021FN8
4
1
2
1
1
1
6
DIP8
LPC811M001JDH16
8
2
2
1
1
1
14
TSSOP16
LPC812M101JDH16
16
4
3
1
2
1
14
TSSOP16
LPC812M101JD20
16
4
2
1
1
1
18
SO20
LPC812M101JDH20
16
4
3
1
2
1
18
TSSOP20
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
3 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
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.
Table 3.
Device revision table
Revision identifier (xR)
Revision description
‘1A’
Initial device revision with boot code version 13.1
‘2A’
Device revision with boot code version 13.2
’4C’
Device revision with boot code version 13.4
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
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
4 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
6. Block diagram
/3&[0
6:&/.6:'
[
3,2
7(67'(%8*
,17(5)$&(
+,*+63(('
*3,2
$50
&257(;0
3,1,17(558376
3$77(510$7&+
)/$6+
N%
VODYH
65$0
N%
VODYH
520
VODYH
&7287B>@
$+%/,7(%86
6&7
&7,1B>@
VODYH
VODYH
&5&
$+%72$3%
%5,'*(
7;'576
::'7
5;'&76
6&/.
86$57
,2&21
7;'576
[
6:,7&+
0$75,;
5;'&76
6&/.
86$57
08/7,5$7(7,0(5
7;'576
5;'&76
6&/.
86$57
6&.66(/
0,62026,
308
63,
6&.66(/
0,62026,
6(/)
:$.(837,0(5
63,
$/:$<62132:(5'20$,1
6&/
,&%86
6'$
;7$/287
;7$/,1
;7$/
5(6(7&/.,1
6<6&21
&/.287
,5&
:'2VF
%2'
$&03B,
9''&03
&203$5$725
$&03B2
&/2&.
*(1(5$7,21
32:(5&21752/
6<67(0
)81&7,216
325
FORFNVDQG
FRQWUROV
DDD
Fig 1.
LPC81xM block diagram
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
5 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
7. Pinning information
7.1 Pinning
5(6(73,2B
3,2B$&03B,7'2
3,2B:$.(837567
966
6:&/.3,2B7&.
9''
6:',23,2B706
3,2B$&03B,&/.,17',
',3
DDD
Fig 2.
Pin configuration DIP8 package (LPC810M021JN8)
3,2B
3,2B$&03B,7'2
3,2B
3,2B9''&03
5(6(73,2B
3,2B
3,2B:$.(837567
6:&/.3,2B7&.
6:',23,2B706
3,2B;7$/,1
3,2B
3,2B;7$/287
3,2B
966
9''
76623
3,2B$&03B,&/.,17',
DDD
Fig 3.
Pin configuration TSSOP16 package (LPC811M001JDH16 and LPC812M101JDH16)
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
6:&/.3,2B7&.
966
9''
6:',23,2B706
3,2B;7$/,1
3,2B
3,2B;7$/287
3,2B
3,2B$&03B&/.,17',
62
3,2B 3,2B
DDD
Fig 4.
Pin configuration SO20 package (LPC812M101JD20)
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
6 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
3,2B
3,2B
3,2B
3,2B$&03B,7'2
3,2B
3,2B9''&03
5(6(73,2B
3,2B:$.(837567
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
76623
3,2B 966
3,2B
DDD
Fig 5.
Pin configuration TSSOP20 package (LPC812M101JDH20)
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
7 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
7.2 Pin description
The pin description table 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, 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.
Movable function for the I2C, USART, SPI, and SCT pin functions can be assigned
through the switch matrix to any pin that is not power or ground in place of the pin’s fixed
functions.
The following exceptions apply:
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.
Pin description table (fixed pins)
PIO0_1/ACMP_I2/
CLKIN/TDI
DIP8
PIO0_0/ACMP_I1/
TDO
Type Reset Description
state
TSSOP16
Symbol
SO20/
TSSOP20
Table 4.
19
16
8
[1]
[5]
I/O
I; PU
PIO0_0 — General purpose digital input/output port 0 pin 0.
In ISP mode, this is the USART0 receive pin U0_RXD.
In boundary scan mode: TDO (Test Data Out).
12
9
5
[5]
AI
-
ACMP_I1 — Analog comparator input 1.
I/O
I; PU
PIO0_1 — General purpose digital input/output pin.
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.
SWDIO/PIO0_2/TMS 7
LPC81xM
Product data sheet
6
4
[2]
AI
-
ACMP_I2 — Analog comparator input 2.
I
-
CLKIN — External clock input.
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.
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
8 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
Pin description table (fixed pins)
PIO0_4/WAKEUP/
TRST
DIP8
SWCLK/PIO0_3/
TCK
Type Reset Description
state
TSSOP16
Symbol
SO20/
TSSOP20
Table 4.
6
5
3
5
4
[1]
[2]
2
[6]
I/O
I; PU
SWCLK — Serial Wire Clock. SWCLK is enabled by default on
this pin.
In boundary scan mode: TCK (Test Clock).
I/O
-
PIO0_3 — General purpose digital input/output pin.
I/O
I; PU
PIO0_4 — General purpose digital input/output pin.
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. Pull this pin
HIGH externally to enter Deep power-down mode. Pull this pin
LOW to exit Deep power-down mode. A LOW-going pulse as
short as 50 ns wakes up the part.
RESET/PIO0_5
PIO0_6/VDDCMP
PIO0_7
PIO0_8/XTALIN
4
18
17
14
3
15
14
11
1
[4]
-
[9]
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.
I
-
PIO0_5 — General purpose digital input/output pin.
I/O
I; PU
PIO0_6 — General purpose digital input/output pin.
AI
-
VDDCMP — Alternate reference voltage for the analog
comparator.
I; PU
PIO0_7 — General purpose digital input/output pin.
-
[2]
I/O
-
[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.
I/O
I; PU
PIO0_9 — General purpose digital input/output pin.
PIO0_9/XTALOUT
13
10
-
[8]
O
-
XTALOUT — Output from the oscillator circuit.
PIO0_10
9
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
-
[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.
PIO0_12
3
2
-
[2]
I/O
I; PU
PIO0_12 — General purpose digital input/output pin. ISP entry
pin on the SO20/TSSOP20/TSSOP16 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
PIO0_14
2
20
1
-
-
[2]
I/O
I; PU
PIO0_13 — General purpose digital input/output pin.
-
[7]
I/O
I; PU
PIO0_14 — General purpose digital input/output pin.
I/O
I; PU
PIO0_15 — General purpose digital input/output pin.
I/O
I; PU
PIO0_16 — General purpose digital input/output pin.
PIO0_15
11
-
-
[7]
PIO0_16
10
-
-
[7]
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
9 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
Pin description table (fixed pins)
VDD
VSS
DIP8
PIO0_17
Type Reset Description
state
TSSOP16
Symbol
SO20/
TSSOP20
Table 4.
1
-
-
15
12
16
13
[1]
[7]
I/O
I; PU
PIO0_17 — General purpose digital input/output pin.
6
-
-
3.3 V supply voltage.
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.
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 10 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.
[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
LPC81xM
Product data sheet
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.
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.
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
10 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
Table 5.
Movable functions (assign to pins PIO0_0 to PIO_17 through switch matrix)
Function name
Type
Description
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 output.
CLKOUT
O
Clock output.
GPIO_INT_BMAT O
Table 6.
LPC81xM
Product data sheet
Output of the pattern match engine.
Pin location in ISP mode
ISP entry pin
USART RXD USART TXD
Marking
Boot loader
version
Package
PIO0_1
PIO0_0
PIO0_4
1A
v 13.1
TSSOP20; SO20;
TSSOP16; DIP8
PIO0_1
PIO0_0
PIO0_4
2A
v 13.2
TSSOP20; SO20;
TSSOP16; DIP8
PIO0_1
PIO0_0
PIO0_4
4C and
later
v 13.4 and
later
DIP8
PIO0_12
PIO0_0
PIO0_4
4C and
later
v 13.4 and
later
TSSOP20; SO20;
TSSOP16
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
11 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
8. Functional description
8.1 ARM Cortex-M0+ core
The ARM Cortex-M0+ core runs at an operating frequency of up to 30 MHz using a
two-stage pipeline. 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.
The core includes a single-cycle multiplier and a system tick timer.
8.2 On-chip flash program memory
The LPC81xM contain up to 16 kB of on-chip flash program memory. The flash memory
supports a 64 Byte page size with page write and erase.
8.3 On-chip SRAM
The LPC81xM contain a total of up to 4 kB on-chip static RAM data memory.
8.4 On-chip ROM
The 8 kB on-chip ROM contains the boot loader and the following Application
Programming Interfaces (API):
• 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 Nested Vectored Interrupt Controller (NVIC)
The Nested Vectored Interrupt Controller (NVIC) is an integral part of the Cortex-M0+. The
tight coupling to the CPU allows for low interrupt latency and efficient processing of late
arriving interrupts.
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.
8.5.2 Interrupt sources
Each peripheral device has one interrupt line connected to the NVIC but may have several
interrupt flags. Individual interrupt flags may also represent more than one interrupt
source.
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
12 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
Up to eight pins, regardless of the selected function, can be programmed to generate an
interrupt on a level, a rising or falling edge, or both. The interrupt generating pins can be
selected from all digital or mixed digital/analog pins. The pin interrupt/pattern match block
controls the edge or level detection mechanism.
8.6 System tick timer
The ARM Cortex-M0+ includes a 24-bit system tick timer (SysTick) that is intended to
generate a dedicated SysTick exception at a fixed time interval (typically 10 ms).
8.7 Memory map
The LPC81xM incorporates several distinct memory regions. Figure 6 shows the overall
map of the entire address space from the user program viewpoint following reset. The
interrupt vector area supports address remapping.
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
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
13 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
$3%SHULSKHUDOV
*%
/3&[0
[
UHVHUYHG
[))))))))
UHVHUYHG
[(
SULYDWHSHULSKHUDOEXV
[
[(
86$57
86$57
UHVHUYHG
*3,2
86$57
UHVHUYHG
63,
63,
UHVHUYHG
,&
UHVHUYHG
6<6&21
,2&21
IODVKFRQWUROOHU
UHVHUYHG
UHVHUYHG
UHVHUYHG
[)))
[
UHVHUYHG
[)))
[&
UHVHUYHG
DQDORJFRPSDUDWRU
308
[
UHVHUYHG
[&
UHVHUYHG
UHVHUYHG
[$
[$
UHVHUYHG
[
6&7
[
&5&
[
UHVHUYHG
[
*%
$3%SHULSKHUDOV
[
UHVHUYHG
[
*%
UHVHUYHG
N%ERRW520
UHVHUYHG
[
N%07%UHJLVWHUV
[
UHVHUYHG
[
N%65$0/3&
[
N%65$0/3&
[
UHVHUYHG
[
N%RQFKLSIODVK/3&
N%RQFKLSIODVK/3&
*%
N%RQFKLSIODVK/3&
UHVHUYHG
UHVHUYHG
[
N%65$0/3&
[
[$
SLQLQWHUUXSWVSDWWHUQPDWFK
[&
[
[&
[
[
[
[&
[
[
[
[&
[
[
[
[
[
[
[
VZLWFKPDWUL[
[&
VHOIZDNHXSWLPHU
[
057
[
::'7
[
[
[
[
[&
DFWLYHLQWHUUXSWYHFWRUV
[
[
DDD
Fig 6.
LPC81xM Memory map
8.8 I/O configuration
The IOCON block controls the configuration of the I/O pins. Each digital or mixed
digital/analog pin with the PIO0_n designator (except the true open-drain pins PIO0_10
and PIO0_11) in Table 4 can be configured as follows:
• Enable or disable the weak internal pull-up and pull-down resistors.
• Select a pseudo open-drain mode. The input cannot be pulled up above VDD.
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
14 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
• Program the input glitch filter with different filter constants using one of the IOCON
divided clock signals (IOCONCLKCDIV, see Figure 9 “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.
8.8.1 Standard I/O pad configuration
Figure 7 shows the possible pin modes for standard I/O pins with analog input function:
•
•
•
•
•
•
LPC81xM
Product data sheet
Digital output driver with configurable open-drain output
Digital input: Weak pull-up resistor (PMOS device) enabled/disabled
Digital input: Weak pull-down resistor (NMOS device) enabled/disabled
Digital input: Repeater mode enabled/disabled
Digital input: Input glitch filter selectable on all pins
Analog input
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
15 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
9''
9''
RSHQGUDLQHQDEOH
SLQFRQILJXUHG
DVGLJLWDORXWSXW
GULYHU
VWURQJ
SXOOXS
RXWSXWHQDEOH
(6'
GDWDRXWSXW
3,1
VWURQJ
SXOOGRZQ
(6'
966
9''
ZHDN
SXOOXS
SXOOXSHQDEOH
ZHDN
SXOOGRZQ
UHSHDWHUPRGH
HQDEOH
SLQFRQILJXUHG
DVGLJLWDOLQSXW
SXOOGRZQHQDEOH
GDWDLQSXW
352*5$00$%/(
*/,7&+),/7(5
VHOHFWGDWD
LQYHUWHU
VHOHFWJOLWFK
ILOWHU
VHOHFWDQDORJLQSXW
SLQFRQILJXUHG
DVDQDORJLQSXW
DQDORJLQSXW
DDD
Fig 7.
Standard I/O pad configuration
8.9 Switch Matrix (SWM)
The switch matrix controls the function of each digital or mixed analog/digital pin in a
highly flexible way by allowing to connect many functions like the USART, SPI, SCT, and
I2C functions to any pin that is not power or ground. These functions are called movable
functions and are listed in Table 5.
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.
8.10 Fast General-Purpose parallel I/O (GPIO)
Device pins that are not connected to a specific peripheral function are controlled by the
GPIO registers. Pins may be dynamically configured as inputs or outputs. Multiple outputs
can be set or cleared in one write operation.
LPC81xM use accelerated GPIO functions:
• 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
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
16 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
• 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.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 7).
• Control of the digital output slew rate allowing to switch more outputs simultaneously
without degrading the power/ground distribution of the device.
8.11 Pin interrupt/pattern match engine
The pin interrupt block configures up to eight pins from all digital pins for providing eight
external interrupts connected to the NVIC.
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
deep power-down mode.
• Pin interrupt pattern match engine
– Up to 8 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 minters (product term) comprising the specified boolean expression can
generate its own, dedicated interrupt request.
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
17 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
– 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.
– The pattern match engine does not facilitate wake-up.
8.12 USART0/1/2
Remark: USART0 and USART1 are available on all LPC800 parts. USART2 is available
on parts 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.
• Baud rate clock can also be output in asynchronous mode.
• 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.
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
18 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
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.
• Data frames of 1 to 16 bits supported directly. Larger frames supported by software.
• Master and slave operation.
• Data can be transmitted to a slave without the need to read incoming data. This can
be useful while setting up an SPI memory.
• Control information can optionally be written along with data. This allows very
versatile operation, including “any length” frames.
• One Slave Select input/output with selectable polarity and flexible usage.
Remark: Texas Instruments SSI and National Microwire modes are not supported.
8.14 I2C-bus interface
The I2C-bus is bidirectional for inter-IC control using only two wires: a serial clock line
(SCL) and a serial data line (SDA). Each device is recognized by a unique address and
can operate as either a receiver-only device (e.g., an LCD driver) or a transmitter with the
capability to both receive and send information (such as memory). Transmitters and/or
receivers can operate in either master or slave mode, depending on whether the chip has
to initiate a data transfer or is only addressed. The I2C is a multi-master bus and can be
controlled by more than one bus master connected to it.
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.
•
•
•
•
10-bit addressing supported with software assist.
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.
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
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
19 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
8.15 State-Configurable Timer (SCT)
The state configurable timer can perform basic 16-bit and 32-bit timer/counter functions
with match outputs and external and internal capture inputs. In addition, the SCT can
employ up to two different programmable states, which can change under the control of
events, to provide complex timing patterns.
All inputs and outputs of the SCT 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 Multi-Rate Timer (MRT)
The Multi-Rate Timer (MRT) provides a repetitive interrupt timer with four channels. Each
channel can be programmed with an independent time interval, and each channel
operates independently from the other channels.
8.16.1 Features
• 31-bit interrupt timer
• Four channels independently counting down from individually set values
• Repeat and one-shot interrupt modes
8.17 Windowed WatchDog Timer (WWDT)
The watchdog timer resets the controller if software fails to periodically service it within a
programmable time window.
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
20 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
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.
• Optional warning interrupt can be generated at a programmable time prior to
watchdog time-out.
• Enabled by software but requires a hardware reset or a watchdog reset/interrupt to be
disabled.
•
•
•
•
Incorrect feed sequence causes reset or interrupt if enabled.
Flag to indicate watchdog reset.
Programmable 24-bit timer with internal prescaler.
Selectable time period from (Tcy(WDCLK)  256  4) to (Tcy(WDCLK)  224  4) in
multiples of Tcy(WDCLK)  4.
• The Watchdog Clock (WDCLK) source can be selected from the internal RC oscillator
(IRC), or the dedicated watchdog oscillator (WDOsc). This gives a wide range of
potential timing choices of watchdog operation under different power conditions.
8.18 Self Wake-up Timer (WKT)
The self wake-up timer is a 32-bit, loadable down-counter. Writing any non-zero value to
this timer automatically enables the counter and launches a count-down sequence. When
the counter is used as a wake-up timer, this write can occur just prior to entering a
reduced power mode.
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.
8.19 SysTick timer
The ARM Cortex-M0+ 24-bit SysTick timer is implemented on the LPC81xM.
8.20 Analog comparator (ACMP)
The analog comparator with selectable hysteresis can compare voltage levels on external
pins and internal voltages.
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 22.
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
21 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
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.
9''
&203$5$725$1$/2*%/2&.
&203$5$725',*,7$/%/2&.
9''&03
FRPSDUDWRU
OHYHO$&03B2
V\QF
HGJHGHWHFW
FRPSDUDWRU
HGJH19,&
LQWHUQDO
YROWDJH
UHIHUHQFH
$&03B,>@
DDD
Fig 8.
Comparator block diagram
8.20.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
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
22 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
8.21 Clocking and power control
6<6&21
PDLQFORFN
&/2&.',9,'(5
6<6$+%&/.',9
$+%FORFN
FRUHV\VWHP
DOZD\VRQ
V\VWHPFORFN
6<6$+%&/.&75/>@
V\VWHPFORFNHQDEOH
&/2&.',9,'(5
8$57&/.',9
)5$&7,21$/5$7(
*(1(5$725
PHPRULHV
DQGSHULSKHUDOV
SHULSKHUDOFORFNV
86$57
86$57
86$57
,5&RVFLOODWRU
&/2&.',9,'(5
,2&21&/.',9
,2&21
JOLWFKILOWHU
ZDWFKGRJRVFLOODWRU
0$,1&/.6(/
PDLQFORFNVHOHFW
,5&RVFLOODWRU
;7$/,1
;7$/287
6<67(0
26&,//$725
6<67(03//
,5&RVFLOODWRU
V\VWHPRVFLOODWRU
ZDWFKGRJRVFLOODWRU
&/2&.',9,'(5
&/.287',9
&/.287SLQ
&/.,1
&/.2876(/
&/.287FORFNVHOHFW
6<63//&/.6(/
V\VWHP3//FORFNVHOHFW
308
ZDWFKGRJRVFLOODWRU
::'7
,5&RVFLOODWRU
:.7
ORZSRZHURVFLOODWRU
:.7
DDD
Fig 9.
LPC81xM clock generation
8.21.1 Crystal and internal oscillators
The LPC81xM include four independent oscillators:
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
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
23 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
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.
See Figure 9 for an overview of the LPC81xM clock generation.
8.21.1.1
Internal RC Oscillator (IRC)
The IRC may be used as the clock source for the WWDT, and/or as the clock that drives
the PLL and subsequently the CPU. The nominal IRC frequency is 12 MHz. The IRC is
trimmed to 1.5 % accuracy over the entire voltage and temperature range.
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.
8.21.1.2
Crystal Oscillator (SysOsc)
The crystal oscillator can be used as the clock source for the CPU, with or without using
the PLL.
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.
8.21.1.3
Internal Low-power Oscillator and Watchdog Oscillator (WDOsc)
The nominal frequency of the WDOsc is programmable between 9.4 kHz and 2.3 MHz.
The frequency spread over silicon process variations is  40%.
The WDOsc is a dedicated oscillator for the windowed WWDT.
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.
8.21.2 Clock input
A 3.3 V external clock source (25 MHz typical) can be supplied on the selected CLKIN pin
or a 1.8 V external clock source can be supplied on the XTALIN pin (see Section 14.1).
8.21.3 System PLL
The PLL accepts an input clock frequency in the range of 10 MHz to 25 MHz. The input
frequency is multiplied up to a high frequency with a Current Controlled Oscillator (CCO).
The multiplier can be an integer value from 1 to 32. The CCO operates in the range of
156 MHz to 320 MHz, so there is an additional divider in the loop to keep the CCO within
its frequency range while the PLL is providing the desired output frequency. The output
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.
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
24 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
8.21.4 Clock output
The LPC81xM features a clock output function that routes the IRC, the SysOsc, the
watchdog oscillator, or the main clock to the CLKOUT function. The CLKOUT function can
be connected to any digital pin through the switch matrix.
8.21.5 Wake-up process
The LPC81xM begin operation at power-up by using the IRC as the clock source. This
allows chip operation to resume quickly. If the SysOsc, the external clock source, or the
PLL is needed by the application, software must enable these features and wait for them
to stabilize before they are used as a clock source.
8.21.6 Power control
The LPC81xM supports the ARM Cortex-M0 Sleep mode. The CPU clock rate may also
be controlled as needed by changing clock sources, reconfiguring PLL values, and/or
altering the CPU clock divider value. This allows a trade-off of power versus processing
speed based on application requirements. In addition, a register is provided for shutting
down the clocks to individual on-chip peripherals, allowing to fine-tune power
consumption by eliminating all dynamic power use in any peripherals that are not required
for the application. Selected peripherals have their own clock divider which provides even
better power control.
8.21.6.1
Power profiles
The power consumption in Active and Sleep modes can be optimized for the application
through simple calls to the power profile API. The API is accessible through the on-chip
ROM.
The power configuration routine configures the LPC81xM for one of the following power
modes:
• Default mode corresponding to power configuration after reset.
• CPU performance mode corresponding to optimized processing capability.
• Efficiency mode corresponding to optimized balance of current consumption and CPU
performance.
• Low-current mode corresponding to lowest power consumption.
In addition, the power profile includes routines to select the optimal PLL settings for a
given system clock and PLL input clock.
8.21.6.2
Sleep mode
When Sleep mode is entered, the clock to the core is stopped. Resumption from the Sleep
mode does not need any special sequence but re-enabling the clock to the ARM core.
In Sleep mode, execution of instructions is suspended until either a reset or interrupt
occurs. Peripheral functions continue operation during Sleep mode and may generate
interrupts to cause the processor to resume execution. Sleep mode eliminates dynamic
power used by the processor itself, memory systems and related controllers, and internal
buses.
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
25 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
8.21.6.3
Deep-sleep mode
In Deep-sleep mode, the LPC81xM is in Sleep-mode and all peripheral clocks and all
clock sources are off except for the IRC and watchdog oscillator or low-power oscillator if
selected. The IRC output is disabled. In addition all analog blocks are shut down and the
flash is in stand-by mode. In Deep-sleep mode, the application can keep the watchdog
oscillator and the BOD circuit running for self-timed wake-up and BOD protection.
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.
8.21.6.4
Power-down mode
In Power-down mode, the LPC81xM is in Sleep-mode and all peripheral clocks and all
clock sources are off except for watchdog oscillator or low-power oscillator if selected. In
addition all analog blocks and the flash are shut down. In Power-down mode, the
application can keep the watchdog oscillator and the BOD circuit running for self-timed
wake-up and BOD protection.
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.
Power-down mode reduces power consumption compared to Deep-sleep mode at the
expense of longer wake-up times.
8.21.6.5
Deep power-down mode
In Deep power-down mode, power is shut off to the entire chip except for the WAKEUP
pin and the self wake-up timer if enabled. Four general-purpose registers are available to
store information during Deep power-down mode. The LPC81xM can wake up from Deep
power-down mode via the WAKEUP pin, or without an external signal by using the
time-out of the self wake-up timer (see Section 8.18).
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.
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.
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
26 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
8.22 System control
8.22.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.
A LOW-going pulse as short as 50 ns resets the part.
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
UHVHW
(6'
QV5&
*/,7&+),/7(5
3,1
(6'
966
DDD
Fig 10. Reset pad configuration
8.22.2 Brownout detection
The LPC81xM includes up to four levels for monitoring the voltage on the VDD pin. If this
voltage falls below one of the selected levels, the BOD asserts an interrupt signal to the
NVIC. This signal can be enabled for interrupt in the Interrupt Enable Register in the NVIC
to cause a CPU interrupt. Alternatively, software can monitor the signal by reading a
dedicated status register. Four threshold levels can be selected to cause a forced reset of
the chip.
8.22.3 Code security (Code Read Protection - CRP)
CRP provides different levels of security in the system so that access to the on-chip flash
and use of the Serial Wire Debugger (SWD) and In-System Programming (ISP) can be
restricted. Programming a specific pattern into a dedicated flash location invokes CRP.
IAP commands are not affected by the CRP.
In addition, ISP entry via the ISP entry pin can be disabled without enabling CRP. For
details, see the LPC800 user manual.
There are three levels of Code Read Protection:
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
27 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
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.22.4 APB interface
The APB peripherals are located on one APB bus.
8.22.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
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
28 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
8.23 Emulation and debugging
Debug functions are integrated into the ARM Cortex-M0+. Serial wire debug functions are
supported in addition to a standard JTAG boundary scan. The ARM Cortex-M0+ is
configured to support up to four breakpoints and two watch points.
The Micro Trace Buffer is implemented on the LPC81xM.
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).
To perform boundary scan testing, follow these steps:
1. Erase any user code residing in flash.
2. Power up the part with the RESET pin pulled HIGH externally.
3. Wait for at least 250 s.
4. Pull the RESET pin LOW externally.
5. Perform boundary scan operations.
6. Once the boundary scan operations are completed, assert the TRST pin to enable the
SWD debug mode, and release the RESET pin (pull HIGH).
Remark: The JTAG interface cannot be used for debug purposes.
9''
/3&
975()
IURP6:'
FRQQHFWRU
6:',2
6:',2
6:&/.
6:&/.
Q5(6(7
5(6(7
*1'
3,2B
,63HQWU\
DDD
Fig 11. Connecting the SWD pins to a standard SWD connector
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
29 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
9. Limiting values
Table 7.
Limiting values
In accordance with the Absolute Maximum Rating System (IEC 60134).[1]
Symbol
VDD
VI
Parameter
Conditions
Min
Max
Unit
supply voltage (core and external rail)
[2]
0.5
+4.6
V
input voltage
5 V tolerant I/O pins; only valid when
the VDD supply voltage is present
[3]
0.5
+5.5
V
5 V tolerant open-drain pins PIO0_10
and PIO0_11
[4]
0.5
+5.5
V
3 V tolerant I/O pin PIO0_6
[5]
0.5
+3.6
V
[6]
0.5
4.6
V
analog input voltage
VIA
[7]
Vi(xtal)
crystal input voltage
0.5
+2.5
V
IDD
supply current
per supply pin
-
100
mA
ISS
ground current
per ground pin
-
100
mA
Ilatch
I/O latch-up current
(0.5VDD) < VI < (1.5VDD);
-
100
mA
65
+150
C
-
150
C
-
1.5
W
-
5500
V
charged device model; TSSOP20 and
SOP20 packages
-
1200
V
charged device model; TSSOP16
package
-
1000
V
[2]
Tj < 125 C
Tstg
storage temperature
Tj(max)
maximum junction temperature
Ptot(pack)
total power dissipation (per package)
based on package heat transfer, not
device power consumption
VESD
electrostatic discharge voltage
human body model; all pins
[1]
non-operating
[8]
[9]
The following applies to the limiting values:
a) This product includes circuitry specifically designed for the protection of its internal devices from the damaging effects of excessive
static charge. Nonetheless, it is suggested that conventional precautions be taken to avoid applying greater than the rated
maximum.
b) Parameters are valid over operating temperature range unless otherwise specified. All voltages are with respect to VSS unless
otherwise noted.
c) The limiting values are stress ratings only. Operating the part at these values is not recommended and proper operation is not
guaranteed. The conditions for functional operation are specified in Table 9.
[2]
Maximum/minimum voltage above the maximum operating voltage (see Table 9) and below ground that can be applied for a short time
(< 10 ms) to a device without leading to irrecoverable failure. Failure includes the loss of reliability and shorter lifetime of the device.
[3]
Including voltage on outputs in tri-state mode. Does not apply to pin PIO0_6.
[4]
VDD present or not present. Compliant with the I2C-bus standard. 5.5 V can be applied to this pin when VDD is powered down.
[5]
VDD present or not present.
[6]
If the comparator is configured with the common mode input VIC = VDD, the other comparator input can be up to 0.2 V above or below
VDD without affecting the hysteresis range of the comparator function.
[7]
It is recommended to connect an overvoltage protection diode between the analog input pin and the voltage supply pin.
[8]
The maximum non-operating storage temperature is different than the temperature for required shelf life which should be determined
based on required shelf lifetime. Please refer to the JEDEC spec (J-STD-033B.1) for further details.
[9]
Human body model: equivalent to discharging a 100 pF capacitor through a 1.5 k series resistor.
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
30 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
10. Thermal characteristics
The average chip junction temperature, Tj (C), can be calculated using the following
equation:
T j = T amb +  P D  R th  j – a  
(1)
• Tamb = ambient temperature (C),
• Rth(j-a) = the package junction-to-ambient thermal resistance (C/W)
• PD = sum of internal and I/O power dissipation
The internal power dissipation is the product of IDD and VDD. The I/O power dissipation of
the I/O pins is often small and many times can be negligible. However it can be significant
in some applications.
Table 8.
Thermal resistance
Symbol Parameter
Conditions
Max/Min
JEDEC (4.5 in  4 in); still air
Unit
DIP8
Rth(j-a)
Rth(j-c)
thermal resistance from
junction to ambient
60 ± 15 %
C/W
Single-layer (4.5 in  3 in); still air 81 ± 15 %
C/W
38 ± 15 %
C/W
thermal resistance from
junction to case
TSSOP16
Rth(j-a)
Rth(j-c)
thermal resistance from
junction to ambient
JEDEC (4.5 in  4 in); still air
133 ± 15 % C/W
Single-layer (4.5 in  3 in); still air 182 ± 15 % C/W
thermal resistance from
junction to case
33 ± 15 %
C/W
TSSOP20
Rth(j-a)
Rth(j-c)
thermal resistance from
junction to ambient
JEDEC (4.5 in  4 in); still air
110 ± 15 % C/W
Single-layer (4.5 in  3 in); still air 153 ± 15 % C/W
thermal resistance from
junction to case
23 ± 15 %
C/W
87 ± 15 %
C/W
SO20
LPC81xM
Product data sheet
Rth(j-a)
thermal resistance from
junction to ambient
Rth(j-c)
thermal resistance from
junction to case
JEDEC (4.5 in  4 in); still air
Single-layer (4.5 in  3 in); still air 112 ± 15 % C/W
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
50 ± 15 %
C/W
© NXP B.V. 2013. All rights reserved.
31 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
11. Static characteristics
Table 9.
Static characteristics
Tamb = 40 C to +105 C, unless otherwise specified.
Symbol
Parameter
VDD
supply voltage (core
and external rail)
IDD
supply current
Conditions
Min
Typ[1]
Max
Unit
1.8
3.3
3.6
V
-
1.4
-
mA
-
1.0
-
mA
-
2.2
-
mA
-
3.3
-
mA
-
3
-
mA
-
0.8
-
mA
-
0.7
-
mA
-
1.3
-
mA
-
1.8
-
mA
-
1.7
-
mA
Active mode; code
while(1){}
executed from flash;
system clock = 12 MHz; default
mode; VDD = 3.3 V
[2][3][4]
system clock = 12 MHz;
low-current mode; VDD = 3.3 V
[2][3][4]
system clock = 24 MHz;
low-current mode; VDD = 3.3 V
[2][3][8]
system clock = 30 MHz; default
mode; VDD = 3.3 V
[2][3][6]
system clock = 30 MHz;
low-current mode; VDD = 3.3 V
[2][3][6]
[6][7]
[6][7]
[6][7]
[7][9]
[7][9]
Sleep mode;
system clock = 12 MHz; default
mode; VDD = 3.3 V
[2][3][4]
system clock = 12 MHz;
low-current mode; VDD = 3.3 V
[2][3][4]
system clock = 24 MHz;
low-current mode; VDD = 3.3 V
[2][3][8]
system clock = 30 MHz; default
mode; VDD = 3.3 V
[2][3][9]
system clock = 30 MHz;
low-current mode; VDD = 3.3 V
[2][3][9]
[6][7]
[6][7]
[6][7]
[6][7]
[6][7]
Deep-sleep mode;
VDD = 3.3 V
[2][3][10]
-
170
-
A
Power-down mode;
VDD = 3.3 V
[2][3][10]
-
1.8
-
A
[2][11]
-
220
-
nA
[2][11]
-
1
-
A
Deep power-down mode; VDD =
3.3 V;
Low-power oscillator off
Low-power oscillator on/WKT
wake-up enabled
Standard port pins configured as digital pins, RESET; see Figure 12
IIL
LOW-level input current VI = 0 V; on-chip pull-up resistor
disabled
-
0.5
10
nA
IIH
HIGH-level input
current
VI = VDD; on-chip pull-down
resistor disabled
-
0.5
10
nA
IOZ
OFF-state output
current
VO = 0 V; VO = VDD; on-chip
pull-up/down resistors disabled
-
0.5
10
nA
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
32 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
Table 9.
Static characteristics …continued
Tamb = 40 C to +105 C, unless otherwise specified.
Symbol
VI
Min
Typ[1]
Max
Unit
0
-
5.0
V
VDD  1.8 V; on 3 V tolerant pin
PIO0_6
0
-
3.6
VDD = 0 V
0
-
3.6
V
output active
0
-
VDD
V
V
Parameter
Conditions
input voltage
VDD  1.8 V; 5 V tolerant pins
except PIO0_6
[13]
[15]
VO
output voltage
VIH
HIGH-level input
voltage
0.7VDD
-
-
VIL
LOW-level input voltage
-
-
0.3VDD V
Vhys
hysteresis voltage
-
0.4
-
V
VOH
HIGH-level output
voltage
VOL
IOH
LOW-level output
voltage
HIGH-level output
current
2.5 V  VDD  3.6 V; IOH = 4 mA
VDD  0.4 -
-
V
1.8 V  VDD < 2.5 V; IOH = 3 mA
VDD  0.4 -
-
V
2.5 V  VDD  3.6 V; IOL = 4 mA
-
-
0.4
V
1.8 V  VDD < 2.5 V; IOL = 3 mA
-
-
0.4
V
VOH = VDD  0.4 V;
4
-
-
mA
3
-
-
mA
4
-
-
mA
2.5 V  VDD  3.6 V
1.8 V  VDD < 2.5 V
IOL
LOW-level output
current
VOL = 0.4 V
2.5 V  VDD  3.6 V
1.8 V  VDD < 2.5 V
3
-
-
mA
-
-
45
mA
-
-
50
mA
IOHS
HIGH-level short-circuit VOH = 0 V
output current
[16]
IOLS
LOW-level short-circuit
output current
[16]
Ipd
pull-down current
VI = 5 V
10
50
150
A
Ipu
pull-up current
VI = 0 V;
15
50
85
A
VOL = VDD
2.0 V  VDD  3.6 V
1.8 V  VDD < 2.0 V
VDD < VI < 5 V
10
50
85
A
0
0
0
A
High-drive output pins configured as digital pins (PIO0_2, PIO0_3, PIO0_7, PIO0_12, PIO0_13); see Figure 12
IIL
LOW-level input current VI = 0 V; on-chip pull-up resistor
disabled
-
0.5
10
nA
IIH
HIGH-level input
current
VI = VDD; on-chip pull-down
resistor disabled
-
0.5
10
nA
IOZ
OFF-state output
current
VO = 0 V; VO = VDD; on-chip
pull-up/down resistors disabled
-
0.5
10
nA
VI
input voltage
VDD  1.8 V
0
-
5.0
V
VDD = 0 V
0
-
3.6
V
output active
[13]
[15]
VO
output voltage
0
-
VDD
V
VIH
HIGH-level input
voltage
0.7VDD
-
-
V
VIL
LOW-level input voltage
-
-
0.3VDD V
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
33 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
Table 9.
Static characteristics …continued
Tamb = 40 C to +105 C, unless otherwise specified.
Symbol
Parameter
Vhys
hysteresis voltage
VOH
HIGH-level output
voltage
VOL
LOW-level output
voltage
HIGH-level output
current
IOH
LOW-level output
current
IOL
Conditions
2.5 V VDD 3.6 V; IOH = 20 mA
Min
Typ[1]
Max
Unit
0.4
-
-
V
VDD  0.4 -
-
V
1.8 V VDD < 2.5 V; IOH = 12 mA
VDD  0.4 -
-
V
2.5 V VDD 3.6 V; IOL = 4 mA
-
-
0.4
V
1.8 V VDD < 2.5 V; IOL = 3 mA
-
-
0.4
V
VOH = VDD  0.4 V;
2.5 V  VDD  3.6 V
20
-
-
mA
1.8 V  VDD < 2.5 V
12
-
-
mA
VOL = 0.4 V
4
-
-
mA
2.5 V  VDD  3.6 V
1.8 V  VDD < 2.5 V
3
-
-
mA
-
-
50
mA
IOLS
LOW-level short-circuit
output current
VOL = VDD
[16]
Ipd
pull-down current
VI = 5 V
[17]
10
50
150
A
Ipu
pull-up current
VI = 0 V
[17]
15
50
85
A
2.0 V  VDD  3.6 V
1.8 V  VDD < 2.0 V
VDD < VI < 5 V
I2C-bus
10
50
85
A
0
0
0
A
V
pins (PIO0_10 and PIO0_11); see Figure 12
VIH
HIGH-level input
voltage
0.7VDD
-
-
VIL
LOW-level input voltage
-
-
0.3VDD V
Vhys
hysteresis voltage
-
0.05VDD
-
V
3.5
-
-
mA
3
-
-
20
-
-
16
-
-
-
2
4
A
-
10
22
A
LOW-level output
current
IOL
I2C-bus
VOL = 0.4 V;
pins
configured as standard mode pins
2.5 V  VDD  3.6 V
1.8 V  VDD < 2.5 V
LOW-level output
current
IOL
I2C-bus
VOL = 0.4 V;
pins
configured as Fast-mode Plus
pins
mA
2.5 V  VDD  3.6 V
1.8 V  VDD < 2.5 V
input leakage current
ILI
[18]
VI = VDD
VI = 5 V
Oscillator input pins (PIO0_8 and PIO0_9)
Vi(xtal)
crystal input voltage
0.5
1.8
1.95
V
Vo(xtal)
crystal output voltage
0.5
1.8
1.95
V
[1]
Typical ratings are not guaranteed. The values listed are for room temperature (25 C), nominal supply voltages.
[2]
Tamb = 25 C.
[3]
IDD measurements were performed with all pins configured as GPIO outputs driven LOW and pull-up resistors disabled.
[4]
IRC enabled; system oscillator disabled; system PLL disabled.
[5]
System oscillator enabled; IRC disabled; system PLL disabled.
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
34 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
[6]
BOD disabled.
[7]
All peripherals disabled in the SYSAHBCLKCTRL register. Peripheral clocks to USART, CLKOUT, and IOCON disabled in system
configuration block.
[8]
IRC enabled; system oscillator disabled; system PLL enabled.
[9]
IRC disabled; system oscillator enabled; system PLL enabled.
[10] All oscillators and analog blocks turned off in the PDSLEEPCFG register; PDSLEEPCFG = 0x0000 18FF.
[11] WAKEUP pin pulled HIGH externally.
[12] Low-current mode PWR_LOW_CURRENT selected when running the set_power routine in the power profiles.
[13] Including voltage on outputs in tri-state mode.
[14] VDD supply voltage must be present.
[15] 3-state outputs go into tri-state mode in Deep power-down mode.
[16] Allowed as long as the current limit does not exceed the maximum current allowed by the device.
[17] Pull-up and pull-down currents are measured across the weak internal pull-up/pull-down resistors. See Figure 7.
[18] To VSS.
/3&
9''
,2/
,SG
SLQ3,2BQ
$
,2+
,SX
SLQ3,2BQ
$
DDD
Fig 12. Pin input/output current measurement
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
35 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
11.1 Power consumption
Power measurements in Active, Sleep, and Deep-sleep modes were performed under the
following conditions:
• 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+]
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.
Fig 13. Active mode: Typical supply current IDD versus supply voltage VDD
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
36 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
DDD
0+]
0+]
0+]
0+]
0+]
0+]
0+]
,''
,''
P$
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.
Fig 14. Active mode: Typical supply current IDD versus temperature
DDD
,''
,''
P$
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.
Fig 15. Sleep mode: Typical supply current IDD versus temperature for different system
clock frequencies
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
37 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
DDD
,''
,''
ȝ$
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
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
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
38 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
DDD
,''
,''
ȝ$
9
9
9
WHPSHUDWXUHƒ&
WKT not running.
Fig 18. Deep power-down mode: Typical supply current IDD versus temperature for
different supply voltages VDD
11.2 CoreMark data
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 19. Active mode: CoreMark power consumption IDD
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
39 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
DDD
,''
,''
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 20. CoreMark score
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
40 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
11.3 Peripheral power consumption
The supply current per peripheral is measured as the difference in supply current between
the peripheral block enabled and the peripheral block disabled in the SYSAHBCLKCFG
and PDRUNCFG (for analog blocks) registers. All other blocks are disabled in both
registers and no code is executed. Measured on a typical sample at Tamb = 25 C. Unless
noted otherwise, the system oscillator and PLL are running in both measurements.
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
500 kHz/2
0.002
-
-
System oscillator running; PLL off; independent
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
match
-
0.09
0.23
GPIO pins configured as outputs and set to
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
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
41 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
11.4 Electrical pin characteristics
DDD
92+
92+
P$
¡&9
&Y
¡&9
&9
¡&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 21. High-drive output: Typical HIGH-level output voltage VOH versus HIGH-level
output current IOH
DDD
ƒ&9
"&9
ƒ&9
"&9
ƒ&9
"&9
ƒ&9
"&9
ƒ&9
"&9
ƒ&9
"&9
ƒ&9
"&9
ƒ&9
"&9
,2/
,2/
P$
92/9
Conditions: VDD = 3.3 V and VDD = 1.8 V; on pins PIO0_10 and PIO0_11.
Fig 22. I2C-bus pins (high current sink): Typical LOW-level output current IOL versus
LOW-level output voltage VOL
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
42 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
DDD
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
,2/
,2/
P$
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 23. 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$
Conditions: VDD = 3.3 V and VDD = 1.8 V; standard port pins.
Fig 24. Typical HIGH-level output voltage VOH versus HIGH-level output source current
IOH
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
43 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
DDD
,SX
,SX
P$
9'' 9
¡&
&
¡&
&
¡&
&
¡&
&
¡&
&
¡&
&
¡&
&
¡&
&
¡&
&
¡&
&
9'' 9
9,9
Conditions: VDD = 3.3 V and VDD = 1.8 V; standard port pins.
Fig 25. Typical pull-up current Ipu versus input voltage VI
DDD
,3'
,3'
P$
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
¡&9
&9
9,9
Conditions: VDD = 3.3 V and VDD = 1.8 V; standard port pins.
Fig 26. Typical pull-down current Ipd versus input voltage VI
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
44 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
12. Dynamic characteristics
12.1 Flash memory
Table 11. Flash characteristics
Tamb = 40 C to +105 C. Based on JEDEC NVM qualification. Failure rate < 10 ppm for parts as
specified below.
Symbol
Parameter
Nendu
endurance
Conditions
tret
retention time
Min
Typ
Max
Unit
10000
100000
-
cycles
powered
10
20
-
years
unpowered
20
40
-
years
page or multiple
consecutive pages,
sector or multiple
consecutive
sectors
95
100
105
ms
0.95
1
1.05
ms
[1]
ter
erase time
tprog
programming
time
[2]
[1]
Number of program/erase cycles.
[2]
Programming times are given for writing 64 bytes to the flash. Tamb <= +85 C. Flash programming with
IAP calls (see LPC800 user manual).
12.2 External clock for the oscillator in slave mode and CLKIN
Remark: The input voltage on the XTAL1/2 pins must be  1.95 V (see Table 9). For
connecting the oscillator to the XTAL pins, also see Section 14.1.
Table 12. Dynamic characteristic: external clock (XTALIN or CLKIN inputs)
Tamb = 40 C to +105 C; VDD over specified ranges.[1]
Min
Typ[2]
Max
Unit
oscillator frequency
1
-
25
MHz
clock cycle time
40
-
1000
ns
tCHCX
clock HIGH time
Tcy(clk)  0.4
-
-
ns
tCLCX
clock LOW time
Tcy(clk)  0.4
-
-
ns
tCLCH
clock rise time
-
-
5
ns
tCHCL
clock fall time
-
-
5
ns
Symbol
Parameter
fosc
Tcy(clk)
Conditions
[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 27. External clock timing (with an amplitude of at least Vi(RMS) = 200 mV)
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
45 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
12.3 Internal oscillators
Table 13. Dynamic characteristics: IRC
Tamb = 40 C to +105 C; 2.7 V  VDD  3.6 V[1].
Symbol
Parameter
Conditions
Min
Typ[2]
Max
Unit
fosc(RC)
internal RC oscillator
frequency
Tamb = 40 C to
+105 C
11.82
12
12.18
MHz
[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: <tbd>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 +85 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 28. Typical Internal RC oscillator frequency versus temperature
LPC81xM
Product data sheet
Table 14.
Dynamic characteristics: Watchdog oscillator
Symbol
Parameter
Conditions
fosc(int)
internal oscillator
frequency
DIVSEL = 0x1F, FREQSEL = 0x1
in the WDTOSCCTRL register;
DIVSEL = 0x00, FREQSEL = 0xF
in the WDTOSCCTRL register
Min
Typ[1] Max Unit
[2][3]
-
9.4
-
kHz
[2][3]
-
2300
-
kHz
[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.
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
46 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
12.4 I/O pins
Table 15. Dynamic characteristics: I/O pins[1]
Tamb = 40 C to +105 C; 3.0 V  VDD  3.6 V.
Symbol
Parameter
Conditions
Min
Typ
Max
Unit
tr
rise time
pin configured as output
3.0
-
5.0
ns
tf
fall time
pin configured as output
2.5
-
5.0
ns
[1]
Applies to standard port pins and RESET pin.
12.5 I2C-bus
Table 16. Dynamic characteristic: I2C-bus pins[1]
Tamb = 40 C to +105 C.[2]
Symbol
Parameter
Conditions
Min
Max
Unit
fSCL
SCL clock
frequency
Standard-mode
0
100
kHz
Fast-mode
0
400
kHz
Fast-mode Plus; on
pins PIO0_10 and
PIO0_11
0
1
MHz
of both SDA and
SCL signals
-
300
ns
Fast-mode
20 + 0.1  Cb
300
ns
Fast-mode Plus;
on pins PIO0_10
and PIO0_11
-
120
ns
Standard-mode
4.7
-
s
Fast-mode
1.3
-
s
Fast-mode Plus; on
pins PIO0_10 and
PIO0_11
0.5
-
s
Standard-mode
4.0
-
s
Fast-mode
0.6
-
s
Fast-mode Plus; on
pins PIO0_10 and
PIO0_11
0.26
-
s
Standard-mode
0
-
s
Fast-mode
0
-
s
Fast-mode Plus; on
pins PIO0_10 and
PIO0_11
0
-
s
Standard-mode
250
-
ns
Fast-mode
100
-
ns
Fast-mode Plus; on
pins PIO0_10 and
PIO0_11
50
-
ns
[4][5][6][7]
fall time
tf
Standard-mode
tLOW
tHIGH
tHD;DAT
tSU;DAT
LPC81xM
Product data sheet
LOW period of
the SCL clock
HIGH period of
the SCL clock
data hold time
data set-up
time
[3][4][8]
[9][10]
[1]
See the I2C-bus specification UM10204 for details.
[2]
Parameters are valid over operating temperature range unless otherwise specified.
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
47 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
[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
6'$
W68'$7
W+''$7
WI
6&/
W9''$7
W+,*+
W/2:
6
I6&/
DDD
Fig 29. I2C-bus pins clock timing
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
48 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
12.6 SPI interfaces
The maximum data bit rate is 30 Mbit/s in master mode and 25 Mbit/s in slave mode.
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.
Table 17. SPI dynamic characteristics
Tamb = 40 C to 105 C; 1.8 V <= VDD <= 3.6 V. Simulated parameters sampled at the 50 % level of
the rising or falling edge; values guaranteed by design.
Symbol
SPI
Parameter
Conditions
Min
Max
Unit
33
-
ns
0
-
ns
master[1]
[2]
Tcy(clk)
clock cycle time
tDS
data set-up time
tDH
data hold time
16
-
ns
tv(Q)
data output valid time
CL = 10 pF
-
0.5
ns
th(Q)
data output hold time
CL = 10 pF
0.5
-
ns
SPI slave
40
Tcy(clk)
LPC81xM
Product data sheet
ns
tDS
data set-up time
0
-
ns
tDH
data hold time
16
-
ns
tv(Q)
data output valid time
CL = 10 pF
-
10
ns
th(Q)
data output hold time
CL = 10 pF
10
-
ns
[1]
Capacitance on pin SPIn_SCK CSCK < 5 pF.
[2]
Tcy(clk) = DIVVAL/CCLK with CCLK = system clock frequency. DIVVAL is the SPI clock divider. See the
LPC800 User manual UM10601.
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
49 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
7F\FON
WFON+
WFON/
6&.&32/ 6&.&32/ WY4
WK4
'$7$9$/,'
026,
'$7$9$/,'
W'6
'$7$9$/,'
0,62
W'+
'$7$9$/,'
WY4
026,
'$7$9$/,'
WK4
'$7$9$/,'
W'+
W'6
0,62
'$7$9$/,'
&3+$ &3+$ '$7$9$/,'
DDD
Pin names SCK, MISO, and MOSI refer to pins for both SPI peripherals, SPI0 and SPI1.
Fig 30. SPI master timing
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
50 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
7F\FON
WFON+
WFON/
W'6
W'+
6&.&32/ 6&.&32/ 026,
'$7$9$/,'
'$7$9$/,'
WY4
0,62
WK4
'$7$9$/,'
W'6
026,
'$7$9$/,'
W'+
'$7$9$/,'
WY4
0,62
'$7$9$/,'
&3+$ '$7$9$/,'
WK4
&3+$ '$7$9$/,'
DDD
Pin names SCK, MISO, and MOSI refer to pins for both SPI peripherals, SPI0 and SPI1.
Fig 31. SPI slave timing
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
51 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
12.7 USART interface
The maximum USART bit rate is 1.875 Mbit/s in asynchronous mode and 10 Mbit/s in
synchronous mode slave and master mode.
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.
Table 18. USART dynamic characteristics
Tamb = 40 C to 105 C; 1.8 V <= VDD <= 3.6 V. Simulated parameters sampled at the 50 % level of
the falling or rising edge; values guaranteed by design.
Symbol
Tcy(clk)
Parameter
Conditions
[2]
clock cycle time
Min
Max
Unit
100
-
ns
44
-
ns
USART master (in synchronous mode)[3]
tsu(D)
data input set-up
time
th(D)
data input hold time
0
-
ns
tv(Q)
data output valid time
-
-8
ns
th(Q)
data output hold time
-8
-
ns
USART slave (in synchronous mode)
tsu(D)
data input set-up
time
5
-
ns
th(D)
data input hold time
0
-
ns
tv(Q)
data output valid time CL = 10 pF
-
40
ns
th(Q)
data output hold time CL = 10 pF
40
-
ns
[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
7;'
67$57
WK4
%,7
%,7
WVX' WK'
5;'
67$57
%,7
%,7
DDD
Fig 32. USART timing
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
52 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
13. Analog characteristics
13.1 BOD
Table 19. BOD static characteristics[1]
Tamb = -40 C to +105 C.
Typ[2]
Unit
assertion
2.3
V
de-assertion
2.4
V
assertion
2.6
V
de-assertion
2.7
V
assertion
2.8
V
de-assertion
2.9
V
assertion
2.1
V
de-assertion
2.2
V
assertion
2.4
V
de-assertion
2.5
V
assertion
2.6
V
de-assertion
2.8
V
Symbol
Parameter
Conditions
Vth
threshold voltage
interrupt level 1
interrupt level 2
interrupt level 3
reset level 1
reset level 2
reset level 3
[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.
13.2 Internal voltage reference
Table 20.
Internal voltage reference static and dynamic characteristics
Symbol
Parameter
Conditions
output voltage
VO
ts(pu)
LPC81xM
Product data sheet
power-up
settling time
Min
Typ
Tamb = 40 C to +105 C
[1]
Max
Unit
0.855
Tamb = 70 C to 105 C
[2]
-
0.900
0.945
V
0.906
-
Tamb = 50 C
[2]
V
Tamb = 25 C
[4]
-
0.905
-
V
Tamb = 0 C
[2]
0.893
0.903
0.913
V
Tamb = 20 C
[2]
-
0.902
-
V
-
0.899
-
V
Tamb = 40 C
[2]
-
0.896
-
V
to 99% of VO
[3]
-
155
195
s
[1]
Characterized through simulation.
[2]
Characterized on a typical silicon sample.
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
53 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
[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 33. Typical internal voltage reference output voltage
13.3 Comparator
Table 21. Comparator characteristics
VDD = 3.0 V and Tamb = 27 C unless noted otherwise.
Symbol
Parameter
Conditions
Min
Typ
Max
Unit
Static characteristics
IDD
supply current
-
55
-
A
VIC
common-mode input voltage
0
-
VDD
V
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
-
tPD
propagation delay
HIGH to LOW; VDD = 3.0 V;
-
109
121
LPC81xM
Product data sheet
s
VIC = 0.1 V; 50 mV overdrive input
[1]
VIC = 0.1 V; rail-to-rail input
[1]
-
155
164
ns
VIC = 1.5 V; 50 mV overdrive input
[1]
-
95
105
ns
VIC = 1.5 V; rail-to-rail input
[1]
-
101
108
ns
VIC = 2.9 V; 50 mV overdrive input
[1]
-
122
129
ns
VIC = 2.9 V; rail-to-rail input
[1]
-
74
82
ns
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
ns
© NXP B.V. 2013. All rights reserved.
54 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
Table 21. Comparator characteristics …continued
VDD = 3.0 V and Tamb = 27 C unless noted otherwise.
Symbol
Parameter
Conditions
tPD
propagation delay
LOW to HIGH; VDD = 3.0 V;
Min
Typ
Max
-
246
260
59
Unit
VIC = 0.1 V; 50 mV overdrive input
[1]
VIC = 0.1 V; rail-to-rail input
[1]
-
57
VIC = 1.5 V; 50 mV overdrive input
[1]
-
218
VIC = 1.5 V; rail-to-rail input
[1]
-
146
155
ns
VIC = 2.9 V; 50 mV overdrive input
[1]
-
184
206
ns
VIC = 2.9 V; rail-to-rail input
[1]
-
250
286
ns
-
6, 11, 21
-
mV
-
4, 9, 19
-
mV
-
1.034
-
M
Vhys
hysteresis voltage
positive hysteresis; VDD = 3.0 V;
VIC = 1.5 V
[2]
Vhys
hysteresis voltage
negative hysteresis; VDD = 3.0 V;
VIC = 1.5 V
[2]
Rlad
ladder resistance
-
ns
ns
ns
[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.
Table 22.
Symbol
Comparator voltage ladder dynamic characteristics
Parameter
Conditions
ts(pu)
power-up settling
time
to 99% of voltage
ladder output
value
[1]
ts(sw)
switching settling
time
to 99% of voltage
ladder output
value
[1]
Min
Typ
Max
Unit
-
-
30
s
-
-
15
s
[2]
[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.
Table 23. Comparator voltage ladder reference static characteristics
VDD = 3.3 V; Tamb = -40 C to + 105C.
Min
Typ
Max[1]
Unit
-
0
0
%
decimal code = 08
-
0
0.4
%
decimal code = 16
-
0.2
0.2
%
decimal code = 24
-
0.2
0.2
%
decimal code = 30
-
0.1
0.1
%
decimal code = 31
-
0.1
0.1
%
Symbol
Parameter
Conditions
EV(O)
output voltage error
Internal VDD supply
decimal code = 00
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
[2]
© NXP B.V. 2013. All rights reserved.
55 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
Table 23. Comparator voltage ladder reference static characteristics …continued
VDD = 3.3 V; Tamb = -40 C to + 105C.
Min
Typ
Max[1]
Unit
decimal code = 00
-
0
0
%
decimal code = 08
-
0.1
0.5
%
decimal code = 16
-
0.2
0.4
%
decimal code = 24
-
0.2
0.3
%
decimal code = 30
-
0.2
0.2
%
decimal code = 31
-
0.1
0.1
%
Symbol
Parameter
Conditions
EV(O)
output voltage error
External VDDCMP
supply
[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.
14. Application information
14.1 XTAL input
The input voltage to the on-chip oscillators is limited to 1.8 V. If the oscillator is driven by a
clock in slave mode, it is recommended that the input be coupled through a capacitor with
Ci = 100 pF. To limit the input voltage to the specified range, choose an additional
capacitor to ground Cg which attenuates the input voltage by a factor Ci/(Ci + Cg). In slave
mode, a minimum of 200 mV(RMS) is needed.
/3&
;7$/,1
&L
S)
&J
DDD
Fig 34. Slave mode operation of the on-chip oscillator
In slave mode the input clock signal should be coupled by means of a capacitor of 100 pF
(Figure 34), 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 35 and in
Table 24 and Table 25. Since the feedback resistance is integrated on chip, only a crystal
and the capacitances CX1 and CX2 need to be connected externally in case of
fundamental mode oscillation (the fundamental frequency is represented by L, CL and
RS). Capacitance CP in Figure 35 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 24).
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
56 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
/3&
/
;7$/,1
;7$/287
&/
&3
;7$/
56
&;
&;
DDD
Fig 35. Oscillator modes and models: oscillation mode of operation and external crystal
model used for CX1/CX2 evaluation
Table 24.
Recommended values for CX1/CX2 in oscillation mode (crystal and external
components parameters) low frequency mode
Fundamental oscillation
frequency FOSC
Crystal load
capacitance CL
Maximum crystal
series resistance RS
External load
capacitors CX1, CX2
1 MHz - 5 MHz
10 pF
< 300 
18 pF, 18 pF
20 pF
< 300 
39 pF, 39 pF
30 pF
< 300 
57 pF, 57 pF
10 pF
< 300 
18 pF, 18 pF
20 pF
< 200 
39 pF, 39 pF
30 pF
< 100 
57 pF, 57 pF
10 MHz - 15 MHz
10 pF
< 160 
18 pF, 18 pF
20 pF
< 60 
39 pF, 39 pF
15 MHz - 20 MHz
10 pF
< 80 
18 pF, 18 pF
5 MHz - 10 MHz
Table 25.
Recommended values for CX1/CX2 in oscillation mode (crystal and external
components parameters) high frequency mode
Fundamental oscillation
frequency FOSC
Crystal load
capacitance CL
Maximum crystal
series resistance RS
External load
capacitors CX1, CX2
15 MHz - 20 MHz
10 pF
< 180 
18 pF, 18 pF
20 pF
< 100 
39 pF, 39 pF
10 pF
< 160 
18 pF, 18 pF
20 pF
< 80 
39 pF, 39 pF
20 MHz - 25 MHz
14.2 XTAL Printed Circuit Board (PCB) layout guidelines
The crystal should be connected on the PCB as close as possible to the oscillator input
and output pins of the chip. Take care that the load capacitors Cx1,Cx2, and Cx3 in case of
third overtone crystal usage have a common ground plane. The external components
must also be connected to the ground plain. Loops must be made as small as possible in
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
57 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
order to keep the noise coupled in via the PCB as small as possible. Also parasitics
should stay as small as possible. Values of Cx1 and Cx2 should be chosen smaller
accordingly to the increase in parasitics of the PCB layout.
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
58 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
15. Package outline
DIP8: plastic dual in-line package; 8 leads (300 mil)
SOT97-2
ME
seating plane
D
A2
A
A1
L
c
e
Z
w
b1
(e1)
b
MH
b2
8
5
pin 1 index
E
1
4
0
2.5
5 mm
scale
Dimensions (inch dimensions are derived from the original dimensions)
Unit(1)
mm
max
nom
min
A
A1
4.2
A2
b
3.43 1.73
b1
b2
c
D(1)
E(1)
0.53
1.07
0.38
9.8
6.48
e
e1
L
ME
MH
0.51
1.14
0.38
0.89
0.20
9.2
6.20
Z(1)
1.15
3.60 7.88 9.40
0.254
2.54 7.62
0.14 0.068 0.021 0.042 0.015 0.39 0.26
max 0.17
inches nom
min
0.02
0.045 0.015 0.035 0.008 0.36 0.24
w
3.05 7.62 7.88
0.14 0.31 0.37
0.045
0.01
0.1
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
References
Outline
version
IEC
JEDEC
JEITA
SOT97-2
---
MO-001
---
sot097-2_po
European
projection
Issue date
10-10-15
10-10-18
Fig 36. Package outline SOT097-2 (DIP8)
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
59 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
TSSOP16: plastic thin shrink small outline package; 16 leads; body width 4.4 mm
SOT403-1
E
D
A
X
c
y
HE
v M A
Z
9
16
Q
(A 3)
A2
A
A1
pin 1 index
θ
Lp
L
1
8
e
detail X
w M
bp
0
2.5
5 mm
scale
DIMENSIONS (mm are the original dimensions)
UNIT
A
max.
A1
A2
A3
bp
c
D (1)
E (2)
e
HE
L
Lp
Q
v
w
y
Z (1)
θ
mm
1.1
0.15
0.05
0.95
0.80
0.25
0.30
0.19
0.2
0.1
5.1
4.9
4.5
4.3
0.65
6.6
6.2
1
0.75
0.50
0.4
0.3
0.2
0.13
0.1
0.40
0.06
8o
o
0
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.
OUTLINE
VERSION
SOT403-1
REFERENCES
IEC
JEDEC
JEITA
EUROPEAN
PROJECTION
ISSUE DATE
99-12-27
03-02-18
MO-153
Fig 37. Package outline SOT403-1 (TSSOP16)
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
60 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
SO20: plastic small outline package; 20 leads; body width 7.5 mm
SOT163-1
D
E
A
X
c
HE
y
v M A
Z
20
11
Q
A2
A
(A 3)
A1
pin 1 index
θ
Lp
L
10
1
e
detail X
w M
bp
0
5
10 mm
scale
DIMENSIONS (inch dimensions are derived from the original mm dimensions)
UNIT
A
max.
A1
A2
A3
bp
c
D (1)
E (1)
e
HE
L
Lp
Q
v
w
y
mm
2.65
0.3
0.1
2.45
2.25
0.25
0.49
0.36
0.32
0.23
13.0
12.6
7.6
7.4
1.27
10.65
10.00
1.4
1.1
0.4
1.1
1.0
0.25
0.25
0.1
0.01
0.019 0.013
0.014 0.009
0.51
0.49
0.30
0.29
0.05
0.419
0.043
0.055
0.394
0.016
inches
0.1
0.012 0.096
0.004 0.089
0.043
0.039
0.01
0.01
Z
(1)
0.9
0.4
0.035
0.004
0.016
θ
8o
o
0
Note
1. Plastic or metal protrusions of 0.15 mm (0.006 inch) maximum per side are not included.
REFERENCES
OUTLINE
VERSION
IEC
JEDEC
SOT163-1
075E04
MS-013
JEITA
EUROPEAN
PROJECTION
ISSUE DATE
99-12-27
03-02-19
Fig 38. Package outline SOT163-1 (SO20)
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
61 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
TSSOP20: plastic thin shrink small outline package; 20 leads; body width 4.4 mm
SOT360-1
E
D
A
X
c
HE
y
v M A
Z
11
20
Q
A2
(A 3)
A1
pin 1 index
A
θ
Lp
L
1
10
e
detail X
w M
bp
0
2.5
5 mm
scale
DIMENSIONS (mm are the original dimensions)
UNIT
A
max.
A1
A2
A3
bp
c
D (1)
E (2)
e
HE
L
Lp
Q
v
w
y
Z (1)
θ
mm
1.1
0.15
0.05
0.95
0.80
0.25
0.30
0.19
0.2
0.1
6.6
6.4
4.5
4.3
0.65
6.6
6.2
1
0.75
0.50
0.4
0.3
0.2
0.13
0.1
0.5
0.2
8o
o
0
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.
OUTLINE
VERSION
SOT360-1
REFERENCES
IEC
JEDEC
JEITA
EUROPEAN
PROJECTION
ISSUE DATE
99-12-27
03-02-19
MO-153
Fig 39. Package outline SOT360-1 (TSSOP20)
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
62 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
16. Soldering
Footprint information for reflow soldering of TSSOP16 package
SOT403-1
Hx
Gx
P2
(0.125)
Hy
Gy
(0.125)
By
Ay
C
D2 (4x)
D1
P1
Generic footprint pattern
Refer to the package outline drawing for actual layout
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
Fig 40. Reflow soldering of the TSSOP16 package
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
63 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
13.40
0.60 (20×)
1.50
8.00
11.00 11.40
1.27 (18×)
solder lands
occupied area
placement accuracy ± 0.25
Dimensions in mm
sot163-1_fr
Fig 41. Reflow soldering of the SO20 package
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
64 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
Footprint information for reflow soldering of TSSOP20 package
SOT360-1
Hx
Gx
P2
(0.125)
Hy
Gy
(0.125)
By
Ay
C
D2 (4x)
D1
P1
Generic footprint pattern
Refer to the package outline drawing for actual layout
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
Fig 42. Reflow soldering of the TSSOP20 package
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
65 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
17. Abbreviations
Table 26.
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]
LPC81xM
Product data sheet
I2C-bus specification UM10204.
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
66 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
19. Revision history
Table 27.
Revision history
Document ID
Release date
Data sheet status
Change notice Supersedes
LPC81XM v.3
20130729
Product data sheet
-
LPC81XM v.2.1
LPC81XM v.2
Modifications:
LPC81XM v.1
LPC81xM
Product data sheet
LPC81XM v.2.1
•
•
Operating temperature range changed to -40 °C to 105 °C.
•
ISP entry pin moved from PIO0_1 to PIO0_12 for TSSOP, and SSOP packages. See
Table 4 and Table 6.
•
•
•
•
•
•
Propagation delay values updated in Table 21 “Comparator characteristics”.
Type numbers updated to reflect the new operating temperature range. See Table 1
“Ordering information” and Table 2 “Ordering options”.
SPI characteristics updated. See Section 12.6.
IRC characteristics updated. See Section 12.3.
CoreMark data updated. See Figure 19 and Figure 20.
IRC frequency changed to 12 MHz +/- 1.5 %. See Table 13.
Data sheet status updated to Product data sheet.
20130325
Preliminary data sheet -
LPC81XM v.2
•
•
Editorial updates (temperature sensor removed).
•
IDD in Deep power-down mode added for condition Low-power oscillator on/WKT
wake-up enabled. See Table 10.
•
•
•
•
•
•
•
•
•
Table note 3 updated for Table 4 “Pin description table (fixed pins)”.
CoreMark data added. See Figure 19 “Active mode: CoreMark power consumption
IDD” and Figure 20 “CoreMark score”.
Conditions for ter and tprog updated in Table 12 “Flash characteristics”.
Section 13.3 “Internal voltage reference” added.
Typical timing data added for SPI. See Section 12.6.
Typical timing data added for USART in synchronous mode. See Section 12.7.
BOD characterization added. See Section 13.1.
IRC characterization added. See Section 12.3.
Internal voltage reference characteristics added. See Section 13.3.
Data sheet status changed to Preliminary data sheet.
20130128
Objective data sheet
-
LPC81XM v.1
•
•
•
•
•
•
•
MTB memory space changed to 1 kB in Figure 6.
•
Power consumption (parameter IDD) in active and sleep mode for low-power mode at
12 MHz corrected in Table 10.
•
Power consumption (parameter IDD) in active and sleep mode at 24 MHz added in
Table 10.
•
•
Maximum USART speed in synchronous mode changed to 10 Mbit/s.
Electrical pin characteristics added in Table 10.
Figure 11 “Connecting the SWD pins to a standard SWD connector” added.
Peripheral power consumption added in Table 11.
Table 7 updated.
MRT implementation changed to 31-bit timer.
Power consumption data in active and sleep mode with IRC added. See Figure 13 to
Figure 15.
Section 5 “Marking” added.
20121112
Objective data sheet
-
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
67 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
20. Legal information
20.1 Data sheet status
Document status[1][2]
Product status[3]
Definition
Objective [short] data sheet
Development
This document contains data from the objective specification for product development.
Preliminary [short] data sheet
Qualification
This document contains data from the preliminary specification.
Product [short] data sheet
Production
This document contains the product specification.
[1]
Please consult the most recently issued document before initiating or completing a design.
[2]
The term ‘short data sheet’ is explained in section “Definitions”.
[3]
The product status of device(s) described in this document may have changed since this document was published and may differ in case of multiple devices. The latest product status
information is available on the Internet at URL http://www.nxp.com.
20.2 Definitions
Draft — The document is a draft version only. The content is still under
internal review and subject to formal approval, which may result in
modifications or additions. NXP Semiconductors does not give any
representations or warranties as to the accuracy or completeness of
information included herein and shall have no liability for the consequences of
use of such information.
Short data sheet — A short data sheet is an extract from a full data sheet
with the same product type number(s) and title. A short data sheet is intended
for quick reference only and should not be relied upon to contain detailed and
full information. For detailed and full information see the relevant full data
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
full data sheet shall prevail.
Product specification — The information and data provided in a Product
data sheet shall define the specification of the product as agreed between
NXP Semiconductors and its customer, unless NXP Semiconductors and
customer have explicitly agreed otherwise in writing. In no event however,
shall an agreement be valid in which the NXP Semiconductors product is
deemed to offer functions and qualities beyond those described in the
Product data sheet.
20.3 Disclaimers
Limited warranty and liability — Information in this document is believed to
be accurate and reliable. However, NXP Semiconductors does not give any
representations or warranties, expressed or implied, as to the accuracy or
completeness of such information and shall have no liability for the
consequences of use of such information. NXP Semiconductors takes no
responsibility for the content in this document if provided by an information
source outside of NXP Semiconductors.
In no event shall NXP Semiconductors be liable for any indirect, incidental,
punitive, special or consequential damages (including - without limitation - lost
profits, lost savings, business interruption, costs related to the removal or
replacement of any products or rework charges) whether or not such
damages are based on tort (including negligence), warranty, breach of
contract or any other legal theory.
Notwithstanding any damages that customer might incur for any reason
whatsoever, NXP Semiconductors’ aggregate and cumulative liability towards
customer for the products described herein shall be limited in accordance
with the Terms and conditions of commercial sale of NXP Semiconductors.
Right to make changes — NXP Semiconductors reserves the right to make
changes to information published in this document, including without
limitation specifications and product descriptions, at any time and without
notice. This document supersedes and replaces all information supplied prior
to the publication hereof.
LPC81xM
Product data sheet
Suitability for use — NXP Semiconductors products are not designed,
authorized or warranted to be suitable for use in life support, life-critical or
safety-critical systems or equipment, nor in applications where failure or
malfunction of an NXP Semiconductors product can reasonably be expected
to result in personal injury, death or severe property or environmental
damage. NXP Semiconductors and its suppliers accept no liability for
inclusion and/or use of NXP Semiconductors products in such equipment or
applications and therefore such inclusion and/or use is at the customer’s own
risk.
Applications — Applications that are described herein for any of these
products are for illustrative purposes only. NXP Semiconductors makes no
representation or warranty that such applications will be suitable for the
specified use without further testing or modification.
Customers are responsible for the design and operation of their applications
and products using NXP Semiconductors products, and NXP Semiconductors
accepts no liability for any assistance with applications or customer product
design. It is customer’s sole responsibility to determine whether the NXP
Semiconductors product is suitable and fit for the customer’s applications and
products planned, as well as for the planned application and use of
customer’s third party customer(s). Customers should provide appropriate
design and operating safeguards to minimize the risks associated with their
applications and products.
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
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
Semiconductors products in order to avoid a default of the applications and
the products or of the application or use by customer’s third party
customer(s). NXP does not accept any liability in this respect.
Limiting values — Stress above one or more limiting values (as defined in
the Absolute Maximum Ratings System of IEC 60134) will cause permanent
damage to the device. Limiting values are stress ratings only and (proper)
operation of the device at these or any other conditions above those given in
the Recommended operating conditions section (if present) or the
Characteristics sections of this document is not warranted. Constant or
repeated exposure to limiting values will permanently and irreversibly affect
the quality and reliability of the device.
Terms and conditions of commercial sale — NXP Semiconductors
products are sold subject to the general terms and conditions of commercial
sale, as published at http://www.nxp.com/profile/terms, unless otherwise
agreed in a valid written individual agreement. In case an individual
agreement is concluded only the terms and conditions of the respective
agreement shall apply. NXP Semiconductors hereby expressly objects to
applying the customer’s general terms and conditions with regard to the
purchase of NXP Semiconductors products by customer.
No offer to sell or license — Nothing in this document may be interpreted or
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.
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
68 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
Export control — This document as well as the item(s) described herein
may be subject to export control regulations. Export might require a prior
authorization from competent authorities.
Non-automotive qualified products — Unless this data sheet expressly
states that this specific NXP Semiconductors product is automotive qualified,
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.
In the event that customer uses the product for design-in and use in
automotive applications to automotive specifications and standards, customer
(a) shall use the product without NXP Semiconductors’ warranty of the
product for such automotive applications, use and specifications, and (b)
whenever customer uses the product for automotive applications beyond
NXP Semiconductors’ specifications such use shall be solely at customer’s
own risk, and (c) customer fully indemnifies NXP Semiconductors for any
liability, damages or failed product claims resulting from customer design and
use of the product for automotive applications beyond NXP Semiconductors’
standard warranty and NXP Semiconductors’ product specifications.
20.4 Trademarks
Notice: All referenced brands, product names, service names and trademarks
are the property of their respective owners.
I2C-bus — logo is a trademark of NXP B.V.
21. Contact information
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: [email protected]
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
69 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
22. Contents
1
2
3
4
4.1
5
6
7
7.1
7.2
8
8.1
8.2
8.3
8.4
8.5
8.5.1
8.5.2
8.6
8.7
8.8
8.8.1
8.9
8.10
8.10.1
8.11
8.11.1
8.12
8.12.1
8.13
8.13.1
8.14
8.14.1
8.15
8.15.1
8.16
8.16.1
8.17
8.17.1
8.18
8.18.1
8.19
8.20
8.20.1
8.21
8.21.1
General description . . . . . . . . . . . . . . . . . . . . . . 1
Features and benefits . . . . . . . . . . . . . . . . . . . . 1
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Ordering information . . . . . . . . . . . . . . . . . . . . . 3
Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 3
Marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Pinning information . . . . . . . . . . . . . . . . . . . . . . 6
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 8
Functional description . . . . . . . . . . . . . . . . . . 12
ARM Cortex-M0+ core . . . . . . . . . . . . . . . . . . 12
On-chip flash program memory . . . . . . . . . . . 12
On-chip SRAM . . . . . . . . . . . . . . . . . . . . . . . . 12
On-chip ROM . . . . . . . . . . . . . . . . . . . . . . . . . 12
Nested Vectored Interrupt Controller (NVIC) . 12
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 12
System tick timer . . . . . . . . . . . . . . . . . . . . . . 13
Memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 13
I/O configuration . . . . . . . . . . . . . . . . . . . . . . . 14
Standard I/O pad configuration . . . . . . . . . . . . 15
Switch Matrix (SWM) . . . . . . . . . . . . . . . . . . . 16
Fast General-Purpose parallel I/O (GPIO) . . . 16
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Pin interrupt/pattern match engine . . . . . . . . . 17
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
USART0/1/2 . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
SPI0/1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
I2C-bus interface . . . . . . . . . . . . . . . . . . . . . . 19
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
State-Configurable Timer (SCT) . . . . . . . . . . . 20
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Multi-Rate Timer (MRT) . . . . . . . . . . . . . . . . . 20
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Windowed WatchDog Timer (WWDT) . . . . . . 20
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Self Wake-up Timer (WKT). . . . . . . . . . . . . . . 21
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
SysTick timer . . . . . . . . . . . . . . . . . . . . . . . . . 21
Analog comparator (ACMP) . . . . . . . . . . . . . . 21
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Clocking and power control . . . . . . . . . . . . . . 23
Crystal and internal oscillators . . . . . . . . . . . . 23
8.21.1.1
8.21.1.2
8.21.1.3
Internal RC Oscillator (IRC) . . . . . . . . . . . . . .
Crystal Oscillator (SysOsc) . . . . . . . . . . . . . .
Internal Low-power Oscillator and Watchdog
Oscillator (WDOsc) . . . . . . . . . . . . . . . . . . . .
8.21.2
Clock input . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.21.3
System PLL . . . . . . . . . . . . . . . . . . . . . . . . . .
8.21.4
Clock output . . . . . . . . . . . . . . . . . . . . . . . . . .
8.21.5
Wake-up process . . . . . . . . . . . . . . . . . . . . . .
8.21.6
Power control . . . . . . . . . . . . . . . . . . . . . . . . .
8.21.6.1 Power profiles . . . . . . . . . . . . . . . . . . . . . . . .
8.21.6.2 Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . .
8.21.6.3 Deep-sleep mode. . . . . . . . . . . . . . . . . . . . . .
8.21.6.4 Power-down mode . . . . . . . . . . . . . . . . . . . . .
8.21.6.5 Deep power-down mode . . . . . . . . . . . . . . . .
8.22
System control . . . . . . . . . . . . . . . . . . . . . . . .
8.22.1
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.22.2
Brownout detection . . . . . . . . . . . . . . . . . . . .
8.22.3
Code security (Code Read Protection - CRP)
8.22.4
APB interface . . . . . . . . . . . . . . . . . . . . . . . . .
8.22.5
AHBLite . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.23
Emulation and debugging . . . . . . . . . . . . . . .
9
Limiting values . . . . . . . . . . . . . . . . . . . . . . . .
10
Thermal characteristics . . . . . . . . . . . . . . . . .
11
Static characteristics . . . . . . . . . . . . . . . . . . .
11.1
Power consumption . . . . . . . . . . . . . . . . . . . .
11.2
CoreMark data . . . . . . . . . . . . . . . . . . . . . . . .
11.3
Peripheral power consumption . . . . . . . . . . .
11.4
Electrical pin characteristics. . . . . . . . . . . . . .
12
Dynamic characteristics. . . . . . . . . . . . . . . . .
12.1
Flash memory . . . . . . . . . . . . . . . . . . . . . . . .
12.2
External clock for the oscillator in slave mode
and CLKIN . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.3
Internal oscillators . . . . . . . . . . . . . . . . . . . . .
12.4
I/O pins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.5
I2C-bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.6
SPI interfaces. . . . . . . . . . . . . . . . . . . . . . . . .
12.7
USART interface . . . . . . . . . . . . . . . . . . . . . .
13
Analog characteristics . . . . . . . . . . . . . . . . . .
13.1
BOD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13.2
Internal voltage reference . . . . . . . . . . . . . . .
13.3
Comparator . . . . . . . . . . . . . . . . . . . . . . . . . .
14
Application information . . . . . . . . . . . . . . . . .
14.1
XTAL input . . . . . . . . . . . . . . . . . . . . . . . . . . .
14.2
XTAL Printed Circuit Board (PCB) layout
guidelines. . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
Package outline. . . . . . . . . . . . . . . . . . . . . . . .
24
24
24
24
24
25
25
25
25
25
26
26
26
27
27
27
27
28
28
29
30
31
32
36
39
41
42
45
45
45
46
47
47
49
52
53
53
53
54
56
56
57
59
continued >>
LPC81xM
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 3 — 29 July 2013
© NXP B.V. 2013. All rights reserved.
70 of 71
LPC81xM
NXP Semiconductors
32-bit ARM Cortex-M0+ microcontroller
16
17
18
19
20
20.1
20.2
20.3
20.4
21
22
Soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . .
References . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Revision history . . . . . . . . . . . . . . . . . . . . . . . .
Legal information. . . . . . . . . . . . . . . . . . . . . . .
Data sheet status . . . . . . . . . . . . . . . . . . . . . .
Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . .
Trademarks. . . . . . . . . . . . . . . . . . . . . . . . . . .
Contact information. . . . . . . . . . . . . . . . . . . . .
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
66
66
67
68
68
68
68
69
69
70
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
© NXP B.V. 2013.
All rights reserved.
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: [email protected]
Date of release: 29 July 2013
Document identifier: LPC81xM