UM10208_2
© NXP B.V. 2007. All rights reserved.
User manual
Rev. 02 — 1 June 2007
353 of 362
continued >>
NXP Semiconductors
UM10208
Chapter 27: LPC2800 Supplementary information
Writing and loading . . . . . . . . . . . . . . . . . . . . . 33
Programming . . . . . . . . . . . . . . . . . . . . . . . . . 33
Program/erase timer . . . . . . . . . . . . . . . . . . . . 34
Register description . . . . . . . . . . . . . . . . . . . . 34
Flash Control register (F_CTRL-0x8010 2000) 35
Flash Status register (F_STAT - 0x8010 2004) 36
Interrupt registers . . . . . . . . . . . . . . . . . . . . . . 38
Flash Interrupt Enable Set register
(F_INTEN_SET - 0x8010 2FDC) . . . . . . . . . . 39
Flash Interrupt Enable Clear register
(F_INTEN_CLR - 0x8010 2FD8) . . . . . . . . . . 40
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
General operation . . . . . . . . . . . . . . . . . . . . . . 43
Local power . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Supply_OK . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Battery connection in an application . . . . . . . . 43
Unused DC-DC converter. . . . . . . . . . . . . . . . 44
DC-DC converter timing . . . . . . . . . . . . . . . . . 45
START and STOP from battery power . . . . . . 45
START and STOP from USB power . . . . . . . . 46
Switching from battery power to USB power . 47
DC-DC registers . . . . . . . . . . . . . . . . . . . . . . . 48
DCDC converter 1 Adjustment register
(DCDCADJUST1 - address 0x8000 5004) . . 49
DCDC converter 2 Adjustment register
(DCDCADJUST2 - address 0x8000 5008) . . 49
DCDC Clock Select register (DCDCCLKSEL -
address 0x8000 500C). . . . . . . . . . . . . . . . . . 50
Chapter 7: Clock Generation Unit (CGU) and power control
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Register descriptions . . . . . . . . . . . . . . . . . . . 53
CGU configuration registers . . . . . . . . . . . . . . 53
Main PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Main PLL example . . . . . . . . . . . . . . . . . . . . . 56
High speed PLL overview . . . . . . . . . . . . . . . . 57
Memory Table Mapping . . . . . . . . . . . . . . . . . 58
Manual Memory Table Lookup . . . . . . . . . . . . 58
Common HP PLL Applications . . . . . . . . . . . . 58
High speed PLL registers . . . . . . . . . . . . . . . . 59
High Speed PLL Programming and Operation 62
Power-down procedure . . . . . . . . . . . . . . . . . 62
Handshake procedure . . . . . . . . . . . . . . . . . . 62
Lock Time-outs . . . . . . . . . . . . . . . . . . . . . . . . 63
Selection stage registers . . . . . . . . . . . . . . . . 63
Selection stage programming . . . . . . . . . . . . . 65
Fractional divider registers . . . . . . . . . . . . . . . 65
Fractional divider programming . . . . . . . . . . . 66
Spreading stage registers . . . . . . . . . . . . . . . 66
Power control registers . . . . . . . . . . . . . . . . . 67
Power status registers . . . . . . . . . . . . . . . . . . 68
Enable select registers. . . . . . . . . . . . . . . . . . 69
Software reset registers . . . . . . . . . . . . . . . . . 71
Tabular Representation of the CGU. . . . . . . . 72
CGU usage notes . . . . . . . . . . . . . . . . . . . . . . 75
Example 1: Programming the MCI and the LCD
interface using the CGU. . . . . . . . . . . . . . . . . 75
Code example . . . . . . . . . . . . . . . . . . . . . . . . . 76
Example 2: Programming the USB, SDRAM, MCI,
and LCD interfaces using the CGU . . . . . . . . 77
Code example . . . . . . . . . . . . . . . . . . . . . . . . . 79
Low power operations . . . . . . . . . . . . . . . . . . 81
Clock generation unit and power control . . . . . 81
Processor cache and memory mapping . . . . . 81
Flash interface and programming . . . . . . . . . . 82
External memory controller . . . . . . . . . . . . . . . 82
Real-time clock . . . . . . . . . . . . . . . . . . . . . . . . 82