hi
im new in esp32
can anyone help me how can connect esp32-s3-wroom to the sd card in 4-bit sdio protocol?
how can connect esp32-s3 to the sd card in 4-bit sdio protocol
Re: how can connect esp32-s3 to the sd card in 4-bit sdio protocol
There's an example for this under esp-idf/examples/storage/sdmmc.
From a hardware perspective, using sdio with the s3 is easy because the s3 allows you to use just about any GPIO for any of the sdio signals.
From a hardware perspective, using sdio with the s3 is easy because the s3 allows you to use just about any GPIO for any of the sdio signals.
Re: how can connect esp32-s3 to the sd card in 4-bit sdio protocol
thanks gtjoseph
isnt any default IO for SDIO?
how can i setup pin number for use sdio ?
isnt any default IO for SDIO?
how can i setup pin number for use sdio ?
Re: how can connect esp32-s3 to the sd card in 4-bit sdio protocol
The example at https://github.com/espressif/esp-idf/tr ... card/sdmmc
shows you exactly how to set the pins.
shows you exactly how to set the pins.
Re: how can connect esp32-s3 to the sd card in 4-bit sdio protocol
Hello,
Related to this question, we are looking to use the ESP32-S3-WROOM-2-N32R8V in a project.
We want to attach an SD card in 4 bit mode.
Per the datasheet, it appears the -S3 supports two separate SD card "slots".
* Would we be able to connect the SD card in 4 bit mode independent of the internal PSRAM and flash?
* Would we be able to map all of the signal lines to arbitrary GPIO pins on the module we're working with?
Looking at https://github.com/espressif/esp-idf/tr ... card/sdmmc
It suggests attaching GPIO33 and 34 to my SD card, but 33/34 is not connected to the pads on the module we are using - they're internally connected to the flash.
For our SD card, could we map GPIO33/34 to a different pin on our module?
TIA
Related to this question, we are looking to use the ESP32-S3-WROOM-2-N32R8V in a project.
We want to attach an SD card in 4 bit mode.
Per the datasheet, it appears the -S3 supports two separate SD card "slots".
* Would we be able to connect the SD card in 4 bit mode independent of the internal PSRAM and flash?
* Would we be able to map all of the signal lines to arbitrary GPIO pins on the module we're working with?
Looking at https://github.com/espressif/esp-idf/tr ... card/sdmmc
It suggests attaching GPIO33 and 34 to my SD card, but 33/34 is not connected to the pads on the module we are using - they're internally connected to the flash.
Code: Select all
GPIO36 CLK 10k pullup
GPIO35 CMD 10k pullup
GPIO37 D0 10k pullup
GPIO38 D1 not used in 1-line SD mode; 10k pullup in 4-line mode
GPIO33 D2 not used in 1-line SD mode; 10k pullup in 4-line mode
GPIO34 D3 not used in 1-line SD mode, but card's D3 pin must have a 10k pullup
TIA
Re: how can connect esp32-s3 to the sd card in 4-bit sdio protocol
Hi nullbert,
On ESP32-S3 you can use any available I/Os (not used for other purposes) for SDMMC peripheral. The driver will use the GPIO matrix to route the I/Os to the peripheral signals.
Please see the first paragraph in the S3 related part of the example README file: https://github.com/espressif/esp-idf/tr ... r-esp32-s3
Or the API reference: https://docs.espressif.com/projects/esp ... ring-gpios
So yes, you can use different IOs than 33 and 34 in your project.
On ESP32-S3 you can use any available I/Os (not used for other purposes) for SDMMC peripheral. The driver will use the GPIO matrix to route the I/Os to the peripheral signals.
Please see the first paragraph in the S3 related part of the example README file: https://github.com/espressif/esp-idf/tr ... r-esp32-s3
Or the API reference: https://docs.espressif.com/projects/esp ... ring-gpios
So yes, you can use different IOs than 33 and 34 in your project.
Who is online
Users browsing this forum: No registered users and 74 guests