Skip to content

Possible to use second SPI on ESP32-C3 ? #15309

Answered by ricksorensen
svofski asked this question in ESP32
Discussion options

You must be logged in to vote

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:

3.4.2 Serial Peripheral Interface (SPI)
ESP32-C3 has the following SPI interfaces:
• SPI0 used by ESP32-C3’s GDMA controller and cache to access in-package or off-package flash
• SPI1 used by the CPU to access in-package or off-package flash
• SPI2 is a general purpose SPI controller with access to a DMA channel allocated by the GDMA controller

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@svofski
Comment options

Answer selected by svofski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
2 participants