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

SAADC output values on UART

Hi,

I want monitor the battery voltage of my system, I used the SAADC examples on GitHub for SDK 13.0 (https://github.com/NordicPlayground/nRF52-ADC-examples/tree/master/saadc_low_power). The code compiles and I can see the LEDs flashing according to described function. However, I do not see any analog "value" of AIN0. There is no change whether I pt the pin to VDD or GND. I have checked the code quite thoroughly and nothing prints a hex or dec value of the AIN pin to the UART. I do not know what I am measuring! 

I would appreciate any help in this regard. DO I need to change anything?

Best

Kanika

Related