Datasheet
LPC408X_7X All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
Product data sheet Rev. 3.1 — 1 September 2014 137 of 138
continued >>
NXP Semiconductors
LPC408x/7x
32-bit ARM Cortex-M4 microcontroller
21. Contents
1 General description. . . . . . . . . . . . . . . . . . . . . . 1
2 Features and benefits . . . . . . . . . . . . . . . . . . . . 1
3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4 Ordering information. . . . . . . . . . . . . . . . . . . . . 5
5 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 7
6 Pinning information. . . . . . . . . . . . . . . . . . . . . . 8
6.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
6.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . 10
7 Functional description . . . . . . . . . . . . . . . . . . 51
7.1 Architectural overview . . . . . . . . . . . . . . . . . . 51
7.2 ARM Cortex-M4 processor . . . . . . . . . . . . . . . 51
7.3 ARM Cortex-M4 Floating Point Unit (FPU). . . 51
7.4 On-chip flash program memory . . . . . . . . . . . 51
7.5 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
7.6 On-chip SRAM . . . . . . . . . . . . . . . . . . . . . . . . 52
7.7 Memory Protection Unit (MPU). . . . . . . . . . . . 52
7.8 Memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 52
7.9 Nested Vectored Interrupt Controller (NVIC) . 53
7.9.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
7.9.2 Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 53
7.10 Pin connect block . . . . . . . . . . . . . . . . . . . . . . 54
7.11 External Memory Controller (EMC). . . . . . . . . 54
7.11.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
7.12 General purpose DMA controller . . . . . . . . . . 56
7.12.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
7.13 CRC engine . . . . . . . . . . . . . . . . . . . . . . . . . . 57
7.13.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
7.14 LCD controller. . . . . . . . . . . . . . . . . . . . . . . . . 58
7.14.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
7.15 Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
7.15.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
7.16 USB interface . . . . . . . . . . . . . . . . . . . . . . . . . 60
7.16.1 USB device controller. . . . . . . . . . . . . . . . . . . 60
7.16.1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
7.16.2 USB host controller. . . . . . . . . . . . . . . . . . . . . 60
7.16.2.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
7.16.3 USB OTG controller . . . . . . . . . . . . . . . . . . . . 61
7.16.3.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
7.17 SD/MMC card interface . . . . . . . . . . . . . . . . . 61
7.17.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
7.18 Fast general purpose parallel I/O . . . . . . . . . . 61
7.18.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
7.19 12-bit ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
7.19.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
7.20 10-bit DAC . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
7.20.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
7.21 Comparator. . . . . . . . . . . . . . . . . . . . . . . . . . . 63
7.21.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
7.22 UART0/1/2/3 and USART4 . . . . . . . . . . . . . . 63
7.22.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
7.23 SPIFI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
7.23.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
7.24 SSP serial I/O controller. . . . . . . . . . . . . . . . . 64
7.24.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
7.25 I
2
C-bus serial I/O controllers . . . . . . . . . . . . . 65
7.25.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
7.26 I
2
S-bus serial I/O controllers . . . . . . . . . . . . . 65
7.26.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
7.27 CAN controller and acceptance filters . . . . . . 66
7.27.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
7.28 General purpose 32-bit timers/external event
counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
7.28.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
7.29 Pulse Width Modulator (PWM). . . . . . . . . . . . 67
7.29.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
7.30 Motor control PWM . . . . . . . . . . . . . . . . . . . . 68
7.31 Quadrature Encoder Interface (QEI) . . . . . . . 69
7.31.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
7.32 ARM Cortex-M4 system tick timer . . . . . . . . . 69
7.33 Windowed WatchDog Timer (WWDT) . . . . . . 69
7.33.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
7.34 RTC and backup registers . . . . . . . . . . . . . . . 70
7.34.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
7.35 Event monitor/recorder . . . . . . . . . . . . . . . . . 71
7.35.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
7.36 Clocking and power control . . . . . . . . . . . . . . 71
7.36.1 Crystal oscillators. . . . . . . . . . . . . . . . . . . . . . 71
7.36.1.1 Internal RC oscillator . . . . . . . . . . . . . . . . . . . 72
7.36.1.2 Main oscillator . . . . . . . . . . . . . . . . . . . . . . . . 72
7.36.1.3 RTC oscillator . . . . . . . . . . . . . . . . . . . . . . . . 73
7.36.1.4 Watchdog oscillator . . . . . . . . . . . . . . . . . . . . 73
7.36.2 Main PLL (PLL0) and Alternate PLL (PLL1) . 73
7.36.3 Wake-up timer . . . . . . . . . . . . . . . . . . . . . . . . 74
7.36.4 Power control. . . . . . . . . . . . . . . . . . . . . . . . . 74
7.36.4.1 Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . 74
7.36.4.2 Deep-sleep mode. . . . . . . . . . . . . . . . . . . . . . 75
7.36.4.3 Power-down mode . . . . . . . . . . . . . . . . . . . . . 75
7.36.4.4 Deep power-down mode . . . . . . . . . . . . . . . . 76
7.36.4.5 Wake-up Interrupt Controller (WIC) . . . . . . . . 76
7.36.5 Peripheral power control . . . . . . . . . . . . . . . . 76
7.36.6 Power domains . . . . . . . . . . . . . . . . . . . . . . . 76
7.37 System control . . . . . . . . . . . . . . . . . . . . . . . . 78
7.37.1 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
7.37.2 Brownout detection . . . . . . . . . . . . . . . . . . . . 78
7.37.3 Code security (Code Read Protection - CRP) 78