Skip to main content
Visitor II
June 2, 2025
Question

How to use SD using FatFs on STM32U575

  • June 2, 2025
  • 1 reply
  • 406 views

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?

    This topic has been closed for replies.

    1 reply

    ST Employee
    June 2, 2025

    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!

    ireAuthor
    Visitor II
    June 2, 2025

    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!