ESP32 Wroom32 E SDMMC initialization error

shubham_m
Posts: 1
Joined: Mon Sep 19, 2022 4:19 am

ESP32 Wroom32 E SDMMC initialization error

Postby shubham_m » Mon Sep 19, 2022 9:41 am

Hi,

Previously we were using ESP32 WROOM 32 D. Now, we have upgraded to ESP32 WROOM 32 E with same (4-bit) SDMMC pin configurations which was working with ESP32 WROOM 32 D.

Pin configuration:

clk = GPIO_NUM_18 (IO18),
cmd = GPIO_NUM_15 (IO15),
d0 = GPIO_NUM_19 (IO19),
d1 = GPIO_NUM_4 (IO4),
d2 = GPIO_NUM_12 (IO12),
d3 = GPIO_NUM_13 (IO13)

But with WROOM 32 E, we are facing problem while initializing SDMMC peripheral and getting below error:

I (3280) gpio: GPIO[13]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (3310) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
E (3310) vfs_fat_sdmmc: sdmmc_card_init failed (0x107)


We are using external pull up resistors too. And hence unable to understand where exactly the problem is.

Environment:
Module or chip used: [ESP32-WROOM-32E-N4]
IDF version: v4.3.1-dirty
Build System: [idf.py]
Operating System: [Windows 11]
Using an IDE: VSCode
Power Supply: [external 3.3V]

Please let us know, where is the issue.

Thanks

Who is online

Users browsing this forum: No registered users and 111 guests