Skip to main content
TDJ
Senior III
July 6, 2023
Solved

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

  • July 6, 2023
  • 1 reply
  • 1848 views

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

This topic has been closed for replies.
Best answer by TDJ

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

1 reply

TDJ
TDJAuthorBest answer
Senior III
July 6, 2023

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