BAT32G1x9 user manual | Chapter 4 Clock generation circuit
92 / 1149
Rev.1.02
4.3.9
Frequency Selection Register (HOCODIV) for high-speed internal oscillators
This is the register for changing 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 FRQSEL4 bit and FRQSEL3 bit of
the option byte (000C2H).
The HOCODIV register is set by the 8-bit memory operation instruction.
After generating a reset signal, the value of this register changes to the setting value of the FRQSEL2~FRQSEL0 bit
of the option byte (000C2H).
Figure 4-14
Format of Frequency Selection Register (HOCODIV) for the high-speed internal oscillator
Address: 40021C20H
Reset value: The value of
the FRQSEL2~FRQSEL0
bits of
the option byte(000C2H)
R
/W
.
SYMBOL
7
6
5
4
3
2
1
0
HOCODIV
HOCODIV2
HOCODIV1
HOCODIV0
Selection of high-speed internal oscillator clock frequency
FRQSEL4=0
FRQSEL4=1
FRQSEL3=0
FRQSEL3=1
FRQSEL3=0
FRQSEL3=1
0
0
0
f
IH
=24MHz
f
IH
=32MHz
f
IH
=48MHz
f
HOCO
=48MHz
f
IH
=64MHz
f
HOCO
=64MHz
0
0
1
f
IH
=12MHz
f
IH
=16MHz
f
IH
=24MHz
f
HOCO
=48MHz
f
IH
=16MHz
f
HOCO
=64MHz
0
1
0
f
IH
=6MHz
f
IH
=8MHz
f
IH
=12MHz
f
HOCO
=48MHz
f
IH
=8MHz
f
HOCO
=64MHz
0
1
1
f
IH
=3MHz
f
IH
=4MHz
f
IH
=3MHz
f
HOCO
=48MHz
f
IH
=4MHz
f
HOCO
=64MHz
1
0
0
Prohibit
settings.
f
IH
=2MHz
Prohibit
settings.
f
IH
=2MHz
f
HOCO
=64MHz
1
0
1
Prohibit
settings.
f
IH
=1MHz
Prohibit
settings.
f
IH
=1MHz
f
HOCO
=64MHz
Other than the above
Prohibit settings
Note
1.
The HOCODIV register must be set in the state where the high-speed internal oscillator clock (fIH) is selected as the
CPU/Peripheral Hardware Clock (fCLK).
2. After changing the
frequency through
the HOCODIV
register, the frequency switching takes place after the
following transfer times:
• Run up to 3 clocks at the frequency before the change.
• Wait up to
3
CPU/peripheral hardware clocks at the changed frequency.
0
0
0
0
0
HOCODIV2
HOCODIV1
HOCODIV0