2021-08-11 02:22 AM
I use STM32H750XB microcontroller for my project. I am able to configure clock for 480Mhz without using "Resolve Clock Issues" help. But if I use "Resolve Clock Issues" even once, then I get problem like the attached image. There is a calculation error right? Output of PLL give consistently 483Mhz and gives such error for different prescale numbers. I am new with STM uCs, I appreciate any help. Thank you.
Solved! Go to Solution.
2021-08-11 05:21 AM
Hello @OERCA.1 ,
Let me first welcome you to STM32 community and thank you for having reporting :smiling_face_with_smiling_eyes:
If I well understood , your problem is with the calculation of system clock SYSCLK value which is exceeding the maximum allowed frequency (480 MHz).
If this the case, and referring to you your attached screenshots, you're setting the fracn1 value to 3072.
Backing STM32H750XB Reference manual to the VCO output frequency will be calculated as follow:
VCO output frequency = Fref1_ck x (DIVN1 + (FRACN1 / 2^13)), with
> But if I use "Resolve Clock Issues" even once, then I get problem like the attached image
From my side trying "Resolve Clock Issues" button have resolved the clock problem by setting fracn1 to 0. It will be helpful if you attach your .ioc for further check.
Hope this answers your question.
Khouloud.
2021-08-11 04:45 AM
It probably says a solution couldn't be found.
Go into RCC and ensure you have VOS level 0 selected.
If that doesn't work, please attach your IOC if you can.
2021-08-11 05:21 AM
Hello @OERCA.1 ,
Let me first welcome you to STM32 community and thank you for having reporting :smiling_face_with_smiling_eyes:
If I well understood , your problem is with the calculation of system clock SYSCLK value which is exceeding the maximum allowed frequency (480 MHz).
If this the case, and referring to you your attached screenshots, you're setting the fracn1 value to 3072.
Backing STM32H750XB Reference manual to the VCO output frequency will be calculated as follow:
VCO output frequency = Fref1_ck x (DIVN1 + (FRACN1 / 2^13)), with
> But if I use "Resolve Clock Issues" even once, then I get problem like the attached image
From my side trying "Resolve Clock Issues" button have resolved the clock problem by setting fracn1 to 0. It will be helpful if you attach your .ioc for further check.
Hope this answers your question.
Khouloud.
2021-08-11 05:55 AM
thank you for your answer
2021-08-11 05:59 AM
Thank you:smiling_face_with_smiling_eyes: When I changed frocn1 to 0, I am again able to set it 480 Mhz. Thank you for your answer
Okan,