WMP100 Sleep (W32K) Fails After Some Time

WMP50, WMP100, WMP150, DWLWIN.

WMP100 Sleep (W32K) Fails After Some Time

Postby awneil » Fri Jan 19, 2018 1:16 pm

A client has an existing WMP100-based product with an Open-AT application to which they'd like to add a "sleep" mode - to conserve battery power.

I have implemented a sequence of sending AT+CFUN=0 to shut down the GSM, starting a timer for wakeup, then AT+W32K=1 to enter "sleep".

When the timer expires, I have a reverse sequence doing AT+W32K=0 and AT+CFUN=1,0 to restart the GSM (without a reboot).

This works for many hours. The power supply current looks like this:
X2017-12-25-0806-01a.png
Current Consumption - Sleep OK
X2017-12-25-0806-01a.png (9.94 KiB) Viewed 180 times


But, after a while (hours) it fails to go to sleep:
X2017-12-25-0806-01a.png
Current Consumption - Sleep OK
X2017-12-25-0806-01a.png (9.94 KiB) Viewed 180 times

The AT+CFUN=0 does shut down the GSM, but AT+W32K=1 doesn't enter sleep

Once this has happened, AT+W32K=0 has no effect, and AT+CFUN=1,0 does not restart the GSM:
X2017-12-25-0806-01a.png
Current Consumption - Sleep OK
X2017-12-25-0806-01a.png (9.94 KiB) Viewed 180 times

I get +CREG:2 after AT+CFUN=1,0 but never anything further - and the current profile clearly shows that the GSM has not started.
This situation will continue indefinitely until the unit is restarted.

So something goes wrong with the GSM stack meaning that it can't sleep and it can't wake up again :!:

What could this be :?:
Attachments
X2017-12-25-0420-21.png
Current Consumption - Sleep & Wake Failed
X2017-12-25-0420-21.png (2.22 KiB) Viewed 180 times
X2017-12-25-0412-18.png
Current Consumption - Sleep Fails
X2017-12-25-0412-18.png (2.47 KiB) Viewed 180 times
When I say "SiWi", that's short for "Sierra Wireless".
User avatar
awneil
 
Posts: 6641
Joined: Mon Dec 03, 2007 1:18 pm
Location: Basingstoke, UK
Has thanked: 54 times
Have thanks: 88 times

Re: WMP100 Sleep (W32K) Fails After Some Time

Postby awneil » Fri Jan 19, 2018 1:19 pm

Sorry - I don't know why the forum has repeated the first screenshot 3 times in the text, and dumped the other 2 at the end.

:?

Hopfully you can get the drift ... ?
When I say "SiWi", that's short for "Sierra Wireless".
User avatar
awneil
 
Posts: 6641
Joined: Mon Dec 03, 2007 1:18 pm
Location: Basingstoke, UK
Has thanked: 54 times
Have thanks: 88 times


Return to WMP Series

Who is online

Users browsing this forum: No registered users and 1 guest