Cinterion
®
EHS6 AT Command Set
19.8 AT^SWDAC
EHS6_ATC_V03.001 15/12/3
Confidential / Released
Page 471 of 513
19.8 AT^SWDAC PWM Signal Configuration for DAC
AT^SWDAC controls the PWM (Pulse Width Modulation) signals generated by means of the GPIO7/PWM1 line
or GPIO6/PWM2 line of the EHS6 module.
Settings will be stored non-volatile and take effect immediately. After power-up stored PWM settings will be
loaded and take effect immediately without any further user interaction.
Before execution of AT^SWDAC write command take care that PWM functionality is enabled with
AT^SCFG="Gpio/mode/PWM" with parameter "std".
Syntax
Parameter Description
Select PWM channel
0 First PWM channel
(GPIO7 at EHS6 module)
1 Second PWM channel
(GPIO6 at EHS6 module)
Duty cycle in percentage steps
0
(D)
...100
Test Command
AT^SWDAC=?
Response(s)
^SWDAC:(list of supported <ch>s), (list of supported <dc>s), (list of supported <oc>s), (list of supported
<fq>s)
OK
Read Command
AT^SWDAC?
Response(s)
Current settings of first and second PWM channel:
^SWDAC: <ch>, <dc>, <oc>, <fq>
^SWDAC: <ch>, <dc>, <oc>, <fq>
OK
ERROR
+CME ERROR: <err>
Write Command
AT^SWDAC=<ch>, <dc>[, <oc>[, <fq>]]
Response(s)
OK
ERROR
+CME ERROR: <err>
PIN Last
- + -
<ch>
(num)
<dc>
(num)(NV)