SD card woes with 16MB ESP32-WROOM-32E

journalboy
Posts: 1
Joined: Thu Sep 30, 2021 11:52 pm

SD card woes with 16MB ESP32-WROOM-32E

Postby journalboy » Fri Oct 01, 2021 12:00 am

Hello all,

working on a custom PCB here.
I have a version of the PCB with ESP32-WROOM-32D (4MB) which works just fine.
There is an SD card connected via SPI on pis 18,19,23 with CS=5.

Now, I have almost the same board but with ESP32-WROOM-32E (16MB).
But the SD card will not mount:

Code: Select all

14:55:29.850 > [V][Setup.h:77] setup(): Attempting to mount SD card.
14:55:30.164 > [W][sd_diskio.cpp:101] sdWait(): Wait Failed
14:55:30.164 > [E][sd_diskio.cpp:123] sdSelectCard(): Select Failed
14:55:30.164 > [W][sd_diskio.cpp:505] ff_sd_initialize(): GO_IDLE_STATE failed
14:55:30.164 > [E][sd_diskio.cpp:775] sdcard_mount(): f_mount failed: (3) The physical drive cannot work
14:55:30.462 > [W][sd_diskio.cpp:101] sdWait(): Wait Failed
14:55:30.463 > [E][sd_diskio.cpp:123] sdSelectCard(): Select Failed 


I know internal flash is also hooked up via SPI. But I'm not sure it's even related.

I have tried slowing down the SD card frequency to 1MHz to no avail.
Is this likely to be a hardware problem? Or software?

Many thanks for any pointers.

NWElectronics
Posts: 2
Joined: Sun Feb 13, 2022 3:36 am

Re: SD card woes with 16MB ESP32-WROOM-32E

Postby NWElectronics » Sun Feb 13, 2022 3:39 am

Hi,
I just discovered the same issue. Worked perfectly on the 4MB version.
Were you able to resolve this?

Note - I'm using the ESP32-WROVER-IE(16MB) after upgrading from the ESP32-WROVER-IB (4MB)
Same SPI pins as above but with the SD_CS on IO25.

Thanks,
Neil.

username
Posts: 532
Joined: Thu May 03, 2018 1:18 pm

Re: SD card woes with 16MB ESP32-WROOM-32E

Postby username » Fri Apr 01, 2022 7:59 am

Take a look at the data sheet on page 11.
https://www.espressif.com/sites/default ... eet_en.pdf

Pins 17,18,19,20,21,22 are NC pins.

heino89
Posts: 1
Joined: Sat Mar 04, 2023 7:51 pm

Re: SD card woes with 16MB ESP32-WROOM-32E

Postby heino89 » Fri Jul 07, 2023 1:07 pm

Hi,

I can confirm the problem.
Has anyone found a solution for this or at least the reason?

I use a custom PCB with ESP32-WROOM-32E.
With the 4MB version (ESP32-WROOM-32E-N4) everything works as expected, but with the 16MB version (ESP32-WROOM-32E-N16) it doesn`t.

Many greetings
Christian

Who is online

Users browsing this forum: No registered users and 77 guests