Power Saving(System off Mode)

Hi,

I am working on ble_app_uart_c_pca10056_s140 project. I have changed the following for power saving. Is this the right way to achieve this mode? After how much time it will trigger? How can I test that?

And how can I use this pin( #define Interrupt_Pin NRF_GPIO_PIN_MAP(0, 26) ) to activate device?

Thanks!

Parents
  • idle_state_handle() with nrf_pwr_mgmt_run() should be used in the for(;;) loop in main() to ensure that the CPU go to low power mode between events and interrupts.

    When you want to shut down the chip to system OFF mode, and only wakeup on pin press, then you should use sd_power_system_off(). Typically before calling sd_power_system_off() you should setup some pins to wakeup the chip, this can for instance be done using nrf_gpio_cfg_sense_set(). On wakeup from system off it will start from start of main().

    Kenneth

Reply
  • idle_state_handle() with nrf_pwr_mgmt_run() should be used in the for(;;) loop in main() to ensure that the CPU go to low power mode between events and interrupts.

    When you want to shut down the chip to system OFF mode, and only wakeup on pin press, then you should use sd_power_system_off(). Typically before calling sd_power_system_off() you should setup some pins to wakeup the chip, this can for instance be done using nrf_gpio_cfg_sense_set(). On wakeup from system off it will start from start of main().

    Kenneth

Children
Related