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.

How to call ARM application from DSP in OMAP L138

Other Parts Discussed in Thread: OMAPL138

Hi All , 

1. We have an ARM side UPP application which i need to call from DSP . 

    This application is an ARM UPP sample application .It interacts with UPP driver on LINUX OS and gets the captured data. 

     This UPP data i need to send to DSP processor whenever DSP asks.

2. For our requirement , DSP acts like an master and ARM like BLACK BOX

    So the DSP should initiates the ARM application .The ARM application needs to provide the captured data

    back to DSP.Hence the data capturing and providing to DSP part is done from ARM side .

    DSP needs to call this function whenever it requires data from ARM .

Hope scenario is clear. Please do let me know if there is any available sample code available for the same .

Thank You,

Ashish Mishra

[Banglore /India]

 

  • Ashish,

    Seems like you would need some mechanism to trigger the ARM to run the uPP application when data is needed. And after data is available the ARM has to respond back to DSP with a go ahead to use the data. Basically, this is Inter-Processor Communication (IPC).

    Since you are using Linux on the ARM, you can use DSPLink for OMAPL138. See the following links:LinuxSDK (with DSPLink), Wiki link to example, Wiki link for debug tips

    Regards,

    Sunil Kamath

  • Sunil , 

    Thanks for replying.

    a. We have an UPP driver which captures the data from UPP and send this data to user space on ARM+LINUX environment

         The ARM+LINUX application receives this data  

    b.  " This UPP data we need to send to DSP processor whenever DSP processor ask.

             DSP is the MASTER , he would decide when he wants the data ".

    c.  I haven't worked on DSP BIOS any time , hence not aware how to proceed and where to look for it.

         -> Also can you let me know if this is an feasible option or not  OR  is there any different mechanism to achieve

              such behaviour from DSP.

     

    Please do correct me or let me know if i am missing any point

    Thanks ,

    Ashish Mishra 

  • Ashish,

    This is definitely do-able. The captured data can be in shared RAM or external memory and ARM can pass the pointer to DSP when the request is made - the data need not be copied to another location (though is is also possible). The best way would be to start with DSPLink examples in LinuxSDK (to which I have provided a link in my previous post).

    Regards,

    Sunil Kamath

  • Hi Sunil , 

    1. Thanks for your guidance 

    2. " Seems like you would need some mechanism to trigger the ARM to run the uPP application

            when data is needed. And after data is available the ARM has to respond back to DSP with a go ahead to use the data.".

           Can you please let me know which sample code will be helpful to do the above task . 

        

           I will go through these stuff and would try to understand which one to use. 

           The reason of asking to you is to prevent referring wrong sample code by mistake , as i am very new to DSP stuff .

    Thank You,

    Ashish Mishra

    [Banglore / India ]