How to do the communication between the A core and M core on the i.MX8QM?

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

How to do the communication between the A core and M core on the i.MX8QM?

449 Views
charleshuang
Senior Contributor II

Hi NXP

Do you have SOP about "How to do the communication between the A core and M core on the i.MX8QM" ?

0 Kudos
Reply
3 Replies

421 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Please refer 2.8 Remote Processor Messaging in this manual: https://www.nxp.com.cn/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf

The M core sdk examples are here: https://github.com/nxp-mcuxpresso/mcux-sdk-examples/tree/main/mekmimx8qm/multicore_examples

 

To load it , you can refer 4.7.4 Running the Arm Cortex-M4/7/33 image in this guide:

https://www.nxp.com.cn/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

Best Regards,
Zhiming

0 Kudos
Reply

392 Views
charleshuang
Senior Contributor II

Hi @Zhiming_Liu 

We are trying to run the test M40.bin, which will display the PRMSG message on the M40.

charleshuang_1-1731055591843.png

We are trying to run "pingpong" and load the "imx_rpmsg_pingpong",  the device cannot get any message from M core and A core.

charleshuang_0-1731055481458.png

Have you tested the 'communication between the A core and M core' image for the i.MX8MQ demo board? 

Please share it with me, and we will test it.

0 Kudos
Reply

366 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Are you using imx8qm-mek-rpmsg.dtb?

For the tty driver, you need install imx_rpmsg_tty.ko in /lib/modules, the you can use /dev/ttyRPMSG with echo "MESSAGE" > /dev/ttyRPMSG*. 


Best Regards,
Zhiming

0 Kudos
Reply