cancel
Showing results for 
Search instead for 
Did you mean: 

Data Block CRC failure (DCRCFAIL) when using SDIO with DMA

Hemanth Sundaresh
Associate II
Posted on February 10, 2017 at 10:40

I am getting Data Block CRC failure (DCRCFAIL) when I configure data transfer in SDIO using DMA.

I am not using HW Flow control in SDIO

The same code works fine without DMA

What is the reason for CRC failure and any work around for this?

#dma #sdio-dma #f407 #sdio
4 REPLIES 4
Gid Rid
Associate II
Posted on February 10, 2017 at 12:06

Heh, welcome to the club. Do you also get FIFO errors on the DMA channel?

You should probably say which processor, development kit and what kind of card you are using, but it might not make much difference as they are very similar across the range. In general though, you need to give the peripheral and DMA very high priority, and make the wiring to the card very short. There is a lot of debate on here and elsewhere about the state of the ST drivers, as there just seems to be tumbleweed.

Posted on February 10, 2017 at 12:32

Sorry forgot to add HW setup details.

I am using STM32F407 discovery board. 

I am using SD IO card with this board.

Yes, I do get FIFO error during reception.

JulianH
Associate II
Posted on May 09, 2018 at 11:21

I have the same problem, did you solve it?

Posted on May 09, 2018 at 13:49

No

:(

I didn't get any further info.

On Wed, 9 May 2018 at 2:52 PM, Julian Hindelang <