ESP32 – SPI pin mapping/pinouts

Spread the love

ESP32 has 3 different SPI interfaces, for user available only 2 – HSPI and VSPI. For modules with SPI RAM (PSRAM) interface VSPI is not available as used by PSRAM chip.

Table below has native pinouts for HSPI and VSPI interfaces

SPI FunctionESP32 Pin (HSPI)ESP32 Pin (VSPI)
MISO (Master In Slave Out)GPIO12GPIO19
MOSI (Master Out Slave In)GPIO13GPIO23
CS (Chip Select)GPIO15GPIO5

Leave a Reply