nRF91 sleep current high

Hello,

I'm writing an application for nRF91 series and I have the functionality mostly working but the "sleep" current is high, about 4-7mA. I assume that this means that there is no power saving on.

I could work with relatively high sleep current, around 600µA but the lower the better.

I'm using an nRF9160-DK with a PPK2 at the moment.

My application is currently using UART, GPIO, I2C, and the modem but I'm supposed to add ADC as well. The chip also has GPS but I don't use it.


My application calls k_sleep() from the main function. According to this discussion it is ok.   K_sleep from main function

I think all the examples I've seen return from the main function and call k_sleep from spawned threads.

The k_sleep() call seems to result in correct amount of delay.

Could someone provide me with a minimalist configuration and code example to get the chip including the modem to sleep periodically? I could use that to validate my measurement setup and I suppose I could use that to figure out what's wrong with my application.

I think I would prefer CFUN=4 or CFUN=0 over PSM because as I understand it PSM is in some rare occasions not supported and slight extra power usage is not a problem. Or maybe I'm wrong about PSM.


Petri

Related