Skip to main content
Associate
February 7, 2026
Solved

STM32N6 NUCLEO - GPIO fault

  • February 7, 2026
  • 2 replies
  • 261 views

Board: NUCLEO-N657X0-Q

Revision: C

Problem: MCU cannot pull PA2 to low, only to about 2.5V. I tried it in push-pull and open drain modes. SB6 has been desoldered to isolate it from the analog attenuation circuit, but it didn't work with it soldered. It doesn't work with the "GPIO_IOToggle" example project either, same behaviour. Pulling the pin up to 3V3 works just fine. PA2 is the pin so far which has caused this issue. Holding the reset button makes the pin go high (3V3), indicating a hardware issue, as far as I know. My best guess is it is somehow pulled up through a pull up resistor, but I haven't found any evidence of it in the documentation.

I attached some documentation which I investigated.

Any help is appreciated, thank you!

Best answer by mƎALLEm

Hello @daniel_varga and welcome to the community.

@daniel_varga wrote:

Holding the reset button makes the pin go high (3V3), indicating a hardware issue.


That seems to tell the IO on PA2 is destroyed. Pulling down reset pin puts the IO in Hi-Z.

Do you have another board to test and confirm?

2 replies

mƎALLEm
mƎALLEmBest answer
Technical Moderator
February 7, 2026

Hello @daniel_varga and welcome to the community.

@daniel_varga wrote:

Holding the reset button makes the pin go high (3V3), indicating a hardware issue.


That seems to tell the IO on PA2 is destroyed. Pulling down reset pin puts the IO in Hi-Z.

Do you have another board to test and confirm?

"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."
Associate
February 7, 2026

Now that you say it, I can recall a measurement when I might have accidentally given overvoltage to the pin. Since these are not very resilient to that, frying the GPIO is the most plausible explanation...
I don't currently have another board to test this, but this is the only explanation so far.
Thanks for the answer!

TDK
Super User
February 7, 2026

Do other pins have the same issue? If not, likely the board has been damaged. There's nothing special about PA2.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate
February 7, 2026

Thanks for the answer! Other pins seem fine, I'm fairly certain now that I have fried it accidentally :(