Skip to main content
Associate
November 4, 2024
Solved

Issue with Clock Configuration for FK723M1-ZGT6 using an H723ZGT6 in CubeMX 6.12.1

  • November 4, 2024
  • 2 replies
  • 2675 views

When I try setting up to use an external 10MHz reference clock on the HSE with a divisor of 1 and a multiplier of 25 it insist the frequency will be 255MHz but shouldn't it be 250MHz,  Similarly for every multiplier I have tried the frequency is 5MHz off.

See attached screen shot from CubeMX.

 

Thanks

Chris.

Best answer by AScha.3

>it insist the frequency will be 255MHz but shouldn't it be 250MHz

Maybe - its right ? Because you set the fractional divider ....set it to zero, then try again.

 

AScha3_0-1730750051369.png

btw

AScha3_0-1730756425434.png

You set 4096 , so it gives F= Fref x (divn + 0,5 ); with Fref 10MHz, you get 5 MHz "added" .

2 replies

AScha.3
AScha.3Best answer
Super User
November 4, 2024

>it insist the frequency will be 255MHz but shouldn't it be 250MHz

Maybe - its right ? Because you set the fractional divider ....set it to zero, then try again.

 

AScha3_0-1730750051369.png

btw

AScha3_0-1730756425434.png

You set 4096 , so it gives F= Fref x (divn + 0,5 ); with Fref 10MHz, you get 5 MHz "added" .

"If you feel a post has answered your question, please click ""Accept as Solution""."
ZaphodbeAuthor
Associate
November 5, 2024

That was it thanks.  Didn't realize that was a parameter I could change.  I started it with 0 and some point I guess it had changed it.

Tesla DeLorean
Guru
November 4, 2024
Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
ZaphodbeAuthor
Associate
November 5, 2024

Changed it to external 10MHz reference.