Hi,
I want to calibrate SAADC for temperature compensation please guide me with example.
Hi,
I want to calibrate SAADC for temperature compensation please guide me with example.
You can execute SAADC offset calibration at given intervals (or when temperature changes). Also check out:
https://devzone.nordicsemi.com/f/nordic-q-a/39454/calibrating-saadc-on-nrf52832
I have used the following example and the issue is that after calibration done the first sample of saadc read is in -ive value or some thing 1,2,3,5,6 etc which is for more away from the actual value 1622-1630.
https://github.com/NordicPlayground/nRF52-ADC-examples/blob/master/saadc_low_power/main.c
Can it be related to this?
https://infocenter.nordicsemi.com/topic/errata_nRF52832_Rev2/ERR/nRF52832/Rev2/latest/anomaly_832_86.html#anomaly_832_86
I think the example I linked already handle this as described.
Thanks Kenneth,
Please refer to some example code of doing this remedy.
The first link I shared contain an example that does this. Check out directly link (answer to question 5):
https://devzone.nordicsemi.com/f/nordic-q-a/39454/calibrating-saadc-on-nrf52832/152901#152901
Kenneth