2025-12-23 8:53 PM
Why can’t my cubemx configure L1 cache? How to enable it?
Also, the MPU cannot be configured. You can only use the default configuration and modify it in the generate code.
I also configured Memory management, but did not see the enable Cache and MPU synchronization settings
CubeMx 6.16.1 on macos
MAC 26.1
MCU:STM32H743IIT6
Solved! Go to Solution.
2025-12-23 11:46 PM - edited 2025-12-24 2:07 AM
Hello @luke gong
You need to make sure that the option "Apply Application Region Settings to Peripherals" is OFF
Then go back to your MPU configuration: you will be able to enable the CPU I‑Cache and D‑Cache (L1 cache) and modify the settings as needed.
THX
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-12-23 11:46 PM - edited 2025-12-24 2:07 AM
Hello @luke gong
You need to make sure that the option "Apply Application Region Settings to Peripherals" is OFF
Then go back to your MPU configuration: you will be able to enable the CPU I‑Cache and D‑Cache (L1 cache) and modify the settings as needed.
THX
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.