Chapter 5 Clocks and Reset Generator (S12CRGV6)

MC9S12XDP512 Data Sheet, Rev. 2.11
300 Freescale Semiconductor
Figure 5-22. Stop Mode Entry/Exit Sequence
Exit Stop w.
CMRESET
Exit
Stop Mode
Enter
SCM
Exit
Stop Mode
Core req’s
Stop Mode.
Clear PLLSEL,
Disable PLL
CME=1
?
INT
?
CM fail
?
SCME=1
?
SCMIE=1
?
Continue w.
normal OP
No
No
no
No
Yes
Yes
Yes
Yes
Yes
Generate
SCM Interrupt
(Wakeup from Stop)
Enter
Stop Mode
Exit Stop w.
ext.RESET
Stop Mode left
due to external reset
Clock
OK
?
SCME=1
?
Enter
SCM
Yes
No
Yes
Exit Stop w.
CMRESET
No
No
No
PSTP=1
?
INT
?
YesNo
Yes
Exit
Stop Mode
Exit
Stop Mode
SCM=1
?
Enter
SCM
No
Yes
Yes
No
SCME=1 &
FSTWKP=1
?
Exit
Stop Mode
Enter SCM
SCMIF not
set!