This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0G3507: ADC、DMA

Part Number: MSPM0G3507

Tool/software:

On MSPM0G3507,the multi-channel ADC uses the DMA mode, with the DMA Samples Count set to 6, which matches the theoretical speed. However, when tested with a 1KHz standard sine wave, the received ADC data is misaligned. Is it necessary for the DMA Transfer Size to be properly matched? This is where the fault lies in the ADC using the DMA mode.

  • Hi,

    If you want to use DMA to achieve a high-frequency ADC sampling, I think you may need to enable ADC FIFO mode (all ADC result memory are re-organized as a FIFO), to trigger DMA transferring at a certain DMA result loaded event.

    You could refer the adc12_max_freq_dma this SDK example for basic configuration. And I think you may need to choose a larger MEM for DMA Trigger.