IO pin state

Questions on other types of hardware and getting it talking to the ARM CPU
Post Reply
YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

IO pin state

Post by YahooArchive »

> I want to use the device to monitor several voltage lines to see if
> they go high (get a voltage). I put a row of headers on the analog I/o
> but when one pin is powered high the ones either side seem to sense
> this and also go high.

A couple things-
If there is no voltage on the pin, is it just floating? If that's
the case, then that pin would read as most anything.

The analog pins must be limited to 3.3V, if the voltage goes above
that ALL analog pins will probably look like they are high. This is a
feature of the NXP part. It is not the case for digital inputs.

The simplest circuit I would use to sense the presence of a voltage is
2 resistors, say 10K and 1K. --

---- connection to voltage sense
|
/
\
/ 5K
\
| digital
o--- IO
|
/
\
/ 50K
\
|
GND

So if the voltage sense is connected to a voltage, then the digital IO
would be high, if there is no voltage then the IO would be low.



YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: IO pin state

Post by YahooArchive »

a question from the tech support line-

I have one of your device - this is ARMexpress. I was not able to find
in help file information about if it possible to put pin in tri-state
high impedance condition.
A little guidence will be very helpfull...

-------------

When a pin is INPUT it is also tri-state.
Pins are tri-state'd following a reset.

Post Reply