EasyManua.ls Logo

Cmsemicon CMS32L051 - High-Speed Internal Oscillator Frequency Selection Register (HOCODIV)

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
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
HOCODIV2
HOCODIV1
HOCODIV0
Selection of clock frequency for high-speed internal oscillators
FRQSEL4,3=00
FRQSEL4,3=01
0
0
0
fIH=48MHz
fHOCO=48MHz
fIH=64MHz
fHOCO=64MHz
0
0
1
fIH=24MHz
fHOCO=48MHz
fIH=32MHz
fHOCO=64MHz
0
1
0
fIH=12MHz
fHOCO=48MHz
fIH=16MHz
fHOCO=64MHz
0
1
1
fIH=6MHz
fHOCO=48MHz
fIH=8MHz
fHOCO=64MHz
1
0
0
fIH=3MHz
fHOCO=48MHz
fIH=4MHz
fHOCO=64MHz
1
0
1
Disable the setting.
fIH=2MHz
fHOCO=64MHz
Others
Settings are prohibited
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:


0
0
0
0
0
HOCODIV2
HOCODIV1
HOCODIV0

Table of Contents

Related product manuals