Skip to main content
Visitor II
April 27, 2026
Question

stm32F746G Discovery + TouchGFX + FreeRTOS and SDMMC (SD card)

  • April 27, 2026
  • 0 replies
  • 35 views

Hi everyone,

I’m relatively new to embedded systems, so apologies if this has already been discussed elsewhere. I’ve tried searching, but haven’t been able to find a clear solution.

I’m currently developing a system based on the STM32F746G Discovery board using TouchGFX for the touchscreen UI. In addition, I’m interfacing with a distance sensor over I2C. My goal is to log data (timestamp + sensor value, already formatted) to an SD card.

The issue I’m facing is the following:

  • When I enable only SDMMC and FatFS in CubeMX, I can successfully open a file and write data to it.
  • However, when I integrate this functionality into my full project (which includes TouchGFX, FreeRTOS, and I2C), the SD card logging no longer works.

I’d really appreciate any guidance or suggestions on what might be causing this or how to approach debugging it.

Thanks in advance!