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.

[C6416] dma

hi for all

I have a question about DMA of dskc6416 which is manifested:

When using DMA transfert, is it true to initialise cache after configuring the DMA because other way the transfert doesn't work?

thinks for help

  • anna pian said:
    When using DMA transfert, is it true to initialise cache after configuring the DMA because other way the transfert doesn't work?

    The EDMA and the cache are completely independent modules. The configuration of cache has no direct impact on the functionality of the EDMA; however the EDMA bypasses the cache when it transfers to/from any of the different memories (L2, external, etc.).

    This means that you have to be careful when using the EDMA with data that might be cached. If you do not make sure to maintain cache coherence the EDMA may be copying old, unmodified data - or on the other side the CPU may be working with old data stuck in the cache. See the C6000 Cache User's Guide for more information on this.