Main Content

SPI properties

SPI clock out frequency (in MHz)

Select a value from the list of controller clock frequency to obtain an SPI clock frequency.

Settings

Default: 4000

8000, 4000, 2000, 1000, 500, 250, 125

SPI mode

Select an SPI mode for data transmission.

Settings

Default: Mode 0 - Clock Polarity 0, Clock Phase 0

  • Mode 0 - Clock Polarity 0, Clock Phase 0

  • Mode 1 - Clock Polarity 0, Clock Phase 1

  • Mode 2 - Clock Polarity 1, Clock Phase 0

  • Mode 3- Clock Polarity 1, Clock Phase 1

Bit order

Select the bit order for transmissions.

MSB first to send the most significant bit first for transmission or select LSB first to send the least significant bit first for transmission.

Settings

Default: MSB first

  • MSB first – Send the most significant bit first for transmission.

  • LSB first – Send the least significant bit first for transmission.

SD Card SPI SS pin

The Chip Select (CS) pin that your SD card shield uses for SPI communication with the connected SD card. Do not make any modifications if you are using Arduino® MKR Zero board. As the MKR Zero board has an in-built SD card slot, the support package auto-populates the SD Card SPI SS pin parameter.

Settings

Default: 4

CAN SPI SS pin

The SS pin that your CAN shield uses for SPI communication with the hardware.

Settings

Default: 3

SPI SDO pin

Enter the serial data out (SDO) pin number of the Arduino board to which the SPI peripheral device is connected.

Settings

Default: 23

Dependency

To enable this parameter, set Hardware board to ESP32-WROOM (Arduino Compatible) or ESP32-WROVER (Arduino Compatible).

SPI SDI pin

Enter the serial data in (SDI) pin number of the Arduino board to which the SPI peripheral device is connected.

Settings

Default: 19

Dependency

To enable this parameter, set Hardware board to ESP32-WROOM (Arduino Compatible) or ESP32-WROVER (Arduino Compatible).

SPI SCK pin

Enter the serial clock pin number of the Arduino board to which the SPI peripheral device is connected.

Settings

Default: 18

Dependency

To enable this parameter, set Hardware board to ESP32-WROOM (Arduino Compatible) or ESP32-WROVER (Arduino Compatible).

SD Card SPI CS pin

Enter the chip select (CS) pin number of the SD card when interfaced with the Arduino board for SPI communication.

Settings

Default: 5

Dependency

To enable this parameter, set Hardware board to ESP32-WROOM (Arduino Compatible) or ESP32-WROVER (Arduino Compatible).