Hi
Anyone have the driver for SD card with SDIO protocol with a pinout of GPIO6,7,8,9,10,11
Thanks
SD CARD DRIVER WITH SDIO
Re: SD CARD DRIVER WITH SDIO
ESP-IDF has the SDMMC driver which can use these pins (you need to use slot = SDMMC_HOST_SLOT_0 in sdmmc_host_t structure to use it).
Note however that these pins are normally used by the SPI flash. It is only possible to use SDMMC on these pins if SPI flash is assigned to other pins. This can configured using EFUSEs.
Note however that these pins are normally used by the SPI flash. It is only possible to use SDMMC on these pins if SPI flash is assigned to other pins. This can configured using EFUSEs.
Re: SD CARD DRIVER WITH SDIO
Hi ESP_igrr
Thanks for the reply, I changed the slote 1 to slote 0 in sdmmc_host_t structure .
As per your suggestion
" It is only possible to use SDMMC on these pins if SPI flash is assigned to other pins"
could you please tell me how to assign the SPI flash to other pins?
Thanks
Thanks for the reply, I changed the slote 1 to slote 0 in sdmmc_host_t structure .
As per your suggestion
" It is only possible to use SDMMC on these pins if SPI flash is assigned to other pins"
could you please tell me how to assign the SPI flash to other pins?
Thanks
Re: SD CARD DRIVER WITH SDIO
I am also curious on how to assign SPI flash to other pins. I'm looking to use 2 SD cards, one each on _0 and _1.
Re: SD CARD DRIVER WITH SDIO
SPI flash can be remapped to other pins by burning EFUSEs of the ESP32. "espefuse.py" tool which comes with IDF can be used for this purpose. Please see
https://github.com/espressif/esptool/wi ... flash-pins
https://github.com/espressif/esptool/wi ... flash-pins
Who is online
Users browsing this forum: No registered users and 362 guests