Skip to main content
Visitor II
November 19, 2025
Solved

SDMMC+MDMA withou FATFS on STM32H723ZG

  • November 19, 2025
  • 1 reply
  • 139 views

Hello everyone,


This is my first post on the platform, so please bear with me.
I would like to write raw data to an SD card very quickly.
After quite a bit of research, I decided to use SDMMC with MDMA, and I want to write directly to the SD card blocks to avoid latency associated with the FATFS overlay.
Apart from an old post that explains how to configure MDMA and link it to SDMMC, I haven't found any concrete examples of a function that allows reading and writing to the SD card.

Could you give me a simple example of writing and reading to use MDMA with SDMMC to write to the SD card, or point me to existing projects or examples that I may have missed?

Thanks in advance.

 

Best answer by ELABI.1

Hi @davinci,

You can take a look at Application Note AN5200Getting Started with the STM32H7 MCU SDMMC Host Controller. Also, this example in STM32CubeH7 might be helpful to you.

Thanks.

ELABI.1

1 reply

ELABI.1
ELABI.1Best answer
Technical Moderator
November 20, 2025

Hi @davinci,

You can take a look at Application Note AN5200Getting Started with the STM32H7 MCU SDMMC Host Controller. Also, this example in STM32CubeH7 might be helpful to you.

Thanks.

ELABI.1

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.