Mitsubishi microcomputers
M16C / 6N0 / 6N1 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
47
Power Control
Figure 1.10.7. State transition diagram of power control mode
CM05 = "0" Main clock is oscillating
CM04 = "0" Sub clock is stopped
CM21 = "0" Ring oscillator is stopped
BCLK : f(XIN)/n n = 1, 2, 4, 8, 16
CM07 = "0" System clock is main clock
CM20 = "0" Oscillation stop detection function is disabled
High speed/medium speed mode
BCLK : f(XIN)/n n = 1, 2, 4, 8, 16
CM07 = "0" System clock is main clock
CM20 = "1" Oscillation stop detection function is enabled
High speed/medium speed mode
BCLK : fRING/n n = 1, 2, 4, 8, 16 (Note)
CM07 = "0" System clock is main clock
CM05 = "1" Main clock is stopped
When main clock is stopped, or oscillation stop is detected.
Note 1: Division value of CM06, CM16, CM17.
Ring oscillator mode
BCLK : f(XCIN)
CM07 = "1" System clock is sub clock
Low speed mode
BCLK : f(XCIN)
CM07 = "1" System clock is sub clock
Low power dissipation mode
Medium speed mode
Reset
Medium speed mode
(division by 8 mode)
High speed/medium speed mode
Low speed/low power dissipation mode
Ring oscillator mode
Stop mode
Wait mode
Wait instruction
Interrupt
CPU operation is stopped
CM05 = "0"
Main clock is oscillating
CM04 = "1"
Sub clock is oscillating
CM10 = "1"
Main clock is stopped
CM20 = "0"
Oscillation stop detetion
function is disabled
CM21 = "0" (Note 3)
Ring oscillator is stopped
CM05 = "0" Main clock is oscillating
CM04 = "1" Sub clock is oscillating
CM20 = "0" Oscillation stop detetion function is disabled
CM21 = "0" Ring oscillator is stopped
CM05 = "0"
Main clock is oscillating
CM04 = "0"
Sub clock is stopped
CM20 = "1"
Oscillation stop detetion
function is enabled
CM21 = "0"
Ring oscillator is stopped
CM05 = "0"
Main clock is oscillating
CM04 = "1"
Sub clock is oscillating
CM20 = "0"
Oscillation stop detetion
function is disabled
CM21 = "0"
Ring oscillator is stopped
CM05 = "1" (Note 2)
CM04 = "0"
Sub clock is stopped
CM20 = "0"
Oscillation stop detetion
function is disabled
CM21 = "1"
Ring oscillator is oscillating
CM05 = "0"
Main clock is oscillating
CM04 = "1"
Sub clock is oscillating
CM20 = "0"
Oscillation stop detetion
function is disabled
CM21 = "0"
Ring oscillator is stopped (Note 3)
CM05 = "1"
Main clock is stopped
CM04 = "1"
Sub clock is oscillating
CM21 = "0"
Ring oscillator is stopped
CM05 = "0"
Main clock is oscillating
CM04 = "1"
Sub clock is oscillating
CM21 = "0"
Ring oscillator is stopped
All oscillators are stopped
Interrupt
(Note 1)
Interrupt
(Note 2)
CM07 = "0"
Transition of stop mode, wait mode
Transition of normal operation mode
Normal operation mode
CM21 = "0"
Ring oscillator is stopped
Note 1: When the mode returns to normal operation mode again after shifting from high speed/medium speed mode to stop
mode, the mode shifts to division by 8 mode of medium speed mode.
Note 2: When the mode returns to normal operation mode again after shifting from low speed/low power dissipation mode to
stop mode, the mode shifts to low speed/low power dissipation mode.
Note 3: The mode does not shift directly from ring oscillator mode to stop mode.
CM07 = "1"
When occuring this shift, an internal reset or the oscil-
lation stop detection interrupt occurs.
Mode
CM06
CM16
CM17
Division value
High speed mode
Medium speed mode
0
1
0
1
0
Invalid
1
0
1
Invalid
1
Division by 1
Division by 2
Division by 4
Division by 8
Division by 16
Note 2: Be sure to set CM05 = "1", after setting CM21 = "1".
Note 3: Be sure to set CM21 = "0", after setting CM05 = "0"
and the oscillation of the main clock has stabilized.