tracker icon indicating copy to clipboard operation
tracker copied to clipboard

No wakeup after idle sleep

Open dokterbob opened this issue 8 years ago • 3 comments

Using spark/firmware@c974657c9917865fd9480d069fbb2202ed3d6968, the unit does not seem to wake up again after sleeping under some circumstances.1

1 Yet to be determined.

dokterbob avatar Mar 20 '16 18:03 dokterbob

I have experienced the same problem with particle/firmware@09b7ace1b8096e0829a4a427fa0bbcb3bf7ad8ee, particle/firmware@8dca950a015ab773b6c832160ac1ea740e2c2176 and particle/firmware@cbcb8c141d8770c0e5af8696f64de23736b2b1ee.

dokterbob avatar Mar 20 '16 18:03 dokterbob

Is this wakeup after 6 hours idle sleep, or wakeup on motion during idle sleep? There is some wakeup due to motion issues with deep sleep which one of the Particle devs believe may be due to the accelerometer not sending a long enough interrupt to wake up the Electron. Definitely on my to-do list to resolve.

Edit: if this IS what causes the on-motion wake-up to not occur, I believe the solution is to set the LIS3DH 'interrupt latching' - it keeps the interrupt high until the interrupt source register is read. Not sure this functionality is in the Adafruit LIS3DH library so may have to be done by hand.

benagricola avatar Mar 20 '16 20:03 benagricola

Made some changes to manual sleeping (3 clicks on 'mode' button) and how various modules are turned off for idle sleep which should help with this.

benagricola avatar Mar 27 '16 00:03 benagricola