2024-10-07 04:38 AM - last edited on 2024-10-07 04:41 AM by SofLit
Hello,
I'm studying the STM32F767 MCU, and I noticed that in STMCubeIDE is possible to configure if the speculation is permitted, but I didn't find an explanation of this feature. If I set Speculation disabled, do I set the flash strongly-ordered? Does speculation concern only the flash or it concerns also the other memories?
Thank you
2024-10-07 04:46 AM - edited 2024-10-07 04:48 AM
Hello,
In CubeMx while you start a new project with a Cortex-M7 based microcontroller, it invites you to disable the speculative access using background MPU configuration.
This setting is to prevent the speculative access to unused external memory regions such as FMC, QSPI etc ..
Internal memories including the flash are not impacted by the speculation.
For more explanation, please refer to this thread.
Hope I answered your question.