stmf429ZI Can't use the PA0 as a user button
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-12-03 3:42 AM
I use cubemx set the PA0 as a GPIO input, However it just didn't work. why???
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-12-03 4:31 AM
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
