How to enter system-off mode in NCS V2.6.0?

Hello, I would like to ask about the problem of how to implement SOC shutdown in NCS.
1. In V2.6.0, CONFIG_PM cannot be enabled, it will prompt that there are dependencies that are not defined in advance, only CONFIG_DEVICE_PM and CONFIG_SYSTEM_OFF can be enabled, but I used these two macros to define the function system_off() in the header file. Does not reduce shutdown power consumption
2. Whether system_off () is used, and peripherals need to be closed before I use IIC and SPI in my program
3. I really do not find the corresponding function that can enable the function of reset key. Can you use nrf_gpio_cfg_sense_set to set the wake key? Are there any nrf routines you can refer to?
We also ask the engineers to help us carefully. Thank you very much

Related