cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Loging data to an sd Card STM32U545CET6

B5773
Visitor

Hi,

I am a junior developer, and I am trying to get an SD card working on an STM32 U5 series MCU with SPI. I encountered a problem: in the middleware section of CubeMX, I don't see FatFS; instead, I only have FileX. However, FileX does not have an SD card interface in my case. I want to use FatFS, but I’m not sure how to implement it into the project.

Is it possible to generate the FatFS code on another board that supports it and then transfer the files into the new project?

What are my options?

Thanks.

B5773_0-1737124303721.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hello @B5773 

There has been a migration from FATFS to FileX for file system management within the STM32CubeU5 firmware package.

Please have a look at this ST wiki page to have more details about the migration from FatFS to FileX and how to develop a basic SD card file operations application.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

1 REPLY 1
Imen.D
ST Employee

Hello @B5773 

There has been a migration from FATFS to FileX for file system management within the STM32CubeU5 firmware package.

Please have a look at this ST wiki page to have more details about the migration from FatFS to FileX and how to develop a basic SD card file operations application.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen