29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

RM0008<br />

7 Connectivity line devices: reset <strong>and</strong> clock control<br />

(RCC)<br />

Low-density devices are <strong>STM32F101xx</strong>, <strong>STM32F102xx</strong> <strong>and</strong> <strong>STM32F103xx</strong><br />

microcontrollers where the Flash memory density ranges between 16 <strong>and</strong> 32 Kbytes.<br />

Medium-density devices are <strong>STM32F101xx</strong>, <strong>STM32F102xx</strong> <strong>and</strong> <strong>STM32F103xx</strong><br />

microcontrollers where the Flash memory density ranges between 64 <strong>and</strong> 128 Kbytes.<br />

High-density devices are <strong>STM32F101xx</strong> <strong>and</strong> <strong>STM32F103xx</strong> microcontrollers where the<br />

Flash memory density ranges between 256 <strong>and</strong> 512 Kbytes.<br />

Connectivity line devices are <strong>STM32F105xx</strong> <strong>and</strong> STM32F107xx microcontrollers.<br />

This Section applies to all connectivity line devices, unless otherwise specified.<br />

7.1 Reset<br />

There are three types of reset, defined as system Reset, power Reset <strong>and</strong> backup domain<br />

Reset.<br />

7.1.1 System reset<br />

A system reset sets all registers to their reset values except the reset flags in the clock<br />

controller CSR register <strong>and</strong> the registers in the Backup domain (see Figure 4).<br />

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

1. A low level on the NRST pin (external reset)<br />

2. Window watchdog end of count condition (WWDG reset)<br />

3. Independent watchdog end of count condition (IWDG reset)<br />

4. A software reset (SW reset) (see Section : Software reset)<br />

5. Low-power management reset (see Section : Low-power management reset)<br />

The reset source can be identified by checking the reset flags in the Control/Status register,<br />

RCC_CSR (see Section 7.3.10: Control/status register (RCC_CSR)).<br />

Software reset<br />

The SYSRESETREQ bit in Cortex-M3 Application Interrupt <strong>and</strong> Reset Control Register<br />

must be set to force a software reset on the device. Refer to the Cortex-M3 technical<br />

reference manual for more details.<br />

104/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!