This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Switching between power modes and soft reset (nRF51822)

Hi,

Is it possible to wakeup nrf51822 without using the GPIO peripheral's (i.e configuring a gpio button as a sense enabled)?

how to do soft reset?

Actually my requirement is, i need to put the controller in off mode for some minutes, then i need to wake it up without pressing any button's. Some sample codes will help me a lot.

Regards, Balaji

Parents
  • In system off mode, all clocks will be turned off, and it is therefore not possible to wake up from this mode in any other way than by a GPIO or reset.

    If you need to wake up after a certain time, you will have to use the RTC and system on, idle, mode. This can be done for example using the app_timer module, by just disabling the softdevice and all other peripherals that you don't need, start the timer and do sd_app_event_wait(). This should then consume 2-3 µA.

Reply
  • In system off mode, all clocks will be turned off, and it is therefore not possible to wake up from this mode in any other way than by a GPIO or reset.

    If you need to wake up after a certain time, you will have to use the RTC and system on, idle, mode. This can be done for example using the app_timer module, by just disabling the softdevice and all other peripherals that you don't need, start the timer and do sd_app_event_wait(). This should then consume 2-3 µA.

Children
Related