Skip to main content
Mikk Leini
Senior
January 7, 2026
Solved

Cannot assign GPIO into multiple contexts

  • January 7, 2026
  • 1 reply
  • 219 views

Using latest STM32CubeMX version 6.16.1 on STM32N6570-DK. It is possible to assign peripherals like UART, I2C, etc. into multiple contexts - boot, app, memloader, but I cannot find a way to assign plain simple GPIO's into multiple contexts. CubeMX only allows to pick Free (which means none) or one of them. Needless to say, I would like to use same LEDs and buttons from multiple contexts. I don't think the RIF is the cause, not using it right now. Seems like a missing feature.

MikkLeini_0-1767774307084.png

MikkLeini_1-1767774322825.png

 

Best answer by Ghofrane GSOURI

Hello @Mikk Leini 

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

GhofraneGSOURI_0-1767785138153.png

 

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

THX

GHofrane

1 reply

Ghofrane GSOURI
Ghofrane GSOURIBest answer
Technical Moderator
January 7, 2026

Hello @Mikk Leini 

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

GhofraneGSOURI_0-1767785138153.png

 

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

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.