<?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>Analog prescale question</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/484/analog-prescale-question</link><description>I&amp;#39;m using a nRF51844 
 I&amp;#39;m writing my own ADC reading routines because I can&amp;#39;t find any examples, but I know how to code so that&amp;#39;s not a problem. I just want to confirm something: 
 If the analog reference is selected to be ADC_CONFIG_REFSEL_SupplyOneThirdPrescaling</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Sep 2013 10:54:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/484/analog-prescale-question" /><item><title>RE: Analog prescale question</title><link>https://devzone.nordicsemi.com/thread/2539?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2013 10:54:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3665d531-a321-4f4c-8f8c-27e4fe33c5a7</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;The error specification for the ADC is given in table 38 in the nRF51822 PS v1.2.&lt;/p&gt;
&lt;p&gt;The impedance of the input voltage source, i.e. the device that generates the voltage to be measured by the ADC input pin, must be low, preferably within 1 kohm. If the impedance of the source is below 1 kohm the error specification in table 38 is valid and choosing different prescale settings for the ADC input will have little effect. On 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.&lt;/p&gt;
&lt;p&gt;The attached documents show the ADC model when the ADC is sampling and the value of R_AIN for different prescale settings. The internal VBG reference voltage is 1.2V so the ADC internal voltage source is VBG/2=0.6V. When the ADC is not sampling the AIN input pin has very high impedance and can be regarded as open circuit.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ADC-AIN-model.JPG" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Analog prescale question</title><link>https://devzone.nordicsemi.com/thread/2538?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2013 04:50:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfed6aea-47c3-497f-a772-dd7cfc2eb68f</guid><dc:creator>Frank Zhao</dc:creator><description>&lt;p&gt;my mistake, i think i did mean to write ADC_CONFIG_INPSEL_AnalogInputOneThirdPrescaling but copied the wrong line&lt;/p&gt;
&lt;p&gt;thanks for the reply&lt;/p&gt;
&lt;p&gt;is there any error specifications on each individual prescaler?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Analog prescale question</title><link>https://devzone.nordicsemi.com/thread/2537?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2013 05:37:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c40b5a0f-042e-4493-8cb6-730468dac57c</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;If you have VDD (supply voltage) as reference by choosing e.g. ADC_CONFIG_REFSEL_SupplyOneThirdPrescaling, the ADC will compare the input voltage to the supply voltage. If you choose ADC_CONFIG_INPSEL_AnalogInputOneThirdPrescaling then that would mean the ADC will output 1023 when the input voltage is equal to the supply voltage when sampling with 10 bit resolution. However, it would make no sense to choose Supply voltage for both reference and input, as you have suggested.&lt;/p&gt;
&lt;p&gt;For ADC saturation points and maximum voltages on the analog input pins, please look at:
&lt;a href="http://devzone.nordicsemi.com/index.php/what-voltage-range-can-be-measured-with-the-adc#reply-842"&gt;devzone.nordicsemi.com/.../what-voltage-range-can-be-measured-with-the-adc&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>