<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>adc wrong values</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12162/adc-wrong-values</link><description>Hi
I have nrf51822 CEAA which is powered with 1.9 volt on vdd (low power chip). I&amp;#39;m using ADC to measure battery level but the conversion gave me 5.4 volt wich is wrong for the battery 
 here my adc configuration 
 NRF_ADC-&amp;gt;INTENSET = (ADC_INTENSET_END_Disabled</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Feb 2016 15:44:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12162/adc-wrong-values" /><item><title>RE: adc wrong values</title><link>https://devzone.nordicsemi.com/thread/46026?ContentTypeID=1</link><pubDate>Mon, 29 Feb 2016 15:44:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f8102f6-7d98-4627-bc95-5788e73d93dc</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The maximum rating on a gpio pin is VDD+0.3V, see product specification absolute maximum ratings. This means that the maximum voltage in your case is 2.2V (1.9V+0.3V), so you will need a voltage divider from the battery to the gpio pin. I would configure the voltage divider such that the maximum voltage on the pin is 1.2V (VBG) and then used AnalogInputNoPrescaling and refsel VBG to utilize the full range of the ADC.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know why you are measuring 5.4V, but since you are outside the operating conditions for the chip it doesn&amp;#39;t matter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>