cancel
Showing results for 
Search instead for 
Did you mean: 

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

matt-crc
Senior III

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

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Ghofrane GSOURI
ST Employee

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.

View solution in original post

1 REPLY 1
Ghofrane GSOURI
ST Employee

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.