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.

EDMA3 LLD without BIOS

Hello,

I want to use the EDMA in the C6747 to transfer data to/from certain peripherals like the UART and SPI in addition to external/internal memory transfers.

I read some EDMA wiki pages and other documents on the EDMA3 LLD so I download the lastest version (2.11.2.4). Looking through the files, it seems that BIOS use is mandatory. Is this the case? My application does not use BIOS. Is there a way of using the LLD without BIOS? If so, are there examples?

Thanks,

SC

  • Hi,

    EDMA3LLD has DRV and RM layers which are OS agnostic and the OS dependant part has to be provided by the user. The code related to this is in packages\ti\sdo\edma3\drv\src and packages\ti\sdo\edma3\rm\src.

    sample library implimentation for many platforms with BIOS6 side OS adaptation layer implimentation is provided as part of EDMA3LLD and the examples proveded use this sample library. Sample library code is under packages\ti\sdo\edma3\drv\sample\src.

    You can refer to the documentation on porting to other OS which is provided in packages\ti\sdo\edma3\drv\docs\EDMA3_Driver_User_Guide.pdf under chapter 4 "EDMA3 Driver Porting".

    Regards,
    Prasad

  • If your application/use-case is simple enough then  you can also refer to http://processors.wiki.ti.com/index.php/Programming_EDMA_without_EDMA3LLD_package

  • Hi Shanmuga,

    I think my usage of EDMA can be described as "simple enough" so I will do what I did with the other peripherals: get my hands dirty by setting and clearing bits in registers...

    By the way, it would be great if a CSL library existed for the C674x family. When I think of all the hours wasted on reading user guides... These chips are getting complex and loaded with so many peripherals that can be configured in so many modes of operation, a CSL library is the minimum (not CSLr).

    SC

  • HI SC,

    Thanks for your feedback.

    scoutu75 said:
    These chips are getting complex and loaded with so many peripherals that can be configured in so many modes of operation

    Thats exactly the reason that we have just rCSL. Given this complexity & functionality, one can do different things in possibly different ways which will go beyond the capability of functional CSL library. You can use the BIOS PSP drivers as reference instead.