Skip to main content
Wolfgang Pupp
Associate III
Jul 30, 2021 3:23 PM UTC
Solved

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

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.
Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
Aug 5, 2021 10:29 AM UTC

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
Aug 2, 2021 10:04 AM UTC

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
Aug 5, 2021 10:29 AM UTC

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