Skip to content

Sending data from slave CPU to master CPU, without using the endpoint callback function #402

Answered by arnopo
alioumpas asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,
No problem to send a message out of the rpmsg endpoint callback. The only constraint linked to a current limitation of the rpmsg is that the Linux has to

The question is how I could send data from the remote CPU to the master CPU, independently of the callback function at the remote CPU. I guess I have to use the "rpmsg_send(ept1, data, len)" function somewhere outside the call back function, e.g., before the "platform_poll_once(priv)" function?

I suppose that you are facing RPMsg limitation.
No synchronization point is defined by the RPMsg after which both sides can communicate reliably with each other. In the current protocol, at startup, the master sends notification to remote…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@alioumpas
Comment options

@arnopo
Comment options

@alioumpas
Comment options

@Minerro886
Comment options

Answer selected by alioumpas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants