Hi,
I am using custom board (nRF9160) and zephyr V2.6 and I would like to make sure that I understand the ADC settings correctly in the device tree:
Hi,
I am using custom board (nRF9160) and zephyr V2.6 and I would like to make sure that I understand the ADC settings correctly in the device tree:
Hello,
Most of the staff is away for a long weekend in Norway, so there will be some delays in response time. I appreciate your patience.
Hello,
Please accept apology for late reply.
Couple you please read this documentation zephyr,adc-emul — Zephyr Project Documentation about ADC emulation node and child nodes?
Thanks.
BR
Kazi
Hi,
No worries for the delay.
Thanks for the link, it is very useful.
I just would like to know if the ADC reading of 23mV is normal where the actual value is 33mV ?
is such deviation for example a hardware limitation, noise, ... ?
Hello,
Measurements at such low voltage will be affected by noise. Need to use oversampling to average out noise to get consistent measurements
It seems like the voltage deviation could come from DC errors like offset, gain, differential non linearity (DNL) and integral non linearity (INL). AC error could be one fo the causes for this deviation. But for battery measurement, The DC error are most noticeable.
The ADC has a temperature dependent offset. If the ADC is to operate over a large temperature range, we recommend running CALIBRATEOFFSET at regular intervals. The CALIBRATEDONE event will be fired when the calibration has been completed. Note that the DONE and RESULTDONE events will also be generated.