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

can not use key gpiote wake up from system on idle mode

Hi all:

I am use ble_app_blinky demo sdk 16.0.0 I want to put system on idle mode,but there need to call two times sd_app_env_wait() so it can in system on idle mode.

If only call one time it can not in system on idle mode.

I have some problems:

1、when call two times sd_app_env_wait  it can in system on idle mode,but I can not wake up use keyButton(GPIOTE),If i put  it in system off mode

the keyButton config as nrf_gpio_sense_input(keyButton,pullUp,NRF_GPIO_PIN_SENSE_LOW) ,it can wake up use keyButton.

2、I want to use RTC1 so I can not put it in system off mode.When in system on idle mode,the RTC1 counter is add per second,but  rtc_irq() api is not called.

and after in system on idle mode,push the keyButton nrfx_gpiote_irq_handler() api is not called.

Related