To configure clock and system peripherals of the STM32 microcontroller:
- Configure RCC: Reset and Clock Control parameters
- Enter the parameters for the Clock Configuration.
The STM32CubeMX configuration steps are listed below in bold.
Pinout tab
- Open RCC (Reset and Clock Control) and setup the clock generation.
Clock Configuration tab
- Enter the parameters for the clock system. The parameters below are valid for STM3220G-EVAL:
- Note
- Once you use Generate Code in STM32CubeMX, the relevant STM32Cube HAL components are added to the MDK project. Refer to Setup STM32Cube Framework - STM32CubeMX for more information about the overall process.