CHAPTER 10 POWER MANAGEMENT UNIT (PMU)
User’s Manual U14272EJ3V0UM
203
10.6.3 Exiting Hibernate mode (EDO DRAM)
<1> Generate a wake-up event such as a transition on the POWER pin, a DCD interrupt, etc. which causes
the PMU to start a power-on sequence.
<2> Apply 2.5 V power supply when the MPOWER signal becomes high level. The PMU waits until 3.3 V and
2.5 V power supply are stable, and then deasserts the reset signals to the V
R
4110 CPU core and on-chip
peripheral units.
<3> Software execution resumes at the Cold Reset exception vector (0x0BFC 0000). Initialize the cache tags,
and the Config, Status, and WatchLo registers in the CP0. Reset the HALTimer by setting the
HALTIMERRST bit in the PMUCNTREG register to 1.
<4> Check and clear the TIMOUTRST bit in the PMUINTREG register in the case a HALTimer Shutdown had
occurred.
<5> Copy the codes for the restore (<6> through <12> below) beginning at a 16-byte boundary into the cache
by using a Fill operation of CACHE instruction, and jump to the cached codes. These codes can be
executed on ROM.
<6> Poll the OK_STOP_CLK bit in the DRAMHIBCTL register until it is set to 1.
<7> Reinitialize all the registers and peripherals during Hibernate mode and restore those registers saved in
the general-purpose registers, MISCREG(0:15) which retain values during Hibernate mode, in the GIU or
in external memory.
Remark
Software must wait until the OK_STOP_CLK bit in the DRAMHIBCTL register is set to 1 before
reinitializing the memory controller registers. Otherwise unpredictable behavior of the memory
controller could result.
<8> Clear the DRAM_EN bit in the DRAMHIBCTL register to 0 so that the DRAM interface signals are again
driven directly by the memory controller.
<9> Clear SUSPEND bit in the DRAMHIBCTL register to 0 to exit self-refresh mode.
<10> Set the EDOMCYTREG and MEMCFG_REG registers in the memory controller according to the DRAM
type to be used.
<11> If DRAM can accept mixed use of burst and distributive CBR refresh, set a value that determines the
refresh count to every 250 ns to the BCURFCNTREG register in the MBA Host Bridge. Then execute
CBR refresh cycles for a specific time period (i.e. 0x3FFF
×
TClock burst refresh interval
required by DRAM).
<12> Restore to the BCURFCNTREG register in the MBA Host Bridge a value that determines refresh interval
satisfying the conditions of DRAM type to be used.