メインコンテンツ

SCK Pin

Serial clock pin number

Since R2023a

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

Description

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

Settings

18 | 0-5 | 12-17 | 19 | 21-23 | 25-27 | 32-36 | 14 | 12 | 13 | 15-19 | 8 | 6 | 2 | 10

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 SCK pin of an SPI device.

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

Supported Arduino BoardsSPI0 ModuleSPI1 Module
Raspberry Pi Pico (Arduino Compatible), Raspberry Pi Pico W (Arduino Compatible)18 (default), 6, 214 (default), 10

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2023a