Current Consumption in deep sleep mode: when the voltage goes below 1.5V current starts peaking to 300µA.

Hi,

I am using nRF52832 board with the SDK version nRF5_SDK_15.3.0 and soft device S132.

I have implemented the POF(power fail comparator) to generate event when the event is set to the threshold 2V. I am successfully able to generate the event for the set threshold 2V.

When the event(NRF_EVT_POWER_FAILURE_WARNING) is generated, I am putting my device into the deep sleep mode. I have disabled all the configuration such as(GPIO's, GPIOTE, SPI and Flash) before calling the System OFF function as shown below.

void pof_sleep_mode_enter(void)
{
    uint32_t err_code = bsp_indication_set(BSP_INDICATE_IDLE);
    APP_ERROR_CHECK(err_code);
    // Disconnect all the GPIO's
   disableGPIOs();
   nrf_gpio_cfg_input(24,NRF_GPIO_PIN_NOPULL);//INT
   nrf_gpio_cfg_input(23,NRF_GPIO_PIN_NOPULL);//INT
   nrf_gpio_cfg_input(13,NRF_GPIO_PIN_NOPULL);//INT
   nrf_gpio_input_disconnect(24);
   nrf_gpio_input_disconnect(23);
   nrf_gpio_input_disconnect(13);
   nrfx_gpiote_uninit();
   flash_uninit();
   spi_uninit();
   /* Sleep mode */
   err_code = sd_power_system_off();
   APP_ERROR_CHECK(err_code);

Given in the data sheet. 

The device can be put into System OFF mode using the POWER register interface. When in System OFF mode, the device can be woken up through one of the following signals:

1. The DETECT signal, optionally generated by the GPIO peripheral
2. The ANADETECT signal, optionally generated by the LPCOMP module
3. The SENSE signal, optionally generated by the NFC module to “wake-on-field”
4. A reset

Before entering System OFF mode, the user must make sure that all on-going EasyDMA transactions have been completed. This is usually accomplished by making sure that the EasyDMA enabled peripheral is not active when entering System OFF.

Observation:

After the voltage drops below the set threshold I can see the current consumption is around 3µA in the deep sleep mode and it start increasing slowly for the same threshold voltage 2V. But when the voltage drops below 1.4V to 0.9V there is a sudden peak in the current consumption around 200µA-300µAWhat might be the reason for this behavior?

Is the device getting wakeup here again by any means? signals mentioned in the datasheet above? 

I don't want to wakeup my device by any signals, It should only be wakeup if the voltage is above the given threshold.

Can you please help me to understand what might be the reason for current consumption even if the device is put into deep sleep mode sd_power_system_off(). Am I missing something here in the configuration? Do I need add anything in the code?

Regards,

Naveed

Parents Reply Children
No Data
Related