DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
559 of 571
continued >>
NXP Semiconductors
UM10316
Chapter 32: LPC29xx Supplementary information
4.
Contents
Chapter 1: LPC29xx Introductory information
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
About this user manual . . . . . . . . . . . . . . . . . . . 3
General features . . . . . . . . . . . . . . . . . . . . . . . . 3
Ordering information . . . . . . . . . . . . . . . . . . . . . 5
Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 6
Comparison with LPC2917/19 devices. . . . . . . 6
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Functional blocks . . . . . . . . . . . . . . . . . . . . . . 12
Architectural overview . . . . . . . . . . . . . . . . . . 13
ARM968E-S processor . . . . . . . . . . . . . . . . . . 13
On-chip flash memory system. . . . . . . . . . . . 14
On-chip static RAM . . . . . . . . . . . . . . . . . . . . . 14
Chapter 2: LPC29xx memory mapping
How to read this chapter . . . . . . . . . . . . . . . . . 15
Memory-map view of the AHB . . . . . . . . . . . . 16
Memory-map regions. . . . . . . . . . . . . . . . . . . . 16
Region 0: TCM/shadow area . . . . . . . . . . . . . 18
Region 1: embedded flash area . . . . . . . . . . . 19
Region 2: external static memory area . . . . . . 19
Region 3: external static memory controller area.
19
Region 4: internal SRAM area . . . . . . . . . . . . 19
Regions 5 and 6. . . . . . . . . . . . . . . . . . . . . . . 20
Region 7: bus-peripherals area . . . . . . . . . . . 20
Memory-map operating concepts . . . . . . . . . 20
Chapter 3: LPC29xx general system control
How to read this chapter . . . . . . . . . . . . . . . . . 23
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Power modes . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.1
Power-driver functional description . . . . . . . . 24
Reset and power-up behavior. . . . . . . . . . . . . 24
Interrupt device architecture . . . . . . . . . . . . . 25
Interrupt registers . . . . . . . . . . . . . . . . . . . . . . 26
Interrupt clear-enable register . . . . . . . . . . . . 27
Interrupt set-enable register . . . . . . . . . . . . . . 27
Interrupt status register . . . . . . . . . . . . . . . . . 27
Interrupt enable register. . . . . . . . . . . . . . . . . 27
Interrupt clear-status register . . . . . . . . . . . . . 27
Interrupt set-status register . . . . . . . . . . . . . . 28
ISR functional description . . . . . . . . . . . . . . . 28
Event-service routine (ESR) - Event handling 28
ESR functional description. . . . . . . . . . . . . . . 28
Wake-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Chapter 4: LPC29xx Clock Generation Unit (CGU)
How to read this chapter . . . . . . . . . . . . . . . . . 31
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
CGU0 functional description . . . . . . . . . . . . . 32
Controlling the PL160M PLL. . . . . . . . . . . . . . 35
Controlling the frequency dividers . . . . . . . . . 37
Controlling the clock output . . . . . . . . . . . . . . 37
Reading the control settings . . . . . . . . . . . . . . 37
Frequency monitor . . . . . . . . . . . . . . . . . . . . . 37
Clock detection . . . . . . . . . . . . . . . . . . . . . . . . 38
Bus disable . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Clock-path programming . . . . . . . . . . . . . . . . 38
CGU1 functional description . . . . . . . . . . . . . 38
CGU register overview . . . . . . . . . . . . . . . . . . 39
Frequency monitor register . . . . . . . . . . . . . . 42
Clock detection register . . . . . . . . . . . . . . . . . 43
Crystal-oscillator status register (CGU0) . . . . 45
Crystal oscillator control register (CGU0). . . . 45
PLL status register (CGU0 and CGU1) . . . . . 46
PLL control register (CGU0 and CGU1) . . . . 46
Post-divider ratio programming . . . . . . . . . . . . 46
Feedback-divider ratio programming . . . . . . . . 46
Frequency selection, mode 1 (normal mode) . 47
Frequency selection, mode 2 (direct CCO mode)
47