Gemalto is now part of the Thales Group, find out more.

You are here

GPIO switches between 1 and 0 | Thales IoT Developer Community

February 23, 2021 - 10:48am, 611 views

Good Morning.

I have an EHS6

Cinterion
EHS6
REVISION 03.001
A-REVISION 00.000.51

I am configuring GPIO 6 and 7 for input. I connect pin 1 and 7 for reference. I configure the Gpio with at commands. and I do the readings. when I connect the GPIO6 or GPIO7 to ground (GND-pin 2) the value gives me 0. When I connect them to + 5v (pin 7 and 1) the value gives me 1. but when I disconnect either of the two, the value for about 40 seconds jumps between values 1 and 0. After 40 seconds (approximate) it remains at 0.

Is this behavior normal? or am I doing something wrong?

Then on the other hand, these inputs change when setting it to + 5v.
Could any GPIO be configured so that when putting it to ground (GND) of a value (0 or 1), and when it is not to ground (GND) of another value (0 or 1)?

thank you!