AnsweredAssumed Answered

Trouble with FatFS and SDIO(DMA) L4

Question asked by ChrisH on Dec 22, 2016
Latest reply on Dec 26, 2016 by ChrisH

While my setup, in general, works just fine, the data I write is somehow misaligned. If I use f_write() with over 512 bytes of data it will behave in an unpredictable manner either adding or removing bytes. Since I store my data as fixed size sentences this situation causes later on weird behavior. At the same time when writing 512 bytes or less everything works perfectly fine. Is this an issue with data alignment for DMA controller?

Outcomes