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.

TMS320F28379D: CPU 2 DMA Does Not Transfer Data

Part Number: TMS320F28379D


I am trying to do a DMA on CPU 2 from one memory location to another.  The transfer is triggered by the code.  When I start it, the DMA registers give the appearance of running.  The code must wait for the indication that the transfer has completed, and the source and destination addresses in the DMA have changed appropriately.  But no data is transferred.  It is working fine on CPU 1, and the setup of the two DMAs is identical.  Different memories have been tried as well with the same results.  So I’m thinking that it may be the memory setup.  But so far, I haven’t been able to find anything wrong.

  • Hi Ed, 

    Please check if the memories that you are trying to exercise for your CPU2.DMA transfers actually belong to CPU2. If your source/destination is a GS memory, you need to allocate the memory to CPU2 using the MEM_CFG registers. GSxMSEL is the register you need to look for in the TRM for more details. http://www.ti.com/lit/ug/spruhm8h/spruhm8h.pdf

    If this response answers your query, please click the “verify answer” button at the bottom of the post.

    Thanks & Regards

    Pramod

  • Hi Pramod,

    Thanks for the link to the updated TRM.

    I have figured out the problem.  The memory DMA only moves data to the GSx RAMs.  We had been using the the LSx RAMs.  When I changed the memory to a GSx RAM which had been mapped to CPU2, it worked fine.

    Thanks,

    Ed