cancel
Showing results for 
Search instead for 
Did you mean: 

stmf429ZI Can't use the PA0 as a user button

User.55
Associate

I use cubemx set the PA0 as a GPIO input, However it just didn't work. why???

1 REPLY 1

Maybe because of hardware connection, bad solder joints, or simply improper usage.

Read out and check the relevant GPIOA registers (MODER mainly); if set properly, check if changing input level on the PA0 pin is reflected in bit 0 of GPIOA_INR.

JW