RL78/G15 CHAPTER 5 CLOCK GENERATOR
R01UH0959EJ0110 Rev.1.10 Page 145 of 765
Mar 7, 2023
5.3.8 High-speed on-chip oscillator frequency select register (HOCODIV)
This register is used to change the frequency of the high-speed on-chip oscillator which is set by an option byte
(000C2H).
The HOCODIV register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to the value set by FRQSEL2 to FRQSEL0 of the option byte (000C2H).
Figure 5-9. Format of High-speed On-chip Oscillator Frequency Select Register (HOCODIV)
Address: F00A8H After reset: the value set by FRQSEL2 to FRQSEL0 of the option byte (000C2H) R/W
Symbol 7 6 5 4 3 2 1 0
HOCODIV 0 0 0 0 0 HOCODIV2 HOCODIV1 HOCODIV0
HOCODIV2 HOCODIV1 HOCODIV0 High-speed on-chip oscillator clock frequency selection
0 0 1 16 MHz
0 1 0 8 MHz
0 1 1 4 MHz
1 0 0 2 MHz
1 0 1 1 MHz
Other than above Setting prohibited
Caution 1. Set the HOCODIV register with the high-speed on-chip oscillator clock (f
IH
) selected as the
CPU/peripheral hardware clock (f
CLK
).
Caution 2. After the frequency is changed with the HOCODIV register, the frequency is switched after the
following transition time has elapsed.
Operation for up to three clocks at the pre-change frequency
CPU/peripheral hardware clock wait at the post-change frequency for up to three clocks