下载
August 2013 DocID022298 Rev 2 1/20
AN3988
Application note
Clock configuration tool for STM32F40xx/41xx/427x/437x
microcontrollers
Introduction
This application note presents the clock system configuration tool (STSW-STM32091) for
the STM32F4xx 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 "STM32F4xx_Clock_Configuration_VX.Y.Z.xls"
file which is supplied with this application note and can be downloaded from
www.st.com.
This tool supports the following functionalities for the STM32F4xx:
• 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_stm32f4xx.c file with all the above settings
(STM32F4xx CMSIS Cortex-M4 Device Peripheral Access Layer System Source File).
The STM32F4xx_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 STM32F4xx microcontroller reference
manual (RM0090). This application note is not a substitute for the reference manual.
Note: For VX.Y.Z, please refer to the tool version, example V1.0.0
www.st.com