Skip to main content
Senior
Oct 10, 2024 8:06 AM UTC
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
Oct 10, 2024 9:42 AM UTC

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
Oct 10, 2024 9:42 AM UTC

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
Oct 11, 2024 7:42 AM UTC

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

Vincent