36.4.1 Client Mode Transmit Options
The SDO output of the SPI module in Client mode is controlled by the following:
- TXR bit
- TRIS bit associated with the SDO pin
- Client Select input
- Current state of the transmit FIFO
TRISxn(1) | TXR | SS | TXBE | SDO State |
---|---|---|---|---|
0 |
0 |
FALSE | 0 |
Drives state determined by LATxn(2) |
0 |
0 |
FALSE | 1 |
Drives state determined by LATxn(2) |
0 |
0 |
TRUE | 0 |
Outputs the oldest byte in the transmit |
0 |
0 |
TRUE | 1 |
Outputs the most recently received byte |
0 |
1 |
FALSE | 0 |
Drives state determined by LATxn(2) |
0 |
1 |
FALSE | 1 |
Drives state determined by LATxn(2) |
0 |
1 |
TRUE | 0 |
Outputs the oldest byte in the transmit FIFO |
0 |
1 |
TRUE | 1 |
Outputs the most recently received byte |
1 |
0 |
FALSE | 0 |
Tri-stated |
1 |
0 |
FALSE | 1 |
Tri-stated |
1 |
0 |
TRUE | 0 |
Tri-stated |
1 |
0 |
TRUE | 1 |
Tri-stated |
1 |
1 |
FALSE | 0 |
Tri-stated |
1 |
1 |
FALSE | 1 |
Tri-stated |
1 |
1 |
TRUE | 0 |
Outputs the oldest byte in the transmit FIFO |
1 |
1 |
TRUE | 1 |
Outputs the most recently received byte |
Note:
|