Skip to main content
luke gong
Associate II
December 24, 2025
Solved

Why can't use L1 cache on cube mx, Memory manage also can't use L1 cache

  • December 24, 2025
  • 1 reply
  • 340 views

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

 

 

Snipaste_2025-12-24_11-15-55.pngmemory manage.pngmac system infomation.png

Best answer by Ghofrane GSOURI

Hello @luke gong 

You need to make sure that the option "Apply Application Region Settings to Peripherals" is OFF 

GhofraneGSOURI_0-1766570437665.png

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.

GhofraneGSOURI_1-1766570743132.png

 

THX

Ghofrane

1 reply

Ghofrane GSOURI
Ghofrane GSOURIBest answer
Technical Moderator
December 24, 2025

Hello @luke gong 

You need to make sure that the option "Apply Application Region Settings to Peripherals" is OFF 

GhofraneGSOURI_0-1766570437665.png

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.

GhofraneGSOURI_1-1766570743132.png

 

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.