This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

sleep mode of nRF52840 in NCS

I'm working on NCS 1.6.1 for both nRF52840 and nRF9160.

I'm trying to put my devices into sleep mode so i reviewed some related tickets and found following ways.

NRF_REGULATORS->SYSTEMOFF=1     //this seems only to be supported in nrf9160

and

pm_power_state_force(struck pm_state_info info)

i wonder what is the better way to go with? and what is the difference between these two? 

and are there any samples showing how to  manipulate sleep mode? 

Related