cancel
Showing results for 
Search instead for 
Did you mean: 

What is pros/cons of using I-cache and D-cache in SPI communication ?

SSRIN.1
Associate III

I am currently trying to implement Interrupt-based SPI communication. I was looking through the examples given by STM and came across a line that enables the above-said cache. I was wondering what advantages it confers?

1 REPLY 1

https://en.m.wikipedia.org/wiki/Cache_(computing)

Pro is generally faster execution of code by processor, con is that DMA doesn't access the cache thus data coherency between D-cache and the RAM used by DMA is not automatic.

JW