Skip to main content
Graduate II
March 24, 2025
Solved

HAL_TIMEOUT HAL_ADC_PollForConversion

  • March 24, 2025
  • 1 reply
  • 498 views

What causes the HAL_ADC_PollForConversion to return a HAL_TIMEOUT?

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

    Hello @carlesls2 

    if HAL_ADC_PollForConversion() returns HAL_TIMEOUT status this is because ADC_SR_EOC bit is not set (0: Conversion not complete)

    With regards

    1 reply

    SirineSTAnswer
    ST Employee
    March 24, 2025

    Hello @carlesls2 

    if HAL_ADC_PollForConversion() returns HAL_TIMEOUT status this is because ADC_SR_EOC bit is not set (0: Conversion not complete)

    With regards