How to send data though rpmsg from M-core to A-core(linux)?

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

How to send data though rpmsg from M-core to A-core(linux)?

1,150 次查看
teleportboy
Contributor I

Hello everyone!

How to send data from the M7 processor (imx8mp) to A53? On the Linux side, I just need to read the data. For some reason, I don't have /dev/ttyRPMSG0 on the Linux side, but there is rpmsg char: /dev/rpmsg_ctrl0 and /dev/rpmsg0. I suppose rpmsg0 would also suffice to read the data that the coprocessor sends via rpmsg?

Ideally, I need simple code examples from both sides (both M core and A core).

Thanks

0 项奖励
回复
1 回复

1,110 次查看
hector_delgado
NXP TechSupport
NXP TechSupport

Hi @teleportboy ,

I hope you're doing well!

You can find multicore examples with rpmsglite in the SDK demo apps for the i.MX 8M Plus. You'll need to build and download the SDK from Welcome | MCUXpresso SDK Builder (nxp.com).

The multicore demos should be in boards/<your board>/multicore_examples/

There you should see a ping pong and echo example with RTOS.

Let me know if this was of any help.

Best regards,
Hector.

0 项奖励
回复