cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for a working STM32H5 SDMMC + FileX + ThreadX example project (not FatFS)

Jainxu
Associate

Hi, I’m trying to get SDMMC + FileX + ThreadX working on an STM32H5 (NUCLEO-H563ZI) and I can’t find any complete example. SDMMC works on its own, but once I enable FileX, fx_media_open fails and no files get created. I’ve tried the H573 FileX examples, aligning buffers, using 1-bit mode, and adapting the fx_stm32_sd_driver_template, but nothing has worked so far. Does anyone have a minimal working example project that shows FileX mounting the SD card through SDMMC and writing a simple text file? Even a small CubeIDE project or code snippet would be extremely helpful.

1 REPLY 1
MOBEJ
ST Employee

Hello @Jainxu , 

Please refer to the FileX applications available on GitHub, particularly the Fx_uSD_File_Edit application  tailored for the STM32H573I-DK board.
To ensure your project works correctly, please carefully consult the README file included with the application. It contains detailed explanations and instructions on how the example functions and how to properly integrate it.

Br

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.