cancel
Showing results for 
Search instead for 
Did you mean: 

ADC fails to start on STM32U575 (Nucleo-U575ZI-Q)

TDJ
Lead

I have a very simple ADC setup for one-time conversion, only one Vrefint channel enabled, no DMA, ADC clock is 16MHz, MX_ADC4_Init() called with no error.
HAL_ADC_Start() fails due to a timeout internally waiting for ADC_FLAG_RDY to be set in ADC_Enable() function.
I am clueless, identical setup on STM32H7A3 works with not problems.
CubeMX is the latest 6.8.1, hardware package STM32Cube FW_U5 V1.2.0

ADC-Error1.png

1 ACCEPTED SOLUTION

Accepted Solutions
TDJ
Lead

OK, I found a solution here. It is a known CubeMX bug.

View solution in original post

1 REPLY 1
TDJ
Lead

OK, I found a solution here. It is a known CubeMX bug.