Re: "Sleep" mode in which IRAM and cache are preserved
Posted: Wed Apr 24, 2024 8:31 am
If it is capable to do LOG after entering such state, then it means something still working allowing that logging communication. My idea is to turn off everything (same as in deep-sleep) with an exception that ram/psram are preserver. Ok, that implies cores also must be powered ON but in such "hibernate state". All the rest: Radio, AD modules, uart modules, timer modules, GPIO (all pull-ups/ pull-downs, before that I already turned off all my rest of hardware on board, which is powered through mosfet under control of ESP), RMT, SPI, TWAI, I2S, I2C .... literaly everything.
In that word literraly there are: weak pullups related to flash and psram which are also under internal conttrol of ESP. Also pull-ups/downs in RTC domain GPIOs ...... literraly everything.
But there is no document which collects all those things at single place related to light-sleep and all things which impacts to current consumption in such a critical state on battery power.
All those (and probably a lot of other not mentioned) things make a difference, will some small battery powered IoT be cappable to "survive" in such a RAM/PSRAM retention state from which it can continue working, for 5 months or only 5 days.
In that word literraly there are: weak pullups related to flash and psram which are also under internal conttrol of ESP. Also pull-ups/downs in RTC domain GPIOs ...... literraly everything.
But there is no document which collects all those things at single place related to light-sleep and all things which impacts to current consumption in such a critical state on battery power.
All those (and probably a lot of other not mentioned) things make a difference, will some small battery powered IoT be cappable to "survive" in such a RAM/PSRAM retention state from which it can continue working, for 5 months or only 5 days.