<?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 REFSEL VGB Behavior</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1080/adc-refsel-vgb-behavior</link><description>Chip: NRF51822 
 Per the documentation the band gap voltage is 1.2V however on my board when I apply the voltage 1.5V to AIN2 i read the following value from the ADC: 209 
 This would imply that the total voltage that can be measured is ~1.8V 
 Is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Dec 2013 11:09:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1080/adc-refsel-vgb-behavior" /><item><title>RE: ADC REFSEL VGB Behavior</title><link>https://devzone.nordicsemi.com/thread/5098?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2013 11:09:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01eaf49c-f280-4fbf-a9be-eb852fdafcca</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Nate&lt;/p&gt;
&lt;p&gt;We do not have this calculation in any document yet but you could perform them yourself if you desire by looking at ADC model which is revealed in my response in this thread:
&lt;a href="http://devzone.nordicsemi.com/index.php/analog-prescale-question"&gt;http://devzone.nordicsemi.com/index.php/analog-prescale-question&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There is also a document there attached that shows the value of the internal ADC resistor which depends on the prescale configuration of the ADC.&lt;/p&gt;
&lt;p&gt;What happens when a high impedance input source is present (e.g. voltage divider) is as follows.
When not sampling, the R_AIN (referring to ADC model figure in the above thread) value will have very high value and you can consider it to be an open circuit. The moment you are sampling, R_AIN is 120k-400k and therefore lowers the ADC input voltage when a voltage divider is connected, which produces the gain and offset error.&lt;/p&gt;
&lt;p&gt;We are currently working on making a white paper for the ADC and hopefully the equations you are asking for will be in that white paper. I am not sure when the white paper will be released, but lets give it a few weeks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC REFSEL VGB Behavior</title><link>https://devzone.nordicsemi.com/thread/5097?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2013 20:09:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41fa09e4-8dc0-471a-b82c-6b1e6aca7aa5</guid><dc:creator>nate</dc:creator><description>&lt;p&gt;Per the link you added Stefan the following comment was made:
&amp;quot;the other hand, when applying voltage source to the ADC input pin with high impedance, additional gain and offset error is introduced which is different for different prescalers. Choosing high impedance voltage divider is on the other hand desirable to prevent high leakage current though the voltage divider. &amp;quot;&lt;/p&gt;
&lt;p&gt;Is there an equation you have access to that can help me determine what the offset and gain will be based off introduced impedance from my circuit?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC REFSEL VGB Behavior</title><link>https://devzone.nordicsemi.com/thread/5095?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2013 17:18:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbff6997-d286-4d83-97db-874426787cd1</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;The voltage divider circuit has a very high impedance, I will alert my HW dev to this issue.  Thank you for the feedback.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC REFSEL VGB Behavior</title><link>https://devzone.nordicsemi.com/thread/5096?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2013 17:18:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c49be01-8420-4710-8b97-65fee86a14cc</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;The voltage divider circuit has a very high impedance, I will alert my HW dev to this issue.  Thank you for the feedback.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC REFSEL VGB Behavior</title><link>https://devzone.nordicsemi.com/thread/5094?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2013 13:13:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89fd2aba-0d71-4c53-9e3e-342e40644470</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Do you have a voltage divider connected to the ADC input pin? What is the impedance of your ADC input source. The ADC is highly sensitive to the impedance of the input source. &lt;a href="https://devzone.nordicsemi.com/index.php/adc-reference-selection-nrf51822#reply-3547"&gt;Look at this thread in order to realize what you can do in order to correct the error.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>