STM32Cube  Version 2.0
Create Projects for STM32H7 Series with STM32Cube HAL and STM32CubeMX
 All Files Functions Variables Macros Pages
Configure System & Clock

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 STM32H746G-Discovery:
ClockConfigurationF7.png
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.