Hi,
I have a very high consumption when using the ADC of the nRF9160, I am using the NCS 2.0, the firmware used is inspired by the sample provided on github below:
https://github.com/Rallare/fw-nrfconnect-nrf/blob/nrf9160_samples/samples/nrf9160/adc/src/main.c
Attached is the developed firmware, it is as simple as possible, reading only one channel from the ADC!
The consumption of the reading of 1 channel from the ADC every 2 seconds can be observed below, I find a floor current of 2.81 mA, something totally unexpected.

This consumption refers to firmware with log and serial disabled, in addition to the problem with consumption, I found a problem related to the use of timer, when I use a timer (it is commented on in the code) to perform the reading of the ADC, I have the first 2 readings totally wrong, regardless of the interval between readings, always the first reading is 0 and the second is a totally inconsistent value, but this disappears when I read through a while inside main.
I looked in several topics related to SAADC how to reduce consumption, but I didn't find anything related to NCS, zephyr. There are many samples for nRF5, but for NCS the information and samples regarding SAADC are limited to the basics or theory.
In the github below, you can see that through nRF5, it is possible to reach an average consumption of 5uA using SAADC, how could you get close to that using NCS 2.0?
https://github.com/NordicPlayground/nRF52-ADC-examples/tree/master/saadc_low_power
Could you give me some example or tips to reduce consumption when using SAADC?
Thank you.
