my mcu is stm32f407,
why my program in HAL_SD_CheckWriteOperation hangup !?
tanks for replay.
Dear jamal taheri,
Your issue description is general. Please provide more details and precise the firmware version of STM32cubeF4 you are using. Is-It the last version? Do you get an error message?
You can add your code to clarify your case.
You can refer to SD example within STM32CubeF4 V1.14.0, hope this helps you.
MCU : STM32F407
STM32Cube FW_F4 V1.13.1
I have a detailed example, using the STM32CubeMX to implement FatFs on SDIO that uses DMA like it.
Because, in STM32CubeMX implementation DMA for SDIO in FatFs unfortunately does not exist !!!
Help me please.
Actually now i am looking for sdio fatfs with DMA too. Do you have any progress with your project? I cant find a proper example or guide how to configure that. Thanks
Stop using DMA ,use FIFO polling instead.
Why not use DMA for sdio fatfs? What if i have demanding application that computes a lot in realtime and also i need a lot of data to be transferred to the sd card? So you say one can not use DMA in sdio fatfs app with stm32?
Given the forum traffic on the CubeMX/HAL SDIO implementation, I'd assume because it has a better chance of working.
The read/write speeds are highly dependent on the cards in question and size/alignment of the data transfers. Current SPL implementations I'm typically seeing 5-11 MBps writes, and 9-20 MBps reads, using DMA
Thanks for your answer but: Do you have any material, guide, or something that would help me configure sdio fatfs with DMA? I would be very grateful.
Please check this topic:
Retrieving data ...