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 read a variable with CPU1 FROM cpu2 using IPC

Other Parts Discussed in Thread: TMS320F28377D

Hello!

I'm working on a project with the tarjet TMS320F28377D, and need to read a variable in CPU1 from CPU2.
Using examples, I could send messages between processors using IPC. But, could you give me a guide on how to read the variable in real time on the cpu1?
I need that variable for use within an interrupt timer0.

Regards!

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

    Moved this thread over C2000 32-bit microcontroller forum for faster and appropriate response. Thank you for your patience.

    Note: 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,

    If the variable is updated by CPU2 and CPU1 only need to read it then you can assign this variable in one of GSxRAM (which is shared between CPU1 and CPU2) and give CPU2 master ownership to that RAM.  Use #pragma data_section to allocate the variable at same address location in both (CPU1/CPU2) code.

    Regards,

    Vivek Singh