2017-03-05 07:26 PM
I use fatfs to read text file line by line every time
when i use normal sdmcc driver which initialize sd wide mode to 4 B i got fault errors randomly and fatfs hang or stuck at hal sd_getscr function
so i have to change driver setting to 1B mode
I searched too much but couldnot find the problem solution
2017-03-05 11:35 PM
Dear elbeshlawy.mohammed,
Try to reduce SDMMC clock(down to below 12MHz),use FIFO Polling instead of DMA and insert series resistor on SDMMC_CK line(nearby MCU side).
2017-03-06 03:44 AM
Thanks for reply
I enabled hardware flow control then problem solved with 4 bit mode
Is that enough or still I have to do what you advised ?
2017-03-06 04:45 AM
I reduced clk to 16 mhz also problem solved without enable hardware control which mean I have to thank you very much
2018-06-19 10:37 PM
If reducing the clock to 16 MHz fixed the problem, then...
Verify that STM32F7 I/O compensation was turned on.
Verify that all the SDIO interface pins were set to 'fast' (50 MHz) edge speeds. They default to 2MHz.