Content originally posted in LPCWare by starblue on Thu Oct 22 01:44:53 MST 2015
The next conversion of channel 1 has started already and will be completed, causing the overrun (yes, I also would like a single-burst mode that stops, but it isn't there).
So you can try to trigger your interrupt earlier, say on the next to last channel, and hope that the interrupt is fast enough.
A more robust method, and perfectly adequate at 150 Hz, is to use single conversion and trigger each channel separately, subsequent channels in the ADC interrupt. We use this for sampling 3 channels at 10kHz.
Or you could just determine that it is safe to ignore the overrun.