Table 1. Signals in Host and Client
Mode
Signal |
Description |
Pin Configuration |
Host Mode |
Client Mode |
MOSI |
Host Out Client In |
User defined(1) |
Input |
MISO |
Host In Client Out |
Input |
User defined(1,2) |
SCK |
Serial Clock |
User defined(1) |
Input |
SS |
Client Select |
User defined(1) |
Input |
Notes:
- 1. If the pin data direction is
configured as output, the pin level is controlled by the SPI.
- 2.If the SPI is in Client mode and the
MISO pin data direction is configured as output, the SS pin
controls the MISO pin output in the following way:
- If the
SS pin is driven low, the MISO pin is controlled by
the SPI
- If the
SS pin is driven high, the MISO pin is
tri-stated
When the SPI module is enabled, the pin data direction for the signals marked with
“Input” in
Table 1 is overridden.