19.4.1.5 Host and Client Modes

In Host and Client modes, data can be thought of as taking a direct path between the MSb of one module’s Shift register and the LSb of the other, and then moving them into the appropriate transmit or receive buffer. The module configured as the host module provides the serial clock and synchronization signals (as required) to the client device. The relationship between the host and client modules is shown in Figure 19-8.

Figure 19-8. SPIx Host/Client Connection Diagram
Note:
  1. Using the SSx pin in Client mode of operation is optional.
  2. The user must write transmit data to SPIxBUF and read received data from SPIxBUF. The SPIxTXB and SPIxRXB registers are memory mapped to SPIxBUF.