cancel
Showing results for 
Search instead for 
Did you mean: 

Supported SD Cards for FATFS Library Generated by CubeMX

Sujith
Associate II

Hello STM32 community,

I’m using FATFS, generated by CubeMX, in an STM32 project, and I would like to know which SD card types, speeds, and manufacturers are supported. Specifically, I’m interested in:

  • Which SD card types are supported: SD, SDHC, and SDXC?
  • Does the FATFS32 library natively support exFAT for SDXC cards, or does it require additional modifications?
  • Are there any sector size limitations or best practices for configuring SD cards within FATFS32?
  • What about SD card speeds (e.g., Class 10, UHS-I, UHS-II, UHS-III)—are there any recommendations for optimal performance?
  • Are there any recommended SD card manufacturers that are known to work well with FATFS32 (e.g., SanDisk, Samsung, Kingston, etc.)?

Any insights or recommendations regarding SD card types, speeds, and manufacturers for use with FATFS32 would be greatly appreciated.

Thank you!

2 REPLIES 2

For large cards you want the most recent releases of FATFS 

Cards up to 2TB should be viable. I've used 400-512GB ones. The STM32 is not particularly fast.

Write data as large aligned blocks for optimal performance. 

EXFAT typically has to be enabled in ffconf.h

 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Hi, I'm currently using a Class 4 SD card, and it's working fine. Are there any limitations associated with this class type?