NXP Semiconductors
LPC8N04
32-bit ARM Cortex-M0+ microcontroller
20. Contents
1
General description . . . . . . . . . . . . . . . . . . . . . . 1
2
Features and benefits . . . . . . . . . . . . . . . . . . . . 2
3
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
4
Ordering information . . . . . . . . . . . . . . . . . . . . . 3
5
Marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
6
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 4
7
Pinning information . . . . . . . . . . . . . . . . . . . . . . 5
7.1
7.1.1
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
HVQFN24 package. . . . . . . . . . . . . . . . . . . . . . 5
8
Functional description . . . . . . . . . . . . . . . . . . . 7
8.1
8.2
8.3
8.3.1
8.3.2
8.4
8.4.1
8.4.1.1
8.4.2
8.5
8.5.1
8.5.2
8.6
8.6.1
8.6.2
8.6.3
8.7
8.7.1
8.8
8.8.1
8.8.2
8.8.3
8.9
8.9.1
8.9.2
8.9.3
8.10
8.10.1
8.10.2
8.11
8.11.1
8.11.2
8.12
8.12.1
8.12.2
ARM Cortex-M0+ core . . . . . . . . . . . . . . . . . . . 7
Memory map. . . . . . . . . . . . . . . . . . . . . . . . . . . 7
System configuration . . . . . . . . . . . . . . . . . . . . 8
Clock generation. . . . . . . . . . . . . . . . . . . . . . . . 8
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Power management . . . . . . . . . . . . . . . . . . . . 10
System power architecture . . . . . . . . . . . . . . . 10
Applying power to the PCB/system with battery for
the first time . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Power Management Unit (PMU). . . . . . . . . . . 13
Nested Vectored Interrupt Controller (NVIC) . 14
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 14
I/O configuration . . . . . . . . . . . . . . . . . . . . . . . 15
PIO0 pin mode . . . . . . . . . . . . . . . . . . . . . . . . 15
PIO0 I2C-bus mode . . . . . . . . . . . . . . . . . . . . 15
PIO0 current source mode . . . . . . . . . . . . . . . 15
Fast general-purpose parallel I/O . . . . . . . . . . 16
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
I2C-bus controller . . . . . . . . . . . . . . . . . . . . . . 17
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
General description . . . . . . . . . . . . . . . . . . . . 17
I2C-bus pin description . . . . . . . . . . . . . . . . . . 18
SPI controller . . . . . . . . . . . . . . . . . . . . . . . . . 18
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
General description . . . . . . . . . . . . . . . . . . . . 18
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 18
Pin detailed descriptions. . . . . . . . . . . . . . . . . .18
RFID/NFC communication unit . . . . . . . . . . . . 19
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
General description . . . . . . . . . . . . . . . . . . . . 19
16-bit timer . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
General description . . . . . . . . . . . . . . . . . . . . 20
32-bit timer . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
General description . . . . . . . . . . . . . . . . . . . . 21
8.13
8.13.1
8.13.2
8.14
8.14.1
8.14.2
8.15
8.15.1
8.15.2
8.16
8.16.1
8.16.2
8.17
8.18
8.18.1
8.18.2
8.18.3
8.19
8.20
8.20.1
8.20.2
WatchDog Timer (WDT). . . . . . . . . . . . . . . . . 21
Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
General description . . . . . . . . . . . . . . . . . . . . 22
System tick timer . . . . . . . . . . . . . . . . . . . . . . 22
Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
General description . . . . . . . . . . . . . . . . . . . . 22
Real-Time Clock (RTC) timer. . . . . . . . . . . . . 22
Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
General description . . . . . . . . . . . . . . . . . . . . 22
Temperature sensor . . . . . . . . . . . . . . . . . . . . 23
Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
General description . . . . . . . . . . . . . . . . . . . . 23
Serial Wire Debug (SWD) . . . . . . . . . . . . . . . 23
On-chip flash memory . . . . . . . . . . . . . . . . . . 23
Reading from flash. . . . . . . . . . . . . . . . . . . . . 23
Writing to flash . . . . . . . . . . . . . . . . . . . . . . . . 23
Erasing/programming flash . . . . . . . . . . . . . . 24
On-chip SRAM . . . . . . . . . . . . . . . . . . . . . . . . 24
On-chip EEPROM . . . . . . . . . . . . . . . . . . . . . 24
Reading from EEPROM. . . . . . . . . . . . . . . . . 24
Writing to EEPROM . . . . . . . . . . . . . . . . . . . . 24
9
Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 25
10
Static characteristics . . . . . . . . . . . . . . . . . . . 26
11
Dynamic characteristics. . . . . . . . . . . . . . . . . 28
11.1
I/O pins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
11.2
I2C-bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
11.3
SPI interfaces. . . . . . . . . . . . . . . . . . . . . . . . . 29
12
Package outline. . . . . . . . . . . . . . . . . . . . . . . . 31
13
Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 32
14
References. . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
15
Revision history . . . . . . . . . . . . . . . . . . . . . . . 34
16
Legal information . . . . . . . . . . . . . . . . . . . . . . 35
16.1
Data sheet status . . . . . . . . . . . . . . . . . . . . . . 35
16.2
Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
16.3
Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . 35
16.4
Licenses. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
16.5
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . 36
17
Contact information . . . . . . . . . . . . . . . . . . . . 36
18
Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
19
Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
20
Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
© NXP Semiconductors N.V. 2018.
All rights reserved.
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: salesaddresses@nxp.com
Date of release: 15 March 2018
Document identifier: LPC8N04