I am doing a 6 channels ADC reading using the DMA method on the MSP430F6777A microprocessor. I show the array adc_table[] as Destination Address. I save the read ADC values to adc_table[] in the following order.
adc_table[] = [ADC_Channel5, ADC_Channel4, ADC_Channel3, ADC_Channel2, ADC_Channel1, ADC_Channel0]
But after a while in runtime, ADC values start to be recorded as below:
adc_table[] = [ADC_Channel3, ADC_Channel2, ADC_Channel1, ADC_Channel0, ADC_Channel5, ADC_Channel4]
How can I solve this problem?