2019-06-24 06:12 AM
Right now we have sensors that go into standby mode and are woken up by Alarm B every minute for testing purposes. However, at completely random occasions, the device is no longer woken up at the alarm times (so we are preventing for 24hr RTC overflow, etc).
Tried checking the return values of the alarm functions for errors and all seem fine. We suspect the US915 LoRa stack might interfere somehow with the Alarm interrupt because we can't replicate this issue with the EU868 version of the stack.
We have another external interrupt on a motion sensor and when we trigger it, the alarm is set again for 1 minute and everything works again as if nothing happened (framecounter and device variables are retained as it should be, so no fault has occured. It's just that the alarm IRQ did not fire correctly, we think). It will stop waking up after some time again...
Does someone have a similar experience and might now how to fix it?