cancel
Showing results for 
Search instead for 
Did you mean: 

Hi there, I would like to know how to read the physical characteristics of an SDCard to format it automatically. I work on STM32U575 with STM32CubeIDE and FILEX Thanks

Echel.1
Associate II
5 REPLIES 5
CMYL
ST Employee

Hi Echel,

can you please refer to the following projects: \Projects\STM32U575I-EV\Examples\SD and ~\Projects\STM32U575I-EV\Examples\SMARTCARD\SMARTCARD_ComDMA provided by STM32CubeU5-FW. It may help.

Best regards,

Younes

Echel.1
Associate II

Hi Younes,

Many thanks for your message, i will see those projects.

Thank you, bye

Cards report via CSD structure, or EXTCSD for eMMC

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

Hi Tesla Delorean,

Thank you very much, i see i can use the HAL_SD_GetCardCID and HAL_SD_GetCardCSD to get all the information i need.

Bye

CMYL
ST Employee

Great Echel :)