Tool/software:
hi expert
When ADC conversion is not converted. now i read the ADC result, is it the last conversion result or a random value?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
hi expert
When ADC conversion is not converted. now i read the ADC result, is it the last conversion result or a random value?
Can any experts provide a response?
Hello youjun,
If any conversion has previously occurred, then the value of that conversion says in the ADC result register until another conversion has fully completed. If no conversion has been performed since the last device reset or power up, then the result register reads 0 (reset value).
Best regards,
Ibukun
hello
i have 4 SOCs to conver periodly,now 2 socs conversion has fully completed,now i read the third soc,the third result is the last conversion result or a random value?
Each SOC has its own dedicated result register. There are no random values. When you read result register ADCRESULTy, you get the result of the most recently completed conversion of SOCy. The only exception is if this read occurs before SOCy has completed its first conversion after a reset; in this case the result register reads 0 (its reset value).
Best regards,
Ibukun