Solved
Secure checkbox of LTDC_L2 is not selectable in STM32CubeMX
- February 4, 2026
- 2 replies
- 144 views
I'm trying to use dual layers in LTDC of STM32N657X0HxQ controller. In the STM32CubeMX, I tried to set the Secure bit of RISUP for LTDC_L2 in RIF setting view, but the box is in gray color and is not selectable as follows.

When I generate code with this box unchecked, my program does not work. So I manually changed the Secure bit in source code, which made LCD display work fine.
How can I change the Secure checkbox in STM32CubeMX?
My STM32CubeMX is version 6.16.1 for Windows 11.
I've attached the ioc file.


