Hi every body,
My system was able to wake up on gpio on dev kit but after adjusting pin , my custom board is not able to wake up.
I'm in debug mode, it was also working fine.
My second question is that i don't know why i have to call two times idle_state_handle();
After first call i see the wake up debug pin togle fast . After second call, wake up pin stay high so module is properly in sleep mode.
case LOW_POWER: NRF_LOG_INFO("State Machine : LOW POWER"); idle_state_handle(); idle_state_handle(); //why two times ? but it works... //ZZZZZZZZZZ... Program sleep here, willcontinu after this comment on wake up
Here how i set my pin P0_30/ain6 to be able to wake up the system. I checked by reading that the pin is properly soldered and it is the case, that's why i'm thinking to a configuration somewhere to adjust.
//pin wake up nrf_gpio_cfg_sense_input(ACCEL_WKUP_PIN_NUMBER,NRF_GPIO_PIN_NOPULL,NRF_GPIO_PIN_SENSE_HIGH);
Thanks a for your help !