USART in SPI Host Mode vs. SPI
The USART in SPI Host mode is fully compatible with a stand-alone SPI peripheral as their
data frame and timing configurations are identical. However, some SPI-specific special
features are not supported when using the USART in SPI Host mode:
- Write Collision Flag Protection
- Double-Speed mode
- Multi-Host support
A comparison of the pins used by the USART in SPI Host mode and by a stand-alone SPI peripheral is shown in the table below.
| USART | SPI | Comment |
|---|---|---|
| TXD | MOSI | Host out |
| RXD | MISO | Host in |
| XCK | SCK | Functionally identical |
| - | SS | Not supported by USART in SPI Host mode(1) |
Note:
- For a stand-alone SPI peripheral, this pin is used for the Multi-Host function or as a dedicated Client Select pin. The Multi-Host function is not available with the USART in SPI Host mode, and there is no dedicated Client Select pin.
