![Cmsemicon BAT32G1 9 Series User Manual Download Page 108](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609108.webp)
BAT32G1x9 user manual | Chapter 4 Clock generation circuit
108 / 1149
Rev.1.02
Examples of CPU clock transfers and SFR register settings are shown in Table 4-3.
Table 4-3 Example of CPU clock transfer and SFR register setting (1/5).
(1) After reset released (A), the CPU moves to high-speed internal oscillator clock operation (B).
State transition
Settings for the SFR registers
(A)
(B)
There is no need to set the SFR
register (the initial state after the reset is
released).
(2) After reset released(A), the CPU is transferred to high-speed system clock operation (C).
(The CPU runs on a high-speed internal oscillator clock (B)) immediately after the reset is released.)
(SFR registers are set in order).
Setting flag for the
SFR
register
State transition
CMC register Note 1
OSTS
register
CSC
register
OSTC
register
CKC
register
EXCLK
OSCSEL
AMPH
MSTOP
MCM0
(A)
(B)
(C)
(X1
clock:1MHz≤f
X
≤10MHz)
0
1
0
Note 2
0
Confirmati
on is
required
1
(A)
(B)
(C)
(X1Clock:10MHz
<
f
X
≤20MHz)
0
1
1
Note 2
0
Confirmati
on is
required
1
(A)
(B)
(C)
(External Master Clock)
1
1
×
Note 2
0
No
confirmati
on is
required
1
Note 1
After the reset is released, the
control register
(CMC
) can only be written
once through the
8-bit memory
operation instruction.
2. The oscillation settling time of the Oscillation Settling Time Selection Register (OSTS
) must be
set as follows:
• The oscillation settling time of the State Register (OSTC) of the Expected Oscillation Settling Time Counter
≤
the Oscillation Settling Time of the
OSTS Register Settings
Note The clock must be set after the supply voltage reaches the set clock operatable voltage (refer to
datasheet).
(3) After reset released(A), the CPU shifts to the subsystem clock run (D).
(The CPU runs on a high-speed internal oscillator clock (B)) immediately after the reset is released.)
(SFR registers are set in order).
Setting flag for the SFR register
State transition
CMC register
note
CSC
register
Oscillati
on
stable
waiting
CKC
register
EXCLKS
OSCSELS
AMPHS1
AMPHS0
XTSTOP
CSS
(A)
(B)
(D)
(XT1
clock).
0
1
0/1
0/1
0
need
1
(A)
(B)
(D)
(External Sub-Clock)
1
1
×
×
0
need
1
Note After reset released, the control register(CMC
) can only be written once through
the
8-bit memory operation
instruction
in
clock run mode.
Note 1
×: Ignore
2. (A)~(I)in table 43 corresponding to(A)~(I) in figure 4-22.