AnsweredAssumed Answered

SD card reading erroraneous data while using DMA

Question asked by arbitrer on Mar 11, 2015

I'm using the FAT file system for STM32F4 provided by tilen, This code implements simple SPI transaction for data, which I was able to do successfully.

I tried implementing DMA for writing/reading chunk of data (sector read/write has 512 bytes), I was able to write to the SD card using DMA method, But while trying to read data from SD card using DMA , I'm getting the data where some bytes are missing (erroneously) .

My DMA code is working fine since I tested it for another interface so that might not be the issue..

What is causing this kind of behavior?