ESP32 VSPI / HSPI

SPI Master Driver

ESP32 integrates four SPI peripherals.

  • SPI0 and SPI1 are used internally to access the ESP32’s attached flash memory and thus are currently not open to users. They share one signal bus via an arbiter.
  • SPI2 and SPI3 are general purpose SPI controllers, sometimes referred to as HSPI and VSPI, respectively. They are open to users. SPI2 and SPI3 have independent signal buses with the same respective names. Each bus has three CS lines to drive up to three SPI slaves.

How to use both VSPI & HSPI SPI buses simultaneously? #790
How to work/interfacing with more than 8 SPI devices on ESP32 #1904
Using multiple SPI devices with ESP32

github.com/espressif/arduino-esp32/blob/master/libraries/SPI/examples/SPI_Multiple_Buses/SPI_Multiple_Buses.ino

Leave a Reply

Your email address will not be published. Required fields are marked *