Skip to main content
Hemanth Sundaresh
Associate II
February 10, 2017
Question

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

  • February 10, 2017
  • 2 replies
  • 1870 views
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
This topic has been closed for replies.

2 replies

Gid Rid
Associate III
February 10, 2017
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.

Hemanth Sundaresh
Associate II
February 10, 2017
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
May 9, 2018
Posted on May 09, 2018 at 11:21

I have the same problem, did you solve it?

Hemanth Sundaresh
Associate II
May 9, 2018
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 <