Skip to main content
MCseh.377
Associate
May 17, 2023
Solved

HAL_PWREx_EnableVddA(); was not generated when enabling ADC1.

  • May 17, 2023
  • 1 reply
  • 1383 views

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.

This topic has been closed for replies.
Best answer by Ghofrane GSOURI

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

1 reply

Ghofrane GSOURI
Ghofrane GSOURIBest answer
Technical Moderator
May 17, 2023

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.