cancel
Showing results for 
Search instead for 
Did you mean: 

How to use SD using FatFs on STM32U575

ire
Associate II

Hi!

I've been trying to insert FatFs in my IAR proyect for using a uSD for a while but it doesn't work.

I tried by downloading FatFs from the Internet, but also creating a STM32Cube project for another board and putting it on mine, but when I rebuild all, there are many errors.

I don't know if I have to activate something that I'm not minding or if there is something in those scripts I need to change before it compile. 

Could you please help me?

2 REPLIES 2
MOBEJ
ST Employee

Hello @ire 

The STM32CubeU5 firmware now uses FileX instead of FATFS

I recommend checking out this POST for more details. It also provides a demonstration on developing a basic SD card file operations application.

Thank you!

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
ire
Associate II

Hello, and thanks for your reply!

I tried it in my project and it seems to work. But the hardware of my SD card reader works with SPI, so I can't connect it. 

Is there any way to use the SD card on STM32U575 with SPI?

 

Thank you!