Skip to main content
xgn
Associate III
March 27, 2022
Solved

ADC Clock settings (PLL2) missing for STM32H743 after update from CubeMX v6.4.0 to 6.5.0

Hello,

After Migrating my STM32H743ZITx project from CubeMX version 6.4.0 to 6.5.0, ADC stopped working (stucks at ADC_Calibration function).

Found out that in v6.5.0 ADC Clock settings were removed for some reason.

Please see comparison below:

0693W00000LvsVBQAZ.png0693W00000LvsVGQAZ.png 

Also compared generated adc.c files. All Pheripheral Clock Init settings are missing.

0693W00000LvsWOQAZ.png 

 Is it a bug or a feature? How this problem could be solved using the latest CubeMX version.

Thanks in advance.

This topic has been closed for replies.
TDK
TDKBest answer
March 27, 2022

https://community.st.com/s/question/0D73W000001O3S0SAK/detail?s1oid=00Db0000000YtG6&s1nid=0DB0X000000DYbd&emkind=chatterCommentNotification&s1uid=0050X000007vmts&emtm=1648116562796&fromEmail=1&s1ext=0

Absurd that they don't catch blatantly incorrect stuff like this before it's released.

"If you feel a post has answered your question, please click ""Accept as Solution""."

6 replies

TDK
March 27, 2022

It's a known bug. I will try to find a thread that states this.

"If you feel a post has answered your question, please click ""Accept as Solution""."
TDK
TDKBest answer
March 27, 2022
"If you feel a post has answered your question, please click ""Accept as Solution""."
xgn
xgnAuthor
Associate III
March 27, 2022

@TDK​ Thanks. Waiting for the issue to be fixed in the following release.

ADunc.1
Senior
June 13, 2022

Did you ever get any resolution on this? I just found exactly the same thing (using STM32H753).

xgn
xgnAuthor
Associate III
June 13, 2022

Hi @Community member​ 

You have two options here:

a) roll back to the previous version of CubeMX and H7FW

b) copy/paste the necessary code block for ADC from the old project if you have such

It is unbelievable that for 3 months so far STM has not released any update on this.

ADunc.1
Senior
June 13, 2022

I did roll it back. I would rather that than have to manually change the code each time. Hopefully next release they will fix it. It took 2.5 years to fix the H7 Ethernet drivers so I am not holding my breath!