![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 176](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898176.webp)
Chapter 7 Mode Entry Module (MC_ME)
MPC5602P Microcontroller Reference Manual, Rev. 4
176
Freescale Semiconductor
Figure 7-24. 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