EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 93

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 93 / 703
Table 4-3 Example of CPU transfering and SFR register setting (2/5).
(4) The CPU shifts from high-speed internal oscillator clock operation (B) to high-speed system clock
operation (C).
(Order of setting SFR registers).
Setting flag of the SFR register
State transition
CMC register
Note 1
OSTS
register
CSC
register
OSTC
register
CKC
register
EXCLK
OSCSEL
AMPH
MSTOP
MCM0
(B) (C)
(X1 Clock
X

0
1
0
Note 2
0
Confirmat
ion is
required
1
(B) (C)
(X1Clock:10MHzf
X
)
0
1
1
Note 2
0
Confirmat
ion is
required
1
(B) (C)
(External Master Clock)
1
1
×
Note 2
0
No
confir
matio
n is
requi
red
1
Not required if set. Not required in high-speed system clock
operation.
Note 1 After the reset is released, only one clock operation mode control register (CMC) can be set. Not required if set.
2. The following settings must be made for the oscillation settling time of the Oscillation Settling Time Selection
Register (OSTS).

the oscillation settling time set by the OSTS register
Note that the clock must be set after the supply voltage reaches the set clock operable voltage (referring to
the electrical characteristics of the data sheet).
(5) The CPU shifts from high-speed internal oscillator clock operation (B) to subsystem clock operation
(D).
(Order of setting SFR registers).
The setting flag of the
SFR register
State transition
CMC register
note
CSC
register
Oscillation
stabilizes
wait
CKC
register
EXCLKS
OSCSELS
AMPHS1, 0
XTSTOP
CSS
(B) (D)
(XT1 clock).
0
1
00: Low power
consumption
oscillation
01: Usually
oscillates
10: Ultra-low power
consumption
oscillation
0
need
1
(B) (D)
(External Subclock)
1
1
×
0
need
1
Not required if set. Not required in the operation of the
subsystem clock.
Note that after the reset is released, only one clock operation mode control register (CMC) can be written through the 8-
bit memory operation command. Not required if set.
Note 1 ×: Ignore
2.Table 4-3(A)~(I) correspond to Figure 4-17(A)~(I).

Table of Contents

Related product manuals