-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
ESP32-S3-N8R2 SDMMC in 4-bit does not run on 40 Mhz with IDF 4.4.2 (IDFGH-8778) #10210
Comments
Is there a patch for ESP32-S3 for SDMMC to run at 40 Mhz. The same exact code runs 40 MHz when compiled with v5.1, but fails to mount when compiled with 4.4.2 or 4.4.3. It only can run on 20 MHz. |
I am building and running with arduino (esp-idf v4.4.3) sd_mmc using native esp-idf API and it is working, both, SPI and mmc 4-bits. SPI reporting max 20MHz and mmc 40MHz with my sd card.
|
@chegewara Thanks. You message did not indicate if it was the ESP32-S3. Maybe adding the ESP-ADF got something to do with it. I will try using 4.4.3 alone without ADF to see if that's the case. Thanks |
Yes, of course it is S3. Im just not sure right now if its with or without PSRAM, because i have few different devkits, including N32R8 OPI mode. Here you can see pins i am using, but S3 can use any free pins with matrix:
|
The fix has been merged internally and will be available on Github soon. For reference, commit ID will be ef64e4e. We will also backport the fix to release/v4.4 and release/v5.0. |
@igrr Can this patch be applied to Stable 4.4.2? Facing the same issue with ESP32-S3-N8. Compiling with latest master is ok, compiling with 4.4.2 can only mount if 20 MHz and always fails on 40 MHz. Using SDMMC/4-bit. We must use the 4.4.2 as the ESP-ADF is not yet fully supported with v5.1 latest (any time frame for v5 to support ADF? or patches?)
Thanks
Originally posted by @NARRob in #8521 (comment)
The text was updated successfully, but these errors were encountered: