Skip to main content
matt-crc
Senior III
February 26, 2026
Solved

How to configure GPIOs for different domains (FSBL and Application)?

  • February 26, 2026
  • 1 reply
  • 149 views

Hello,

I'm using the STM32N657 on a new project, and its not clear how users are supposed to setup GPIOs that are used in different domains (FSBL, Application, ExtMemLoader).  For example I am using pin PN12 as a LED output and defined it in FSBL.  Why doesn't this definition carry over to the other domains, and how can I get CubeMX to carry it over to the other domains?

 

thanks

Matthew

 

 

 

Best answer by Ghofrane GSOURI

Hello @matt-crc 

It should be possible to assign the same GPIO in multiple contexts, in the same way as on the STM32H7R.

Ticket 224701 has already been escalated to dev team to correct this behavior. 

In the meantime, you need to add the GPIO configuration code manually if you want to use it in different contexts.

I will keep you posted with updates.

THX

Ghofrane

 

1 reply

Ghofrane GSOURI
Ghofrane GSOURIBest answer
Technical Moderator
February 26, 2026

Hello @matt-crc 

It should be possible to assign the same GPIO in multiple contexts, in the same way as on the STM32H7R.

Ticket 224701 has already been escalated to dev team to correct this behavior. 

In the meantime, you need to add the GPIO configuration code manually if you want to use it in different contexts.

I will keep you posted with updates.

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.