Two hifive1, one as master and another one as slave for SPI protocol


(Daniel kirubakaran) #1

Hello,
I would like to use 2 hifive1 controllers for my project enhancement due to shortage of dig pins and unavailability of additional UART and hardware i2c, these 2 controllers will communicate through SPI,one as master and another as slave.
How to achieve this task in arduino ide.

Hifive1[master]<---------SPI----------->Hifive1[slave]—>(other modules/sensors)

I need some appropriate guidance to save the time.