Clock configuration tool for STM32F0xx microcontrollers
Introduction
This application note presents the clock system configuration tool for the STM32F0xx
microcontroller family.
The purpose of this tool is to help the user configure the microcontroller clocks, taking into
consideration product parameters such as power supply and Flash access mode.
The configuration tool is implemented in the "STM32F0xx_Clock_Configuration_VX.Y.Z.xls"
file which is supplied with the STM32F0xx Standard Peripherals Library and can be
downloaded from www.st.com.
This tool supports the following functionalities for the STM32F0xx:
●
Configuration of the system clock, HCLK source and output frequency
●
Configuration of the Flash latency (number of wait states depending on the HCLK
frequency)
●
Setting of the PCLK1, PCLK2, TIMCLK (timer clocks) and I2SCLK frequencies
●
Generation of a ready-to-use system_stm32f0xx.c file with all the above settings
(STM32F0xx CMSIS Cortex-M0 Device Peripheral Access Layer System Source File)
The STM32F0xx_Clock_Configuration_VX.Y.Z.xls is referred to as "clock tool" throughout
this document.
Before using the clock tool, it is essential to read the STM32F0xx microcontroller reference
manual (RM0091). This application note is not a substitute for the reference manual.
This tool supports only the STM32F0xx devices.
For VX.Y.Z, please refer to the tool version, example V1.0.0
May 2012
Doc ID 022837 Rev 1
AN4055
Application note
1/17
www.st.com
Need help?
Do you have a question about the STM32F0 Series and is the answer not in the manual?
Questions and answers