2021-11-23 07:12 AM
I'm using a STM32F103 MCU in a project with micro SD card interface. The SD card is connected via SPI. When I use the STM32 SW, I can only connect to SD cards with a maximum capacity of 2GB.
How can I support cards with up to 32GB capacity?
2021-11-23 07:27 AM
SDHC/SDXC have been supported for a long while, FATFS also supports FAT32 and EXFAT, although I'd recommend current middleware, and not stale one.
The AdaFruit shield example code in the CubeF1 BSP should demonstrate SPI connectivity to cards of capacities up to 400GB or more.