2025-12-10 2:16 PM - last edited on 2025-12-12 2:42 AM by Saket_Om
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.
2025-12-12 2:07 AM
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