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.

AM5716: EDMA3 LLD library support

Part Number: AM5716


Hi-

The current version of the EDMA3 LLD (version 2.12.2.26) states that it supports the AM57x.  I have incorporated the driver into my application.  However, I want to make sure I am linking to the proper EDMA3 libraries, and it is not clear from the directory structure exactly which platform-specific libraries should be used.  I am currently linking to the following libraries for our AM5716 DSP application:

  1. edma3_lld_2_12_02_26\packages\ti\sdo\edma3\drv\lib\66\release\edma3_lld_drv.ae66
  2. edma3_lld_2_12_02_26\packages\ti\sdo\edma3\drv\sample\lib\tda2xx-evm\66\release\edma3_lld_drv_sample.ae66
  3. edma3_lld_2_12_02_26\packages\ti\sdo\edma3\rm\lib\tda2xx-evm\66\release\edma3_lld_rm.ae66

Numbers 2 and 3 above are platform-specific, so can you please confirm that I am using the correct ones.  There was a note buried in the EDMA3 release notes stating, "For platforms AM572x, DRA75x_74x, TDA2XX, AM571x, DRA72XX, and TDA2EX, currently they all share a single device name of DRA7XX and a single DRV sample library under [edma3lld_install_dir]/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm directory."  Does this also apply to the driver sample lib as I have shown in number 2 above?

Thank you for any clarification you can provide.

Thank you,

Nate

  • The RTOS team have been notified. They will respond here.
  • I assume that you are building TI RTOS application. All EDMA3 blocks in all products look the same. The differences are the base address of the EDMA controller (some devices have multiple controllers so each one has a different base address) , the base address of the transfer Controllers (TC) and possible the number of transfer controllers (TC- 2 to 4) and the number of edma channels and Parameter Ram.

    For AM5716 the base address of the EDMA is 0x4330 0000. Somewhere in the code the base address must be defined, and then the library was built. I use the library that is part of the Processor SDK release. In my setting it is in \AM57\edma3_lld_2_12_01_25\packages\ti\sdo\edma3\drv\lib\66\debug or the release version (with optimization) (notice that I am using an older release but you downloaded a newer release)

    Best Regards

    Ran
  • Hi Ran,

    That is precisely what I am doing and I am linking to the same drv library that you specified above (number 1 in my original post). What I was more questioning is what resource manager (RM) library I should be linking to to support that driver library? It is not as clear which one supports the AM571x (i.e., numbers 2 and 3 in my original post).

    Thank you,
    Nate
  • Nate

    This is my personal opinion. I prefer not to use the sample library but rather use the basic driver library. The documentation for the drv library is (in my opinion) better.
    The resource management (RM) library is needed for dynamic resource management. I personally prefer static resource management, namely, assign channels and parameter rams and transfer controllers during initialization.

    Do you need to run the EDMA on the DSP only?, ARM only? Can you have a static scheme? If so, ignore the RM library

    By the way, if you have not seen it before, I suggest that you look at the EDMA FAQ ( processors.wiki.ti.com/.../II_devices) This is for Keystone but the concept is the same, and look as well at the bare metal example that I developed for any type of core. The bare metal example is attached to the following posting (e2e.ti.com/.../1987234

    Best Regards

    Ran
  • Thanks, Ran.

    I'll take a look at the example and documentation.  However, could I still have my original question answered?  Let's say that I want to use the resource manager (which per the SDK release notes is supported on the AM57x).  Which device library am I to link against?

    Nate

  • OK, Now I see it

    The libraries do not exist for the AM57 in the release

    I informed the developers and submitted a request

    Sorry about it

    Ran
  • Thank you.

    Can you please let me know what the schedule is for releasing these libraries?  Also, if they haven't been released yet, then why do the release notes stored in "\edma3_lld_2_12_02_26\docs" have the following statement::

    Does this mean that I should be using the tda2xx-evm library for both the driver sample lib as well as the resource manager?  It certainly implies that the sample lib is indeed included for the AM571x.

    Thanks,

    Nate

  • Sorry, I missed it

    In that case, try using the DRA7XX libraries and report back

    Thanks

    Ran