cancel
Showing results for 
Search instead for 
Did you mean: 

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

xgn
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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

View solution in original post

6 REPLIES 6
TDK
Guru

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
Guru

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".
xgn
Associate II

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

ADunc.1
Senior

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

xgn
Associate II

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

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!