Dear friend
Cortex-M7 has cache. After enable data cache, will data be stored to cache first when I send a large amount of data continually?
The size of data exceed the space of cache.
Thanks!
Amanda
Hi Amanda,
what is you cache policy?
WriteBack or WriteThrough?
Write Allocate or Read Allocate?
The behavior will depend on them.
Best regards,
Yasuhiko Koumoto.
Hi Yasuhiko
I mean if I send a lot of data continually, the cache(now I use STM23F7, it has only 4KB data cache) will be full filled soon, then it need to write back those data and store the new data…write back old data, store the new data……
Do we have a mechanism to deal with this situation? Even if I don’t configure those memory address to WriteThrough attribute, The core will detect this situation and handle it in a different way. Or I can do something when write
code to tell the core this is a special case, it should handle it as WriteThrough? Thanks a lot!
Best Regards
Amanda SHEN