Skip to main content
carlesls2
Associate III
March 24, 2025
Solved

HAL_TIMEOUT HAL_ADC_PollForConversion

  • March 24, 2025
  • 1 reply
  • 520 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

SirineSTBest answer
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

"If your question is answered, please close this topic by clicking ""Accept as Solution"""