CHAPTER 6 CLOCK GENERATOR
Page 124 of 920
6.6
Controlling Clock
6.6.1
Example of setting high-speed on-chip oscillator
After a reset release, the CPU/peripheral hardware clock (f
CLK
) always starts operating with the high-speed on-
chip oscillator clock. The frequency of the high-speed on-chip oscillator can be selected from 32, 24, 16, 12, 8, 6,
4, 3, 2, and 1 MHz by using FRQSEL0 to FRQSEL3 of the option byte (000C2H). In addition, Oscillation can be
changed by the high-speed on-chip oscillator frequency select register (HOCODIV).
[Option byte setting]
Address: 000C2H
Option
byte
(000C2H)
7
6
5
4
3
2
1
0
1
CMODE0
0/1
1
0
FRQSEL3
0/1
FRQSEL2
0/1
FRQSEL1
0/1
FRQSEL0
0/1
CMODE0
Flash operation mode
Operating frequency range
Operating voltage range
0
LS (low-speed main) mode
1 MHz to 8 MHz
1.8 V to 3.6 V
1
HS (high-speed main) mode
1 MHz to 16 MHz
2.4 V to 3.6 V
1 MHz to 32 MHz
2.7 V to 3.6 V
FRQSEL3
FRQSEL2
FRQSEL1
FRQSEL0
Frequency of the high-speed on-chip oscillator
f
IH
1
0
0
0
32 MHz
0
0
0
0
24 MHz
1
0
0
0
32 MHz
0
0
0
0
24 MHz
1
0
0
1
16 MHz
0
0
0
1
12 MHz
1
0
1
0
8 MHz
0
0
1
0
6 MHz
1
0
1
1
4 MHz
0
0
1
1
3 MHz
1
1
0
0
2 MHz
1
1
0
1
1 MHz
Other than above
Setting prohibited
<R>
Summary of Contents for RL78/G1H
Page 941: ...R01UH0575EJ0120 RL78 G1H...