SD/MMC interface card capacity limits

Posts: 1
Joined: Tue Dec 15, 2015 1:11 am

SD/MMC interface card capacity limits

Postby datltq » Wed Jan 15, 2020 6:37 am


In this example the card capacity showed
Size: 61068MB ... 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.

Posts: 1575
Joined: Tue Dec 01, 2015 8:37 am

Re: SD/MMC interface card capacity limits

Postby ESP_igrr » Thu Jan 16, 2020 1:22 am

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.

Who is online

Users browsing this forum: jmartinezdemendivil, MSN [Bot] and 43 guests