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.

Memcpy effects over EDMA channels?

Hello, I have a program with EDMA channels configured to serve periperals (McBSP0 and some GPIOs in a EVMdm6437). The program works well, but when I tried to integrate inside a third part program with a lot of code, it seems that some channels do not work properly. I woud like to know if that could be cause by memcpy orders as I think they are related with dma transfer. Could be this the cause that my edma channels does not work perfetcly?

 

Thank you very much

  • The memcpy() call from the run time support library does not use the DMA, on the DM6437 if the third party code is copying data with the DMA than they are likely using it directly.

    How are the DMA channels not working properly? If the third party code is using the DMA it will halt whatever transfer you have configured entirely with a new configuration you should be able to see in the DMA registers. If things are just being inconsistent as opposed to stopping entirely once the third party code runs than you may be looking at some other system level issue, like cache coherence or bandwidth saturation.