Skip to main content
Visitor II
January 17, 2025
Solved

Problem Loging data to an sd Card STM32U545CET6

  • January 17, 2025
  • 1 reply
  • 533 views

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

 

This topic has been closed for replies.
Best answer by Imen.D

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.

1 reply

Imen.DBest answer
ST Technical Moderator
January 17, 2025

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.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks