2018-12-03 03:42 AM
I use cubemx set the PA0 as a GPIO input, However it just didn't work. why???
2018-12-03 04: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