AnsweredAssumed Answered

utilisation of multiple transmit/receive registers of the Messaging Unit

Question asked by Erik Friedel on Aug 17, 2018
Latest reply on Aug 27, 2018 by Erik Friedel

Hi

 

I am currently working with the iMX7. Both IPC examples worked for me.

In the reference manual, there are four transmit/receive registers for data transfer. Does this mean, you can utilize up to four channels independently to transfer data? Or are the used "parallel" so that every register takes a quarter of the message? I know, that you can have multiple channels but I am unable to figure out how to edit the code so I can use them.

 

Maybe important snippets I found in the code are following:

 

Linux side:

"mu.c"

   #define MU_RPMSG_HANDSHAKE_INDEX 1

 

FreeRTOS side:

"rpmsg_platform_porting"

   #define RPMSG_MU_CHANNEL (1)

 

It would be quiet convenient if I could just assign the channel where I send the message.

Like: "rpmsg_rtos_send(app_chnl2->rp_ept, &msg, sizeof(THE_MESSAGE), app_chnl2->dst);"

instead of "rpmsg_rtos_send(app_chnl->rp_ept, &msg, sizeof(THE_MESSAGE), app_chnl->dst);"

 

Please try to explain it to me.

 

Erik

Outcomes