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.

EDMA test application for keystone 2

Hi experts,

I am searching EDMA test application for keystone 2. I found application from this link from TI.

can you tell me this code useful for keystone 2 processor???

Regards,

Vijay

  • Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com). Please read all the links below my signature.

    We will get back to you on the above query shortly. Thank you for your patience.

    Thank you.

    PS: We strongly recommend you to create new e2e thread for your queries instead of following up on an old/closed e2e thread, new threads gets more attention than old threads and can provide link of old threads or information on the new post for clarity and faster response.

  • Hi,

    Thanks for your post.

    The above wiki exploring EDMA test application is very generic and it can be adapted to any keystone device.

    May be, you could refer the CSL based EDMA transfer test code available at Keystone_MCSDK_02_01 package : C:\ti\pdk_C6678_1_1_2_6\packages\ti\csl\example\edma and this could be used as reference which can be ported to keystone II platform devices.

    In general, there is no test code available from TI to test EDMA for keystone2 devices but you could refer the attached example which is for C6657 which you can port it for keystone II platform devices and the example uses CSL API's to setup EDMA configuration to verify the data transfer. May be, you can try the below EDMA test code with SPI setup for C6657:

    /cfs-file/__key/communityserver-discussions-components-files/791/0447.3542.8004.Edma_5F00_spi.zip

    Thanks & regards,

    Sivaraj K

    ------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question

    -------------------------------------------------------------------------------------------------------

  • Hi,

    I think, there are sample EDMA_LLD sample application available for K2H for big endian as well little endian. May be, you could check the KeystoneII_MCSDK_03_01 package through which, you could get the EDMA sample test example projects  from the below path:

    K2H

    ~\edma3_lld_02_11_13_17\examples\edma3_driver\evmTCI6636K2H\sample_app

    ~\edma3_lld_02_11_13_17\examples\edma3_driver\evmTCI6636K2HBE\sample_app

    K2K

    ~\edma3_lld_02_11_13_17\examples\edma3_driver\evmTCI6638K2K\sample_app

    ~\edma3_lld_02_11_13_17\examples\edma3_driver\evmTCI6638K2KBE\sample_app

    You could use the above examples to explore EDMA transfer testing with LLD driver API's

    Thanks & regards,

    Sivaraj K

    ------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question

    -------------------------------------------------------------------------------------------------------

  • Hi Sivaraj,

    Thanks for fast response. I am new in driver programming all i need is i want to to develop pcie driver using edma3. My keystone 2 processor is C66AK2E02. I gone through user guide of PCIe for keystone and user guide of EDMA3 for keystone.

    Now as for your suggestion I download mcsdk.tar.gz for K2E and in this i gone through edma3_lld_02_11_13_17. Now i confused because lld driver API which uses rm(resource manager) library. so, my question is can i use this library and API in my programing to develop basic driver if yes than how??

    All i need is one example code of EDMA3 to copy block of memory from one memory location to other.

    Thanks & Regards,
    Vijaykumar