Need assistance with SD_MMC on ESP32 S3

I would like to use SD_MMC because it supports larger cards and is supposedly faster. Examples I find are apparently for earlier versions of the ESP32 and not specific to the S3 and the S3 seems to be different.

Is it true that I can basically use any pins I want? I need normal SPI to work with a TFT monitor and would like to use SD_MMC for SD access. I would assume that I could use the same CLK pin for both SPI and SD_MMC. I don't know how clean the various libraries are (setting SS -only- before access and resetting it immediately after) so I am thinking it would be best to have MISO/MOSI completely separate from D0, D1, D2, D3 and CMD.

One difference on using the SD_MMC with the S3 seems to be that it is mandatory to call SD_MMC.setPins before calling SD_MMC.begin.

Does anyone have an example of using SD_MMC with the ESP32 S3?

My 64GB card says it is formatted with exFAT. Is that correct and if not, what should it be formatted to?

Thanks.

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