Page 1 of 1
ESP32-WROVER-B SD card access in SPI mode with the SPI pinout for the SPI Flash and PSRAM
Posted: Wed May 06, 2020 7:47 am
by skteh76
Hi,
Is it possible to use the SPI that connected with the SPI Flash and PSRAM in ESP32-WROVER to connect to external SD card and accessing it in SPI mode?
- QQ截图20200506154611.png (36.14 KiB) Viewed 5701 times
Re: ESP32-WROVER-B SD card access in SPI mode with the SPI pinout for the SPI Flash and PSRAM
Posted: Wed May 06, 2020 4:20 pm
by WiFive
Most code runs from flash so it is almost always busy. You would have to do a lot of tricks to get it working and it might have too many limitations to be useful.
Re: ESP32-WROVER-B SD card access in SPI mode with the SPI pinout for the SPI Flash and PSRAM
Posted: Thu May 07, 2020 6:32 am
by ESP_igrr
Hi skteh76,
The feature to use the SPI master driver with SPI1 interface had been added very recently and will be part of IDF 4.2 release. You can try it on the master branch. There is some documentation here:
https://docs.espressif.com/projects/esp ... n-spi1-bus
However we don't have an example of it being used with SD cards, yet.
Re: ESP32-WROVER-B SD card access in SPI mode with the SPI pinout for the SPI Flash and PSRAM
Posted: Fri May 08, 2020 8:02 am
by skteh76
Hello WiFive and ESP_igrr, thank for the respond.
I think I will think for another way to access the sd card instead of SPI1.