Reset and clock control (RCC) RM0453
286/1450 RM0453 Rev 5
7 Reset and clock control (RCC)
7.1 Reset
There are three types of reset, defined as system reset, power reset and backup domain
reset.
7.1.1 Power reset
A power reset is generated when one of the following events occurs:
• a Brownout reset (BOR)
• when exiting from Standby mode
• when exiting from Shutdown mode
A Brownout reset, including power-on or power-down reset (POR/PDR), sets all registers to
their reset values except the backup domain.
When exiting Standby mode, all registers in the V
CORE
domain are set to their reset value.
Registers outside the V
CORE
domain (RTC, WKUP, IWDG and Standby/Shutdown modes
control) are not impacted.
When exiting Shutdown mode, a Brownout reset is generated, resetting all registers except
those in the backup domain.
7.1.2 System reset
A system reset sets all registers to their reset values unless otherwise specified in the
register description.
A system reset is generated when one of the following events occurs:
• a low level on the NRST pin (external reset)
• window watchdog event (WWDG reset)
• independent watchdog event (IWDG reset)
• a software reset (SW reset) (see Software reset)
• low-power mode security reset (see Low-power mode security reset)
• option byte loader reset (see Option byte loader reset)
• a Brownout reset
• an illegal sub-GHz radio access (sub-GHz radio protocol error reset) (only valid for non
LoRa devices, STM32WL54xx)
The reset source can be identified by checking the reset flags in the control/status register,
RCC_CSR (see Section 7.4.31: RCC control/status register (RCC_CSR)).
These sources act on the NRST pin, that is always kept low during the delay phase. The
CPU1 RESET service routine vector is selected via the BOOT0 and BOOT1.
The system reset signal provided to the device is output on the NRST pin. The pulse
generator guarantees a minimum reset pulse duration of 20 µs for each internal reset
source. In case of an external reset, the reset pulse is generated while the NRST pin is
asserted low.