M16C/62P Group (M16C/62P, M16C/62PT)
10. Clock Generation Circuit
Rev.2.41
Jan 10, 2006
Page 101 of 390
REJ09B0185-0241
−
: Cannot transit
NOTES:
1.
Avoid making a transition when the CM20 bit is set in 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.
On-chip oscillator clock oscillates and stops in low-speed mode. In this mode, the on-chip oscillator can be used as peripheral function clock.
Sub clock oscillates and stops in PLL operating mode. In this mode, sub clock can be used as peripheral function clock.
3.
PLL operating mode can only be entered from and changed to high-speed mode.
4.
Set the CM06 bit to “1” (division by 8 mode) before transiting from on-chip oscillator mode to high- or middle-speed mode.
5.
When exiting stop mode, the CM0S6 bit is set to “1” (division by 8 mode).
6.
If the CM05 bit set to “1” (main clock stop), then the CM06 bit is set to “1” (division by 8 mode).
7.
A transition can be made only when sub clock is oscillating.
8.
State transitions within the same mode (divide-by-n values changed or subclock oscillation turned on or off) are shown in the table below.
−
: Cannot transit
9.
( ) : setting method. See the following table.
CM04, CM05, CM06, CM07
: Bits in CM0 register
CM10, CM11, CM16, CM17
: Bits in CM1 register
CM20, CM21
: Bits in CM2 register
PLC07
: Bits in PLC0 register
Table 10.8
Allowed Transition and Setting
(9)
State After Transition
High-Speed Mode,
Middle-Speed
Mode
Low-Speed
Mode
(2)
Low Power
Dissipation
Mode
PLL
Operating
Mode
(2)
On-chip
Oscillator
Mode
On-chip Oscillator
Low Power
Dissipation Mode
Stop
Mode
Wait
Mode
Current
State
High-Speed Mode,
Middle-Speed Mode
(NOTE 8)
(9)
(NOTE 7)
-
(13)
(NOTE 3)
(15)
−
(16)
(NOTE 1)
(17)
Low-Speed Mode
(2)
(8)
(11)
(NOTE 1, 6)
−
−
−
(16)
(NOTE 1)
(17)
Low Power
Dissipation Mode
−
(10)
−
−
−
(16)
(NOTE 1)
(17)
PLL Operating
Mode
(2)
(12)
(NOTE 3)
−
−
−
−
−
−
On-chip Oscillator
Mode
(14)
(NOTE 4)
−
−
−
(NOTE 8)
(11)
(NOTE 1)
(16)
(NOTE 1)
(17)
On-chip Oscillator
Low Power
Dissipation Mode
−
−
−
−
(10)
(NOTE 8)
(16)
(NOTE 1)
(17)
Stop Mode
(18)
(NOTE 5)
(18)
(18)
−
(18)
(NOTE 5)
(18)
(NOTE 5)
−
Wait Mode
(18)
(18)
(18)
−
(18)
(18)
−
Sub Clock Oscillating
Sub Clock Turned Off
No
Division
Divided by
2
Divided by
4
Divided by
8
Divided by
16
No
Division
Divided by
2
Divided by
4
Divided by
8
Divided by
16
S
ub cl
ock
Osc
illa
tin
g
No Division
(4)
(5)
(7)
(6)
(1)
−
−
−
−
Divided by 2
(3)
(5)
(7)
(6)
−
(1)
−
−
−
Divided by 4
(3)
(4)
(7)
(6)
−
−
(1)
−
−
Divided by 8
(3)
(4)
(5)
(6)
−
−
−
(1)
−
Divided by 16
(3)
(4)
(5)
(7)
−
−
−
−
(1)
S
ub cl
ock
Turn
ed Of
f
No Division
(2)
−
−
−
−
(4)
(5)
(7)
(6)
Divided by 2
−
(2)
−
−
−
(3)
(5)
(7)
(6)
Divided by 4
−
−
(2)
−
−
(3)
(4)
(7)
(6)
Divided by 8
−
−
−
(2)
−
(3)
(4)
(5)
(6)
Divided by 16
−
−
−
−
(2)
(3)
(4)
(5)
(7)
Setting
Operation
Setting
Operation
(1)
CM04 = 0
Sub clock turned off
(10)
CM05 = 0
Main clock oscillating
(2)
CM04 = 1
Sub clock oscillating
(11)
CM05 = 1
Main clock turned off
(3)
CM06 = 0, CM17 = 0, CM16 = 0
CPU clock no division mode
(12)
PLC07=0, CM11=0
Main clock selected
(4)
CM06 = 0, CM17 = 0, CM16 = 1
CPU clock division by 2 mode
(13)
PLC07=1, CM11=1
PLL clock selected
(5)
CM06 = 0, CM17 = 1, CM16 = 0
CPU clock division by 4 mode
(14)
CM21=0
Main clock or PLL clock selected
(6)
CM06 = 0, CM17 = 1, CM16 = 1
CPU clock division by 16 mode
(15)
CM21=1
On-chip oscillator clock selected
(7)
CM06 = 1
CPU clock division by 8 mode
(16)
CM10=1
Transition to stop mode
(8)
CM07 = 0
Main clock, PLL clock, or on-chip
oscillator clock selected
(17)
Wait Instruction
Transition to wait mode
(9)
CM07 = 1
Sub clock selected
(18)
Hardware Interrupt
Exit stop mode or wait mode
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655