2025-09-17 6:35 AM
I have set PA3 pin as input with pull up mode. But testing this pin by multimeter I get high impendance state (0.5V) on it. Must be 3.3V (logical 1). I use stm32F417ZGT6.
Solved! Go to Solution.
2025-09-18 12:05 AM - edited 2025-09-18 12:09 AM
Note, that the internal pullup is nominally 40kOhm, so it won't provide enough current to overcome an external 10kOhm pulldown to a valid logic 1 state.
Actually, if VDD is around 3V, a 40kOhm/10kOhm divider you have should result in cca 0.6V, matching your observation.
JW
2025-09-17 6:49 AM
welcome to the forum.
Please see How to write your question to maximize your chances to find a solution for best results.
In particular, Please give details of your hardware.
2025-09-17 7:35 AM
The attached code initialized PA3 as input with pullup. No problems there. Nothing special about PA3.
The issue is likely with your hardware. It's also possible you're not measuring the actual pin. Show a picture of your setup, schematic, and what you're actually measuring.
2025-09-17 11:51 PM
Schematic of PA3 port connecting
2025-09-17 11:52 PM
Schematic of PA3 port connecting
2025-09-18 12:00 AM
but If to configure PA3 as output then toggle in cycle of it works
2025-09-18 12:05 AM - edited 2025-09-18 12:09 AM
Note, that the internal pullup is nominally 40kOhm, so it won't provide enough current to overcome an external 10kOhm pulldown to a valid logic 1 state.
Actually, if VDD is around 3V, a 40kOhm/10kOhm divider you have should result in cca 0.6V, matching your observation.
JW
2025-09-18 12:20 AM
What I should to do to have logical 1 on PA3 input with pull up mode?
2025-09-18 12:26 AM
> What I should to do to have logical 1 on PA3 input with pull up mode?
Remove your external resistors...
2025-09-18 12:27 AM
It's true, VDD = 3.3V