cancel
Showing results for 
Search instead for 
Did you mean: 

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

Zaphodbe
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
AScha.3
Chief III

>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".

View solution in original post

4 REPLIES 4
AScha.3
Chief III

>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".

Doesn't it have a 25 MHz crystal?

https://community.st.com/ysqtg83639/attachments/ysqtg83639/mcu-boards-hardware-tools-forum/18174/1/FK723M1-ZGT6-Schematic.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

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.

Changed it to external 10MHz reference.