English
Language : 

S912XHZ512F1VAG Datasheet, PDF (354/978 Pages) Freescale Semiconductor, Inc – Covers MC9S12XHZ384, MC9S12XHZ256
Chapter 7 Clocks and Reset Generator (S12CRGV6)
A number greater equal than 4096 rising OSCCLK edges within a check window is called osc ok. Note that
osc ok immediately terminates the current check window. See Figure 7-19 as an example.
check window
1
2
3
VCO
Clock
49999
OSCCLK
12345
4096
4095
osc ok
Figure 7-19. Check Window Example
The sequence for clock quality check is shown in Figure 7-20.
50000
Clock OK
CM fail
POR
LVR
exit full stop
SCME = 1 & yes num = 0
FSTWKP = 1
?
no
no
Enter SCM
Clock Monitor Reset
FSTWKP = 0
?
yes
num = 50
check window
osc ok
no
?
yes
SCM
yes
active?
no
Enter SCM
yes
num=num–1
yes
no
num > 0
?
no
SCM
active?
yes
SCME=1 no
?
num = 0
Switch to OSCCLK
Exit SCM
Figure 7-20. Sequence for Clock Quality Check
MC9S12XHZ512 Data Sheet, Rev. 1.06
354
Freescale Semiconductor