2016-12-29 06:25 AM
hi
my mcu is stm32f407,
why my program in HAL_SD_CheckWriteOperation hangup !?
tanks for replay.
2016-12-29 06:39 AM
Dear
taheri.jamal
,Your issue description is general.Pleaseprovide more details andprecise the firmware version ofSTM32cubeF4 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.0, hope this helps you.
Best Regards
Imen
2016-12-29 12:01 PM
Thanks imen.
MCU : STM32F407
STM32CubeMX 4.17.0
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.
2017-06-22 12:53 AM
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.
Thanks2017-06-22 01:17 AM
Stop using DMA ,use FIFO polling instead.
2017-06-22 03:43 AM
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?2017-06-22 08:06 AM
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
2017-06-23 02:46 AM
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.
2017-07-21 07:56 AM
Please check this topic:
https://community.st.com/0D50X00009bMM7JSAW
Best regards
Radek