RPMSG Code in A core - IMX8ULP-EVK9

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

RPMSG Code in A core - IMX8ULP-EVK9

348件の閲覧回数
dhruvinrajpura
Contributor II

we are using rpmsg tty example code and we uploaded m core code from sdk rpmsg_lite_str_echo_rtos_imxcm33. now from a core we apply modprobe imx_rpmsg_tty command. after applying this command we can see /dev/ttyRPMSG30. now using echo test > /dev/ttyRPMSG30 command we can send msg to M core. Same time we can see in M core code M core send same msg to A core. 

 

Now we want to read data in A core using c code so how we can do that. is there any example available?  we tried using open /dev/ttyRPMSG30 port and used simple read command but when we do that we are getting some garbage data in m core side.

ラベル(1)
0 件の賞賛
返信
1 返信

330件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @dhruvinrajpura!

Thank you for contacting NXP Support!

 

Unfortunately we don´t have examples using C in A core, but you can open the device /dev/ttyRPMSG30 with fopen in c to read all data received.

 

also you can read the data received from M core using:

cat /dev/ttyRPMSG30

 

Best Regards!

Chavira

0 件の賞賛
返信