Faster method to read the ADC | Cypress Semiconductor
Faster method to read the ADC
My ADC is running at 12MHz, it samples 5 channels and the actual sampling rate is 100KHz.
I just noted that reading a single channel using the ADC_GetResult16() command takes a whooping 1us at 48MHz CPU speed.
It takes over 5us to read the 5 channels. Now at 100KHz sampling rate, time between two successive samples is 10us out of which 5us is wasted in simply reading the ADC. Only 5 remains for performing other calculations before the next sample arrives.
This is very very slow. In fact what sense does it make if the ADC runs at 1MSPS and takes another 1us to read the channel.
Is there a faster method to read the ADC channels?
Can't we directly read the channel resistors?