Chapter 8 Reset Generation Module (MC_RGM)
MPC5602P Microcontroller Reference Manual, Rev. 4
194
Freescale Semiconductor
8.4.2
Destructive Resets
A ‘destructive’ reset indicates that an event has occurred after which critical register or memory content
can no longer be guaranteed.
The status flag associated with a given ‘destructive’ reset event (RGM_DES.F_<destructive reset> bit) is
set when the ‘destructive’ 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 device’s low-voltage detector threshold ensures that, when 1.2V low-voltage detected is enabled, the
supply is sufficient to have the destructive event correctly propagated through the digital logic. Therefore,
if a given ‘destructive’ reset is enabled, the MC_RGM ensures that the associated reset event will be
correctly triggered to the full system. However, if the given ‘destructive’ reset is disabled and the voltage
goes below the digital functional threshold, functionality can no longer be ensured, and the reset may or
may not be asserted.
An enabled destructive reset will trigger a reset sequence starting from the beginning of PHASE0.
8.4.3
External Reset
The MC_RGM manages the external reset coming from RESET_B. The detection of a falling edge on
RESET_B will start the reset sequence from the beginning of PHASE1.
The status flag associated with the external reset falling edge event (RGM_FES.F_EXR bit) is set when
the external reset is asserted and the power-on reset is not asserted.
The external reset can optionally be disabled by writing bit RGM_FERD.D_EXR.
NOTE
The RGM_FERD register can be written only once between two power-on
reset events.
An enabled external 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
the external reset. When RGM_FESS.SS_EXR is set, the external reset will trigger a reset sequence
starting directly from the beginning of PHASE3, skipping PHASE1 and PHASE2. This can be useful
especially when an external reset should not reset the flash.
The MC_RGM may also assert the external reset if the reset sequence was triggered by one of the
following:
•
a power-on reset
•
a ‘destructive’ reset event
•
an external reset event
•
a ‘functional’ reset event configured via the RGM_FBRE register to assert the external reset
In this case, the external reset is asserted until the end of PHASE3.