
2009 Microchip Technology Inc.
DS80302F-page 9
PIC16F88X
7.
Module: MSSP
When all of the following conditions are met:
1. The module is configured as a SPI slave
2. CKP = 1
3. CKE = 1
4. Multiple bytes are sent to the Slave with the SS
line remaining low between bytes
The SSPIF flag will only be set on reception of the
first byte and the following bytes will not be
correctly received.
Work around
SPI Master toggles the SS line between bytes
or
On reception of the first byte modify the SSPM0
bit in the SSPCON register to configure the
module as a SPI slave with SS pin disabled.
Then restore the SSPM0 bit to the configuration
for SPI slave with SS pin enabled. The module
is then ready for reception of the following byte.
Affected Silicon Revisions
PIC16F882
PIC16F883/PIC16F884
PIC16F886/PIC16F887
A0
X
A0
X
A2
X
BSF SSPCON, SSPM0
BCF SSPCON, SSPM0