2021-06-02 01:12 AM
The only HCLK frequency possible is 40MHz (ofcourse i need higher freq)
Please help me resolve this.
Solved! Go to Solution.
2021-06-02 07:51 AM
I have solved it. The issue was: CubeMx could not find proper PLL setup for SDMMC and USB unit. I've made it manually.
2021-06-02 03:37 AM
Hello @Ivan Slivin ,
First let me welcome you to the STM32 Community :smiling_face_with_smiling_eyes:
Thanks for having reported, but I'm unable to reproduce the issue from my side. I can increase the HCLK frequency without problems.
It will be more helpful to attach your .ioc file for further check.
Thanks in advance,
Khouloud.
2021-06-02 03:42 AM
2021-06-02 07:51 AM
2021-06-03 07:24 AM
Hi @Ivan Slivin ,
Glad that your problem is resolved :smiling_face_with_smiling_eyes:
In fact, sometimes STM32CubeMX is not able to resolve automatically some clock issue specially for the somewhat complex clock tree as the case of STM32F746VGTx.
As you have already mentioned the endless search for solution is due to the fact that CubeMx could not find proper PLL setup for SDMMC and USB unit.
The USB OTG FS requires a 48 MHz clock to work correctly. The SDMMC need a frequency lower than or equal to 48 MHz to work correctly.
More details about clock configuration can be found in the STM32F74xxx Reference Manual.
Do not hesitate to raise any problem/ feedback.
Khouloud.