How to Use ESP32 SD_MMC in 1-bit mode

I am planning to use an SD card in SD_MMC 1-bit mode, but there is little on the Internet on this subject. Does anyone here know how to achieve this? Thank you.

I read via a somewhat unrelated topic on ESP32-CAM (motion detection -> take photo -> save to SD) that somebody asked how to disable the LED flash. I thought that the solution was to put the SD card SPI interface into 1-bit mode.

If I recall correctly, it was in the SD_MMC.begin() function call and I think it was changed to something like:

SD_MMC.begin("/sdcard", true);

EDIT: the "true" parameter is setting mode1bit in begin().

Thanks. What about the pin connections?

Pin connections mentioned here;

Thats for an ESP32CAM, but the pins are fixed in any case.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.