SPI on ESP32-C3

bstolk
Posts: 23
Joined: Fri Jan 07, 2022 6:44 am

SPI on ESP32-C3

Postby bstolk » Thu Jan 20, 2022 5:37 pm

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

bstolk
Posts: 23
Joined: Fri Jan 07, 2022 6:44 am

Re: SPI on ESP32-C3

Postby bstolk » Thu Jan 20, 2022 6:09 pm

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.

Who is online

Users browsing this forum: No registered users and 94 guests