Problem in GPIO output | Telit Cinterion IoT Developer Community
May 10, 2016 - 3:25pm, 2838 views
Hi,
We have a Gemalto EHS6T connected in the following way:
- AREF connected to the +5V output (also tried connecting it to a 3.3V power source)
- GPIO20 connected to GPIO21
- GPIO12 connected to GPIO13
We are running the example program from the CD called GPIO5V_lib with the pins GPIO20 and GPIO21 as output/input or GPIO12 and GPIO13. Anyway, the result is the same: Output says it changes to 0 and 1 and 0 and 1 but the input stays all the time to 0. If we put the input to 5V or ground we see it changes, but whatever the output is, we always get 0.
We even tried doing a factory reset to the Gemalto with no changes from this behaviour.
Can anyone help us so we can set the output to 1 or to 0 and see it in the respective pin of the device?
Thanks,
Peter
This is qoute from some other similiar topic:
Regards.
Jure
Hi,
Jure may refer to this: https://iot-developer.thalesgroup.com/threads/program-sspi-configuration...
This link includes a link to a .jar application to configure some of the I/O's graphically.
I have tested it and it works fine.
In the EHS6T hardware manual, there is a section "Set GPIO Direction" which gives information how to configure the GPIO level shifters.
Below is an example of my configuration for a customer for EHS6T USB 03.001 A-rev 14:
AT^SSPI=
"CONNECT")
'<aD41001>
(will say "{a+}")
Antero Markkula
Communication and Mechatronics
Enkom Active Oy – www.enkom-active.fi
Upseerinkatu 3 A, 02600 Espoo, Finland
Mobile: +358 400 411368
Office: +358 10 204 0000
Fax: +358 10 204 0010
E-mail: antero.markkula@enkom-active.fi
Please have a look at this artice where we set the input and output for both Terminals and the EHS6 Concept board using I2C to control the level shifter chips:
https://iot-developer.thalesgroup.com/tutorial/conceptboard-java-gpio-lib