LilyGO / TTGO-T8-ESP32

esp32-i2s-sdcard-wav-player
99 stars 26 forks source link

microSD data pins #7

Open kaofishy opened 5 years ago

kaofishy commented 5 years ago

The pinout for all versions of the board states that the microSD data pins are correctly connected to the SDMMC host interface on the ESP32, but in the schematics it shows DAT1-3 as disconnected and only DAT0 connected. On the board I have I can only make SDMMC work in 1-bit mode so it suggests to me the schematics is correct. Please confirm whether this is the case or not. Thanks.

tionebrr commented 3 years ago

The sd slot is wired in SPI 1-bit mode.

venice1200 commented 3 years ago

I can confirm working 1-Bit SD-Bus-Mode and SPI Mode. But I have to SD_MMC.begin("/sdcard", true) twice in my Arduino Sketch. First .begin fails, second is OK. Using Arduino 1.8.13 with ESP 1.0.5.

koradeh commented 1 month ago

// pullup GPIO2 for SD_MMC mode, you need 1-15kOm resistor connected to GPIO2 and GPIO19 Or pinMode(2, INPUT_PULLUP);