This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Will data be stored to cache first when I send a large amount of data continually(exceed the size of cache)?

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

Parents
  • 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

Reply
  • 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

Children
No data