Skip to main content
SYako
Associate III
January 19, 2021
Solved

STM32L4P5, working with sdmmc in dma mode possible?

  • January 19, 2021
  • 9 replies
  • 2646 views

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.
Best answer by SYako

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
January 19, 2021

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
January 19, 2021

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
January 19, 2021

> 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""."