工具/软件:
尊敬的团队:
我们正在 r5f 1_1 内核上开发 ethcat 从站堆栈、在 AM6442 处理器中运行的 RT Linux 上开发 A53、内核之间的标准 IPC 延迟是否可以达到 1KB 数据。
谢谢
Sankar
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.
您好、Sankar、
处理器间通信 (IPC) 有多种类型。 Linux 和 MCU+ SDK 之间开箱即用的标准 IPC 协议是 RPMsg。
请记住、RPMsg 会随每条消息发送 496 字节的固定数据。 因此、如果您想要发送 1KB 的数据、则需要 3 条 RPMsg 消息。
或者、您可以设置一个共享存储器区域来传递数据、然后使用 RPMsg 作为通知机制。 如果您想使用其他器件(如中断或邮箱)作为通知机制、甚至可以编写自己的自定义 IPC 代码。
有关上述所有概念的更多信息、请参阅 AM64x Academy > Multiple > IPC Basics
https://dev.ti.com/tirex/explore/node?node=A__AUE83PRMo.8eEVGecstaxg__AM64-ACADEMY__WI1KRXP__LATEST
有关我在 Linux 内核 6.6 上测得的不同 RPMsg 延迟、请参阅此 e2e 主题:
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1410313/am6442-communication-latency-issues-between-a53-and-r5-in-a-linux-rt-system/5434861#5434861
此致、
Nick