Skip to main content
HAlzo
Associate III
Feb 25, 2020 1:40 PM UTC
Solved

Run DMA while ICache and DCache are enables

Hello,

I read the input data over SPI DMA, but when I added the AI part ICache and DCache are enabled.

The problem is that when ICache and DCache are enabled, the SPI DMA is not working.

How can I overcome this problem?

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Feb 25, 2020 1:46 PM UTC

You'd have to manage the cache coherency via Clean / Invalidate DCache by Address functions.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Feb 25, 2020 1:46 PM UTC

You'd have to manage the cache coherency via Clean / Invalidate DCache by Address functions.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..