Skip to main content
Associate II
February 4, 2026
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.

스크린샷 2026-02-04 154448.png
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.

Best answer by Ghofrane GSOURI

Hello @JaeLee 

All you need to do is :

Go to LTDC--> Feature tab and tick the LTDC_L2 in FSBL (for example )

GhofraneGSOURI_0-1770287810668.png

Then go to RIF; you will see that the LTDC_L2 box is checked, as you requested.

GhofraneGSOURI_2-1770288483679.png

 

You can use the attached IOC; I have activated the option for you.

THX

Ghofrane

2 replies

Ghofrane GSOURI
Technical Moderator
February 4, 2026

Hello @JaeLee 

I'm currently investigating this behaviour.I will get back to you ASAP.

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.
Ghofrane GSOURI
Ghofrane GSOURIBest answer
Technical Moderator
February 5, 2026

Hello @JaeLee 

All you need to do is :

Go to LTDC--> Feature tab and tick the LTDC_L2 in FSBL (for example )

GhofraneGSOURI_0-1770287810668.png

Then go to RIF; you will see that the LTDC_L2 box is checked, as you requested.

GhofraneGSOURI_2-1770288483679.png

 

You can use the attached IOC; I have activated the option for you.

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.