I am trying to connect a Raspberry Pi to a Pic using SPI interface.
In my case I want the Raspberry to be the Master and the Pic to be the slave.
The Raspberry send a request for data (temperature) to the Pic, and the Pic replies with a value.
SPI is needed in order to communicate via a pair of 2.1Ghz RF transceivers NRF24L01
However the commands for SPI included in OnshonSoft seem to be only for making the PIC acting as a Master and not as a Slave :+((
Is this correct ?
Is there a way to go around ?
Thanks in advance
JP
In my case I want the Raspberry to be the Master and the Pic to be the slave.
The Raspberry send a request for data (temperature) to the Pic, and the Pic replies with a value.
SPI is needed in order to communicate via a pair of 2.1Ghz RF transceivers NRF24L01
However the commands for SPI included in OnshonSoft seem to be only for making the PIC acting as a Master and not as a Slave :+((
Is this correct ?
Is there a way to go around ?
Thanks in advance
JP