Mitsubishi microcomputers
M16C / 62P Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Clock Generation Circuit
64
development
Preliminary Specifications Rev.1.0
Specifications in this manual are tentative and subject to change.
Ring Oscillator Mode
The ring oscillator clock divided by 1 (undivided), 2, 4, 8 or 16 provides the CPU clock. The ring
oscillator clock is also the clock source for the peripheral function clocks. If the sub clock is on, f
C32
can be used as the count source for timers A and B.
Ring Oscillator Low Power Dissipation Mode
The main clock is turned off after being placed in ring oscillator mode. The CPU clock can be selected
as in the ring oscillator mode. The ring oscillator clock is the clock source for the peripheral function
clocks. If the sub clock is on, f
C32
can be used as the count source for timers A and B. When the
operation mode is returned to the high and medium speed modes, set the CM06 bit to “1” (divided by
8 mode).
Modes
CM2 register
CM21
0
0
0
0
0
0
CM1 register
CM11
1
0
0
0
0
0
CM17, CM16
00
2
00
2
01
2
10
2
CM0 register
CM06
0
0
0
0
1
0
CM07
0
CM05
0
0
0
0
0
0
0
1(Note 1)
CM04
PLL operation mode
High-speed mode
Midium-
speed
mode
0
0
0
0
0
1
1
0
divided by 2
divided by 4
divided by 8
divided by 16
11
2
Low-speed mode
Low power dissipation mode
Ring
oscillator
mode
divided by 4
divided by 8
divided by 16
1
1
1(Note 1)
0
1
Ring oscillator low power
dissipation mode
Note 1: When the CM05 bit is set to “1” (main clock turned off) in low-speed mode, the mode goes to low power
dissipation mode and CM06 bit is set to “1” (divided by 8 mode) simultaneously.
Note 2: The divide-by-n value can be selected the same way as in ring oscillator mode.
0
1
1
1
1
01
2
10
2
0
0
0
0
0
0
1
0
0
0
0
0
1
11
2
(Note 2)
1
00
2
0
divided by 2
divided by 1
(Note 2)
(2) Wait Mode
In wait mode, the CPU clock is turned off, so are the CPU (because operated by the CPU clock) and the
watchdog timer. However, if the PM22 bit of PM2 register is “1” (ring oscillator clock for the watchdog
timer count source), the watchdog timer remains active. Because the main clock, sub clock, ring oscillator
clock and PLL clock all are on, the peripheral functions using these clocks keep operating.
Peripheral Function Clock Stop Function
If the CM02 bit is “1” (peripheral function clocks turned off during wait mode), the f
1
, f
2
, f
8
, f
32
, f
1SIO
,
f
8SIO
, f
32SIO
and f
AD
clocks are turned off when in wait mode, with the power consumption reduced
that much. However, f
C32
remains on.
Entering Wait Mode
The microcomputer is placed into wait mode by executing the WAIT instruction.
If the CM11 bit is “1” (PLL clock for the CPU clock source), set the CM11 bit to “0” (main clock for the
CPU clock source) and then the PLC07 bit to “0” (PLL turned off) before entering wait mode.
Pin Status During Wait Mode
Table 1.9.4 lists pin status during wait mode
Exiting Wait Mode
The microcomputer is moved out of wait mode by a hardware reset, NMI interrupt or peripheral func-
tion interrupt.
If the microcomputer is to be moved out of exit wait mode by a hardware reset or NMI interrupt, set the
peripheral function interrupt priority ILVL2 to ILVL0 bits to “000
2
” (interrupts disabled) before execut-
ing the WAIT instruction.
The peripheral function interrupts are affected by the CM02 bit. If CM02 bit is “0” (peripheral function
clocks not turned off during wait mode), all peripheral function interrupts can be used to exit wait
Table 1.9.3. Setting Clock Related Bit and Modes