cancel
Showing results for 
Search instead for 
Did you mean: 

Input pin in pull up mode is being in high impedance state

Vladyslav8989
Associate II

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. 

1 ACCEPTED SOLUTION

Accepted Solutions
waclawek.jan
Super User

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

View solution in original post

13 REPLIES 13
Andrew Neil
Super User

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.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
TDK
Super User

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.

If you feel a post has answered your question, please click "Accept as Solution".

Schematic of PA3 port connecting

PA3.png

Schematic of PA3 port connecting 

PA3.png

but If to configure PA3 as output then toggle in cycle of it works

waclawek.jan
Super User

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

What I should to do to have logical 1 on PA3 input with pull up mode?

mfgkw
Senior

> What I should to do to have logical 1 on PA3 input with pull up mode?

Remove your external resistors...

It's true, VDD = 3.3V