Yes I know.Hi J,
Hi J,
There is a [
[ While Not SSPSTAT.BF (1 = Receive complete, SSPBUF is full)
Wend ]
also in the SLAVE.
C
How does the master know, when the slave PIC is ready to receive.
Or the slave to know, when the master has started to send.
I think here is the need of some protocol for the SPI
I assume, that the program in the slave is doing other things like reading the encoder etc.