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.

DMA examples

Other Parts Discussed in Thread: TMS320C6701

I stumbled across a document (SPRA529A) that looks like has some good DMA examples I can use for my next project using the C6701 processor.  I see there is code typed at the bottom in the appendix.  Is this code at the bottom of the doc available as a CCS project or C files I can download?  I know this document is 10 years old so request may be far fetched but I thought I would try anyways to help develop code faster.   Mike

  • Michael,

    I think all you get, and all you need, is the source code in the pdf that you can cut-and-paste into your own project. You only need to include the CSL and RTS libraries, which I assume you know how to do. With the C6701 and with these files, the tools versions may be so old that not many people around TI would still have them. I do not.

    But if you are still developing on the C6701, then you should have all the tools you need, including the CSL and RTS files.

    The good news is that you have a pdf file to cut-and-paste from.

    Regards,
    RandyP

  • I cut and paste the code from my comment above and the DMA registers seem to be set up correctly however the DMA block transfer is not happening.  I am currently using the C6701 simulator.  Are there any known issues with using the C6701 simulator and trying to do simple DMA transfers?  Other than the DMA, the simulator seems to work well for me.  I'd liked to get this ironed out before I get hardware in a couple weeks.  mike

  • Michael,

    Which CCS version are you using?

    Which exact C6701 simulator are you using?

    When you select the simulator, there are comments included on the screen that describe what is included in the simulator. If it says DMA, then DMA is included.

    This is now a Code Composer Forum question.

    Regards,
    RandyP

  • I am using CCS 3.3.38.2

    i am using C6701 Device Simulator - TMS320C6701.  Yes it says that is supports DMA.  Maybe if you can point me to a working project example for DMA on 6701.  Either there is something up with the simulator or the code example I have is missing a step.  Not sure what step that would be however.  Mike

     

  • Hi Michael,

    michael burke79518 said:
    I am using CCS 3.3.38.2

    This is a very old version of CCS (the official unpatched release). If you cannot update to the later CCS versions (4 and 5), I recommend you update your 3.3 with the latest patch (3.3.82.13). There have been many many various fixes since 3.3.38.2 so maybe your particular issue is one of them. You can update CCS via the Update Advisor (accessible from the 'Help' menu I believe),

    Thanks

    ki