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

Page 79

Advertising
background image





GE863-GPS Software User Guide

1vv0300724 Rev. 2 - 24/01/07

<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 GPIO6 pin always in OUTPUT direction
and since the GPIO6 pin value is controlled by the internal software, the corresponding
function (+CALA) must be setup properly.

NOTE: The #GPIO6 direction setting is saved and will be kept after a power off.

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

In this case, the GPIO6 pin was successfully put in alarm output direction.

3.6.2.5 Using GPIO7 pin as BUZZER OUTPUT (alternate function)

When you set the GPIO7 pin as buzzer output function, the pin will output a waveform suitable to drive
a Buzzer, provided a simple external mosfet driver is developed and that the #SRP settings are
adequate. To set the pin in alternate function you must specify also a dummy value for the pin state:

• Send command

AT#GPIO=7,<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 GPIO7 pin always in OUTPUT direction
and since the GPIO7 pin value is controlled by the internal software, the corresponding
function (#SRP) must be setup properly.

NOTE: The #GPIO7 direction setting is saved and will be kept after a power off.

For example:
1- Let's assume you want to set GPIO7 pin as BUZZER OUTPUT:
command:

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

page 79 of 109

Advertising