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

Measuring VDD with ADC

Hi,

I am running the nRF51822 from a coin-cell. I need to measure the cell voltage. Until now, I have attached VDD to an ADC pin with a voltage divider and a capacitor (as described in the reference manual para 31.1.2). However, I later saw that according to the register settings, it is possible to select a prescaled VDD with the INPSEL register, and then convert with VBG as a reference (REFSEL).

I just want to make sure that I have not overlooked anything, before I remove the voltage divider and capacitor from my design.

Help appreciated.

Thanks, Uri

Related