Adafruit Industries, Essential service and business: NYC – Executive Order 202.6 - Read more. Accepting essential orders - here's how.
0

Feather NRF52 Low Power mode
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Feather NRF52 Low Power mode

by simonem on Mon Nov 13, 2017 7:00 am

Hello,

is there an (Arduino-like) API to put the Feather NRF52 in a low-power or sleep state? Something that can be waken up via interrupt.
I could not find any mention in the learning guide.

Thank you
Simone

simonem
 
Posts: 10
Joined: Wed Apr 20, 2016 1:04 pm

Re: Feather NRF52 Low Power mode

by hathach on Mon Nov 13, 2017 11:28 pm

There is waitForEvent() and systemOff()
https://github.com/adafruit/Adafruit_nR ... ring.h#L34

systemOff() hibernate the cpu and wake up base on gpio signal. A wake up requires a full reset. Useful if you only want to wake by user interaction.
waitForEvent() will put cpu into sleep mode until there is a new event. This is mainly what you want to use to save power. You may want to look for some docs on nordic website. This is still WIP progress so there is no documents for now.

hathach
 
Posts: 1081
Joined: Tue Apr 23, 2013 1:02 am

Please be positive and constructive with your questions and comments.