Part Number: AM3352
Hi!
I want to use the AM355x processor as “bare metal” for my application. I enable the MMU and Caches.
I have the problem with cached buffers, when data transfers by DMA. Sometimes (about one error per two hours) I get wrong data (aligned on the cache boundary, total size of buffer is more than 1 KB) from peripheral if I read it using the DMA.
Suggest me, please, where can I read recommendations about the order of the operations read/write operations using the DMA and cache. My order:
1. Tx data: Write to buffer; Clean buffer; DSB(or DMB?); Write data from buffer by DMA.
2. Rx data: Read data to buffer by DMA; Invalidate buffer; DSB(or DMB?); Read data.
Thanks!