linux使用 TI 官方提供的 rpmsg_char_simple 工具给其他核心发送数据需要花费大概110微妙,时间有点长,还有其他核间通信的方式吗?
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.
请按照下面工程师建议的方法,测试一下demo传输数据所花的时间。
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1330423/am625-rpmsg_char_zerocopy-performance
如果要更快的时间,可以自己用mailbox进行核间通信,帖子最后,工程师也提到了。
源码可以到下面的网站下载。
MCU+ Side documentation
https://software-dl.ti.com/mcu-plus-sdk/esd/AM62X/09_01_00_39/exports/docs/api_guide_am62x/IPC_GUIDE.html
https://software-dl.ti.com/mcu-plus-sdk/esd/AM62X/09_01_00_39/exports/docs/api_guide_am62x/DRIVERS_IPC_RPMESSAGE_PAGE.html
https://software-dl.ti.com/mcu-plus-sdk/esd/AM62X/09_01_00_39/exports/docs/api_guide_am62x/DRIVERS_IPC_NOTIFY_PAGE.html (low-level driver used by IPC_RPMsg)
source code in MCU+ SDK source/drivers/ipc_rpmsg
Linux side
The rpmsg driver is in the Linux SDK under drivers/rpmsg.
The source code for the rpmsg-char utility library for interacting with Linux userspace is here:
https://git.ti.com/cgit/rpmsg/ti-rpmsg-char/