cancel
Showing results for 
Search instead for 
Did you mean: 

STm32H745 M4 Clock limitation problem

yuri CH
Senior

Hi! I am working with the dual core STM32H745 nucleo board, currently on the M4 core.

I am having trouble with configuring my wanted system clock frequency.

I want the clock to be 200 MHz and accordingally i try to set it in the CubeMX clock config interface (a snapshot added) 0693W00000GYfaCQAT.png 

also i use the following power configurations:

0693W00000GYfdQQAT.png 

After the code is generated the system clock is 64Mhz.

(checked with scope and HAL_RCC_GetHCLKFreq() function).

Please help me understand how can i increase the sysclock frequency and what am i doing wrong in my configurations?

thanks alot!

13 REPLIES 13

Hello,

Could you please share your .ioc file or a screenshot of the clock configuration ?

Thanks,

Sara.

 
Sara BEN HADJ YAHYA
ST Employee

Hello,

I reproduced the issue on my side and I didn't see any issue, the SYSCLK is set to 400 MHz in my case. when I test the HAL_RCC_GetSysClockFreq() and HAL_RCC_GetHCLKFreq() I get respectively 400MHz and 200MHz. The 400MHz correspond to SYSCLK and the 200MHz correspond to HCLK which is correct.

The test is done on both CM7 and CM4 context and the result is the same.

Could you please share your project with us to see the issue.

Regards,

Sara.

Ok, I think I my code was wrong and I was not doing proper sync between the cores, resulting in reading the CM4 frequency before clock configuration.