Contenuto principale

SDI Pin

Serial data in (SDI) pin number

Since R2023a

Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / SPI properties

Description

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

Settings

19 | 0-5 | 12-18 | 21-23 | 25-27 | 32-36 | 39 | 13-19 | 21 | 22 | 16 | 4 | 0 | 12 | 8

You can configure virtual SPI and SPI hardware properties for ESP32 Arduino-compatible boards. You can also configure SPI modules 0 and 1 for Raspberry Pi® Pico (Arduino Compatible) and Raspberry Pi Pico W (Arduino Compatible) hardware boards.

This table lists the Arduino boards that support configuring the SDI pin of an SPI device.

Supported Arduino BoardsVSPI ModuleHSPI Module
ESP32-WROOM (Arduino Compatible), ESP32-WROVER (Arduino Compatible)19 (default), 0-5, 12-18, 21-23, 25-27, 32-36, 3912 (default), 0-5, 13-19, 21, 22, 25-27, 32-36, 39

Supported Arduino BoardsSPI0 ModuleSPI1 Module
Raspberry Pi Pico (Arduino Compatible), Raspberry Pi Pico W (Arduino Compatible)16 (default), 4, 012 (default), 8

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2023a