DE910-DUAL AT commands reference guide
80392ST10102A Rev.2 – 2012-07-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 125 of 261
#DAC - Digital/Analog Converter Control
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.
Содержание DE910-DUAL
Страница 1: ...80392ST10102A Rev 2 2012 07 03...