Skip to main content
JJ.2
Associate
March 3, 2021
Solved

What is the maximum size of SD card that, I can use with ST controller for storing data? Please suggest the controller series also.

  • March 3, 2021
  • 2 replies
  • 3579 views

..

Best answer by Tesla DeLorean

Largest one I've used/test to capacity was 400GB, on multiple STM32 platforms (F4, L4, F7, H7..), and with FatFs builds that work properly..

Could probably get the F1 to work if I could find one with an SDIO interface, as the SPI is slowww..

2 replies

Ozone
Principal
March 3, 2021

This depends on the firmware (like FatFS), not the controller.

Any type with SPI will do.

JJ.2
JJ.2Author
Associate
March 3, 2021

Can i use SDIO/MMC interface and SPI interface irrespective of firmware​? Or using which interface is suitable for large memory?

Tesla DeLorean
Guru
March 3, 2021

Largest one I've used/test to capacity was 400GB, on multiple STM32 platforms (F4, L4, F7, H7..), and with FatFs builds that work properly..

Could probably get the F1 to work if I could find one with an SDIO interface, as the SPI is slowww..

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
HDaji.1
Senior
April 8, 2025

Any official tutorial from STM on how to write firmware to access SD card using SPI?

I found this one, however it uses SDIO.