micropython with nRF9160 / DeepSleep

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
dschmid
Posts: 1
Joined: Thu Apr 16, 2020 12:39 pm

micropython with nRF9160 / DeepSleep

Post by dschmid » Thu Apr 16, 2020 12:44 pm

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

c45713
Posts: 48
Joined: Fri Dec 09, 2016 7:09 pm

Re: micropython with nRF9160 / DeepSleep

Post by c45713 » Thu Jul 16, 2020 11:16 am

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).

Post Reply