SPI flash chip is not sleeping during sleep.
-
The flash chip supposed to go sleep if the node sent to sleep but it is not and eats extra 10uA. I did not go deep into the lib code but found if I send the node to sleep "manually" it eats only 7 uA - no LDO, 10 uA with LDO.
SPIFlash flash(8, 0x0); void loop() { //wdt_reset(); //swarm_report(); flash.sleep(); sleep(600000); }
Am I missing something ?
SPI flash sleep mentioned here:
https://github.com/mysensors/MySensors/blob/master/drivers/SPIFlash/SPIFlash.h#L91