At#gpio=5,<dummy_value>,2<cr, At#gpio=6,<dummy_value>,2<cr – Telit Wireless Solutions GE863 User Manual

Page 78

Advertising
background image





GE863-GPS Software User Guide

1vv0300724 Rev. 2 - 24/01/07


For example:
1- Let's assume you want to set the GPIO3 pin HIGH:
command:
AT#GPIO=3,1,1<cr>
response:
OK
In this case, the GPIO3 pin was set in output direction and its status has been set to HIGH.

3.6.2.3 Using GPIO5 pin as RFTXMON OUTPUT (alternate function)

When you set the GPIO5 pin as RFTXMON output function, the pin reports the Transmitter active
status. To set the pin in alternate function you must specify also a dummy value for the pin state:

• Send command

AT#GPIO=5,<dummy_value>,2<cr>

where:
<value> is a dummy value can be either:

0 – dummy value
1 – dummy value


• wait for response

OK

TIP: Remember that the alternate function places the GPIO5 pin always in OUTPUT direction.

NOTE: The #GPIO5 direction setting is saved and will be kept after a power off.
The saving can be applied only for the alternate mode.

For example:
1- Let's assume you want to set GPIO5 pin as RFTXMON OUTPUT:
command:
AT#GPIO=5,0,2<cr>
response:
OK

In this case, the GPIO5 pin was successfully put in RFTXMON output direction.


3.6.2.4 Using GPIO6 pin as ALARM OUTPUT (alternate function)

When you set the GPIO6 pin as alarm output function, the pin reports the alarm state following the
+CALA settings. To set the pin in alternate function you must specify also a dummy value for the pin
state:

• Send command

AT#GPIO=6,<dummy_value>,2<cr>

where:

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 78 of 109

Advertising