Time Slot Between two Sample in ADC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Time Slot Between two Sample in ADC

511 Views
utsavikalpesh
Contributor V

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

0 Kudos
1 Reply

244 Views
soledad
NXP Employee
NXP Employee

Hello Utsavi,

Could you please add the complete project?

Regards

Soledad

0 Kudos