Hi folks,
I am using the ADC on a F28335 to sample 1 channel in a timing-critical application running at 500 kHz. I just need a single reading of the A0 channel (i.e. MAXCONV = 0). However, when the ADC is triggered by a EPWMxSOCA event, it goes through 8 acquisitions (CONV00 to CONV07) of the A0 channel before issuing a EOS interrupt, at which point I know that I can safely use the conversion result in ADCRESULT0. But just to obtain 1 sample, I have to wait until the sequencer arrives at CONV07.
I read in the ADC guide that "Once triggered, the sequencer cannot be stopped/halted in mid sequence. The program must either wait until an end-of-sequence (EOS) or initiate a sequencer reset, which brings the sequencer immediately back to the idle start state (CONV00 for SEQ1 and cascaded cases; CONV08 for SEQ2)."
Is there any possibility to specify a SHORT sequence of 1 channel? Or use brute-force by resetting the ADC sequencer after a fixed amount of time (still have to determine that right amount of time though....) after the EPWMxSOCA event?
Thanks for your help!
Akira