AnsweredAssumed Answered

Time Slot Between two Sample in ADC

Question asked by Utsavi Kalpesh Bharuchwala on Nov 7, 2015
Latest reply on Nov 18, 2015 by soledad

Hi,

 

I am working with CodeWarrior v10.6 and of MQX v4.0.

 

In my project I am working with ADC Demo. Demo is working perfectly.

 

What Problem I am facing is.,

       Say my Time Slot between samples is 10ms and I am taking total 100 samples.So total time to get 100 samples should be 1 sec (999 msecond) exactly.

 

But I am not getting it exactly on 1 sec(999 msecond), instead I am getting it on 905 msecond approximately.

 

This only happening when I am Taking more than one channel. For single channel ADC is taking 1sec (999msec) exactly for 100 samples.

 

But I want to get 100 samples from one channel exactly on 1 second?

 

Please note that, I measure a 100 sample time using _time_get().

 

Can anybody tell me why this is so?? Why I am getting less time to get 100 samples for 10msec of time slot?

 

Regards,

Utsavi Bharuchwala

Outcomes