# VGPIO HL7800 unsolicited wakeup

**URL:** <https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159>\
**Category:** HL78\
**Tags:** debug\
**Created:** [July 6, 2021, 1:51pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159 "2021-07-06T13:51:41Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antoine](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@Antoine](https://forum.sierrawireless.com/u/Antoine)\
**Post date:** [July 6, 2021, 1:51pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/1 "2021-07-06T13:51:41Z")

</div>

Hi there!

I’m checking in to get a better understanding of the HL7800 and its VGPIO as I am getting a bit of an odd behavior. For a bit of context, we are using it in a low power application with a Bluetooth chip as a remote monitoring solution. In order to know when the modem is in hibernate we track the VGPIO pin and then control the wake line accordingly.

This has worked well so far, however we have a unit that we’ve deployed overseas which is exhibiting signs of the VGPIO rising high without any solicitation from the Bluetooth chip. I haven’t been able to find anything explicitly in the control logic that would cause this and as far as I can see the VGPIO goes high / low when the modem is awake / asleep.

Would anyone have any potential thoughts on this?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 6, 2021, 2:04pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/2 "2021-07-06T14:04:02Z")

</div>

Did you enable psm mode for hl7800?

[AirPrime\_HL7800\_Low\_Power\_Modes\_Application\_Note\_Rev2\_0.pdf](https://forum.sierrawireless.com/uploads/short-url/FuvZINsmKJMeB9tqqT8A9sMDKS.pdf) (627.3 KB)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/2/246fafcc68598087ff82f0004db499758f7964b6.png)

---

<div class="post-metadata">

**Author:** ![Antoine](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@Antoine](https://forum.sierrawireless.com/u/Antoine)\
**Post date:** [July 6, 2021, 3:15pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/3 "2021-07-06T15:15:41Z")

</div>

PSM is disabled, but I do have eDRX enabled and it was working on the device that was facing issues. I’m seeing it happen in Japan but can’t find how to re-create it here in North America

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 6, 2021, 3:33pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/4 "2021-07-06T15:33:19Z")

</div>

You might disable edrx mode and see if problem still happens

---

<div class="post-metadata">

**Author:** ![Antoine](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@Antoine](https://forum.sierrawireless.com/u/Antoine)\
**Post date:** [July 6, 2021, 5:10pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/5 "2021-07-06T17:10:47Z")

</div>

Is the eDRX related to VGPIO at all? It won’t be easy to do adjustments to the deployed unit if at all, so I’m mostly looking to try and understand how the system is waking up as it does.

I see the VGPIO mention for the PSM in the low power reference sheet however I don’t see anything for the eDRX. I did see however that it can sometimes go to lite hibernate with

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/3/33b41a942903c0b9f9aa859edaecd31c3b5f07b8.png)

If this were to be the case, is it possible that it would go active → hibernate → lite hibernate (raises VGPIO)?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 6, 2021, 10:24pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/6 "2021-07-06T22:24:02Z")

</div>

It worths a try on your side as in page 18 of the application note, the VGPIO will also have acitivity for edrx mode.

Also, have you checked if this is related to abnormal reset of module?

---

<div class="post-metadata">

**Author:** ![Antoine](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@Antoine](https://forum.sierrawireless.com/u/Antoine)\
**Post date:** [July 7, 2021, 1:35pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/7 "2021-07-07T13:35:48Z")

</div>

I can try to look into it, but out of curiosity, is there any particular pin you recommend for tracking when the modem is in hibernate?

At first I thought it was GPIO6 but then it mentions that it will only work when eDRX has been successfully negotiated, but this isn’t always the case as it is network dependent.  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/4/4b363d62c14dbee2406a783edd5d3d9c2f5763f3.png)

I thought afterwards that VGPIO would be the next best but according to the low power document there is still activity on the line.  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/7/73827324e73078b6e92fc6b03df4453838640c72.png)

What is the recommended low power tracking method?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 7, 2021, 2:27pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/8 "2021-07-07T14:27:24Z")

</div>

why the VGPIO is not suitable for you?  
If it goes up, that means it wake up, is it ok for you?

---

<div class="post-metadata">

**Author:** ![Antoine](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@Antoine](https://forum.sierrawireless.com/u/Antoine)\
**Post date:** [July 7, 2021, 2:58pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/9 "2021-07-07T14:58:19Z")

</div>

The challenge is more so in the interpretation; when the VGPIO line was raised I previously thought that this meant that the device was requiring certain activities would be needed, but it seems like this includes the paging windows as well which don’t need anything

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 7, 2021, 3:11pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/10 "2021-07-07T15:11:29Z")

</div>

it might just respond to the network and then go back to sleep mode again

---

<div class="post-metadata">

**Author:** ![Antoine](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@Antoine](https://forum.sierrawireless.com/u/Antoine)\
**Post date:** [July 8, 2021, 6:25pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/11 "2021-07-08T18:25:24Z")

</div>

Following up a bit more on this, I’m trying to test VGPIO and hibernate on a unit I have with me, and it seems like I can set it up to enter hibernate correctly with hardware control signals, and I see it using eDRX + almost no power by measuring it’s current consumption, but the VGPIO line doesn’t go low.

Is there any possible case where the modem can enter hibernate but the VGPIO line stays high?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 8, 2021, 9:01pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/12 "2021-07-08T21:01:50Z")

</div>

Did you pull the wake up pin to low

---

<div class="post-metadata">

**Author:** ![Antoine](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@Antoine](https://forum.sierrawireless.com/u/Antoine)\
**Post date:** [July 8, 2021, 9:13pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/13 "2021-07-08T21:13:40Z")

</div>

I have the wakeup pin low, the current measurement shows the system on very low power, and on eDRX paging windows I’m seeing the following for current consumption:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/c/c148a899cbbd9cf5e32b9e364f35df968bb168bc.png)

On UART\_CTS and VGPIO however on those eDRX paging windows, I’m seeing the following:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/2/222245726a41fccd89458b02e2b47b3e0b9f3b07.png)

where the VGPIO seems to be stuck high overall.

---

<div class="post-metadata">

**Author:** ![Antoine](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@Antoine](https://forum.sierrawireless.com/u/Antoine)\
**Post date:** [July 8, 2021, 9:14pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/14 "2021-07-08T21:14:19Z")

</div>

Sorry, the time scale wasn’t quite clear on the current measurement:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/4/4073760156365008a54fe2fe958f91849b689924.png)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [July 8, 2021, 9:17pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/15 "2021-07-08T21:17:54Z")

</div>

Only happen to one module and other are low state for the vgpio pin?

---

<div class="post-metadata">

**Author:** ![Antoine](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@Antoine](https://forum.sierrawireless.com/u/Antoine)\
**Post date:** [July 15, 2021, 4:52pm UTC](https://forum.sierrawireless.com/t/vgpio-hl7800-unsolicited-wakeup/24159/16 "2021-07-15T16:52:52Z")

</div>

So I thought I should update this topic with what I believe caused the issue. What I’ve observed was that some of my sims were allowed to use eDRX and some weren’t, the tests I was performing on the units that could use eDRX however did not have the permissions for sim deactivation.

The unit that was deployed had a sim card which had both. which led it to go into hibernation of which some of the handling needed to get fixed.
