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.

TMS320F280025: ADC to trigger DMA to put multiple results on RAM

Part Number: TMS320F280025
Other Parts Discussed in Thread: C2000WARE

Dear Champs,

I am asking this for our customer.

Is it possible to put DMA results in multiple RAM locations, and these locations are multiple of ADC SOCs?

For example, 

Use 4x ADC by 4x SOC (0-3),

First ADC SOC3 EOC trigger DMA and put these four results in RAM word0 to word3.

Next ADC SOC3 EOC trigger DMA and put these four results in RAM word4 to word7.

Next ADC SOC3 EOC trigger DMA and put these four results in RAM word8 to word11.

If yes, do we have examples for reference?

Or would you please show us how to implement it?

Wayne Huang

  • Wayne,

    First of all, my apologies for this late response.

    If you are referring to consistent jump between each of the DMA bursts/transfers, that is still possible using the DMA configuration registers like Burst src/dst steps and transfer src/dst steps.

    However, Based on what you mentioned in your example, I am assuming that you are using multiple channels of DMA in order to get the DMA triggers from different ADCSOC's EOCs. We have examples in C2000Ware using only 1 DMA channel. You need to extend this to multiple DMA channels with respective Trigger sources(different ADC SOC EOC triggers in your case) and configure the source and destination accordingly.

    Hope I have answered your question.

    Thanks & Regards
    Pramod