AnsweredAssumed Answered

missing adc samples with ADuC702x

Question asked by ABuda on Dec 19, 2012
Latest reply on Dec 19, 2012 by AudeR

I'm using the ADuC7029 to sample 4 different channels sequencially on timer 0 and every now and then I seem to be missing the sample corresponding to one of the channels.

 

I've done some investigation and it seems to depend whether I change ADC_CP during the aquisition phase or the conversion phase of sampling.

This happens because my code doesn't always take the same amount of time to run.

 

I was under the impression that if I change ADC_CP while the ADC is busy that the ADC would restart the sampling. Is that Incorrect?

 

Thank you.

Outcomes