Skip to main content
RKade.1
Associate III
January 18, 2021
Question

Stm32f072 discovery board sd card size

  • January 18, 2021
  • 3 replies
  • 1136 views

I need what max size sd card i can connect to DIscovery Board containing Stm32f07d Controller over SPI?

As am planning to take that reference in my design.

And what is the solution to interface sd card of 8GB Size over SPI in Stm32f072 Controller?

Also share part number if possible which is compatible in Discovery Board.

Thanks

Rohit

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
January 18, 2021

An SPI design should be capable of supporting 400-512 GB cards (SanDisk Ultra), you'd have to write/validate the SW, but if you have SDHC/SDHX support done properly the ceiling there is 2TB.

Use a current version of FatFS, ST ships a stale/broken version.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
RKade.1
RKade.1Author
Associate III
January 19, 2021

Thanks for reply.

For implementing Fatfs , do i need to have dedicated SD-card Port in Controller or simple spi also will do for implementing code with FatFs?

Am using Stm32f072 controller, will it support SPI based card interfacing upto 2TB? Also will that controller support Micro SD card with SDSC,SDHC,SDXC Types?

Can't i use SD card as Flash or EEprom with read & wrte as Byte in it, with its respective addresses ? Instead of using Fatfs? Which will enable to connect big SD card storages over spi.

Thanks

Rohit

RKade.1
RKade.1Author
Associate III
January 19, 2021

Hi ,

Please share current version of Fatfs Link here if possible.

Request to share it for Standard Peripheral Library.

Thanks & Regards,

Rohit