3 Transfer Counter
The transfer counter is a feature that has been added to the SPI module and provides the capability to determine how many data transfers that the SPI will send/receive. It is important to configure the transfer counter and the BMODE (Bit-Length Mode Selection) bit of the SPIxCON0 register appropriately to ensure that the SPI module operates as intended. The functionality of the transfer counter depends on the value of the BMODE bit of the SPIxCON0 register.