Skip to main content
SYako
Associate III
Jan 19, 2021 1:44 PM UTC
Solved

STM32L4P5, working with sdmmc in dma mode possible?

Recently I swithc project to STM32L4P5CET as main mcu. I can't see any option to use sdmmc in dma mode (In stm32cubeide/mx). Is ST planning to add support later, or it's impossible?

This topic has been closed for replies.
SYako
SYakoBest answer
Associate III
Apr 30, 2021 4:46 PM UTC

Okey, I managed to port FatFS from other L4(non plus) MCU. For people reading this in future: STM32L4+ SDMMC has it own IDMA, there is no need to initialize DMA at all. Here is my test code: https://github.com/Maobuff/STM32L4P5CET_FATFS_SDMMC_DMA

9 replies

Tesla DeLorean
Guru
Jan 19, 2021 4:36 PM UTC

Hardware is capable, do you need a demo?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
SYako
SYakoAuthor
Associate III
Jan 19, 2021 4:49 PM UTC

Thank you. I'm so attached to stm32cubeide and just wondering is that possible(now I know that is possible). When such support will be added to stm32cubeide?

TDK
Jan 19, 2021 4:59 PM UTC

> When such support will be added to stm32cubeide?

Given the history of barely/almost working support of SD/MMC in HAL, I wouldn't hold your breath. It's been in the current state for at least a couple years. If it was a priority, it would have been done by now.

"If you feel a post has answered your question, please click ""Accept as Solution""."