Skip to main content
Wolfgang Pupp
Associate III
July 30, 2021
Solved

STM32H7/CubeMX bug with ADC3 and LL when using VREF/TEMP

  • July 30, 2021
  • 2 replies
  • 845 views

When configuring ADC3 for VREF and/or TEMP acquisition then the necessary call to

LL_ADC_SetCommonPathInternalCh(ADC3_COMMON, LL_ADC_PATH_INTERNAL_TEMPSENSOR | LL_ADC_PATH_INTERNAL_VREFINT);

is not made. This is necessary for those channels to function correctly.

Workaround:

Call the internal path configuration function manually, followed by the proper delay before starting the ADC.

Affected (also all older version AFAIK):

STMCubeMX: 6.3.0

STMCubeIDE: 1.7.0

Both using STM32Cube FW_H7 V1.9.0

Occured with: STM32H730VBH (TFBGA100 Package)

This topic has been closed for replies.
Best answer by Khouloud ZEMMELI

Hi @Wolfgang Pupp​ ,

I have checked from my side, and I confirm the issue, you're right.

Thanks for raising this problem to our attention and sorry for any inconvenience that may have caused, issue will be fixed.

Khouloud

2 replies

Khouloud ZEMMELI
ST Employee
August 2, 2021

Hello @Wolfgang Pupp​ ,

Thank you for your post,

I'll check it then I'll get back to you.

Khouloud

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
August 5, 2021

Hi @Wolfgang Pupp​ ,

I have checked from my side, and I confirm the issue, you're right.

Thanks for raising this problem to our attention and sorry for any inconvenience that may have caused, issue will be fixed.

Khouloud