the standbyExternalInterrupt example in the lgt_LowPower library does not work consistently. An easy test is to change line 65 from
LowPower.powerStandby(SLEEP_32S, ADC_OFF, BOD_ON, TIMER2_OFF); to
LowPower.powerStandby(SLEEP_1S, ADC_OFF, BOD_ON, TIMER2_OFF);
and after at best several iterations of waking up after a second, the MCU will stop responding. I get the same inconsistent results bringing pin D2 low.
Tested with TIMER2_ON and BOD_OFF as well and with a different power supply. Results did not improve.
the
standbyExternalInterrupt
example in thelgt_LowPower
library does not work consistently. An easy test is to change line 65 fromLowPower.powerStandby(SLEEP_32S, ADC_OFF, BOD_ON, TIMER2_OFF);
toLowPower.powerStandby(SLEEP_1S, ADC_OFF, BOD_ON, TIMER2_OFF);
and after at best several iterations of waking up after a second, the MCU will stop responding. I get the same inconsistent results bringing pin D2 low.
Tested with
TIMER2_ON
andBOD_OFF
as well and with a different power supply. Results did not improve.Tested with an LQFP32 Mini EVB board.