-
Notifications
You must be signed in to change notification settings - Fork 7.6k
ESP32 and very slow SD SPI read/write performance #6338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
So basically it is just a "software" related bug ?
Thanks |
I don't use the Arduino IDE, so not sure if you can compile to include the workarounds. If you can target the arduino-esp32 master branch it includes the fixes. I'm not an Espressif employee so don't know about release date. Based on previous releases I would guess by the end of March. |
I can report that using the fix mentionned in this link solved my problem for good !
|
Board
ESP32 DEV Module
Device Description
Same performance problem with various SD card types and various ESP32 dev modules :
Hardware Configuration
SD SPI card slot connected using the VSPI bus so default SPI in terms of Arduino IDE.
Precisely the following :
Version
v2.0.2
IDE Name
Arduino 1.8.16
Operating System
Windows 10
Flash frequency
80Mhz
PSRAM enabled
no
Upload speed
115200
Description
Very very slow SD SPI performance.
I've tried multiple tests with SPI SD, it ends up the same with very poor SD read/write performances.
Tried changing wiring/cables/SD card slot (which has resistors), nothing changes.
Anyway, only the bandwidth is criticaly poor.
Stability seems ok.
Sketch
Debug Message
Other Steps to Reproduce
It might be due to the SD card slow which has resistors, I'll try to remove them to do some tests.
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: