Mode Entry Module (MC_ME)
MPC5606S Microcontroller Reference Manual, Rev. 7
952 Freescale Semiconductor
 
25.4.7 Application Example
Figure 25-26 shows an example application flow for requesting a mode change and then waiting until the 
mode transition has completed.
Figure 25-26. MC_ME Application Example Flow Diagram
START of mode change
config
for target mode
okay?
write ME_<target mode>_MC, 
ME_RUN_PC0…7, ME_LP_PC0…7, 
and ME_PCTL0…143 registers
N
Y
write ME_MCTL with target mode 
and key
write ME_MCTL with target mode 
and inverted key
start timer
S_MTRANS
cleared?
Y
timer
expired?
N
Y
N
write ME_MCTL with current or 
SAFE mode and key
write ME_MCTL with current or 
SAFE mode and inverted key
stop timer
mode change DONE