Quote:
Originally Posted by dcb
...
Max ADC rate is about 10khz, and there is only one channel at a time, so a lot of the timer1 calls will auto-return, but it is what it is and the bulk of the processing (32 bit math?) can happen in the main loop outside of interrupts.
...
|
The is smth. I do not understand here ... ADC will take 13 ADC clocks, we have a 1MHz clock for adc (we loose some precision, 2.5lsb out of 10bit if i'm not mistaken) that means 77kHz max. ADC rate! There will never be be an "auto-return" of the timer1 ISR at 16khz on the grounds of unfinished conversion if we only convert 1 channel at a time...
What am I missing?
L.E.: Doh! Next time i will scroll down before replying ...dlaing had the same observation 5 hours before me