Page 1 of 1

micropython with nRF9160 / DeepSleep

Posted: Thu Apr 16, 2020 12:44 pm
by dschmid
Hello,

has anyone expirience with sleep mode with micropython and nRF9160 ? I see that different supported controllers have an implementation of sleep modes aswell.

thank you

Dominik

Re: micropython with nRF9160 / DeepSleep

Posted: Thu Jul 16, 2020 11:16 am
by c45713
There are some functions in the machine module that might be of interest. They are generic to all nrf-targets, but should work also for nrf9160 targets. What i'm thinking of is the wrappers machine.lightsleep() (WFE) and machine.deepsleep() (WFI).