Hello,
Changing the following lines did the trick:
dmaConfig._2.SRCADDRH = XDATA_SFR_ADDRESS(ADCH);
dmaConfig._2.SRCADDRL = XDATA_SFR_ADDRESS(ADCL);
to
dmaConfig._2.SRCADDRH = XDATA_SFR_ADDRESS(ADC) >> 8;
dmaConfig._2.SRCADDRL = XDATA_SFR_ADDRESS(ADC);
Made the same changes to channel 3 and 4.
Never suspected this and looked everywhere for quite sometime.
Regards
