cancel
Showing results for 
Search instead for 
Did you mean: 

GPIO output not working

abhijith_raj
Associate III

Hi, 

I’m working on an STM32G491 MCU and facing an issue with GPIO PB9.

In my project, I initialize PB9 as a digital output and try to set it HIGH, but the pin always stays LOW on the board.

However, if I configure PB9 as input and toggle the pin externally in the same circuit, I can read HIGH and LOW correctly.

Why would PB9 not go HIGH when configured as output? What could be the possible reasons or things to check?

0 REPLIES 0