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,155件の閲覧回数
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,115件の閲覧回数
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 件の賞賛
返信