Skip to main content
Senior
October 10, 2024
Solved

SDIO FATFS SDMMC_ERROR_COM_CRC_FAILED

Hello, 

I am using a STM32F411 with SDIO (4bit) and fatfs

When reading block I have regular SDMMC_ERROR_COM_CRC_FAILED error, from 

SDMMC_GetCmdResp1 function. 
What could be the reason for such error ? thanks
Vincent 
 

 

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
October 10, 2024

Data corruption on the wire?

Signal integrity, cross talk..

Data and command line should have pullup resistors, line lengths relatively consistent. 

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
October 10, 2024

Data corruption on the wire?

Signal integrity, cross talk..

Data and command line should have pullup resistors, line lengths relatively consistent. 

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
vbessonAuthor
Senior
October 11, 2024

I fixed the issue by changing the ClockDiv from 0 to 2 

Vincent