Hello,
I need support regarding putting my device to low power mode (sleep) and waking up with a timer or GPIO input.
I’m working on an application using the nRF9151 DK, with nRF Connect SDK v3.0.2 (Zephyr RTOS).
My goal is:
Put the device into a low-power sleep mode and waking it up periodically using (mainly) RTC and in some cases with a GPIO interrupt
I’ve read the documentation and multiple forum messages, but I am still struggling to get a minimal working example.
I have managed to fire an alarm using the Counter API from Zephyr but can't seem to get the device to go to sleep.
I can't figure out which Zephyr power management API I should be using (pm_state_force, k_sleep)? I have seen that some have suggested the pm_state_force but this seems to be unavailable for nrf9151 DK.
Any help would be appreciated