What is pros/cons of using I-cache and D-cache in SPI communication ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-06 9:07 PM
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?
Labels:
- Labels:
-
SPI
-
STM32F7 Series
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-06 11:49 PM
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
