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
64 of 571
NXP Semiconductors
UM10316
Chapter 5: LPC29xx Power Management Unit (PMU)
Clocks that have been programmed to enter sleep mode follow the chosen setting of the
PD field in register PM. This means that with a single write-action all of these domains can
be set either to sleep or to wake up.
Since application of configuration settings may not be instantaneous, the current setting
can be read in register CLK_STAT_<leaf>. The registers CLK_STAT_<leaf> indicate the
configured settings and in field STATEM_STAT the current setting. The possible states
are:
•
run – normal clock enabled.
•
wait – request has been sent to AHB to disable the clock but is waiting to be granted.
•
sleep0 – clock disabled.
•
sleep1 – clock disabled and request removed.
3.2 PMU clock branch overview
Within each clock branch the PMU keeps an overview of the power state of the separate
leaves. This indication can be used to determine whether the clock to a branch can be
safely disabled. This overview is kept in register BASE_STAT and contains one bit per
clock branch.
4.
PMU register overview
The PMU registers have an offset to the base address PMU RegBase which can be found
in the memory map, see
Table 50.
PMU register overview (base address: FFFF A000h)
Address
offset
Access
Reset value
Name
Description
Reference
000h
R/W
0000 0000h
PM
Power mode register
see
004h
R
0000 1FFFh
BASE_STAT
Base-clock status register
see
100h
R/W
0000 0001h
CLK_CFG_SAFE
Safe-clock configuration register
see
104h
R
0000 0001h
CLK_STAT_SAFE
Safe-clock status register
200h
R/W
0000 0001h
CLK_CFG_CPU
CPU-clock configuration register
204h
R
0000 0001h
CLK_STAT_CPU
CPU-clock status register
208h
R/W
0000 0001h
CLK_CFG_SYS
System-clock configuration register
see
20Ch
R
0000 0001h
CLK_STAT_SYS
System-clock status register
see
210h
R/W
0000 0001h
CLK_CFG_PCR
System-clock_pcr configuration
register
214h
R
0000 0001h
CLK_STAT_PCR
System-clock_pcr status register
see
218h
R/W
0000 0001h
CLK_CFG_FMC
Flash-clock configuration register
see
21Ch
R
0000 0001h
CLK_STAT_FMC
Flash-clock status register
220h
R/W
0000 0001h
CLK_CFG_RAM0
AHB clock to embedded memory
controller 0 configuration register
224h
R
0000 0001h
CLK_STAT_RAM0
AHB clock to embedded memory
controller 0 status register