Perhaps the title is wrong, but my code behaves like this: I have configured 4 channels to be converted in the ADC;
I have put a variable which increments inside ADC irq EOC (EOC_Counter) and another which increments inside ADC irq EOSQ.
ADC_Wait(ADC1,ENABLE) fixed the problem
Yeah, I'd generally avoid doing that, the DMA TC/HT should be used as an EOC for multiple channels. ie all 4 complete, or multiple thereof.
DMA is likely to end-run any EOC interrupt from the ADC.
Your description lacks a lot of clarity. Rather than try and explain, post a clear and concise code example demonstrating the issue.
Retrieving data ...