Closed SneezingCactus closed 9 months ago
Seems like the real issue all this time was the power supply. I hooked up an external 3.3V power supply to the SD card and it started working perfectly. 4-bit won't work (for some reason, sdmmc_init_ocr still timeouts if DAT1 and DAT2 aren't grounded, even when trying to initialize the card as 4-bit), but 1-bit is more than enough for my project.
I will be closing the issue now.
Nice to hear you have solved the issue. Thanks for the update
Answers checklist.
IDF version.
v5.3-dev-1353-gb3f7e2c8a4
Espressif SoC revision.
ESP32-S3 (QFN56) (revision v0.1)
Operating System used.
Linux
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-S3-DevKitC-1 v1.0
Power Supply used.
USB
What is the expected behavior?
The SD card should've been initialized and mounted in SDMMC mode normally, as it did in SPI mode.
What is the actual behavior?
The SD card appears to give responses to some commands during initialization, as the logs notify that the card present is an SDHC/SDXC card. However, initialization later fails with a 0x107, suggesting that the SD card did not respond to a command (or several).
Steps to reproduce.
Debug Logs.
More Information.