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.

IPC between ARM and DSP in C6636

Hello Experts,

Could you please suggest me a efficient IPC mechanism between a process in ARM and a task in DSP. The requirement is that every millisecond the process in ARM will update a structure and this will be read by the task in DSP. 

Thank you

Irfan

  • Hi Irfan,

    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).

  • Irfan,

    Please have a look at the IPC User's Guide. This will give you some good background on how IPC works.
    See the below E2E discussion will provide you more details,
    http://e2e.ti.com/support/embedded/tirtos/f/355/p/372246/1311817.aspx#1311817

  • Thanks for the reply.

    Can you please tell me what is difference between messageQ and msgcom? and which one is better over other?

    Thank you

    Irfan

  • Irfan,

    To find msgcom and messageQ usage details at wiki,

    For Msgcom: http://processors.wiki.ti.com/index.php/Msgcom

    For MessageQ: http://processors.wiki.ti.com/index.php/IPC_Users_Guide/MessageQ_Module
    http://processors.wiki.ti.com/index.php/IPC_3.x_FAQ

    And also see the E2E post,  

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/339107/1185995.aspx#1185995

  • Irfan,

    However this discussion of thread can helpful for future readers, If you verified this thread.

  • Hi Pubesh,

    I couldn't find out the difference between Msgcom and MessageQ. It would be really helpful if you can a two liner on the difference between the two and tell me which one is better.

    Irfan

  • Irfan,

    MessageQ:

    • The IPC in this context is MessageQ based IPC between ARM to DSP and between DSP to DSP.
    • This transport is based on rpmsg for communication between ARM and DSPs, and a proprietary shared memory protocol for communication between DSPs.
    • MessageQ is a reliable control path for inter-processor communication.
    • The MessageQ module supports the structured sending and receiving of variable length messages.

    MSGCOM:

    • The MSGCOM library is an IPC mechanism which allows messages to be exchanged between a reader and writer.
    • The reader & writers could be located on the same DSP core, different DSP cores or even between an ARM and DSP.

    The Syslib_User_Guide contains more information about msgcom.