Skip to main content
Graduate
October 10, 2024
Solved

SDIO FATFS SDMMC_ERROR_COM_CRC_FAILED

  • October 10, 2024
  • 1 reply
  • 1275 views

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.
    Best answer by Tesla DeLorean

    Data corruption on the wire?

    Signal integrity, cross talk..

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

    1 reply

    Graduate II
    October 10, 2024

    Data corruption on the wire?

    Signal integrity, cross talk..

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

    vbessonAuthor
    Graduate
    October 11, 2024

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

    Vincent