cancel
Showing results for 
Search instead for 
Did you mean: 

SDMMC+MDMA withou FATFS on STM32H723ZG

davinci
Associate

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions
ELABI.1
ST Employee

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.

View solution in original post

1 REPLY 1
ELABI.1
ST Employee

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.