
UM10237_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 19 December 2008
775 of 792
NXP Semiconductors
UM10237
Chapter 36: LPC24XX Supplementary information
5.
Contents
Chapter 1: LPC24XX Introductory information
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
How to read this manual . . . . . . . . . . . . . . . . . . 3
LPC2400 features. . . . . . . . . . . . . . . . . . . . . . . . 4
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 6
LPC2458 ordering options . . . . . . . . . . . . . . . . 6
LPC2460 ordering options . . . . . . . . . . . . . . . . 6
LPC2468 ordering options . . . . . . . . . . . . . . . . 7
LPC2470 ordering options . . . . . . . . . . . . . . . . 7
LPC2478 ordering options . . . . . . . . . . . . . . . . 8
Architectural overview . . . . . . . . . . . . . . . . . . . 8
On-chip flash programming memory
(LPC2458/68/78). . . . . . . . . . . . . . . . . . . . . . . . . 9
On-chip SRAM . . . . . . . . . . . . . . . . . . . . . . . . . 10
LPC2458 block diagram . . . . . . . . . . . . . . . . . . 11
LPC2420/60 block diagram. . . . . . . . . . . . . . . 12
LPC2468 block diagram . . . . . . . . . . . . . . . . . 13
LPC2470 block diagram . . . . . . . . . . . . . . . . . 14
LPC2478 block diagram . . . . . . . . . . . . . . . . . 15
Chapter 2: LPC24XX Memory mapping
How to read this chapter . . . . . . . . . . . . . . . . . 16
Memory map and peripheral addressing. . . . 16
Memory maps. . . . . . . . . . . . . . . . . . . . . . . . . . 18
APB peripheral addresses . . . . . . . . . . . . . . . 22
LPC2400 memory re-mapping and boot ROM 23
Memory map concepts and operating modes. 23
Memory re-mapping. . . . . . . . . . . . . . . . . . . . 24
Memory mapping control . . . . . . . . . . . . . . . . 25
Memory mapping control usage notes. . . . . . 25
Prefetch abort and data abort exceptions . . 27
Chapter 3: LPC24XX System control
Summary of system control block functions 28
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 28
Register description . . . . . . . . . . . . . . . . . . . . 28
External interrupt inputs . . . . . . . . . . . . . . . . . 29
Register description . . . . . . . . . . . . . . . . . . . . 29
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Other system controls and status flags . . . . . 35
AHB Configuration . . . . . . . . . . . . . . . . . . . . . 36
Examples of AHB1 settings . . . . . . . . . . . . . . 37
Examples of AHB2 settings . . . . . . . . . . . . . . 39
Brown-out detection . . . . . . . . . . . . . . . . . . . . 40
Code security vs. debugging . . . . . . . . . . . . . 40
Chapter 4: LPC24XX Clocking and power control
Oscillators . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Internal RC oscillator . . . . . . . . . . . . . . . . . . . 43
Main oscillator. . . . . . . . . . . . . . . . . . . . . . . . . 43
RTC oscillator . . . . . . . . . . . . . . . . . . . . . . . . . 45
Register description . . . . . . . . . . . . . . . . . . . . 45
Clock source selection multiplexer . . . . . . . . . 45
PLL (Phase Locked Loop) . . . . . . . . . . . . . . . 46
PLL operation . . . . . . . . . . . . . . . . . . . . . . . . . 46
PLL and startup/boot code interaction . . . . . . 47
PLL register description . . . . . . . . . . . . . . . . . 47
PLL Control register (PLLCON - 0xE01F C080) .
48
PLL Configuration register (PLLCFG -
0xE01F C084) . . . . . . . . . . . . . . . . . . . . . . . . 49
PLL Status register (PLLSTAT - 0xE01F C088) . .
51
PLL Interrupt: PLOCK . . . . . . . . . . . . . . . . . . 51
PLL Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . 52
PLL Feed register (PLLFEED - 0xE01F C08C) 52
PLL and Power-down mode. . . . . . . . . . . . . . 52
PLL frequency calculation . . . . . . . . . . . . . . . 53