29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RM0008<br />

Connectivity line devices: reset <strong>and</strong> clock control (RCC)<br />

Low-power management reset<br />

There are two ways to generate a low-power management reset:<br />

1. Reset generated when entering St<strong>and</strong>by mode:<br />

This type of reset is enabled by resetting nRST_STDBY bit in User Option Bytes. In this<br />

case, whenever a St<strong>and</strong>by mode entry sequence is successfully executed, the device<br />

is reset instead of entering St<strong>and</strong>by mode.<br />

2. Reset when entering Stop mode:<br />

This type of reset is enabled by resetting NRST_STOP bit in User Option Bytes. In this<br />

case, whenever a Stop mode entry sequence is successfully executed, the device is<br />

reset instead of entering Stop mode.<br />

For further information on the User Option Bytes, refer to the STM32F10xxx Flash<br />

programming manual.<br />

7.1.2 Power reset<br />

A power reset is generated when one of the following events occurs:<br />

1. Power-on/power-down reset (POR/PDR reset)<br />

2. When exiting St<strong>and</strong>by mode<br />

A power reset sets all registers to their reset values except the Backup domain (see<br />

Figure 4)<br />

These sources act on the NRST pin <strong>and</strong> it is always kept low during the delay phase. The<br />

RESET service routine vector is fixed at address 0x0000_0004 in the memory map. For more<br />

details, refer to Table 53: Vector table for other STM32F10xxx devices on page 172.<br />

Figure 10.<br />

Reset circuit<br />

V DD /V DDA<br />

R PU<br />

External<br />

reset<br />

NRST<br />

Filter<br />

System reset<br />

Pulse<br />

generator<br />

(min 20 µs)<br />

WWDG reset<br />

IWDG reset<br />

Power reset<br />

Software reset<br />

Low-power management reset<br />

ai16095<br />

7.1.3 Backup domain reset<br />

The backup domain has two specific resets that affect only the backup domain (see<br />

Figure 4).<br />

A backup domain reset is generated when one of the following events occurs:<br />

1. Software reset, triggered by setting the BDRST bit in the Backup domain control<br />

register (RCC_BDCR).<br />

2. V DD or V BAT power on, if both supplies have previously been powered off.<br />

Doc ID 13902 Rev 9 105/995

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!