Skip to main content
User.55
Visitor II
December 3, 2018
Question

stmf429ZI Can't use the PA0 as a user button

  • December 3, 2018
  • 1 reply
  • 619 views

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

    This topic has been closed for replies.

    1 reply

    waclawek.jan
    Super User
    December 3, 2018

    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