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.

Looking for an example project of DDR2 access via EDMA

I would like to use EDMA or QDMA for a core to access information stored on external DDR2 memory.  I'm using the TMS320C3472-EVM for my testing.  I'm also going to have to use DMA eventually to transfer blocks of information from one core's cache to another, but for a first step, I'd like to be able to grab it from external ddr via DMA.  Are there any good getting started guides on this or example projects?  Thanks.

  • Hi Evan,

    I suppose you are using C6472 EVM. You can always start with the CSL examples for the modules you are interested in. The C6472 CSL can be downloaded HERE.

    You can refer to the EDMA examples for the EDMA transaction setup and the DDR2 examples for the DDR initiation and setup. Then combine them for your own testcase.

    Then source files should be included in the CSL as well. Hope it helps.

     

    Sincerely,

    Steven

  • Yes, I meant the C6472.  It looks like the examples with the CSL download aren't using BIOS.  Is there a higher level interface utilizing SYS/BIOS to use EDMA?  Or am I best off writing it without using BIOS?  Are there any BIOS packages that exist to make it easier to use?

  • Should I be focusing my time on the CSL libraries or is it better to use the EDMA3 LLD?  I've been reading about that a bit and have downloaded and installed the latest version, but the only platform that version comes with is da830.  I also tried the previous version which was for BIOS5, but the C6472 platform doesn't come with that either.  Do I need to compile the LLD for my platform or is it just not supported for my platform?

  • Hi Evan,

    Maybe you can download the BIOS-MCSDK package (BIOS Multicore Software Development Kit).It is applicable to C6472 and includes both of the EDMA LLD and CSL (in PDK package).

    Regarding to the choice of LLD and CSL, I do not have much experience of LLD. So maybe other experts can give more suggestions.

    But you can take a look at previous thread in the forum (e.g. the following thread)

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/439/p/11473/44683.aspx#44683

    The EDMA LLD user guide is also a good starting point for you to see if you feel comfortable with it. It is in the package as well.

    Hope it helps a bit.

     

    Sincerely,

    Steven