34 auxiliary voltage output control - #vaux – Rainbow Electronics GM862-QUAD-PY User Manual

Page 266

Advertising
background image




AT Commands Reference Guide

80000ST10025a Rev. 5 - 09/07/08

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

page 266 of 434

#DAC - Digital/Analog Converter Control

SELINT 2

AT#DAC=
[<enable>
[,<value>]]

Set command enables/disables the DAC_OUT pin.

Parameters:
<enable> - enables/disables DAC output.
0 - disables pin; it is in high impedance status (factory default)
1 - enables pin; the corresponding output is driven
<value> - scale factor of the integrated output voltage; it must be present if

<enable>=1

0..1023 - 10 bit precision

Note: integrated output voltage = MAX_VOLTAGE * value / 1023

AT#DAC?

Read command reports whether the DAC_OUT pin is currently enabled or
not, along with the integrated output voltage scale factor, in the format:

#DAC: <enable>,<value>

AT#DAC=?

Test command reports the range for the parameters <enable> and
<value>.

Example

Enable the DAC out and set its integrated output to the
50% of the max value:


AT#DAC=1,511
OK


Disable the DAC out:
AT#DAC=0
OK

Note

With this command the DAC frequency is selected internally.
D/A converter must not be used during POWERSAVING.

DAC_OUT line must be integrated (for example with a low band pass filter)
in order to obtain an analog voltage.
For a more in depth description of the integration filter refer to the hardware
user guide.

3.5.7.1.34 Auxiliary Voltage Output Control - #VAUX

#VAUX- Auxiliary Voltage Output Control

SELINT 0 / 1

AT#VAUX[=<n>,
<stat>]

Set command enables/disables the Auxiliary Voltage pins output.

Parameters:
<n> - VAUX pin index

1 - there is currently just one VAUX pin

<stat>
0 - output off
1 - output on
2 - query current value of VAUX pin

Advertising