The easiest way is to use shared memory:
Use the CMEM kernel module to allocate a piece of memory in ARM that can be accessed from ARM and DSP. Then pass the pointer down to the DSP using the DspBios NOTIFY component.
Once the DSP is done with processing, you can notify ARM via NOTIFY.
Thus, there is no need to copy data from ARM to DSP or vice versa. All you have to do is that the data comes from the CMEM component. This ensures that the memory is contiguous (DSP does not know about the ARM memory manager).
Nils pipenbrinck
source share