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.

TMS320C6748. How do I setup EDMS3 LLD interrupt dispatcher?

Other Parts Discussed in Thread: TMS320C6748

I'm using TMS320C6748 and want to use the EDMA3 LLD. I'm reading the DSP/BIOS workshop document about EDMA3 LLD.

What interrupt source must I use for lisrEdma3ComplHandler0(), do I use EDMA3_0_CC0_INT1 (EVT# 8)? In the DSP/BIOS workshop it is called EDMA3CC_INT1 (EVT# 36).

And must I tie it to INT5? Why not any other, INT4-15?

 

 

  • Marko,

    Which version of EDMA3 LLD are you using?

    You can refer to the source files under packages\ti\sdo\edma3\drv\sample for interrupt registration and deregistration.

  • I'm using edma3_lld_02_11_02_04.

     

     

  • I would also like to know if it is correct to include the following three libraries in CCS4 to get the EDMA3 DLL to work:

    "${EDMA3LLD_BIOS6_INSTALLDIR}\packages\ti\sdo\edma3\drv\sample\lib\c6748-evm\674\debug\edma3_lld_drv_sample.a674"
    "${EDMA3LLD_BIOS6_INSTALLDIR}\packages\ti\sdo\edma3\drv\lib\674\debug\edma3_lld_drv.a674"
    "${EDMA3LLD_BIOS6_INSTALLDIR}\packages\ti\sdo\edma3\rm\lib\c6748-evm\674\debug\edma3_lld_rm.a674"

    And then in my c-file include one h-file:

    #include <bios6_edma3_drv_sample.h>

    Is this correct?

    I'm loosing valuable time trying to find all information.

     

     

     

     

     

  • Marko,

    The edma examples for the release versions 02.11.00.01 and above are built using the makefile and the userguide has the steps to build them.

    This package also has the CCS v4 projects which can be used to build the examples application but in this case uncomment the following line in the application cfg file which is present in "examples\edma3_driver\<platform>\rtsc_config" Ex: edma3_drv_bios6_c6748_st_sample.cfg
    "xdc.loadPackage('ti.sdo.edma3.drv.sample');"
    After uncommenting you should be able to build in CCS also.

    This line is commented to build the application using makefile without adding edma3 lld as an xdc package.

    Also You can include above 3 libs you mentioned and you can build your applications. You can refer to the example files in "examples\edma3_driver\src" for writing application using the LLD.

    Regards,
    prasad