CMS32L051 User Manual |Chapter 4 Clock Generation Circuit
www.mcu.com.cn 77 / 703
4.3.8 High-speed internal oscillator frequency selection register (HOCODIV)
This is the register that changes the high-speed internal oscillator frequency set by option byte
(000C2H). However, the frequency that can be selected varies depending on the value of the FRQSEL
4 and FRQSEL3 bits of the option byte (000C2H).
The HOCODIV register is set via an 8-bit memory operation instruction.
After the reset signal is generated, the value of this register becomes the setting value of FRQSEL2
to FRQSEL0 bits of option bytes (000C2H).
Figure 4-10 Format of high-speed internal oscillator frequency selection register (HOCODIV)
Address: 40021C20H After reset: option byte (000C2H) FRQSEL2 ~ FRQSEL0 bit setting value R/W
Symbol
7 6 5 4 3 2 1 0
HOCODIV
Note 1 The HOCODIV register must be set in the state of selecting a high-speed internal oscillator clock (f
IH
) as
the CPU/peripheral hardware clock (f
CLK
).
2. After changing the frequency through the HOCODIV register, the frequency switch is performed after the
following transfer time: