How to enable ADC1 on NUCLEO-U575ZI-Q?
I work with STM32CubeIDE 1.9.0, STM32CubeMX 6.5.0, and STM32Cube FW_U5 V1.1.0, on a NUCLEO-U575ZI-Q.
I created a new project for this specific board, and left everything by default.
I need to use the ADC1, wich is enabled by default.
I start with this call:
HAL_ADC_Start(&hadc1);
And it never succeed. Digging deeper, there seem to be a timeout on the ADC1 activation. The register bit ADC_CR_ADEN is set but the corresponding flag ADC_FLAG_RDY never rise.
For information, the ADC voltage regulator was successfuly enabled during system initialization (ADVREGEN set to 1, wait for a time, then check that the corresponding flag is risen). Before rising ADC_CR_ADEN, all bits of the register ADC CR is are low (except ADVREGEN = 1). According to the RM for STM32U575, this is the only condition before enabling the ADC.
Did I miss something in the reference manual, or in the code? Is there something wrong with my STM32U575 chip?
