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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

565件の閲覧回数
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 件の賞賛
返信
3 返答(返信)

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

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

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