BGS5T : GPIO16 Problem | Telit Cinterion IoT Developer Community
June 25, 2015 - 10:37am, 3403 views
Hi
I want to use GPIO16/RXD1/MOSI pin as Output GPIO on BGS5T. I set ^SCFG="Gpio/mode/ASC1","gpio" and ^SCFG="Gpio/mode/SPI","gpio".
I wrote a java test program. Program works good, toggling gpio value. But it is not toggle on hardware side. I can not see High value(5V) on GPIO16.
Can you help me on that problem?
Thanks
As far as I know you only have GPIO's 6,7,8,20,21,22,23. The pin that you are talking about is used for serial communication(RX) and nothing else.
Are you sure? Because that pin connected to connector same way like other GPIO's from module but direction set default as Output and nonchangable. Datasheet and ^SCFG say to me " you can use it as GPIO/RXD/SPI"
Which datasheet are you looking at? At this one from Gemalto website: http://m2m.gemalto.com/tl_files/cinterion/downloads/hd/ehsxt_bgsxt_hid.pdf on page 28 I can't see GPIO 16.
And on page 29 where you have all GPIOs listed I also can't see GPIO 16. Are you maybe looking at this documentation: https://iot-developer.thalesgroup.com/sites/default/files/bgs5_hd_v01100... ? This is not for BGS5T but just for BGS5.
Regards
Jure
Hi Jure, thank you for help.
You look right with these arguments. But if you look inside of modem and if you know working principle of modem, you can use these GPIOs. For example; i'm using GPIO17(TXD) as input without problem. Ironic, isn't it?
Hi Gcamlicali,
no problem. Intresting, how do you do that? You use it like you would use any other GPIO or do you need to make any changes to terminal settings?
Regards
Jure
Hello,
For the module RXD1/GPIO16/MOSI are shared.
But if you are using the terminal you should check the hardware interface description for terminal.
According to this document you have only GPIOs 6-8 and 20-23 available. You can use AT commands for module's GPIO interfaces configuration and controlling the lines. But you should also configure the GPIO directions in terminal's built-in level shifter‘s. Please check the document for details.
Best regards,
Bartłomiej