![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 195](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898195.webp)
Chapter 8 Reset Generation Module (MC_RGM)
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
195
8.4.4
Functional Resets
A ‘functional’ reset indicates that an event has occurred after which it can be guaranteed that critical
register and memory content is still intact.
The status flag associated with a given ‘functional’ reset event (RGM_FES.F_<functional reset> bit) is set
when the ‘functional’ reset is asserted and the power-on reset is not asserted. It is possible for multiple
status bits to be set simultaneously, and it is software’s responsibility to determine which reset source is
the most critical for the application.
The ‘functional’ reset can be optionally disabled by software writing bit
RGM_FERD.D_<functional reset>.
NOTE
The RGM_FERD register can be written only once between two power-on
reset events.
An enabled functional reset will normally trigger a reset sequence starting from the beginning of PHASE1.
Nevertheless, the RGM_FESS register enables the further configuring of the reset sequence triggered by
a functional reset. When RGM_FESS.SS_<functional reset> is set, the associated ‘functional’ reset will
trigger a reset sequence starting directly from the beginning of PHASE3, skipping PHASE1 and PHASE2.
This can be useful especially in case a functional reset should not reset the flash module.
See the MC_ME chapter for details on the STANDBY0 and DRUN modes.
8.4.5
Alternate Event Generation
The MC_RGM provides alternative events to be generated on reset source assertion. When a reset source
is asserted, the MC_RGM normally enters the reset sequence. Alternatively, it is possible for some reset
source events to be converted from a reset to either a SAFE mode request issued to the MC_ME or to an
interrupt request issued to the core.
Alternate event selection for a given reset source is made via the RGM_FERD and RGM_FEAR registers
as shown in
The alternate event is cleared by deasserting the source of the request (i.e., at the reset source that caused
the alternate request) and also clearing the appropriate RGM_FES status bit.
NOTE
Alternate requests (SAFE mode as well as interrupt requests) are generated
regardless of whether the system clock is running.
Table 8-11. MC_RGM Alternate Event Selection
RGM_FERD
Bit Value
RGM_FEAR
Bit Value
Generated Event
0
X
reset
1
0
SAFE mode request
1
1
interrupt request