RL78/F13, F14 CHAPTER 5 CLOCK GENERATOR
R01UH0368EJ0210 Rev.2.10 402
Dec 10, 2015
5.6 Controlling Clock
5.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 64, 48, 32, 24, 16, 12, 8, 4, and 1
MHz by using FRQSEL0 to FRQSEL4 of the user option byte (000C2H/020C2H). In addition, Oscillation can be changed
by the internal high-speed on-chip oscillator frequency select register (HOCODIV).
[User option byte setting]
Address: 000C2H/020C2H After reset: - (user setting value)
Option
byte
7 6 5 4 3 2 1 0
1
1
RESOUTB
0/1
FRQSEL4
0/1
FRQSEL3
0/1
FRQSEL2
0/1
FRQSEL1
0/1
FRQSEL0
0/1
FRQSEL4 FRQSEL3 FRQSEL2 FRQSEL1 FRQSEL0 Frequency of the high-speed
on-chip oscillator
fIH
1 1 0 0 0
64 MHz
1 0 0 0 0
48 MHz
0 1 0 0 0
32 MHz
0 0 0 0 0
24 MHz
0 1 0 0 1
16 MHz
0 0 0 0 1
12 MHz
0 1 0 1 0
8 MHz
0 1 0 1 1
4 MHz
0 1 1 0 1
1 MHz
Other than above Setting prohibited