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

Parents Reply
  • Hi,lan Kowolewski
    I have achieved system sleep through the reference routine, plus my sensor shutdown power consumption is only 7.5uA. Fully in accordance with the calculation expectations of the manual. But I can't turn it on. Only the GPIOTE interrupt of sw0 is set in the system_off routine. I wonder if any interruption of the hardware will wake up the device? Or is there any special config configuration?

Children
Related