cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_PWREx_EnableVddA(); was not generated when enabling ADC1.

MCseh.377
Associate II

I configured ADC1 in CubeMX for a NUCLEO-U575ZI-Q board. When testing my application HAL_ADC_Enable(); returned error, RDYFLAG was not set after the timeout.

When comparing my configuration to an example I discovered that HAL_PWREx_EnableVddA(); is not called in SystemPower_Config();. The issue got resolved with enabling vdda.

I wonder if this is a code generation bug or I made some mistakes during configuration.

1 ACCEPTED SOLUTION

Accepted Solutions
Ghofrane GSOURI
ST Employee

Hello @MCseh.377​ 

First let me thank you for posting.

I assume this is the exact same issue already reported to the development team and tracked by the Ticket 102476 and that will be fixed as soon as possible.

Thx

Ghofrane

View solution in original post

1 REPLY 1
Ghofrane GSOURI
ST Employee

Hello @MCseh.377​ 

First let me thank you for posting.

I assume this is the exact same issue already reported to the development team and tracked by the Ticket 102476 and that will be fixed as soon as possible.

Thx

Ghofrane