Renesas M16C/64A Series User Manual page 153

Table of Contents

Advertisement

M16C/64A Group
a. Entering high-speed mode or medium-speed mode from 125 kHz on-chip oscillator mode or low-
speed mode
(1) Start the main clock and wait until the oscillation stabilizes. Refer to 8.3.1 "Main Clock" for
details.
(2) Select divide-by-8 or divide-by-16 mode by setting the CM06 bit and bits CM17 to CM16.
(3) Set the CM11 bit to 0, the CM21 bit to 0, and the CM07 bit to 0 (main clock selected as CPU
clock source).
b. Entering PLL operating mode from high-speed mode or medium-speed mode
(1) Select the division of reference frequency counter by setting bits PLC05 and PLC04 in the PLC0
register, and the multiplication rate by setting bits PLC02 to PLC00 in the PLC0 register.
(2) Set the PLC07 bit to 1 (PLL on).
(3) Wait for tsu(PLL) until the PLL clock stabilizes.
(4) Select divide-by-8 or divide-by-16 mode by setting the CM06 bit and bits CM17 to CM16.
(5) Set the CM11 bit to 1, the CM21 bit to 0, and the CM07 bit to 0 (PLL clock selected as CPU clock
source).
c. Entering high-speed mode or medium-speed mode from PLL operating mode
(1) Select divide-by-8 or divide-by-16 mode by setting the CM06 bit and bits CM17 to CM16.
(2) Set the CM11 bit to 0, the CM21 bit to 0, and the CM07 bit to 0 (main clock selected as CPU
clock source).
(3) Set the PLC07 bit to 0 (PLL off).
e. Entering 125 kHz on-chip oscillator mode from high-speed mode, medium-speed mode, or low-
speed mode
(1) Start the 125 kHz on-chip oscillator and wait until the oscillation stabilizes. Refer to 8.3.3 "125
kHz On-Chip Oscillator Clock (fOCO-S)" for details.
(2) Select divide-by-8 or divide-by-16 mode by setting the CM06 bit and bits CM17 to CM16.
(3) Set the CM21 bit to 1 (on-chip oscillator clock selected as CPU clock source).
(4) Set the CM07 bit to 0 (main clock, PLL clock, or on-chip oscillator clock selected as CPU clock
source).
f. Entering low-speed mode from high-speed mode, medium-speed mode, or 125 kHz on-chip
oscillator mode
(1) Start the sub clock and wait until the oscillation stabilizes. Refer to 8.3.4 "Sub Clock (fC)" for
details.
(2) Select divide-by-8 or divide-by-16 mode by setting the CM06 bit and bits CM17 to CM16.
(3) Set the CM07 bit to 1 (sub clock selected as CPU clock source).
g. Entering 125 kHz on-chip oscillator low power mode from 125 kHz on-chip oscillator mode
Entering low power mode from low-speed mode
(1) Stop the main clock. Refer to 8.3.1 "Main Clock" for details.
h. Entering 125 kHz on-chip oscillator mode from 125 kHz on-chip oscillator low power mode
Entering low-speed mode from low power mode
(1) Start the main clock and wait until the oscillation stabilizes. Refer to 8.3.1 "Main Clock" for
details.
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
9. Power Control
Page 120 of 800

Advertisement

Table of Contents
loading

Table of Contents