Page 1 of 1

ESP32 DevKit based on Wrover-E cannot use SDIO

Posted: Mon Jan 10, 2022 6:52 pm
by shirogeek
Hey guys,

So i'm in a bit of a bummer here, I have troubles working out how to connect an SD card in native sdio 4-lines to my devkit. I followed the Arduino example which suggests the following pin connections :

Code: Select all

/*
 * Connect the SD card to the following pins:
 *
 * SD Card | ESP32
 *    D2       12
 *    D3       13
 *    CMD      15
 *    VSS      GND
 *    VDD      3.3V
 *    CLK      14
 *    VSS      GND
 *    D0       2  (add 1K pull up after flashing)
 *    D1       4
 */
I followed this up but keep getting weird errors, either send_scr returned 0xffffffff or send_scr (1) returned 0x109. I would play with the pullups (having them for some lines or not) and that would either give the first or the second. I also flashed the e-fuse for 3.3V to avoid the conflict with GPIO2 used as MTDI bootstrapping. I don't know what else i'm missing, having the pullups on all the lines doesn't work on some of them either i'm a bit confused here, any insight ?

Thanks !

Re: ESP32 DevKit based on Wrover-E cannot use SDIO

Posted: Tue Jan 11, 2022 1:16 am
by ESP_Sprite
What do you use to connect the SD-card to the module? Are you sure it doesn't have 3.3v->5V level shifters on it?

Re: ESP32 DevKit based on Wrover-E cannot use SDIO

Posted: Tue Jan 11, 2022 8:37 am
by shirogeek
Thanks for the quick reply !
I’m using a normal breakout board with no level shifter ...