2025-07-10 8:32 PM
Hello,
I configured the RCC in STM32CubeMX, but the generated Keil code doesn't contain the SystemClock_Config function. Can anyone help me solve this problem? The device model is STM32H7R7L8H6H.
Thanks in advance.
2025-07-10 9:07 PM - edited 2025-07-10 9:08 PM
Update CubeMX to the latest. If it still happens, please include an IOC file.
It may also be initialized in the bootloader in which case it doesn't need re-initialized in application.
2025-07-10 9:36 PM
2025-07-10 10:23 PM
The problem has been solved. Thank you very much for your help.
2025-07-15 5:34 AM
How did you solve it?
2026-06-02 11:38 PM
Do you have an FSBL and Application code? - if yes: SystemClock_Config is generated in the FSBL only, and not in the Application... So when you debug your Application, the clock config doesn't get set... (using the N6, but I assume the same happens on the H7, since they are quite similar, I guess)
2026-06-03 12:16 AM
Hello @Jack2025
Please try to use the latest version of STM32CubeMX6.17.0 .
Link for download :STM32CubeMX | Software - STMicroelectronics
I will be waiting for your feedback.
THX
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.