The USART in Master SPI mode is fully compatible with the stand-alone SPI module in that:
When the USART is set in Master SPI mode, configuration and use are in some cases different from those of the stand-alone SPI module. In addition, the following difference exists:
The USART in Master SPI mode does not include the SPI Double-Speed mode feature, but this can be achieved by configuring the Baud Rate Generator accordingly:
A comparison of the USART in Master SPI mode and the SPI pins is shown in Table 1.
USART | SPI | Comment |
---|---|---|
TxD | MOSI | Master out only |
RxD | MISO | Master in only |
XCK | SCK | Functionally identical |
- | SS | Not supported by USART in Master SPI mode |