I am in the process of making a cell phone project. So I built a pcb, but being a beginner I have some problems:
the power supply works correctly and supplies a stable and regulated 3.3v esp32. The latter is wired to 3 spinnaker devices: a screen (disconnected for testing), a touch controller (also disconnected), and a micro SD card. I've been trying to get it to work for a few weeks but can't.
The code is the default example to test SD cards ("SD test" or something like that) with the only addition of a digitalWrite on the power pin of the SD card and modification of the CS.
I think the errors don't come from the code but directly from the pcb; I specify that the sd cards work correctly in an earlier prototype.
here is the wiring diagram and a picture of the pcb
23:45:15.366 -> [ 4909][W][sd_diskio.cpp:104] sdWait(): Wait Failed
23:45:15.366 -> [ 4909][W][sd_diskio.cpp:512] ff_sd_initialize(): sdWait fail ignored, card initialize continues
23:45:15.366 -> [ 4911][W][sd_diskio.cpp:180] sdCommand(): crc error
23:45:15.963 -> [ 5515][W][sd_diskio.cpp:104] sdWait(): Wait Failed
23:45:15.963 -> [ 5515][E][sd_diskio.cpp:126] sdSelectCard(): Select Failed
23:45:15.963 -> [ 5515][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed
23:45:15.963 -> [ 5520][E][sd_diskio.cpp:802] sdcard_mount(): f_mount failed: (3) The physical drive cannot work
23:45:16.460 -> [ 6028][W][sd_diskio.cpp:104] sdWait(): Wait Failed
23:45:16.493 -> [ 6028][E][sd_diskio.cpp:126] sdSelectCard(): Select Failed
23:45:16.493 -> Card Mount Failed
thank you in advance!