KS57C2308/P2308/C2316/P2316
POWER-DOWN
8-1
8
POWER-DOWN
OVERVIEW
The KS57C2308/C2316 microcontroller has two power-down modes to reduce power consumption: idle and stop.
Idle mode is initiated by the IDLE instruction and stop mode by the instruction STOP. (Several NOP instructions
must always follow an IDLE or STOP instruction in a program.) In idle mode, the CPU clock stops while
peripherals and the oscillation source continue to operate normally.
When
RESET
occurs during normal operation or during a power-down mode, a reset operation is initiated and the
CPU enters idle mode. When the standard oscillation stabilization time interval (31.3 ms at 4.19 MHz) has
elapsed, normal CPU operation resumes.
In main stop mode, main system clock oscillation is halted (assuming main clock is selected as system clock and
it is currently operating), and peripheral hardware components are powered-down. In sub stop mode, (assuming
sub clock is selected) sub system clock oscillation is halted by setting SCMOD.2 to “1”. The effect of stop mode
on specific peripheral hardware components — CPU, basic timer, timer/ counter 0, watch timer, and LCD
controller, serial I/O — and on external interrupt requests, is detailed in Table 8-1.
NOTE
Do not use stop mode if you are using an external clock source because X
IN
input must be restricted
internally to V
SS
to reduce current leakage.
Idle or main stop modes are terminated either by a
RESET
, or by an interrupt which is enabled by the
corresponding interrupt enable flag, IEx. When power-down mode is terminated by
RESET
, a normal reset
operation is executed. Assuming that both the interrupt enable flag and the interrupt request flag are set to "1",
power-down mode is released immediately upon entering power-down mode. Sub stop mode can be terminated
by
RESET
only.
When an interrupt is used to release power-down mode, the operation differs depending on the value of the
interrupt master enable flag (IME):
— If the IME flag = "0", program execution starts immediately after the instruction issuing a request to enter
power-down mode is executed. The interrupt request flag remains set to logical one.
— If the IME flag = "1", two instructions are executed after the power-down mode release and the vectored
interrupt is then initiated. However, when the release signal is caused by INT2 or INTW, the operation is
identical to the IME = "0" condition. Assuming that both interrupt enable flag and interrupt request flag are set
to "1", the release signal is generated when power-down mode is entered.
Summary of Contents for KS57C2308
Page 30: ...ADDRESS SPACES KS57C2308 P2308 C2316 P2316 2 22 NOTES ...
Page 168: ...SAM47 INSTRUCTION SET KS57C2308 P2308 C2316 P2316 5 94 NOTES ...
Page 170: ......
Page 206: ...POWER DOWN KS57C2308 P2308 C2316 P2316 8 8 NOTES ...
Page 210: ...RESET KS57C2308 P2308 C2316 P2316 9 4 NOTES ...
Page 222: ...I O PORTS KS57C2308 P2308 C2316 P2316 10 12 NOTES ...
Page 272: ...LCD CONTROLLER DRIVER KS57C2308 P2308 C2316 P2316 12 24 NOTES ...
Page 280: ...SERIAL I O INTERFACE KS57C2308 P2308 C2316 P2316 13 8 NOTES ...
Page 294: ...MECHANICAL DATA KS57C2308 P2308 C2316 P2316 15 2 NOTES ...
Page 310: ...KS57P2308 P2316 OTP KS57C2308 P2308 C2316 P2316 16 16 NOTES ...
Page 318: ......
Page 320: ......
Page 322: ......
Page 325: ......
Page 327: ......