2023-07-06 02:11 AM - edited 2023-07-06 09:06 AM
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
Solved! Go to Solution.
2023-07-06 02:55 AM
OK, I found a solution here. It is a known CubeMX bug.
2023-07-06 02:55 AM
OK, I found a solution here. It is a known CubeMX bug.