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 LLD DRV sample

Other Parts Discussed in Thread: OMAPL138

signed char*  getGlobalAddr(signed char* addr);

 i want to know why he use this function and where it locate "in which .h " ??

and if it was an equivalent function for signed short ????

  • Ahmed,

    The function is not relevant to OMAPL138 device as the global address of DSP internal memory is recognized by all system masters. The function was written to make the sample code generic to all the platforms that the edma3 driver supports. On some platforms like DM8148 and DM8168, that function is relevant because  the addresses that the DSP sees as the global address of its internal memory is not seen as the global address by other system masters due to which an address translation is required using this function. Please refer to my post here for more details on my above statement:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/145751/707409.aspx#707409

    you can locate the definition of the function in the file edma3_lld_02_11_xx_xx\packages\ti\sdo\edma3\drv\sample\src\platforms\sample_<platform>_cfg.c file.

    Regards,

    Rahul