My project involves using the F28335 experimenter's kit with voltage input to the ADC pins A0 through A7.
I need to use the DMA module in conjuction with the ADC module.
I alterted Example_2833xAdcToDMA.c to continuously sample channel A0 and update in real time. The ADC is working correctly.
I can see DMASource update in real time in the watch window as I change the input voltage, but DMADest does not change.
Here is the code snippet that is suspect:
// Configure DMA Channel
DMADest = &DMABuf1[0]; //Point DMA destination to the beginning of the array
DMASource = &AdcMirror.ADCRESULT0; //Point DMA source to ADC result register base
DMACH1AddrConfig(DMADest,DMASource);
DMACH1BurstConfig(3,1,10);
DMACH1TransferConfig(9,1,0);
DMACH1WrapConfig(1,0,0,1);
DMACH1ModeConfig(DMA_SEQ1INT,PERINT_ENABLE,ONESHOT_DISABLE,CONT_ENABLE,SYNC_DISABLE,SYNC_SRC,
OVRFLOW_DISABLE,SIXTEEN_BIT,CHINT_END,CHINT_ENABLE);
Any suggestions on why DMADest stays at zero while DMASource updates in real time?
Thank you,
Chuck
