cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble with FatFS and SDIO(DMA) L4

ChrisH
Associate III
Posted on December 22, 2016 at 22:05

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?

1 REPLY 1
ChrisH
Associate III
Posted on December 26, 2016 at 18:14

Anyone, any ideas?