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.

RTOS/AM5728: Porting EDMA3LLD library

Part Number: AM5728


Tool/software: TI-RTOS

Hi Everyone,

I want to integrate EDMA3LLD library to my processor-sdk.So that i can use edma api in my application.
I have downloaded the edma package from below link
http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/psp/edma3_lld/index.html

I am already referring to EDMA driver user guide available with the above package.

I also need the config file for AM5728 platform which will be used for resource manager lib for this platform.

I am using AM5728  platform and processor-sdk software package.

Can you please guide me how will i proceed for the above.

  • The RTOS team have been notified. They will respond here.
  • Hi,

    It is good to download and install the Processor SDK RTOS for AM57x, the EDMA LLD is inside that RTOS package already. There are many driver examples and some of them used the EDMA LLD, such as UART, SPI, PCIE ....

    You can find the .cfg file like pdk_am57xx_1_0_x\packages\ti\drv\uart\test\am572x\armv7\bios\uart_test_edma_evmAM572x.cfg for EDMA lld inclusion:

    var Edma = xdc.loadPackage ("ti.sdo.edma3.drv.sample");
    var drv = xdc.loadPackage ("ti.sdo.edma3.drv");
    var rm = xdc.loadPackage ("ti.sdo.edma3.rm");

    Regards, Eric
  • Hi Lding,

    Thanks for your responce.
    We are using an older version of processor-sdk (V 03.01.00.06)where edma package is not there.
    So can you tell me how we can integrate the EDMA package there.

    Thanks,
    Neha
  • Hi,

    For older 3.1.0.6 release, the download link is here: software-dl.ti.com/.../index_FDS.html

    The installer should include the EDMA LLD 2.12.1 release and please use CCS 6.1.3. The driver example should have the EDMA support already.

    Regards, Eric
  • Hi,

    Yes i have found the edma package in processor-sdk but it seems like its not been integrated.

    I am not able to call edma api in my application (running on A15 or M4).

    So i want to integrate that.

    I have added below lines dce_ipu.cfg

    var EDMA = xdc.loadpackage(ti.sdo.edma3.drv)

    and the same for edma rm lib also.

    After doing this i am able to call edma api for m4.

    its taking rm lib for tda2xx platform not for am57xx.

    So can you guide me where i can change this platform dependency from tda2xx to some other platform.(I know there is no support for am57xx in edma but i have build the edma libs for am57xx platform so i want to use that.)

    Thanks,

    Neha

  • Hi,

    Those EDMA package is integrated into the Processor SDK RTOS already, for different cores, including A15, DSP and M4. Several driver examples uses the EDMA, like UART, SPI and pcie etc. Please look at those driver test examples, you can see how the EDMA is used. The platform for those projects is evmAM572x or idkAM571x or idkAM572x in the cfg file, e,g:

    /* Load the Board package and set the board name */
    var Board = xdc.loadPackage('ti.board');
    Board.Settings.boardName = "idkAM572x";

    Regards, Eric
  • Hi,

    Thanks For the information.

    I found the EDMA package but did not found support for AM57xx platform.

    So can you share the config files available in path packages/ti/sdo/edma3/drv/sample/src/platforms/ for the AM57xx platform.

    Thanks,

    Neha

  • Hi,

    For AM57x platform, the EDMA configure file is packages/ti/sdo/edma3/drv/sample/src/platforms/sample_tda2xx_xxx.c.

    Regards, Eric