Clocks And Startup - STMicroelectronics STM32F042G4 Manual

Arm-based 32-bit mcu, up to 32 kb flash, crystal-less usb fs 2.0, can, 8 timers, adc & comm. interfaces, 2.0 - 3.6 v
Hide thumbs Also See for STM32F042G4:
Table of Contents

Advertisement

Functional overview
3.6

Clocks and startup

System clock selection is performed on startup, however the internal RC 8 MHz oscillator is
selected as default CPU clock on reset. An external 4-32 MHz clock can be selected, in
which case it is monitored for failure. If failure is detected, the system automatically switches
back to the internal RC oscillator. A software interrupt is generated if enabled. Similarly, full
interrupt management of the PLL clock entry is available when necessary (for example on
failure of an indirectly used external crystal, resonator or oscillator).
Several prescalers allow the application to configure the frequency of the AHB and the APB
domains. The maximum frequency of the AHB and the APB domains is 48 MHz.
Additionally, also the internal RC 48 MHz oscillator can be selected for system clock or PLL
input source. This oscillator can be automatically fine-trimmed by the means of the CRS
peripheral using the external synchronization.
16/117
DocID025832 Rev 2
STM32F042xx

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F042G4 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents