-
Notifications
You must be signed in to change notification settings - Fork 1.3k
ESP32-S2 WROVER: SD card example #3329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi! We haven't tested SDCards with the S2 yet. The SPI based SD library and it's examples should just work. Most pins will work up to 40mhz. You'll need to pick specific pins to get up to 80mhz. They allow for the SPI peripheral to talk to pins via the IOMUX directly. We don't have any examples using SDIO to talk to the card and I'm not sure the ESP32-S2 has a peripheral to do it. |
I have tried this pinout but it doesn't work for my ESP32-S2 and gpio_csn = board.IO34 # SD_D3 full source for my SD mount attempt is here: |
This is pinout of, and code for, a board with esp32-s2, sdcard and optional lcd. HTH. pinout with sdcard |
I think it's likely that it doesn't work due to the ignored value of write_value in common_hal_busio_spi_read, an esp32 flavored version of #3176. This function (at least handling the all-ones value 0xff) is required for SPI SD cards to work. |
Closing again in favor of #3396 |
Is there some recommended pinout (schematics) to
connect and example commands how to mount SD card
to Saola-1 WROVER module?
I'd like simple example how to mount SD card in 1-bit (SPI) mode
(pin saving) and 4-bit (MMC) mode (faster).
The text was updated successfully, but these errors were encountered: