36.7.3 SPIxCON2

Note:
  1. The BUSY bit is subject to synchronization delay of up to two instruction cycles. The user must wait after loading the transmit buffer (the SPIxTXB register) before using it to determine the status of the SPI module.
  2. See the Host Mode TXR/RXR Settings table as well as the Host Mode and Client Mode sections for more details pertaining to TXR and RXR function.
  3. This register will not be written to while a transfer is in progress (the BUSY bit is set).
Name: SPIxCON2
Address: 0x086,0x093

SPI Control Register 2(3)

Bit 76543210 
 BUSYSSFLT   SSETTXRRXR 
Access RRR/WR/WR/W 
Reset 00000 

Bit 7 – BUSY  SPI Module Busy Status(1)

ValueDescription
1 Data exchange is busy
0 Data exchange is not taking place

Bit 6 – SSFLT SS_in Fault Status

ValueNameDescription
x SSET = 1 This bit is unchanged
1 SSET = 0 SS_in ended the transaction unexpectedly, and the data byte being received was lost
0 SSET = 0 SS_in ended normally

Bit 2 – SSET Client Select Enable

ValueNameDescription
1 Host SS_out is driven to the Active state continuously
0 Host SS_out is driven to the Active state while the transmit counter is not zero
1 Client SS_in is ignored and data are clocked on all SCK_in (as though SS = TRUE at all times)
0 Client SS_in enables/disables data input and tri-states SDO if the TRIS bit associated with the SDO pin is set (see the Client Mode Transmit table for details)

Bit 1 – TXR  Transmit Data-Required Control(2)

ValueDescription
1 TxFIFO data are required for a transfer
0 TxFIFO data are not required for a transfer

Bit 0 – RXR  Receive FIFO Space-Required Control(2)

ValueDescription
1 Data transfers are suspended when RxFIFO is full
0 Received data are not stored in the FIFO
The BUSY bit is subject to synchronization delay of up to two instruction cycles. The user must wait after loading the transmit buffer (the SPIxTXB register) before using it to determine the status of the SPI module. See the Host Mode TXR/RXR Settings table as well as the Host Mode and Client Mode sections for more details pertaining to TXR and RXR function. This register will not be written to while a transfer is in progress (the BUSY bit is set).