Tutorials; Wizard Mode; Figure 3. Wizard Mode User Interface - ST STM32F0 Series Application Note

Clock configuration too
Hide thumbs Also See for STM32F0 Series:
Table of Contents

Advertisement

Tutorials

3
Tutorials
This section describes how to use the clock tool to configure all system clocks and generate
the system_stm32f0xx.c file. Two modes are available: Wizard and Expert. The selection is
made in the Configuration mode list box.
3.1

Wizard mode

This mode (default mode) guides you through a series of steps to obtain the desired clock
system configuration quickly and easily.
Figure 3.
Wizard mode user interface
Note:
The 'Reset' button permits the system clock for the default configuration to be set.
The wizard guides you through the following steps:
1.
Set the HSE frequency (if is used in your application) between a minimum of 4 MHz,
and a maximum of 32 MHz if a crystal oscillator is used for the STM32F0xx. If the
frequency entered is out of range, an error message is displayed, and a valid frequency
must be entered.
The definition of HSE_VALUE in the stm32f0xx.h file must be modified each time the
user changes the HSE oscillator value.
2.
Configure the Prefetch buffer (select ON or OFF from the list box).
3.
Specify if the I2S clock is needed. If needed, enable it and follow steps 7, 8 and 9.
Otherwise, go to step 4.
4.
Set the desired HCLK frequency. If the value entered is higher than the maximum
HCLK frequency, an error message is displayed.
5.
Select the PCLK1 and PCLK2 prescaler settings from the list box to obtain the desired
PCLK1 and PCLK2 frequencies. The TIMCLK frequencies are configured automatically
depending on the PCLK1 and PCLK2 prescaler settings.
10/17
Doc ID 022837 Rev 1
AN4055

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents