Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example of a Interprocess communication between the two Real Time Cores #33

Open
breaultjean opened this issue Jul 5, 2022 · 2 comments

Comments

@breaultjean
Copy link

Hi,

We've been using the socket.h/socket.c to communicate between the High Level Application and the two Real Time Cores, and it works great. Your example really made this clear and achievable!

I tried to adapt socket.h and socket.c to enable communication between the two real time cores, but with no real success... It seems the socket implemented by Microsoft on the HL Core side does an initial setup that is not performed by the socket in the examples. I also tried to use MBox directly, but it seems that I don't grasp a detail or two, my messages never reach the other cores.

How could I achieve this? Do you have an example of such communication?

Thanks!

(the reference example is: mt3620-m4-samples/tree/master/IntercoreComms_Mailbox)
(For now, we use the HL Core as a proxy for the RT Cores messaging, but it would be more efficient to do a direct mailbox)

@bawilless
Copy link

Hi @breaultjean,

I'm not very familiar with the Codethink Labs examples, but I know that the MediaTek examples show M4 to M4 comms. You can see the working example here. Enjoy

@breaultjean
Copy link
Author

Hi,

This is a great suggestion, but we're trying not to switch to MediaTek drivers as most (80-90%) of the project is already written with CodeThink based drivers. I was looking forward to use their implementation of the MBox instead.

Have a nice day,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants