# Wakeup Mangoh Yellow after Power loss

**URL:** https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963
**Category:** mangOH Yellow
**Created:** [May 4, 2022, 10:20pm UTC](https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963 "2022-05-04T22:20:13Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![jameswollaeger](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jameswollaeger](https://mangoh.discourse.group/u/jameswollaeger)
#### Post date: [May 4, 2022, 10:20pm UTC](https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963/1 "2022-05-04T22:20:13Z")

</div>

Hello, I have the wp76xx variant of the mangoh yellow. I have been reading forums etc trying to find out how I can trigger the module to wakeup after a power outage automatically. I have tried using AT commands to modify the voltage limits.

at!pcvoltlimits=4400,4300,3500,3200,2800

By default my module LO\_NORM is 3700. If i run the AT command  
at!pcvolt?  
Volt state: Normal  
Power supply voltage: 3671 mV (ADC: 37148)

I see that the power supplied by my USB port is usually slightly under 3700 by a few tens of mV. I’m running the test in 2 methods:

1. I’m simply unplugging the usb1 connector (no battery connected), waiting a while, and then plugging it back in. I leave the switch in the ON state the entire time and after i plug the USB in, the module never boots up. I have to physically press reset.
2. I have a 16port USB hub that has switches that I can physically disable the power port by port. Disabling the power and then re-enabling the power also doesn’t trigger the module to turn on.

Is there something special that I need to do to trigger the module to turn on after a power outage?

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [May 5, 2022, 12:15am UTC](https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963/2 "2022-05-05T00:15:14Z")

</div>

Not sure if the at!powerwake with adc trigger can let module wake up.  
You can give a try first after trying at!powermode and at!powerwake to make sure the commands work

---

<div class="post-metadata">

### Author: ![jameswollaeger](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jameswollaeger](https://mangoh.discourse.group/u/jameswollaeger)
#### Post date: [May 6, 2022, 3:01pm UTC](https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963/3 "2022-05-06T15:01:06Z")

</div>

> [@jyijyi](#):
>
> at!powermode

Hi @jyijyi. Thanks for responding. I’m unsure what you mean by using the above.

I can run the commands. PSM is disabled  
!POWERMODE: No request, status=9-PSM disabled

OK  
!POWERWAKE:  
PSM TIME: 14400, ACTIVE TIME: 20

To enable autowakeup, do I need to enable a power saving mode? We don’t have any power limitations for our setup and plan to keep it connected to grid power 24/7.

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [May 6, 2022, 3:46pm UTC](https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963/4 "2022-05-06T15:46:32Z")

</div>

you can try AT!POWERMODE=3 after setting your AT!POWERWAKE source.  
And see if module can come out of ULPM mode first.

After this test, you can see if module can come out of ULPM mode after power loss after your test case above.

---

<div class="post-metadata">

### Author: ![jameswollaeger](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jameswollaeger](https://mangoh.discourse.group/u/jameswollaeger)
#### Post date: [May 6, 2022, 4:49pm UTC](https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963/5 "2022-05-06T16:49:42Z")

</div>

I cannot seem to set the powerwake source, I just keep getting error:

at!powermode?  
!POWERMODE: No request, status=9-PSM disabled  
OK  
at!powerwake=2,36,1  
ERROR  
at!powerwake=2,38,1  
ERROR  
at!powerwake=2,36,5  
ERROR  
at!powerwake=2,36,4  
ERROR  
at+cpsms?  
+CPSMS:0,“01100000”,“00000000”  
OK

I’m running a WP7611 CAT 4 module and R16 ATT firmware and legato 19.11.3.

---

<div class="post-metadata">

### Author: ![jameswollaeger](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jameswollaeger](https://mangoh.discourse.group/u/jameswollaeger)
#### Post date: [May 6, 2022, 4:53pm UTC](https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963/6 "2022-05-06T16:53:30Z")

</div>

I just saw in WP76xx datasheet the following:

Group B variants:  
· do not have an MCU  
· do not support ULPM

7611 is a group B. So any idea how to make the module wakeup after power loss?

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [May 6, 2022, 5:26pm UTC](https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963/7 "2022-05-06T17:26:56Z")

</div>

If you don’t set pcvoltlimits, will the moduleb power on after power outage?

---

<div class="post-metadata">

### Author: ![jameswollaeger](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jameswollaeger](https://mangoh.discourse.group/u/jameswollaeger)
#### Post date: [May 6, 2022, 5:52pm UTC](https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963/8 "2022-05-06T17:52:13Z")

</div>

Well, I lowered the limits to values lower than were there by default to values that were lower than I was reading with at!pcvolt? but the module won’t turn on.

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [May 7, 2022, 12:58am UTC](https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963/9 "2022-05-07T00:58:20Z")

</div>

From my test, if i cut the power, and give power again, the module can power cycle without pressing reset button

Btw, maybe there is backup battery which let modules go to ULPM mode.  
See if this helps:

> [@Battery shut-off?](https://mangoh.discourse.group/t/battery-shut-off/3321):
>
> Hi, I want to use the mangOH Yellow (with WP7702) in an application where it’s powered by a vehicle (using some kind of regulator to bring the voltage down to 5V). When the vehicle turns off (and thus the input 5V goes away), I was envisioning that the LiPo battery could provide enough backup power to keep it alive for a couple of minutes, then shut the WP7702 down cleanly. Then, the WP7702 could power itself back on as soon as the voltage input is supplied again (e.g. the vehicle starts back u…

---

<div class="post-metadata">

### Author: ![jameswollaeger](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jameswollaeger](https://mangoh.discourse.group/u/jameswollaeger)
#### Post date: [May 9, 2022, 1:58pm UTC](https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963/10 "2022-05-09T13:58:39Z")

</div>

Were you testing on a WP variant that has the MCU?

 ![WP76xx_variants](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/b/beb62e4d7c37494e4b047e8c3a903368063fe5f0.png)

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [May 9, 2022, 4:13pm UTC](https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963/11 "2022-05-09T16:13:52Z")

</div>

Then maybe it is not in ulpm mode, but in power off mode.

Have you checked the status of POWER\_ON\_N?

---

<div class="post-metadata">

### Author: ![jameswollaeger](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jameswollaeger](https://mangoh.discourse.group/u/jameswollaeger)
#### Post date: [May 9, 2022, 8:14pm UTC](https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963/12 "2022-05-09T20:14:17Z")

</div>

On the mangoh yellow board, there is a capacitor C410 that unless this is discharged, will not trigger the POWER\_ON\_N signal long enough (through U407) to actually trigger the boot from my observations. I don’t have an oscilloscope unfortunately to tell you how long the POWER\_ON pin is getting triggered, but the green power LED flashes just momentarily and then nothing.

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [May 10, 2022, 1:05am UTC](https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963/13 "2022-05-10T01:05:32Z")

</div>

then how about shorting the capacitor C410

---

<div class="post-metadata">

### Author: ![jameswollaeger](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jameswollaeger](https://mangoh.discourse.group/u/jameswollaeger)
#### Post date: [May 10, 2022, 6:47pm UTC](https://mangoh.discourse.group/t/wakeup-mangoh-yellow-after-power-loss/9963/14 "2022-05-10T18:47:34Z")

</div>

Shorting the capacitor to discharge it is fine, but I was looking for a way to get around this issue without physically touching the modem or re-design the power-up circuitry of the mangoh yellow. But it looks like only solution is to redesign this circuitry from the mangoh default.
