Synchonisation in Trustzone secure world by callbacks to non-secure world

When the DSP finishes the operation it will send an interrupt to the M33 that arrives in the secure-world. The secure world will then again call a callback function in non-secure world that does a ‘semaphore give’ operation.

Are you calling the callback function in non-secure world from the secure ISR? If so, are you using the “FromISR” function for the ‘semaphore give’ operation?

Thanks.