Low Power mode on nrf5340 DK

Hello,

I am using nrf5340 DK with SDK version 2.1.0. I am trying to implement a low power mode functionality where I would like the execution flow to return to the same place after the device wakes up. I have gone through the state.h file which lists the power management states available. I have a few questions regarding the states:

  1. Which PM state would be suitable for my scenario: PM_STATE_RUNTIME_IDLE or PM_STATE_SUSPEND_TO_IDLE ?
  2. I didn't find any sample code which shows how to put the device in low power mode. Could you please point me in the right direction?
  3. Do I have to specifically turn off GPIOs, UARTs before entering low power mode? If yes, what is the correct way to do that?
Related