Current consumption - nRF9161

Hello, 

I have a question regarding the consumption of the nRF9161 DK board when it is under the following conditions: MCU on IDLE, modem off, wake on GPIOTE input (event mode, LATENCY=LowPower) with NCS 2.6.1.

The code shown below allows for a consumption of approximately 601 µA, which corresponds to the conditions specified in the datasheet for MCU on IDLE, modem off, wake on GPIOTE input (event mode, LATENCY=LowLatency).

#include <stdio.h>
#include <nrf_modem_gnss.h>
#include <modem/nrf_modem_lib.h>

int main(void)
{
	nrf_modem_lib_init();
	lte_lc_power_off();

	while(1){ 	
		k_cpu_idle();
	}
	
	return 0;
}

How can the code be modified to reflect the conditions specified in the datasheet for MCU on IDLE, modem off, wake on GPIOTE input (event mode, LATENCY=LowPower)?

Parents Reply
  • Hello,

    Thank you for your reply. With that in mind, I made the following code with the following settings in prj.conf.

    int main(void)
    {
    	int ret = nrf_modem_lib_init();
        if (ret) {
            printf("ERROR: Modem library initialization failed (%d)", ret);
            return ret;
        }
    
    	printf("Input sample started\n");
    
    	while(1){
    		k_cpu_idle();
    	}
    
    	return 0;
    }

    prj.conf

    CONFIG_LOG=y
    CONFIG_LOG_MODE_MINIMAL=y
    
    CONFIG_INPUT=y
    CONFIG_INPUT_EVENT_DUMP=y
    
    CONFIG_NRF_MODEM_LIB=y
    CONFIG_SERIAL=y
    CONFIG_INPUT_GPIO_KEYS=n

    With CONFIG_SERIAL=n I got a value of 3.63 uA while with CONFIG_SERIAL=y I got a value of 603mA. Is it possible to get a lower value?

    I still don't understand where I change the GPIOE to event mode.

Children
No Data
Related