Skip to main content
Visitor II
March 31, 2024
Question

How to disable OCTOSPI Prefetch in Memory Mapped Mode?

  • March 31, 2024
  • 1 reply
  • 927 views

Hello everybody,

for my current application I would like to disable the prefetching of the OCTOSPI peripheral.
I'm using a STM32H723VGT6. Ideally one can configure it to be in memory mapped mode but still do every transmission without caching or prefetching. If one asks for address XYZ one allways triggers an new request for this address.

Is this possible?
Thanks!

    This topic has been closed for replies.

    1 reply

    Graduate II
    March 31, 2024

    Configure the MPU for the address range to limit buffering, caching, etc.

    Visitor II
    March 31, 2024

    Hi!

    Thanks for the fast answer!
    As far as I'm aware this prefetching is done withing the OCTOSPI using the FIFO (32 Bytes) and not using the M7s caching system. In the RM it says that by default there is prefetching, but I can not find how to change this.

    Thanks!