
Rev.2.10 Apr 14, 2006 page 76 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 8. Clock Generation Circuit
Figure 8.13 State Transition in Normal Operating Mode
CPU clock
: f(PLL)
CM07 = 0
CM06 = 0
CM17 = 0
CM16 = 0
PLL operating mode
PLL operating mode
PLC07 = 0
CM11 = 0
PLC07 = 1
CM11 = 1
(6)
CM04 = 1CM04 = 1 CM04 = 0 CM04 = 0
CM04 = 1
CM04 = 0
CM04 = 1
CM04 = 0
CM07 =1
(3)
CM07 = 0
(2) (4)
CPU clock
f(Ring)
f(Ring)/2
f(Ring)/4
f(Ring)/8
f(Ring)/16
On-chip oscillator
mode
CM21 = 1
CM21 = 0
(7)
High-speed mode
CPU clock
: f(XIN)
CM07 = 0
CM06 = 0
CM17 = 0
CM16 = 0
CPU clock
f(Ring)
f(Ring)/2
f(Ring)/4
f(Ring)/8
f(Ring)/16
On-chip oscillator
low power dissipation mode
On-chip oscillator
mode
On-chip oscillator
low power dissipation mode
On-chip oscillator
clock oscillation
Main clock oscillation
CM05 = 1
(1)
CM05 = 0
CM04, CM05, CM06, CM07: Bits in CM0 register
CM11, CM15, CM16, CM17: Bits in CM1 register
CM20, CM21 : Bits in CM2 register
PLC07 : Bit in PLC0 register
NOTES:
1. Avoid making a transition when the CM20 bit is set to 1 (oscillation stop, re-oscillation detection function enabled).
Set the CM20 bit to 0 (oscillation stop, re-oscillation detection function disabled) before transiting.
2. Wait the main clock oscillation stabilizes.
3. Switch clock after oscillation of sub clock is sufficiently stable.
4. Change bits CM17 and CM16 before changing the CM06 bit.
5. Transit in accordance with arrow.
6. The PM20 bit in the PM2 register become effective when the PLC07 bit is set to 1 (PLL on). Change the PM20 bit when the PLC07 bit is set
to 0 (PLL off). Set the PM20 bit to 0 (2 waits) when PLL clock > 16 MHz.
7. Set the CM06 bit to 1 (divide-by-8 mode) before changing back the operating mode from on-chip oscillator mode to high-speed or middle-speed
mode.
8. When the CM21 bit = 0 (on-chip oscillator turned off) and the CM05 bit = 1 (main clock turned off), the CM06 bit is fixed to 1 (divide-by-8 mode)
and the CM15 bit is fixed to 1 (drive capability High).
Medium-speed mode
(divide-by-2)
CPU clock
: f(XIN)/2
CM07 = 0
CM06 = 0
CM17 = 0
CM16 = 1
Medium-speed mode
(divide-by-4)
CPU clock
: f(XIN)/4
CM07 = 0
CM06 = 0
CM17 = 1
CM16 = 0
Medium-speed mode
(divide-by-8)
CPU clock
: f(XIN)/8
CM07 = 0
CM06 = 1
Medium-speed mode
(divide-by-16)
CPU clock
: f(XIN)/16
CM07 = 0
CM06 = 0
CM17 = 1
CM16 = 1
CPU clock
: f(PLL)
CM07 = 0
CM06 = 0
CM17 = 0
CM16 = 0
PLC07 = 0
CM11 = 0
PLC07 = 1
CM11 = 1
(6)
CPU clock
f(Ring)
f(Ring)/2
f(Ring)/4
f(Ring)/8
f(Ring)/16
CM21 = 1
CM21 = 0
(7)
CM21 = 1
CM21 = 0
High-speed mode
CPU clock
: f(XIN)
CM07 = 0
CM06 = 0
CM17 = 0
CM16 = 0
CPU clock
f(Ring)
f(Ring)/2
f(Ring)/4
f(Ring)/8
f(Ring)/16
Sub clock oscillation
CM05 = 1
(1)
CM05 = 0
Medium-speed mode
(divide-by-2)
CPU clock
: f(XIN)/2
CM07 = 0
CM06 = 0
CM17 = 0
CM16 = 1
Medium-speed mode
(divide-by-4)
CPU clock
: f(XIN)/4
CM07 = 0
CM06 = 0
CM17 = 1
CM16 = 0
Medium-speed mode
(divide-by-8)
CPU clock
: f(XIN)/8
CM07 = 0
CM06 = 1
Medium-speed mode
(divide-by-16)
CPU clock
: f(XIN)/16
CM07 = 0
CM06 = 0
CM17 = 1
CM16 = 1
CPU clock: f(XCIN)
CM07 = 0
CPU clock: f(XCIN)
CM07 = 0
Low-speed modeLow-speed mode
CM05 = 1
(1) (8)
CM05 = 0
CPU clock: f(XCIN)
CM07 = 0
CM06 = 1
CM15 = 1
Low power dissipation mode
Comentários a estes Manuais