AnsweredAssumed Answered

STM32 CubeMX FATFS SDIO DMA hangs

Question asked by medeiros.daniel.001 on Feb 20, 2016
Latest reply on Feb 25, 2016 by smith.greg.005
I have regular transfers working for read/writes. I am trying to get transfers working with DMA. I am using CubeMX 4.12.

I set it up to have a dma request for both TX and RX (DMA2 Stream 3 and DMA2 Stream 6 respectively).

I modified sd_diskio.c function SD_read to point to BSP_SD_ReadBlocks_DMA instead of BSP_SD_ReadBlocks - But the system hangs in SD_DMA_RxCplt waiting for the transfer to finish.

MX_DMA_Init() is called in the configuration of the initialized peripherals - Any ideas ? Thanks

Outcomes