Professional Documents
Culture Documents
Sets all register to their serset value except the reset flogin the clock controller CSR register and the
registers in the Backup domain
Software reset
Can force a system reset by setting the SYSRESETREQ bit in arm cortex and reset control
register
CMSIS function NVIC_SystemReset() can be used to initialite a system reset request
POWER REST
Sets all RTC registers and the RCC_BDCR register to their reset value the BKPSRAM is not affected
by this reset.
The only why of resetting the BKPSRAM is the through the flash interface by requesting a
protection level change from 1 to 0 ;
Generated when one of the following events occurs
Software reset triggred by setting the BDRST bit in the RCC Bachup domain control
register (RCC_BDCR)
VDD or Vbat power on , is both supplies have previously been powred of
Clocks
HSI oscillator clock
32 kHz low speed internal RC (LSI RC) for watchdog and optionnally drives the RTC clock (RTCCLK)
Select the external clock using HSEBYP and HSEON bits in the RCCclock control register (RCC_CR)
Internal 16Mhz RC oscillator and can be used directly as a system clock or used as PLL input
Providing a clock source at low cost (no extenal components)
Faster startup source time than the HSE crystal oscillator however even with calibration
the frequency is less acccurrate than an extenal crystal oscillator or ceramic resonator
HSI calibration is done by ST at factory and calibration data loaded in the HSICAL[7 :0] bits
after reset
Application can also trim the HSI frequency if the application using voltage or temperature
can affect the RC oscillator speed
HSI signal can also be used as a backup source (Auxillary clock) if the HSE crystal oscillator
fails
Main PLL clocked by the HSE or HSi oscillator with two different clock output. One for high speed
system clock (up to 180MHz) and clock for the USB OTG FS 48Mhz the random analog generator
<48Mhz and the SDIO < 48Mhz
Tow dedicated PLL (PLL2ISand PLLSAI) used to generate and accurate clock toarcheive hight quality
audio performance
Main PLLconfiguration is done by choosing the clock source HSI or HSE and configuration of division
factors M, N, P and Q