7 33-mhz idle mode, 1 entering 33-mhz idle mode – Intel PXA26X User Manual

Page 78

Advertising
background image

3-12

Intel® PXA26x Processor Family Developer’s Manual

Clocks and Power Manager

Software must then shut down the system and enter sleep mode. See

Section 3.4.9.3, “Entering

Sleep Mode”

for more details.

3.4.7

33-MHz Idle Mode

33-MHz idle mode has the lowest power consumption of any idle mode. The run mode frequency
selected in the Core Clock Configuration Register (CCCR) directly affects the processor idle mode
power consumption. Faster run mode frequencies consume more power. 33-MHz idle mode places
the processor a special low speed run mode before entering idle. This is similar to normal idle since
the CPU core clock can be stopped during periods of processor inactivity and continue to monitor
on- and off-chip interrupt service requests. 33-MHz idle limitations are:

Peripherals will not function correctly and should be disabled before entering this mode.

A Frequency Change Sequence must be performed upon entry to and exit from 33-MHz idle
mode.

SDRAM is placed in self refresh before entering 33-MHz idle mode, because SDRAM cannot
be refreshed correctly in 33-MHz idle mode. Carefully consider the processor interrupt
behavior when the SDRAM in self refresh. To allow the interrupts to occur while SDRAM is
in self refresh, set the I and F bits in the CPSR. This allows interrupts to wake the processor
from idle mode without jumping to the interrupt handler. When the system’s SDRAM is no
longer in self refresh, the I and F bits can be cleared and the interrupt is handled.

Because nBATT_FAULT and nVDD_FAULT can cause a data abort interrupt, the function of
these pins in 33-MHz idle mode also needs special consideration. Either the Imprecise Data
Abort Enable (IDAE) bit in the Power Manager Control Register (PMCR) must be clear,
(causing the processor to immediately enter sleep mode if either nBATT_FAULT or
nVDD_FAULT are asserted) or take software precautions to avoid starting execution in or
trying to use SDRAM while it is in self refresh.

During 33-Mhz idle mode these system unit modules are functional:

Real-time clock

Operating system timer

Interrupt controller

General purpose I/O

Clocks and power manager

Flash ROM/SRAM

Unlike normal idle mode, in 33-MHz idle mode all other peripheral units cannot be used, including
SDRAM, LCD and DMA controllers.

3.4.7.1

Entering 33-MHz Idle Mode

During idle mode, the processor core clocks stop. Before the clocks stop, all critical applications
must be finished and peripherals turned off. If software is executing from SDRAM, the last three of
the following steps must be loaded into the cache before being performed.

1. Set the I and F bits in the CPSR register to mask all interrupts

2. Place the SDRAM into self refresh mode

Advertising