cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H755ZI SDMMC + MDMA Setup, Clarification Needed for FreeRTOS Use

Daniel_Ismail
Associate II

I'm working with the STM32H755ZIT6 and currently setting up an SD card interface using the SDMMC peripheral. I’ve noticed that while AN5200 emphasizes the use of MDMA with SDMMC, CubeMX doesn't explicitly show a DMA option for the SDMMC1/2 interfaces on this MCU. However, it does allow enabling MDMA globally, and some documentation implies that we can still utilize DMA functionality as long as it's enabled (DMA Template).

My questions are:

  • What are the advantages of MDMA over typical DMA when used with SDMMC on the STM32H7 series, particularly with regard to performance, FreeRTOS compatibility, and CPU offloading?
  • How do I correctly set up MDMA with SDMMC in CubeMX and CubeIDE? Are there any specific things I need to enable in the configuration?
  • A working example or reference project using STM32H7 + SDMMC + MDMA (with or without FreeRTOS) that demonstrates proper buffer handling and task-safe integration would be helpful. 

While AN5200 touches on MDMA, I find it a bit vague when it comes to actual implementation steps or project structure. I’d greatly appreciate any clarification or best practices on its implementation.

Thanks in advance for any help or insights!

0 REPLIES 0