9 years, 10 months ago.

time for analogin()

what is the inherent time to acquire analogin() and analogout()? But code requires to sample at 100 kHz and I am getting delays. So wondering if someone had calculated this time. thanks, Ali

Question relating to:

What platform are we talking about? You can measure the time by yourself. Have you tried that?

posted by Martin Kojtal 09 Jun 2014

1 Answer

9 years, 10 months ago.

100kHz on LPC1768 with default AnalogIn is a problem, especially since it samples 3 times. If you just want a good sample rate and the exact sample time isn't very important, have a look at: https://mbed.org/users/Sissors/code/FastAnalogIn/

Accepted Answer