cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_TIMEOUT HAL_ADC_PollForConversion

carlesls2
Associate II

What causes the HAL_ADC_PollForConversion to return a HAL_TIMEOUT?

1 ACCEPTED SOLUTION

Accepted Solutions
SirineST
ST Employee

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"

View solution in original post

1 REPLY 1
SirineST
ST Employee

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"