Can someone explain my how to trigger ADC by using Timer 1? What interrupter handle to read ADCDAT? Is it possible to use this technique to achieve sampling around 670kHz.
A short code example demonstrating how to trigger ADC conversion using timer 0 is provided on the CD included in the development system. I modified it to use timer 1 and the sampling frequency of 670kH, see file attached.
The ADC interrupt is generated each time a simple is available for user code to read.