when MCU is in sleep from a call to LowPower.deepSleep2 all GPIO pins are at Vcc with low current.
This can be verified with the [powerDown-Dps2](https://github.com/dbuezas/lgt8fx/tree/master/lgt8f/libraries/lgt_LowPower/examples/powerDown-Dps2) example.
To verify, change LowPower.deepSleep2(SLEEP_1S); to LowPower.deepSleep2(SLEEP_FOREVER); in the example code and measure the voltage from a pin to GND.
I connected an LED from D8 to GND and it lit dimly.
Tested with a LQFP32 Mini EVB board
I checked the datasheet and it seems this should not be the case. Are we definitely in DSP2 with this call?
when MCU is in sleep from a call to
LowPower.deepSleep2
all GPIO pins are at Vcc with low current.This can be verified with the
[powerDown-Dps2](https://github.com/dbuezas/lgt8fx/tree/master/lgt8f/libraries/lgt_LowPower/examples/powerDown-Dps2)
example.To verify, change
LowPower.deepSleep2(SLEEP_1S);
toLowPower.deepSleep2(SLEEP_FOREVER);
in the example code and measure the voltage from a pin to GND.I connected an LED from D8 to GND and it lit dimly.
Tested with a LQFP32 Mini EVB board
I checked the datasheet and it seems this should not be the case. Are we definitely in DSP2 with this call?