
November 2011 Doc ID 018603 Rev 2 1/21
AN3362
Application note
Clock configuration tool for STM32F2xx microcontrollers
Introduction
This application note presents the clock system configuration tool for the STM32F2xx
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 “STM32F2xx_Clock_Configuration_VX.Y.Z.xls”
file which can be downloaded from www.st.com.
This tool supports the following functionalities for the STM32F2xx:
● 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), USBCLK, and I2SCLK
frequencies.
● Generation of a ready-to-use system_stm32F2xx.c file with all the above settings
(STM32F2xx CMSIS Cortex-M3 Device Peripheral Access Layer System Source File).
The STM32F2xx_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 STM32F2xx microcontroller reference
manual (RM0033). This application note is not a substitute for the reference manual.
This tool supports only revision B and revision Y of the STM32F2xx.
Note: For VX.Y.Z, please refer to the tool version, example V1.0.0
www.st.com