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.

AM5728: DSP to ARM interrupt

Part Number: AM5728

Sir,

We are working on AM5728 IDK processor.

We have Linux running on ARM and baremetal code on DSP core.

I request you to let us know about DSP to ARM interrupt mechanism with baremetal code running on  DSP core.

Regards,

Sirisha

  • Hello Sirisha,

    The DSP will need to use a mailbox to interrupt the ARM (there is not a path to send the interrupt from the DSP's interrupt controller). We implemented DSP <-> ARM interprocessor communication (IPC) with DSP running RTOS, but I do not think we have any bare metal examples. Let me check.

    Regards,

    Nick

  • Part Number: AM5728

    Sir,

    Thank you for the reply.

    But our requirement needs to run baremetal code on DSP and Linux on ARM processor .

    We need to use shared memory for IPC along with DSP to ARM interrupt to trigger ARM to know if data is available.

    We would like to know if we there are ways of interrupting and notifying ARM when the data is available without using RTOS on DSP.

    We would also like to know if we have to use RTOS on DSP and use IPC (like message queue or mailbox), I request you to let us know the steps to handle it from both DSP side and ARM side.

    Regards,

    Sirisha

  • Hello Sirisha,

    TI has not written official DSP <-> ARM interprocessor communication (IPC) code with DSP running bare metal. However, you can still write your own IPC code, like the customer in post Mailbox Communication.

    I actually started working on a DSP mailbox <-> Linux ARM IPC example in the post MessageQ Latency, but my priorities got reshuffled and I have not had time to debug the DSP code & custom kernel driver. You could help me out by testing that code. Maybe we can get something working!

    Regards,

    Nick