|
PXD20RM Datasheet, PDF (1306/1628 Pages) Freescale Semiconductor, Inc – PXD20 Microcontroller | |||
|
◁ |
37.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 âdestructiveâ reset can be optionally disabled by writing bit RGM_DERD.D_<destructive reset.
NOTE
The RGM_DERD register can be written only once between two power-on
reset events.
The deviceâs low-voltage detector threshold ensures that, when 1.2V low-voltage detected (power domain
#0) 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.
37.4.3 External Reset
The MC_RGM manages the external reset coming from RESET. The detection of a falling edge on RESET
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
37-30
PXD20 Microcontroller Reference Manual, Rev. 1
PreliminaryâSubject to Change Without Notice
Freescale Semiconductor
|
▷ |