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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,146 Views
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 Kudos
Reply
1 Reply

1,106 Views
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 Kudos
Reply