Page 1 of 1

SPI on ESP32-C3

Posted: Thu Jan 20, 2022 5:37 pm
by bstolk
Does the ESP32-C3 have hardware SPI?

Looking at the pinout
https://docs.espressif.com/projects/esp ... pinout.jpg
I see no MISO MOSI SCLK pins.

I am trying to run the Adafruit SSD1306 sample here, with HW SPI.
https://github.com/adafruit/Adafruit_SS ... 64_spi.ino

Re: SPI on ESP32-C3

Posted: Thu Jan 20, 2022 6:09 pm
by bstolk
Ah, OK.

I see that the IDE defines the symbol
SCK / MISO / MOSI as 4 / 5 / 6

Using that the Adafruit SSD1306 works fine, and can use the default SPI object.

NOTE: It would be useful to add those to the pin-out diagram of the ESP32-C3-DevKitM-1.