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.

QDMA example for C6678 (CSL based)

Hello,

I am quite new to the C6678 development platform, but from what I have read in the user guides and the corepack documentation, EDMA is essential when high throughput is required.

Are there any samples for using EDMA (and I am also interested in IDMA) using the chip support library (edma3 low level driver is too complex for me, I am more the register-girl)? I understand the high-level details of how EDMA3 works, but some low-level code as reference would help a great deal to get things actually working ;)

Thx, Reggi

  • Reggi,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages. Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics.

    There are quite a few posts from people wanting to do direct register accesses with the EDMA3 module, and there are articles in the Wiki Pages about different methods.

    Your post's title says QDMA, but you only mention EDMA and IDMA. But it does not really matter, all you need for any of them is the EDMA3 User's Guide, if you truly just want to work at the register level.

    There are a large number of registers in the EDMA3 module, and quite a few of them must be initialized for a general solution to using DMA or QDMA channels. The EDMA3 LLD is written to take care of that initialization for you. It has been debugged, so nobody has to debug raw initialization code over and over. We supply high-level drivers to make it easier for you.

    Assuming you have installed the MCSDK 2.x, there are CSL examples for the EDMA3 included there. Try that and see if it is good enough for what you want to do. If not, please do some searches on the Wiki and this forum (and the C6000 Single Core DSP Forum, too) for more similar threads. Then let us know what is different from those that you want instead.

    Regards,
    RandyP