Main Content

SPI properties

SPI clock out frequency (in MHz)

Select a value from the list of master 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 Slave Select (SS) 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