ESP32 Power Modes: https://lastminuteengineers.com/esp32-s ... nsumption/
microPython clearly supports ESP deepsleep [e.g. machine.deepsleep()].
Does microPython support ESP32 hibernation? If so what is the code?
MM
ESP32 Hibernation
Re: ESP32 Hibernation
Given the lack of replies it appears that microPython does not support ESP32 hibernation-mode; however, I may have found the reason. A search of Espressif datasheets reveals that only the ESP32-S2, released in Sep 3, 2019, appears to support hibernation.
MM
MM
Re: ESP32 Hibernation
I found this article yesterday https://www.mischianti.org/2021/03/15/e ... rnation-3/ but didn't see that it answered the question. However, when you mentioned hibernation only applied to the S2 variant I re-read this looking for the device he was referring to. It appears to be a a Generic variant and looking at the specs he links to I don't see S2 anywhere.
In the article the reduction in current is from 10uA to 5uA using hibernation.
In the article the reduction in current is from 10uA to 5uA using hibernation.
Re: ESP32 Hibernation
I generally go direct to the source when it comes to technical issues.
When I initially looked up info on the generic I thought I downloaded the Reference Manual, it was the Data-Sheet that makes no reference to hibernation; the technical reference manual does.
https://www.espressif.com/sites/default ... ual_en.pdf
Then, that begs the question (again); does micropython support hibernation?
If not, why not?
Is the answer micropython supports only the functions that are common to all ESP modules?
If so, this could be addressed with an import of an "ESP32" module with functionality unique to the ESP32.
When I initially looked up info on the generic I thought I downloaded the Reference Manual, it was the Data-Sheet that makes no reference to hibernation; the technical reference manual does.
https://www.espressif.com/sites/default ... ual_en.pdf
Then, that begs the question (again); does micropython support hibernation?
If not, why not?
Is the answer micropython supports only the functions that are common to all ESP modules?
If so, this could be addressed with an import of an "ESP32" module with functionality unique to the ESP32.