Rev.2.00 Nov 28, 2005 page 73 of 378
REJ09B0124-0200
M16C/6N Group (M16C/6NK, M16C/6NM)
8. Clock Generating Circuit
Under development
This document is under development and its contents are subject to change.
8.4.3 Stop Mode
In stop mode, all oscillator circuits are turned off, so are the CPU clock and the peripheral function clocks.
Therefore, the CPU and the peripheral functions clocked by these clocks stop operating. The least
amount of power is consumed in this mode. If the voltage applied to VCC is VRAM or more, the internal
RAM is retained.
However, the peripheral functions clocked by external signals keep operating.
Table 8.6 lists the interrupts to stop mode and use conditions.
Table 8.6 Interrupts to Stop Mode and Use Conditions
8.4.3.1 Entering Stop Mode
The microcomputer is placed into stop mode by setting the CM10 bit in the CM1 register to “1” (all clocks
turned off). At the same time, the CM06 bit in the CM0 register is set to “1” (divide-by-8 mode) and the
CM15 bit in the CM1 register is set to “1” (main clock oscillator circuit drive capability high).
Before entering stop mode, set the CM20 bit in the CM2 register to “0” (oscillation stop, re-oscillation
detection function disabled).
Also, if the CM11 bit in the CM1 register is “1” (PLL clock for the CPU clock source), set the CM11 bit to
“0” (main clock for the CPU clock source) and the PLC07 bit in the PLC0 register to “0” (PLL turned off)
before entering stop mode.
8.4.3.2 Pin Status in Stop Mode
Table 8.7 lists the pin status in stop mode.
Table 8.7 Pin Status in Stop Mode
Interrupt
Condition
_______
NMI Interrupt
Can be used
Key Input Interrupt
Can be used
______
INT Interrupt
Can be used
Timer A Interrupt
Can be used
Timer B interrupt
(when counting external pulses in event counter mode)
Serial Interface Interrupt
Can be used (when external clock is selected)
CAN0/1 Wake-up Interrupt
Can be used (when CAN sleep mode is selected)
Pin
Memory Expansion Mode
Single-chip Mode
Microprocessor Mode
(1)
A0 to A19, D0 to D15,
Retains status before stop mode
Does not become a bus control pin
_______
_______
________
CS0 to CS3, BHE
(2)
______ _______ _________
_________
RD, WR, WRL, WRH
(2)
“H”
___________
HLDA, BCLK
(2)
“H”
ALE
(2)
indeterminate
I/O ports
Retains status before stop mode
Retains status before stop mode
CLKOUT
Does not become a CLKOUT pin
“H”
Retains status before stop mode
When fC selected
When f8, f32
selected
NOTES:
1. Not available memory expansion and microprocessor modes in T/V-ver..
2. Not available the bus control pins in T/V-ver..