Dear Nordic DevZone Team,
With ARM cortex M4, it is possible to go into deep sleep mode. In the Nordic nRF52832 which uses M4, it is configured for BLE advertising. I would like to save as much battery as possible. As I understand the spec, the chip boots into NRF_POWER_MODE_LOWPWR and using nrf_pwr_mgmt, this low power mode can be achieved. In this regard, I have the following questions:
- Is it possible to trigger the deep sleep mode in ARM cortex-M4 whenever possible, especially when the BLE advertising mode (or Soft device) is taking a break from broadcasting. The function sd_app_evt_wait() does not seem to set the SLEEPDEEP bit via SCB->SCR through the nrf_* APIs. See section 4.3.6 to enable deep sleep in Cortex-M4: http://infocenter.arm.com/help/topic/com.arm.doc.dui0553b/DUI0553.pdf
Perhaps, can this be achieved by disabling the softDevice, then trigger SLEEPDEEP, and then re-enable the softDevice? Will this be an power efficient approach? As I only need to wake up after quite some minutes. - Are the clocks in nRF52832 chipset turned off if ARM M4 goes into SLEEPDEEP? (I did not find any documentation in this regard).
- Will nrf_pwr_mgmt support SLEEPDEEP of the ARM cortex in the future (as it appears not be set) especially in the advertising mode?
If possible, kindly point me to suitable documentation or examples. Please correct me if my above description is incorrect.
Looking forward to your thoughts on this.
Thanks,
Tilak