Datasheet
LPC185X_3X_2X_1X All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
Product data sheet Rev. 4.1 — 6 May 2014 147 of 148
continued >>
NXP Semiconductors
LPC185x/3x/2x/1x
32-bit ARM Cortex-M3 microcontroller
21. Contents
1 General description. . . . . . . . . . . . . . . . . . . . . . 1
2 Features and benefits . . . . . . . . . . . . . . . . . . . . 1
3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
4 Ordering information. . . . . . . . . . . . . . . . . . . . . 4
4.1 Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 5
5 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6 Pinning information. . . . . . . . . . . . . . . . . . . . . . 7
6.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
6.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 7
7 Functional description . . . . . . . . . . . . . . . . . . 60
7.1 Architectural overview . . . . . . . . . . . . . . . . . . 60
7.2 ARM Cortex-M3 processor . . . . . . . . . . . . . . . 60
7.3 System Tick timer (SysTick) . . . . . . . . . . . . . . 60
7.4 AHB multilayer matrix . . . . . . . . . . . . . . . . . . . 61
7.5 Nested Vectored Interrupt Controller (NVIC) . 61
7.5.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
7.5.2 Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 62
7.6 Event router . . . . . . . . . . . . . . . . . . . . . . . . . . 62
7.7 Global Input Multiplexer Array (GIMA) . . . . . . 62
7.7.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
7.8 On-chip static RAM. . . . . . . . . . . . . . . . . . . . . 62
7.9 On-chip flash memory . . . . . . . . . . . . . . . . . . 63
7.10 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
7.11 Boot ROM. . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
7.12 Memory mapping . . . . . . . . . . . . . . . . . . . . . . 65
7.13 One-Time Programmable (OTP) memory . . . 67
7.14 General-Purpose I/O (GPIO) . . . . . . . . . . . . . 67
7.14.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
7.15 AHB peripherals . . . . . . . . . . . . . . . . . . . . . . . 67
7.15.1 State Configurable Timer/PWM
(SCTimer/PWM) subsystem . . . . . . . . . . . . . . 67
7.15.1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
7.15.2 General-Purpose DMA . . . . . . . . . . . . . . . . . 68
7.15.2.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
7.15.3 SPI Flash Interface (SPIFI). . . . . . . . . . . . . . . 69
7.15.3.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
7.15.4 SD/MMC card interface . . . . . . . . . . . . . . . . . 70
7.15.5 External Memory Controller (EMC). . . . . . . . . 70
7.15.5.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
7.15.6 High-speed USB Host/Device/OTG interface
(USB0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
7.15.6.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
7.15.7 High-speed USB Host/Device interface with
ULPI (USB1). . . . . . . . . . . . . . . . . . . . . . . . . . 72
7.15.7.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
7.15.8 LCD controller. . . . . . . . . . . . . . . . . . . . . . . . . 72
7.15.8.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
7.15.9 Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
7.15.9.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
7.16 Digital serial peripherals. . . . . . . . . . . . . . . . . 73
7.16.1 UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
7.16.1.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
7.16.2 USART. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
7.16.2.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
7.16.3 SSP serial I/O controller. . . . . . . . . . . . . . . . . 74
7.16.3.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
7.16.4 I
2
C-bus interface . . . . . . . . . . . . . . . . . . . . . . 75
7.16.4.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
7.16.5 I
2
S interface . . . . . . . . . . . . . . . . . . . . . . . . . . 75
7.16.5.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
7.16.6 C_CAN. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
7.16.6.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
7.17 Counter/timers and motor control . . . . . . . . . 77
7.17.1 General purpose 32-bit timers/external
event counter . . . . . . . . . . . . . . . . . . . . . . . . . 77
7.17.1.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
7.17.2 Motor control PWM . . . . . . . . . . . . . . . . . . . . 77
7.17.3 Quadrature Encoder Interface (QEI) . . . . . . . 77
7.17.3.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
7.17.4 Repetitive Interrupt (RI) timer. . . . . . . . . . . . . 78
7.17.4.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
7.17.5 Windowed WatchDog Timer (WWDT) . . . . . . 78
7.17.5.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
7.18 Analog peripherals. . . . . . . . . . . . . . . . . . . . . 79
7.18.1 Analog-to-Digital Converter . . . . . . . . . . . . . . 79
7.18.1.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7.18.2 Digital-to-Analog Converter (DAC). . . . . . . . . 79
7.18.2.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7.19 Peripherals in the RTC power domain . . . . . . 79
7.19.1 RTC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7.19.1.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7.19.2 Event monitor/recorder . . . . . . . . . . . . . . . . . 80
7.19.2.1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
7.19.3 Alarm timer. . . . . . . . . . . . . . . . . . . . . . . . . . . 80
7.20 System control . . . . . . . . . . . . . . . . . . . . . . . . 80
7.20.1 Configuration registers (CREG). . . . . . . . . . . 80
7.20.2 System Control Unit (SCU) . . . . . . . . . . . . . . 81
7.20.3 Clock Generation Unit (CGU) . . . . . . . . . . . . 81
7.20.4 Internal RC oscillator (IRC) . . . . . . . . . . . . . . 81
7.20.5 PLL0USB (for USB0) . . . . . . . . . . . . . . . . . . . 81
7.20.6 PLL0AUDIO (for audio) . . . . . . . . . . . . . . . . . 81
7.20.7 System PLL1 . . . . . . . . . . . . . . . . . . . . . . . . . 82
7.20.8 Reset Generation Unit (RGU) . . . . . . . . . . . . 82
7.20.9 Power control. . . . . . . . . . . . . . . . . . . . . . . . . 82
7.20.10 Code security (Code Read Protection - CRP) 83
