ESP32 DevKit based on Wrover-E cannot use SDIO

shirogeek
Posts: 15
Joined: Sun Nov 08, 2020 8:07 pm

ESP32 DevKit based on Wrover-E cannot use SDIO

Postby shirogeek » Mon Jan 10, 2022 6:52 pm

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 !

ESP_Sprite
Posts: 9723
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Tue Jan 11, 2022 1:16 am

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?

shirogeek
Posts: 15
Joined: Sun Nov 08, 2020 8:07 pm

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

Postby shirogeek » Tue Jan 11, 2022 8:37 am

Thanks for the quick reply !
I’m using a normal breakout board with no level shifter ...

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 42 guests