November 08, 2024, 10:35:50 AM

ESP32-POE-ISO SPI Pins

Started by dandrade, March 31, 2021, 11:49:30 PM

Previous topic - Next topic

dandrade

What PINs are defined for SPI?

thanks help

LubOlimex

#1
The default pins for hardware SPIs are not available - one of them is used for the Ethernet, the other is used for the SD card (and GPIO12 is used for Ethernet power enable-disable).

However, you can use any free GPIO for SPI as long as you re-define the hardware SPI, albeit this limits their clock to 40Mhz (down from 80Mhz). This reduction in speed is because everything goes through an extra GPIO layer.

You should read more about hardware SPI at the ESP32 wiki here:

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/spi_master.html

Technical support and documentation manager at Olimex