cancel
Showing results for 
Search instead for 
Did you mean: 

SystemClock_Config code is missing generated from STM32CubeMX in STM32H7R7L8H6H

Jack2025
Associate II

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.

Jack2025_1-1752203990192.png

Jack2025_0-1752203917564.png

Jack2025_2-1752204267550.png

 

 

6 REPLIES 6
TDK
Super User

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.

 

If you feel a post has answered your question, please click "Accept as Solution".

Thank you for your assistance. I've updated my software to the latest version, but the issue still persists. I've already uploaded the IOC file. Could you please take a look at it for me?

The problem has been solved. Thank you very much for your help.

How did you solve it?

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)

Ghofrane GSOURI
ST Employee

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.