communication between cortex A35 and Cortex M4

How to communicate between Cortex A35 and Cortex M4 using IPC APIs ? I am using i.Mx8QX . I am planning to use sc_ipc_open() , sc_ipc_read(), sc_ipc_write(), sc_ipc_close() APIs. Can you please provide the suggestion.

Attachments

Remote Processor Messaging is a blocking function ? I have planned to use MU(Message unit). Since SECO is having MU Block it is secured. How to use sc_ipc_read() , sc_ipc_write() APIs to transfer message bw two core ? I need to write the Application to transfer the data between linux to free rtos and vice versa.

I understand that using rpmsg we can communicate b/w cortex A35 and cortex M4. But my doubt is, is it the only one way for this? Can I use Message unit (MU) which is associated in SECO for communication ? Can i use sc_ipc_read(), sc_ipc_write() APIs for read write Message Unit?