light sleep before deep sleep cause double reset [ DEEPSLEEP_RESET and TG0WDT_SYS_RESET]

macdeveloper
Posts: 2
Joined: Sat Feb 24, 2018 6:55 pm

light sleep before deep sleep cause double reset [ DEEPSLEEP_RESET and TG0WDT_SYS_RESET]

Postby macdeveloper » Sat Feb 24, 2018 7:09 pm

Hi,
i have do a little test to see how the two different sleep mode consume in milli-ampere. Either mode are setup to be awaken by timer. I have seen that if i put light sleep before deep sleep i got the DEEPSLEEP_RESET and TG0WDT_SYS_RESET type of reset in that order. This is a problem because at setup time, checking the type of awake operation i don't get the timer timer constant. The constant is the same as at first startup.
If i remove the light sleep and left the deep sleep all work perfectly. Anyone as an idea ho to resolve this issue? My intention is to use light sleep at the time of delay when i don't need wifi and bluetooth.

thanks in advance.

Who is online

Users browsing this forum: DonEvans and 38 guests