APPENDIX B POWER SAVING
S1C17651 TECHNICAL MANUAL
Seiko Epson Corporation
AP-B-1
Appendix B Power Saving
Current consumption will vary dramatically, depending on CPU operating mode, operation clock frequency, and the
peripheral circuits being operated. Listed below are the control methods for saving power.
Clock Control Power Saving
B.1
This section describes clock systems that can be controlled via software and power-saving control details. For more
information on control registers and control methods, refer to the respective module sections.
System SLEEP
Execute the slp instruction (when RTC is stopped)
When the entire system can be stopped, stop the RTC and execute the slp instruction. The CPU enters
SLEEP mode and the OSC1/OSC3A/OSC3B clocks stop. This also stops all peripheral circuits using the
OSC1/OSC3A/OSC3B clocks. Starting up the CPU from SLEEP mode is therefore limited to startup using a
port (described later).
Execute the slp instruction (when RTC is running)
When the system except the RTC for time keeping can be stopped, maintain the RTC in running state and ex-
ecute the slp instruction. The CPU enters SLEEP mode and the OSC3A/OSC3B clocks stop. This also stops
all peripheral circuits using the OSC3A/OSC3B clocks. Starting up the CPU from SLEEP mode is therefore
limited to startup using a port or RTC (described later).
System clocks
Select a low-speed clock source (CLG module)
Select a low-speed oscillator for the system clock source. You can reduce current consumption by selecting
the OSC1 clock when low-speed processing is possible.
Disable unnecessary oscillator circuits (CLG module)
Operate the oscillator comprising the system clock source. Where possible, stop the other oscillators. You can
reduce current consumption by using OSC1 as the system clock and disable the OSC3B and OSC3A oscilla-
tors.
CPU clock (CCLK)
Execute the halt instruction
Execute the halt instruction when program execution by the CPU is not required, for example, when the
system is waiting for an interrupt. The CPU enters HALT mode and suspends operations, but the peripheral
circuits maintain the status in place at the time of the halt instruction, enabling use of peripheral circuits for
generating interrupts and the LCD driver. You can reduce power consumption even further by suspending un-
necessary oscillator and peripheral circuits before executing the halt instruction. The CPU is started from
HALT mode by an interrupt from a port or the peripheral circuit operating in HALT mode.
Select a low-speed clock gear (CLG module)
The CLG module can reduce CPU clock speeds to between 1/1 and 1/8 of the system clock via the clock gear
settings. You can reduce current consumption by operating the CPU at the minimum speed required for the
application.
Regulated clock (F256)
Use an interrupt from a peripheral timer module that runs with the regulated clock (F256) to execute theoreti-
cal regulation. An interrupt from the timer that runs all the time should be used to reduce current consump-
tion.
Peripheral clock (PCLK)
Stop PCLK (CLG module)
Stop the PCLK clock supplied from the CLG to peripheral circuits if none of the following peripheral circuits
is required.