Question about oversampling

 
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
Author Message
bart
User
User


Joined: 15 Aug 2005
Posts: 2
Location: Manchester, UK

PostPosted: Mon Aug 15, 2005 12:01 pm    Post subject: Question about oversampling Reply with quote

When using oversampling, does the ADC 212 take the oversampled readings as close together as possible (333 ns)?

ie, if I set oversampling to 4, and a sampling timebase of 10 (1.36 ms), will the ADC take four readings 333ns apart for each reading and then wait about a millisecond before doing another four for the next reading?

Or does it take four readings at about 0.34 millisec apart?

Hope this makes sense!

Thanks
Back to top
Sarah
Guest





PostPosted: Tue Aug 16, 2005 10:23 am    Post subject: Reply with quote

Hi Bart

Thank you for your questions.

Using these settings you would get one sample every 1.36 ms, but this would be an average of 4 samples taken at 0.34 ms intervals.

Hope that explains it.

Best Regards
Back to top
bart
User
User


Joined: 15 Aug 2005
Posts: 2
Location: Manchester, UK

PostPosted: Tue Aug 16, 2005 3:33 pm    Post subject: Reply with quote

Thanks Sarah, that does clearly answer the question.

I am a bit disappointed with the answer though. Effectively oversampling does nothing but a bit of averaging, that could just as easily be done by the caller.

I think it would be better to take the 'oversampled' samples at the highest frequency. Would this be possible to do through the drivers, or is there a hardware limitation that prevents the ADC 212 doing this?

Thanks
Back to top
Sarah
Guest





PostPosted: Mon Aug 22, 2005 8:44 am    Post subject: Reply with quote

Hi

Thank you for your post.

I don't think it would be possible to do through the drivers. It isn't at present as the function calls do not support it. Instead it would require a re-write of the function in the driver and I do not think this will happen. I don't know if there are any hardware limitations however there could be.

Best Regards
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
All times are GMT
Page 1 of 1

 


Pico Technology topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group