This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Have any example code/solution for nrf9160 power management?

Hi all,

My name is Szabolcs Vass. We are developing a project with nRF9160 SiP on our custom board. We want to send some measurements periodically to an MQTT server. After the measurements sent successful we want to send the device to the lowest power mode, because of power consumption.

The modem firmware version is V.1.0.0

The Nordic SDK version is V.0.4.0

The zephyr version is 1.14.99

The sending process works correctly but we need to the low power mode procedure. We didn't find any example related to low power mode. Some question/thread  exist in this devzone but neither of them do not help us. Can you send us an example code how to send the device to low power modes? Which are the settings and functions from the API? How to use them?

B.R.

Szabolcs Vass

  • Hi,

    We looked those post that you suggested.

    Firstly, we programmed to the nrF9160 DK board and tried it. We cut the SB44 and SB45, and measured the current on the P24 connector, on the VDD nRF and the VDD nRF' pins as the post suggested. The measured current was 45 mA, with your code.

    Secondly, we also tried this code in our custom boards. The 2 custom boards are exatcly same, but when we programmed the suggested code to boards the measurements was different.  

    At this point your code and your nrf9160 module is totally unusefull.

    We just would like to measure some values and want to send to a server, after that we want to send the device to sleep, because of the lowest power consumption.

    This task would be a very simple task, but we can not go ahead, because the sleep mode is unusefull, your support is deficient. If we try to to ask some concrete question you send us to posts, but this do not solve the problems, is not exist sample code to sleep mode, your documentation are also deficient, you give informations about the module, give informations about registers, but with the Zephyr OS we do not use this informations, and so on.

    Finally, if we try another solution using k_cpu_idle() we reach 1.45 mA consumption which is much better result, but we would like to reach the 0.7uA power consumption.

    Can you help me, with concrete solution, some example code?

    BR,

    Szabolcs

Related