chegewara / EspTinyUSB

ESP32S2 native USB library. Implemented few common classes, like MIDI, CDC, HID or DFU (update).
MIT License
489 stars 70 forks source link

Feature Request: SDMMC/SDIO support for MSC_SD example? #30

Closed hwang59 closed 3 years ago

hwang59 commented 3 years ago

This is actually a feature request, but i couldn't figure out how to tag it as such.

Many SD BO and connectors support a much faster SDIO compared to the legacy SPI. This would significantly alleviate the speed bottleneck which is at least partially caused by the SPI interface in the example. This might even be relatively simple to implement, as esp32 s2 supports SDIO, and the arduino-esp32 library has provided SD_MMC API in their examples, The API format is relatively similar to the SPI API, the only seemingly significant difference being the amount of pin connections needed.

chegewara commented 3 years ago

Sorry, but S2 does not support SDIO/MMC. Only SPI sd card is supported on S2.

hwang59 commented 3 years ago

My mistake, I was under the impression that SDIO was an option since it was listed in the esp32 s2 programming API guide.