Tool/software: TI-RTOS
AM5728 on custom board, DSP running TI-RTOS and ARM running Linux, both on latest Processor SDK 4.0.0.4.
At the conclusion of this thread, https://e2e.ti.com/support/arm/sitara_arm/f/791/t/604259, it was decided for our purposes to abandon the use of MessageQ due to its usage of a SWI and the resultant task preemption, and use a custom messaging implementation that will use MAILBOX to interrupt the DSP/ARM as needed. This sounded pretty easy, but as the say, the devil is in the details.
The intent on the DSP side was to copy the code from "C:\ti\ipc_3_46_00_02\packages\ti\sdo\ipc\family\tda3xx\InterruptDsp.c" and use that in my CCS project to setup the Mailbox for DSP->ARM and ARM->DSP interrupts.
However, as the ARM developer looked into this, he brought up the idea that we use remoteproc to load the DSP and remoteproc might be using Mailbox and thus we would have a conflict.
So, the question here is this, if on the DSP side I no longer use MessageQ, will I be able to setup and use the Mailbox's as is used in the code referenced above, or we need to find some way to play along with it, like adding a special case to call our messaging callback? Similar question for the Linux side of course.
Thanks,
Chris