0)In this mode, SPIxTCNT and SPIxTWIDTH are concatenated to determine the total number of
bits to be transferred. These bits will be loaded from/into the transmit/receive FIFOs
in 8-bit increments and the transfer counter will be decremented by eight until the
total number of remaining bits is less than eight. If there are any remaining bits
(SPIxTWIDTH ≠ 0), the transmit FIFO will send out one final message
with any extra bits greater than the remainder ignored.
0
and the final transfer contains only two bits, then if the last byte sent was 0x5F, the
RXB of the receiver will contain 0x40 which are the two MSbs of the final byte padded
with zeros in the LSbs.In this mode, the SPI master will only transmit messages when the SPIxTCNT value is greater than zero, regardless of the TXR and RXR settings.
In Master Transmit mode, the transfer starts with the data write to the SPIxTXB register or the count value written to the SPIxTCNTL register, whichever occurs last.
In Master Receive Only mode, the transfer clocks start when the SPIxTCNTL value is written. Transfer clocks are suspended when the receive FIFO is full and resume as the FIFO is read.