English
Language : 

MC9S12G Datasheet, PDF (892/1160 Pages) Freescale Semiconductor, Inc – Ignores external trigger. Performs one conversion sequence and stops.
96 KByte Flash Module (S12FTMRG96K1V1)
START
Read: FCLKDIV register
no
Clock Divider
Value Check
FCCOB
Availability Check
FDIV
Correct?
yes
no Read: FSTAT register
CCIF
Set?
yes
Note: FCLKDIV must be
set after each reset
Read: FSTAT register
Write: FCLKDIV register
no
CCIF
Set?
yes
Results from previous Command
Access Error and
Protection Violation
Check
ACCERR/
yes
FPVIOL
Set?
no
Write to FCCOBIX register
to identify specific command
parameter to load.
Write: FSTAT register
Clear ACCERR/FPVIOL 0x30
Write to FCCOB register
to load required command parameter.
More
yes
Parameters?
no
Write: FSTAT register (to launch command)
Clear CCIF 0x80
Read: FSTAT register
Bit Polling for
Command Completion
Check
CCIF Set?
no
yes
EXIT
Figure 25-26. Generic Flash Command Write Sequence Flowchart
MC9S12G Family Reference Manual, Rev.1.01
892
Freescale Semiconductor
This document is valid for the S12G96 and the S12G128 device. All information related to other devices is preliminary.