How to exchange data buffers between processors

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to exchange data buffers between processors

跳至解决方案
855 次查看
Eddy1
Contributor V

Hi:

I'm currently working on the communication between M7 and A55 on the i.MX8MP platform. Due to the large amount of data being transferred, the officially provided RPMsg demo does not meet the requirements. However, I have seen examples of DDR buffer on other platforms. Please refer to the attachment. Is there anything similar from NXP?

 

标记 (1)
0 项奖励
回复
1 解答
800 次查看
Eddy1
Contributor V

Hi:

Thank you for your reply. I have resolved the issue. I use RPMsg to send control commands and status. For large amounts of data, the M4 core copies it to memory via SDMA, and then the A core directly copies it from the corresponding shared address.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
842 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @Eddy1 

rpmsg本身就是基于DDR实现的数据交换。关于增大payload数据量,可以参考下面这个文章。

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Modify-RPMSG-buffer-payload-size/ta-p/17...

Best Regards,
Zhiming

0 项奖励
回复
801 次查看
Eddy1
Contributor V

Hi:

Thank you for your reply. I have resolved the issue. I use RPMsg to send control commands and status. For large amounts of data, the M4 core copies it to memory via SDMA, and then the A core directly copies it from the corresponding shared address.

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2338007%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%A6%82%E4%BD%95%E5%9C%A8%E5%A4%84%E7%90%86%E5%99%A8%E4%B9%8B%E9%97%B4%E4%BA%A4%E6%8D%A2%E6%95%B0%E6%8D%AE%E7%BC%93%E5%86%B2%E5%8C%BA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2338007%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E5%A5%BD%EF%BC%9A%3C%2FP%3E%3CP%3E%E6%88%91%E7%9B%AE%E5%89%8D%E6%AD%A3%E5%9C%A8%20i.MX8MP%20%E5%B9%B3%E5%8F%B0%E4%B8%8A%E7%A0%94%E7%A9%B6%20M7%20%E5%92%8C%20A55%20%E4%B9%8B%E9%97%B4%E7%9A%84%E9%80%9A%E4%BF%A1%E3%80%82%E7%94%B1%E4%BA%8E%E4%BC%A0%E8%BE%93%E7%9A%84%E6%95%B0%E6%8D%AE%E9%87%8F%E5%BE%88%E5%A4%A7%EF%BC%8C%E5%AE%98%E6%96%B9%E6%8F%90%E4%BE%9B%E7%9A%84%20RPMsg%20%E6%BC%94%E7%A4%BA%E6%97%A0%E6%B3%95%E6%BB%A1%E8%B6%B3%E8%A6%81%E6%B1%82%E3%80%82%E4%B8%8D%E8%BF%87%EF%BC%8C%E6%88%91%E5%9C%A8%E5%85%B6%E4%BB%96%E5%B9%B3%E5%8F%B0%E4%B8%8A%E7%9C%8B%E5%88%B0%E8%BF%87%20DDR%20%E7%BC%93%E5%86%B2%E5%8C%BA%E7%9A%84%E4%BE%8B%E5%AD%90%E3%80%82%E8%AF%B7%E5%8F%82%E9%98%85%E9%99%84%E4%BB%B6%E3%80%82%E6%81%A9%E6%99%BA%E6%B5%A6%E6%9C%89%E7%B1%BB%E4%BC%BC%E4%BA%A7%E5%93%81%E5%90%97%EF%BC%9F%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2339906%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20exchange%20data%20buffers%20between%20processors%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2339906%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E5%A5%BD%EF%BC%9A%3C%2FP%3E%3CP%3E%3CSPAN%3E%E8%B0%A2%E8%B0%A2%E6%82%A8%E7%9A%84%E7%AD%94%E5%A4%8D%E3%80%82%E6%88%91%E5%B7%B2%E7%BB%8F%E8%A7%A3%E5%86%B3%E4%BA%86%E8%BF%99%E4%B8%AA%E9%97%AE%E9%A2%98%E3%80%82%E6%88%91%E4%BD%BF%E7%94%A8%20RPMsg%20%E5%8F%91%E9%80%81%E6%8E%A7%E5%88%B6%E5%91%BD%E4%BB%A4%E5%92%8C%E7%8A%B6%E6%80%81%E3%80%82%E5%AF%B9%E4%BA%8E%E5%A4%A7%E9%87%8F%E6%95%B0%E6%8D%AE%EF%BC%8CM4%20%E5%86%85%E6%A0%B8%E9%80%9A%E8%BF%87%20SDMA%20%E5%B0%86%E5%85%B6%E5%A4%8D%E5%88%B6%E5%88%B0%E5%86%85%E5%AD%98%EF%BC%8C%E7%84%B6%E5%90%8E%20A%20%E5%86%85%E6%A0%B8%E7%9B%B4%E6%8E%A5%E4%BB%8E%E7%9B%B8%E5%BA%94%E7%9A%84%E5%85%B1%E4%BA%AB%E5%9C%B0%E5%9D%80%E5%A4%8D%E5%88%B6%E6%95%B0%E6%8D%AE%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2338042%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20exchange%20data%20buffers%20between%20processors%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2338042%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F136546%22%20target%3D%22_blank%22%3E%40Eddy1%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3Erpmsg%E6%9C%AC%E8%BA%AB%E5%B0%B1%E6%98%AF%E5%9F%BA%E4%BA%8EDDR%E5%AE%9E%E7%8E%B0%E7%9A%84%E6%95%B0%E6%8D%AE%E4%BA%A4%E6%8D%A2%E3%80%82%E5%85%B3%E4%BA%8E%E5%A2%9E%E5%A4%A7payload%E6%95%B0%E6%8D%AE%E9%87%8F%EF%BC%8C%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83%E4%B8%8B%E9%9D%A2%E8%BF%99%E4%B8%AA%E6%96%87%E7%AB%A0%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors-Knowledge-Base%2FModify-RPMSG-buffer-payload-size%2Fta-p%2F1799540%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors-Knowledge-Base%2FModify-RPMSG-buffer-payload-size%2Fta-p%2F1799540%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E