Hello everyone,
I am very new to Arduino Giga 2 cores communication. Would you please help by writing an example of how to make, for instance:
Core M4: int x increment in the loop by one every sec.
Core M7: read x from M4 and print it.
I appreciate your help.
Fozz
June 6, 2024, 4:19pm
2
I don't have the Giga yet but have been doing some research.
This guide talks about programming for the M7 and M4:
https://docs.arduino.cc/tutorials/giga-r1-wifi/giga-dual-core/
Remote Procedure Call (RPC) is what is used for communication between the M7 and M4.
Maybe one of the examples can be used as a guide to do what you want to do.
Happy Coding
Bill
@Fozz , thanks for the reply,
I read that guidance, but it doesn't seem helpful to my case. I just needed to read some variables in M4 by M7 continuously.
Fozz
June 10, 2024, 9:12am
4
What you want to do seems to be very simple. I am surprised that no one has responded.
This documentation seems to not be complete:
https://docs.arduino.cc/tutorials/giga-r1-wifi/giga-dual-core/#rpc-library-api
For example, in the "RPC Serial API" section, it mentions RPC.println but not RPC.print which is mentioned here:
https://forum.arduino.cc/t/string-sharing-between-m7-cores-and-m4-cores/1178148
I did a Google search for : "arduino giga m7 m4"
and got more confused.
I want to do what you want to do. When I get my Giga I will experiment.