UM10237_2 © NXP B.V. 2008. All rights reserved.
User manual Rev. 02 — 19 December 2008 776 o f 792
NXP Semiconductors UM10237
Chapter 36: LPC24XX Supplementary information
3.2.14 PLL setup sequence . . . . . . . . . . . . . . . . . . . . 56
3.3 Clock dividers. . . . . . . . . . . . . . . . . . . . . . . . . 56
3.3.1 CPU Clock Configuration register (CCLKCF G -
0xE01F C104) . . . . . . . . . . . . . . . . . . . . . . . . 57
3.3.2 USB Clock Configuratio n register (USBCLKCFG -
0xE01F C108) . . . . . . . . . . . . . . . . . . . . . . . . 57
3.3.3 IRC Trim Register (IRCTRIM - 0xE01F C1A4) 57
3.3.4 Peripheral Clock Selection registers 0 and 1
(PCLKSEL0 - 0xE01F C1A8 and PCLKSEL1 -
0xE01F C1AC). . . . . . . . . . . . . . . . . . . . . . . . 58
3.4 Power control . . . . . . . . . . . . . . . . . . . . . . . . . 59
3.4.1 Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
3.4.2 Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . 60
3.4.3 Power-down mode . . . . . . . . . . . . . . . . . . . . . 60
3.4.4 Peripheral power control . . . . . . . . . . . . . . . . 60
3.4.5 Power control register description . . . . . . . . . 61
3.4.6 Power Mode Control register (PCON -
0xE01F C0C0). . . . . . . . . . . . . . . . . . . . . . . . 61
3.4.7 Interrupt Wakeup Register (INTWAKE -
0xE01F C144) . . . . . . . . . . . . . . . . . . . . . . . . 62
3.4.8 Power Control for Periphe rals register (PCONP -
0xE01F C0C4). . . . . . . . . . . . . . . . . . . . . . . . 63
3.4.9 Power control usage notes . . . . . . . . . . . . . . 65
4 Power domains . . . . . . . . . . . . . . . . . . . . . . . . 65
5 Wakeup timer. . . . . . . . . . . . . . . . . . . . . . . . . . 65
Chapter 5: LPC24XX External Memory Controller (EMC)
1 How to read this chapter. . . . . . . . . . . . . . . . . 67
2 Basic configuration. . . . . . . . . . . . . . . . . . . . . 67
3 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
4 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
5 EMC functional description . . . . . . . . . . . . . . 68
5.1 AHB slave register interface. . . . . . . . . . . . . . 69
5.2 AHB slave memory interface . . . . . . . . . . . . . 70
5.2.1 Memory transaction endian ness. . . . . . . . . . . 70
5.2.2 Memory transaction size. . . . . . . . . . . . . . . . . 70
5.2.3 Write protected memory areas . . . . . . . . . . . . 70
5.3 Pad interface . . . . . . . . . . . . . . . . . . . . . . . . . 70
5.4 Data buffers . . . . . . . . . . . . . . . . . . . . . . . . . . 70
5.4.1 Write buffers . . . . . . . . . . . . . . . . . . . . . . . . . . 70
5.4.2 Read buffers . . . . . . . . . . . . . . . . . . . . . . . . . . 71
5.5 Memory controller state machine . . . . . . . . . . 71
6 Low-power operation. . . . . . . . . . . . . . . . . . . . 71
6.1 Low-power SDRAM Deep-sleep Mode. . . . . . 72
6.2 Low-power SDRAM partial array refresh . . . . 72
7 Memory bank select . . . . . . . . . . . . . . . . . . . . 72
8 Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
9 Pin description. . . . . . . . . . . . . . . . . . . . . . . . . 73
10 Register description . . . . . . . . . . . . . . . . . . . . 74
10.1 EMC Control register (EMCControl -
0xFFE0 8000). . . . . . . . . . . . . . . . . . . . . . . . . 76
10.2 EMC Status register (EMCStatus - 0xFFE0 8004)
77
10.3 EMC Configuration register (EMCConfig -
0xFFE0 8008). . . . . . . . . . . . . . . . . . . . . . . . . 78
10.4 Dynamic Memory Control register
(EMCDynamicControl - 0xFFE0 8020). . . . . . 78
10.5 Dynamic Memory Refresh Timer register
(EMCDynamicRefresh - 0xFFE0 8024) . . . . . 80
10.6 Dynamic Memory Read Configuration register
(EMCDynamicReadConfig - 0xFFE0 8028) . . 81
10.7 Dynamic Memory Percentage Command Period
register (EMCDynamictRP - 0xFFE0 8030) . . 81
10.8 Dynamic Memory Active to Precharge Command
Period register (EMCDynamictRAS -
0xFFE0 8034). . . . . . . . . . . . . . . . . . . . . . . . . 82
10.9 Dynamic Memory Self-refresh Exit Time register
(EMCDynamictSREX - 0xFFE0 8038) . . . . . . 82
10.10 Dynamic Memory Last Data Out to Active Time
register (EMCDynamictAPR - 0xFFE0 803C) 83
10.11 Dynamic Memory Data-in to Active Command
Time register (EMCDynamictDAL - 0xFFE0 8040)
83
10.12 Dynamic Memory Write Recovery Time register
(EMCDynamictWR - 0xFFE0 8044). . . . . . . . 84
10.13 Dynamic Memory Active to Active Command
Period register (EMCDynamictRC -
0xFFE0 8048) . . . . . . . . . . . . . . . . . . . . . . . . 84
10.14 Dynamic Memory Auto-refresh Period register
(EMCDynamictRFC - 0xFFE0 804C). . . . . . . 85
10.15 Dynamic Memory Exit Self-refresh register
(EMCDynamictXSR - 0xFFE0 8050) . . . . . . . 85
10.16 Dynamic Memory Active Bank A to Active Bank B
Time register (EMCDynamictRRD -
0xFFE0 8054) . . . . . . . . . . . . . . . . . . . . . . . . 86
10.17 Dynamic Memory Load Mode register to Active
Command Time (EMCDynamictMRD -
0xFFE0 8058) . . . . . . . . . . . . . . . . . . . . . . . . 86
10.18 Static Memory Extended Wait register
(EMCStaticExtendedWait - 0xFFE08080) . . . 87
10.19 Dynamic Memory Configuration registers
(EMCDynamicConfig0-3 - 0xFFE0 8100, 120,
140, 160) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
10.20 Dynamic Memory RAS & CAS Delay registers
(EMCDynamicRASCAS0-3 - 0xFFE0 8104, 124,
144, 164) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
10.21 Static Memory Configuration registers
(EMCStaticConfig0-3 - 0xFFE0 8200, 220, 240,
260) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
10.22 Static Memory Write Enable Delay registers
(EMCStaticWaitWen0-3 - 0xFFE08204, 224, 244
,264). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
10.23 Static Memory Output Enable Delay registers
(EMCStaticWaitOen0-3 - 0xFFE08208, 228, 24 8,
268) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
10.24 Static Memory Read Delay registers
(EMCStaticWaitRd0-3 - 0xFFE0820C, 22 C, 24C,
26C). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
10.25 Static Memory Page Mode Read Delay registers
(EMCStaticwaitPage0-3 - 0xFFE0 8210, 230,
250, 270) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94