cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6 NUCLEO - GPIO fault

daniel_varga
Associate II

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!

1 ACCEPTED SOLUTION

Accepted Solutions
mƎALLEm
ST Employee

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.

View solution in original post

4 REPLIES 4
mƎALLEm
ST Employee

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.
TDK
Super User

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".

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!

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