You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mynewt.apache.org by Carl Turner <tu...@gmail.com> on 2018/05/01 05:54:29 UTC

how to put nRF52 in "System Off" mode?

The deepest power saving mode of the nRF52 is "System Off". Is there a way
to do this in mynewt?

Thanks,

Carl

Re: how to put nRF52 in "System Off" mode?

Posted by Carl Turner <tu...@gmail.com>.
Ok, I see the hal_bsp_power_state(int state) hook.

For now I can just do:

NRF_POWER->SYSTEMOFF = 1

Thanks,

Carl


On Tue, May 1, 2018 at 7:05 AM, will sanfilippo <wi...@runtime.io> wrote:

> Mynewt does not provide a way to do this currently. There are hooks in the
> bsp code for power modes and you could add that code to the deepest power
> savings mode if you like (user-defined what happens on various power
> states).
>
> > On Apr 30, 2018, at 10:54 PM, Carl Turner <tu...@gmail.com> wrote:
> >
> > The deepest power saving mode of the nRF52 is "System Off". Is there a
> way
> > to do this in mynewt?
> >
> > Thanks,
> >
> > Carl
>
>

Re: how to put nRF52 in "System Off" mode?

Posted by will sanfilippo <wi...@runtime.io>.
Mynewt does not provide a way to do this currently. There are hooks in the bsp code for power modes and you could add that code to the deepest power savings mode if you like (user-defined what happens on various power states).

> On Apr 30, 2018, at 10:54 PM, Carl Turner <tu...@gmail.com> wrote:
> 
> The deepest power saving mode of the nRF52 is "System Off". Is there a way
> to do this in mynewt?
> 
> Thanks,
> 
> Carl