Thomas, From my experience, you have to toggle the /SS pin at every transaction. This is what tell the slave to act upon the data/command it just received. Regards, Jim > Hi, > If a Master PIC wants to send multiple bytes of data > to a Slave PIC (with SS enabled) using SPI, does it > have to pull the SS line high at the end of every > byte? The slave receives data perfectly with this: > - SS low > - Send data > - Delay 10ms > - SS high > - SS low > - Send data > - Delay 10ms > - SS high > > However, The slave doesn't receive data properly with > this: > - SS low > - Send data > - Delay 10ms > - Send data > - Delay 10ms > - SS high > > Both the slave and the master are F877 @ 20Mhz. Did I > do something wrong? > Regards, > Thomas > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.