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

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

  • March 27, 2022
  • 6 replies
  • 3018 views

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.

6 replies

TDK
Super User
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
TDKAnswer
Super User
March 27, 2022
"If you feel a post has answered your question, please click ""Accept as Solution""."
xgn
xgnAuthor
Associate II
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 II
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!