Is my ESP32S2 brocken or did i use the wrong pin for the SD card

I am currently trying to get the SD card working again on my ESP32S2 is worked before but now after reconnectiong the SD card it does not mount the SD card.
I did used an SD to Micro-SD converter and an PCB with an SPI to MicroSD Adapter bouth did not work.
I used this for the SD card converter: SD and Micro SD card pins with description and functions

I am using this Dev board: https://www.mouser.de/datasheet/2/891/Espressif_Systems_09072021_ESP32_S2_DevKitC_1-2577092.pdf (Page 7)

And i connected:
Adapter EPS32S2
GND J3,1(GND)
VCC j1,2(3V3)
CS j3,16(GPIO34/FSPICS0)
SCK/CLK j3,12(GPIO36/FSPICLK)
MOSI j3,13(GPIO35/FSPID)
MISO j3,11(GPIO37/FSPIQ)

Is there some way how I could be sure if the pins are connectet right that they are broke and if there is additional damage?
I used for testing the SD example. Do I need to modify that?

Can you post a schematic, not a frizzy picture. What pins are the select lines?


I only can offer this. It is just a quick drawing but I have nothing else to create a schematic.

You are not using a SD card reader attached to the ESP32?

You have a lot available to create a schematic and at no cost. This forum offers one for usage here. You can get full blown CAD (Computer Aided Design) for just the downloading such as KiCad. There are also some available that you can do with your browser.

I am currently not at home so I am limited to basicly the stuff which I have with me and that is gimp and a smartphone with moblie data.

Where can I find this ?

What do you mean with SD card reader something like this ?
I used an adapter and an SD to microSD converter successful on my ESP32S2 Saola-1 but the Devkit-C does not work for me (The SD access does not work)

Most of the adapters you have shown are for connecting 3.3V logic SD cards to 5V logic systems.

Your ESP32S2 uses 3.3V logic, so you need to use an adapter that just has a socket on it, no regulator or logic level conversion stuff;

MicroSD Holder

Since I have the Devboard I can just connect it to the 5V Pin (when I am not using the SD to microSD Converter). Like I said it works on my ESP32S2 Saola-1 Devboard, (both methods) but none is working on my ESP32S2-DevkitC-1. So did I use the correct pins or is there another issue?

I’ve read it twice and cannot figure out what you are doing, your diagram says one thing your links say another thing. This is really annoying, so good luck :crossed_fingers:

1 Like

I am trying to get a working connection to my ESP32S2 Devkit-C-1 like I did with my ESP32S2 DevKit-Saola-1. And I am used the 2 methodes.

  1. Connect a SD to microSD card converter directly (like on the picture)
  2. Use and SPI to microSD Adapter (almost like on the picture but with 5V and only one ground)
    If you do not get it then you can not help just concentrate on something else you do not have to waste your time.
    Btw my links do not say anything the just show what I have used + (datasheets for the microcontroller because they are diffrent).

It seems the Pins are not broken. And it seems that the same GPIO pins are used on bouth Devkits. Maybe the PlatformIO Core or the Arduinoframework got an update which got problems?

Yes, something like that. Good luck.

I may found one reason but it is really odd. It seems that the micro usb-cable is the issue. After switching it, I was able to use the SD card again. Does that mean, that the cable can not handle the additional consumption of an SD Card?

And a second problem was the PlatformIO Core seems that it messed something up with the last update after reinstalling VS-Code and PlatformIO it worked better too.

Which micro usb-cable and where was it plugged in ?

The micro-USB cable which was connected to the UART interface on the ESP32S2 Devkit-C and my Laptop. (Used for power,flashing and monitoring).

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.