50.5.8 SDI Disable
The DISSDI bit determines if the SPI uses the SDI pin. Changing the value of DISSDI immediately changes the control of the SDI pin between the SPI and Port function. The DISSDI bit is applicable to all SPI operating modes.
If DISSDI = 0, the SPI receives data through the SDI pin and pushes data into the SPIxRXB. If DISSDI = 1, the SPI does not use the SDI pin and does not push data into the SPIxRXB.
DISSDI can be modified while receiving data. However, disabling SDI in the middle of a receive transaction usually results in corrupting that word of receive data (which is also the last word received).