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.

TMS320F280034: How do I use DMA with EPG

Part Number: TMS320F280034

The have EPG code that works but it takes 1 second to transfer its data.  I want to use DMA so I can load all the data in a buffer and have the EPG unit send the data out automatically.

Please suggest how use DMA with EPG so I can send all of the data to the EPG unit without having to wait for each transfer.  Is there an alternative way to do this without using DMA?

Regards

  • I can imagine using the DMA to load the EPG register and then having an ISR send the data but I was hoping to not involve the processor so that I don't have to coordinate the Interrupts with other interrupts in my code.  I could even use an EPWM to trigger individual bursts with an ISR, but again, this uses the processor and can cause issues with other software. I am ideally looking for a way to configure the EPG and DMA to operate independently -- I load the data and trigger the send operation which is send over the course of a second.

  • Hi,

    DMA does not have access permission to the EPG register space. This is indicated in the "EPG Registers" section under the EPG chapter of the TRM. I am afraid you don't have a choice to not use the CPU(processor) for your purpose. 

    Hope this information helps.

    Thanks & Regards

    Pramod

  • Pramod,

    Thank you for the reply.