Mode Entry Module (MC_ME)
MPC5606S Microcontroller Reference Manual, Rev. 7
934 Freescale Semiconductor
 
• The first time with the value of the key (0x5AF0) into the KEY bit field and the required target 
mode into the TARGET_MODE bit field,
• And the second time with the inverted value of the key (0xA50F) into the KEY bit field and the 
required target mode into the TARGET_MODE bit field.
Once a valid mode transition request is detected, the target mode configuration information is loaded from 
the corresponding ME_<mode>_MC register. The mode transition request may require a number of cycles 
depending on the programmed configuration, and software should check the S_CURRENT_MODE bit 
field and the S_MTRANS bit of the global status register ME_GS to verify when the mode has been 
correctly entered and the transition process has completed. For a description of valid mode requests, please 
refer to Section 25.4.5, Mode transition interrupts.
Any modification of the mode configuration register of the currently selected mode will not be taken into 
account immediately but on the next request to enter this mode. This means that transition requests such 
as Run0…3  Run0…3, DRUN  DRUN, Safe  Safe, and Test  Test are considered valid mode 
transition requests. As soon as the mode request is accepted as valid, the S_MTRANS bit is set until the 
status in the ME_GS register matches the configuration programmed in the respective ME_<mode>_MC 
register.
Figure 25-24. MC_ME mode diagram
STANDBY
SAFE
DRUN
TEST
RESET
RUN0
RUN1
HALT
STOP
SYSTEM MODES USER MODES
software
request
non-recoverable
failure
recoverable
hardware
failure
RUN2
RUN3
software
request