Wmpwm Pwm And Buzzer Configuration - Sierra Wireless AirPrime WS Series At Command Manual

For firmware l23
Table of Contents

Advertisement

AT Command Manual for Firmware L23

8.6.15. +WMPWM PWM and buzzer configuration

Description
Set PWM configuration
Get PWM configuration
Get supported PWM
configuration
Description
This command allows setting PWM or buzzer configuration.
Parameters
<output>
0
1
2
<operation>
0
1
2
<period>
0 ... 126
(when <output> is PWM0
or PWM1)
0 ... 1024
(when <output> is buzzer)
<dutycycle>
0 ... 100
Clarification
Default values of period and duty-cycle for PWM0 and PWM1 are 63, 50.
WA_DEV_WISMO_UGD_012
Command
+WMPWM=<output>,<operat
ion>,[<period>],[<dutycycle>]
+ WMPWM?
+ WMPWM=?
Description
PWM0
PWM1
Buzzer
Description
Turn off
Turn on
Always high level
Description
0: PWM always low level
1 ... 126: PWM period as n+1 TSYSCLK/8 (TSYSCLK/8 =1/(26MHz/8) = 307ns)
Buzzer frequency as SYSCLK/(<period>*2*64)
(ex: if <period> = 203, then frequency is 26MHz/(203*2*64) = 1KHz)
Description
dutycycle percentage
Rev 004
Proprietary AT Commands
Possible Response(s)
OK
+CME ERROR: <err>
+WMPWM:<output>,<operation>,<period>,<du
tycycle>
[+WMPWM:<output>,<operation>,<period>,<d
utycycle>
...]
OK
+WMPWM:(list of supported <output>s),(list of
supported <operation>s),(list of supported
<period>s),(list of supported <dutycycle>s)
[+WMPWM:(list of supported <output>s),(list of
supported <operation>s),(list of supported
<period>s),(list of supported <dutycycle>s)
[...]] OK
November 3, 2011
152

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wismo218Wismo228

Table of Contents