Possible to use second SPI on ESP32-C3 ? #15309
-
Hi! I was going to hook up a second SPI device and I don't want to share the bus. ESP32-C3 has 3 SPI units. Micropython ESP32 docs say that SPI(1) and SPI(2) can be used. However when I try to create SPI(2), I get I'm using Is this expected? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
On the ESP32C3 SPI 0 & 1 are used for memory (flash) devices, SPI2 is a general purpose Flash. From the Espressif C3 Datasheet:
|
Beta Was this translation helpful? Give feedback.
On the ESP32C3 SPI 0 & 1 are used for memory (flash) devices, SPI2 is a general purpose Flash.
If you want to use multiple SPI busses- try SoftSPI. The micropython doc for the ESP32 is for the the ESP32, and coud be amended for the other varieties.
From the Espressif C3 Datasheet: