Page 1 of 1

WiPy 2.0 deepsleep not working(?)

Posted: Sun Oct 23, 2016 11:30 am
by dan1824
Hi there ;)

I'm trying to get machine.deepsleep() working on the new WiPy 2.0 but it fails to do so.

What am i missing?

Thx for any hints ;)

Dan

Re: WiPy 2.0 deepsleep not working(?)

Posted: Sun Oct 23, 2016 5:17 pm
by kfricke
You should ask this on the official forum on the pyCom website. The WiPy 2.0 is not open source and that is the reason why you will not receive help or useful results here for such a topic.

Re: WiPy 2.0 deepsleep not working(?)

Posted: Sun Oct 23, 2016 6:00 pm
by dan1824
uh ok .. thx for your reply

sad to hear that!

right now, i think, pycom is a really a fail and waste of money

:/

Re: WiPy 2.0 deepsleep not working(?)

Posted: Sun Oct 23, 2016 6:00 pm
by Lysenko
dan1824 wrote:Hi there ;)
I'm trying to get machine.deepsleep() working on the new WiPy 2.0 but it fails to do so.

What am i missing?

Thx for any hints ;)

Dan
Depending upon what version of the SDK your firmware was built against and depending upon what exactly isn't working, you might be running into this:

https://github.com/espressif/esp-idf/co ... d502f6e57c

... which was an RTC related conflict between the ULP mini core and the main core(s) of the ESP32 on wakeup (globalvar updated by two theads without a guard). FW older than 4 weeks will probably have that bug unless the WiPy people found, fixed and patched it themselves ahead of time. As the other poster said, there's no way to know without source code so you'll have to ask them.