
LPC2939_3
All information provided in this document is subject to legal disclaimers.
 NXP B.V. 2010. All rights reserved.
Product data sheet
Rev. 03 — 7 April 2010 
98 of 99
NXP Semiconductors
LPC2939
ARM9 microcontroller with CAN, LIN, and USB
18. Contents
1 
2 
3 
3.1 
4 
5 
5.1 
5.2 
5.2.1 
5.2.2 
6 
6.1 
6.2 
6.3 
6.4 
6.5 
6.6 
6.6.1 
6.6.2 
6.6.3 
General description. . . . . . . . . . . . . . . . . . . . . .  1
Features and benefits . . . . . . . . . . . . . . . . . . . .  1
Ordering information. . . . . . . . . . . . . . . . . . . . .  3
Ordering options. . . . . . . . . . . . . . . . . . . . . . . .  3
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . .  4
Pinning information. . . . . . . . . . . . . . . . . . . . . .  5
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  5
Pin description . . . . . . . . . . . . . . . . . . . . . . . . .  5
General description  . . . . . . . . . . . . . . . . . . . . .  5
LQFP208 pin assignment. . . . . . . . . . . . . . . . .  5
Functional description  . . . . . . . . . . . . . . . . . .  14
Architectural overview  . . . . . . . . . . . . . . . . . .  14
ARM968E-S processor. . . . . . . . . . . . . . . . . .  14
On-chip flash memory system . . . . . . . . . . . .  15
On-chip static RAM. . . . . . . . . . . . . . . . . . . . .  15
Memory map. . . . . . . . . . . . . . . . . . . . . . . . . .  16
Reset, debug, test, and power description . . .  17
Reset and power-up behavior  . . . . . . . . . . . .  17
Reset strategy  . . . . . . . . . . . . . . . . . . . . . . . .  17
IEEE 1149.1 interface pins (JTAG boundary-scan 
test). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  17
ETM/ETB . . . . . . . . . . . . . . . . . . . . . . . . . . . .  18
Power supply pins  . . . . . . . . . . . . . . . . . . . . .  18
Clocking strategy . . . . . . . . . . . . . . . . . . . . . .  18
Clock architecture. . . . . . . . . . . . . . . . . . . . . .  18
Base clock and branch clock relationship. . . .  20
Flash memory controller. . . . . . . . . . . . . . . . .  22
Functional description. . . . . . . . . . . . . . . . . . .  22
Flash layout  . . . . . . . . . . . . . . . . . . . . . . . . . .  23
Flash bridge wait-states . . . . . . . . . . . . . . . . .  24
Pin description . . . . . . . . . . . . . . . . . . . . . . . .  24
Clock description  . . . . . . . . . . . . . . . . . . . . . .  25
EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . .  25
External Static Memory Controller (SMC). . . .  25
Description . . . . . . . . . . . . . . . . . . . . . . . . . . .  25
Pin description . . . . . . . . . . . . . . . . . . . . . . . .  26
Clock description  . . . . . . . . . . . . . . . . . . . . . .  26
External memory timing diagrams . . . . . . . . .  26
General Purpose DMA (GPDMA) controller. .  28
DMA support for peripherals. . . . . . . . . . . . . .  28
Clock description  . . . . . . . . . . . . . . . . . . . . . .  29
USB interface . . . . . . . . . . . . . . . . . . . . . . . . .  29
USB device controller. . . . . . . . . . . . . . . . . . .  29
USB OTG controller . . . . . . . . . . . . . . . . . . . .  29
USB host controller. . . . . . . . . . . . . . . . . . . . .  30
6.11.3.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  30
6.11.4 
Pin description . . . . . . . . . . . . . . . . . . . . . . . .  30
6.11.5 
Clock description  . . . . . . . . . . . . . . . . . . . . . .  31
6.12 
General subsystem. . . . . . . . . . . . . . . . . . . . .  31
6.12.1 
General subsystem clock description. . . . . . .  31
6.12.2 
Chip and feature identification . . . . . . . . . . . .  31
6.12.3 
System Control Unit (SCU). . . . . . . . . . . . . . .  31
6.12.4 
Event router . . . . . . . . . . . . . . . . . . . . . . . . . .  31
6.12.4.1 Pin description . . . . . . . . . . . . . . . . . . . . . . . .  32
6.13 
Peripheral subsystem. . . . . . . . . . . . . . . . . . .  32
6.6.3.1 
6.6.4 
6.7 
6.7.1 
6.7.2 
6.8 
6.8.1 
6.8.2 
6.8.3 
6.8.4 
6.8.5 
6.8.6 
6.9 
6.9.1 
6.9.2 
6.9.3 
6.9.4 
6.10 
6.10.1 
6.10.2 
6.11 
6.11.1 
6.11.2 
6.11.3 
6.13.1 
6.13.2 
6.13.2.1 Functional description . . . . . . . . . . . . . . . . . .  33
6.13.2.2 Clock description . . . . . . . . . . . . . . . . . . . . . .  33
6.13.3 
Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  33
6.13.3.1 Pin description . . . . . . . . . . . . . . . . . . . . . . . .  34
6.13.3.2 Clock description . . . . . . . . . . . . . . . . . . . . . .  35
6.13.4 
UARTs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  35
6.13.4.1 Pin description . . . . . . . . . . . . . . . . . . . . . . . .  35
6.13.4.2 Clock description . . . . . . . . . . . . . . . . . . . . . .  36
6.13.5 
Serial peripheral interface (SPI). . . . . . . . . . .  36
6.13.5.1 Functional description . . . . . . . . . . . . . . . . . .  36
6.13.5.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . .  37
6.13.5.3 Clock description . . . . . . . . . . . . . . . . . . . . . .  37
6.13.6 
General-Purpose I/O (GPIO) . . . . . . . . . . . . .  37
6.13.6.1 Functional description . . . . . . . . . . . . . . . . . .  38
6.13.6.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . .  38
6.13.6.3 Clock description . . . . . . . . . . . . . . . . . . . . . .  38
6.14 
Networking subsystem. . . . . . . . . . . . . . . . . .  38
6.14.1 
CAN gateway. . . . . . . . . . . . . . . . . . . . . . . . .  38
6.14.1.1 Global acceptance filter . . . . . . . . . . . . . . . . .  39
6.14.1.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . .  39
6.14.2 
LIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  39
6.14.2.1 Pin description . . . . . . . . . . . . . . . . . . . . . . . .  39
6.14.3 
I
2
C-bus serial I/O controllers . . . . . . . . . . . . .  40
6.14.3.1 Pin description . . . . . . . . . . . . . . . . . . . . . . . .  40
6.15 
Modulation and Sampling Control SubSystem 
(MSCSS) . . . . . . . . . . . . . . . . . . . . . . . . . . . .  40
6.15.1 
Functional description . . . . . . . . . . . . . . . . . .  41
6.15.2 
Pin description . . . . . . . . . . . . . . . . . . . . . . . .  43
6.15.3 
Clock description . . . . . . . . . . . . . . . . . . . . . .  43
6.15.4 
Analog-to-digital converter. . . . . . . . . . . . . . .  43
6.15.4.1 Functional description . . . . . . . . . . . . . . . . . .  44
6.15.4.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . .  44
6.15.4.3 Clock description . . . . . . . . . . . . . . . . . . . . . .  45
6.15.5 
Pulse Width Modulator (PWM). . . . . . . . . . . .  45
6.15.5.1 Functional description . . . . . . . . . . . . . . . . . .  46
6.15.5.2 Synchronizing the PWM counters . . . . . . . . .  47
6.15.5.3 Master and slave mode . . . . . . . . . . . . . . . . .  48
6.15.5.4 Pin description . . . . . . . . . . . . . . . . . . . . . . . .  48
6.15.5.5 Clock description . . . . . . . . . . . . . . . . . . . . . .  48
6.15.6 
Timers in the MSCSS. . . . . . . . . . . . . . . . . . .  48
6.15.6.1 Pin description . . . . . . . . . . . . . . . . . . . . . . . .  49
6.15.6.2 Clock description . . . . . . . . . . . . . . . . . . . . . .  49
6.15.7 
Quadrature Encoder Interface (QEI) . . . . . . .  49
6.15.7.1 Pin description . . . . . . . . . . . . . . . . . . . . . . . .  50
6.15.7.2 Clock description . . . . . . . . . . . . . . . . . . . . . .  50
6.16 
Power, Clock and Reset control SubSystem 
(PCRSS)  . . . . . . . . . . . . . . . . . . . . . . . . . . . .  50
6.16.1 
Clock description . . . . . . . . . . . . . . . . . . . . . .  51
6.16.2 
Clock Generation Unit (CGU0)  . . . . . . . . . . .  52
6.16.2.1 Functional description . . . . . . . . . . . . . . . . . .  52
6.16.2.2 PLL functional description . . . . . . . . . . . . . . .  55
6.16.2.3 Pin description . . . . . . . . . . . . . . . . . . . . . . . .  56
6.16.3 
Clock generation for USB (CGU1). . . . . . . . .  57
6.16.3.1 Pin description . . . . . . . . . . . . . . . . . . . . . . . .  57
Peripheral subsystem clock description. . . . .  32
Watchdog timer . . . . . . . . . . . . . . . . . . . . . . .  33