28.6.1 Basic Operation

Initialization

After a Power-on Reset, the RSTC is enabled and the Reset Cause (RCAUSE) register indicates the Reset source.

Enabling, Disabling, and Resetting

The RSTC module is always enabled.

Reset Causes and Effects

The latest Reset cause is available in the RCAUSE register and can be read during the application boot sequence to determine proper action.

These are the groups of Reset sources:

  • Power supply Reset: Resets caused by an electrical issue. It covers POR and PORCORE resets.
  • Brown-out Reset: Resets caused by BORVDDx detectors.
  • User Reset: Resets caused by the application. It covers external Resets, system Reset requests, CPU Lockup Reset and Watchdog Timer Reset.
  • Backup Reset: Reset cause when leaving Backup or Hibernate mode due to wake event RTC, or RESET.

The following table lists the parts of the device that are reset, depending on the Reset type.

Table 28-2. Effects of Reset Causes
Effect:

Reset:

CPU Logic,

Bus Logic

RTC(1), OSC32KCTRL, BKOUT, BOR(2),

SUPC, VREGCTRL & VREFCTRL(3) registers,

CTRLA bits of PM

Flash Panel Controller Debug Logic Other

Modules

POR, PORCOREResetResetResetResetReset
External Reset

BORVDDx

ResetNo ResetNo ResetResetReset
WDT Reset

Lockup Reset

System Reset Request

ResetNo ResetNo ResetNo ResetReset
RTC - No ResetResetReset-
Note:
  1. RTC.DBGCTRL is reset in Backup Sleep mode.
  2. The BOR register is retained during Backup mode and is not reset when exiting.

The external Reset is generated when pulling the RESET pin low.

The POR, PORCORE, and BORVDDx (for example, BORVDDA, BORVDDREG) Reset sources are generated by the analog modules inside the PWR_SMOR or PWR_SMOR_DS controlled by the Supply Controller Interface (SUPC).

The WDT Reset is generated by the Watchdog Timer (WDT).

The System Reset Request is a Reset generated by the CPU when asserting the SYSRESETREQ bit located in the Reset Control register of the CPU. For additional information, refer to the “Arm® Cortex® Technical Reference Manual” which is available for download at www.arm.com).

The Lockup Reset is a Reset generated by the CPU when it enters a lockup state. For additional information, refer to the “Arm® Cortex® Technical Reference Manual” which is available for download at www.arm.com).