Page 1 of 1

SD/MMC interface card capacity limits

Posted: Wed Jan 15, 2020 6:37 am
by datltq
Hi,

In this example the card capacity showed
Size: 61068MB
https://github.com/espressif/esp-idf/tr ... ge/sd_card. I assume this is a 64GB card. I'm not sure what is the maximum capacity supported by ESP-IDF
Is there any limits placed on SD/MMC cards using SPI interface supported on ESP-IDF? If yes, what is the limit?

Thank you all.

Re: SD/MMC interface card capacity limits

Posted: Thu Jan 16, 2020 1:22 am
by igrr
Typically for SDHC cards the size is limited by the filesystem, not the hardware. Cards larger than 32GB are typically sold formatted as exFat file system. FATFS library does support exFat, but this is not enabled by default. Also keep in mind that there are parents covering exFat which are still valid. So it is possible to support even larger cards, but whether you want to enable this in a product is a separate question.