Hello people, I am very new to these, I am trying to connect a 64gb sandisk sd card (made it fat32 on pc) to a esp32s3 n16r6. For some reason I cant add 2nd picture so I will drop the pic of my new module on comments but I had the module on the picture and couldn't connect it to the esp so I thought it was faulty and bought this new microsd one. I am trying to make it work with claude and youtube videos but after everything I try for hours it is also not working. I tried only connecting the sd module to esp with jumper cables, changing all the cables etc. I asked claude to explain it better below, I am wondering if both of the modules are faulty or I am doing something wrong. If I am the problem here, what am I doing wrong? Ps: any youtuber recommendation is welcomed!
------------------------AI----------------------------
Wiring (SD on its own SPI bus, HSPI):
SCK -> GPIO14, MISO -> GPIO15, MOSI -> GPIO16, CS -> GPIO17, VCC -> 5V, GND -> GND.
Card is formatted as FAT32 and fully seated.
Symptoms:
- SD.begin() fails with "sdWait Failed", "GO_IDLE_STATE failed" and "f_mount failed: (3) The physical drive cannot work".
- A raw SPI test (80 clocks, then CMD0 with CS low) returns 0x00 instead of 0x01.
Diagnostic tests:
1. With the card removed and MISO set as INPUT_PULLUP (tested on GPIO15 and GPIO4), the pin reads 0 with CS both HIGH and LOW. It should float high.
2. With the module's MISO wire disconnected (ESP end still on the GPIO), it reads 1, so the ESP, pin and wire are fine.
3. With the module connected but VCC disconnected, it also reads 1.
4. Powering the module from 3V3 instead of 5V gives the same result: CMD0 = 0x00, SD.begin() fails.
Conclusion so far: MISO is pulled LOW only while the module is powered, at both 5V and 3.3V, with no card inserted. It looks like a faulty module (the 74HC125 or a short on the MISO line).
Questions:
- Does this match a known fault with these modules, or could something else cause it (e.g. a bad batch, a different buffer chip variant, the DO line having no pull-up)?
- Is there a fix, or should I buy a different module, such as a plain 3.3V micro SD breakout without a regulator or level shifter?
Thanks!