Dual Cores, and pin access

I just yesterday, bought a Giga R1 Wifi, and look forward to it arriving this friday. :slight_smile:
my question, as i am not used to working with dual cores, due to mostly working with Mega2560 boards. i am wondering if the pins can be accessed/manipulated from either core? or does just one core have pin access, and the other needs to manipulate them via a RPC?

Thanks in advance for any help. :slight_smile:

I can confirm that GPIO / Analog Pin can be access from M4 core too, except Serial / UART
SPI / I2C not tested at my side

1 Like

Another reply, please aware clock issue bug on M4 core which break I2C / Some digital pin library run on M4 core, seem still not fixed

2 Likes

Both cores have access to everything except serial, serial only lives on the M7 core (but you actually can do serial on M4 if you make system calls to MBED OS, but thats beyond the scope of this question)

2 Likes

but do all the serials only live on the M7 core?
I would need to use serial1 on the M4 core because I have to read data from a GPS

Arduino have configured the Serials for M7 only because of non determinism in interrupt behaviour if shared, if you are willing to jump through a bunch of hoops you could move serial1 to the M4 but is an advanced project and would require some MBED OS work, and modification of Arduino derived settings

If there was a guide I would try it too...
also because both BLE and serial lines only work on M7.
I don't know if BLE doesn't work due to a bug or configuration