<?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>nRF52832 - ADC Value With 0V at the Input</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19340/nrf52832---adc-value-with-0v-at-the-input</link><description>Hello there, 
 I have a question related to the ADC of the nRF52832. 
 
 I am using it in single-ended mode, 10-bit resolution, 1/5 gain, internal reference 0.6V.
Thus, I should expect a reading range from 0V to 3V. 
 Everything works fine and as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Apr 2018 07:24:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19340/nrf52832---adc-value-with-0v-at-the-input" /><item><title>RE: nRF52832 - ADC Value With 0V at the Input</title><link>https://devzone.nordicsemi.com/thread/129086?ContentTypeID=1</link><pubDate>Fri, 20 Apr 2018 07:24:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e2d6dd1-c097-467e-bcc4-9acfdebcdd0d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;If you get very big and wrong number, you are not handling the sample correctly. Note that the samples are stored as int16_t, not uint16_t:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;typedef int16_t nrf_saadc_value_t;  ///&amp;lt; Type of a single ADC conversion result.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The values 0xFFFF, 0xFFFE represents -1 and -2 in int16_t format. You can compensate for this in your software by saying all negative values should be threated as 0. You can also do offset calibration , or oversampling to average multiple samples and compensate for the noise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 - ADC Value With 0V at the Input</title><link>https://devzone.nordicsemi.com/thread/129080?ContentTypeID=1</link><pubDate>Fri, 20 Apr 2018 06:42:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:173f68c1-5bb0-4381-9df3-2051d71b8fc1</guid><dc:creator>sdrest</dc:creator><description>&lt;p&gt;Do anyone have solution?&lt;/p&gt;
&lt;p&gt;I have this question too.&amp;nbsp; when I touch ground on ADC pin, ADC value is 1,0, 0xFFFF or 0xFFFE.&lt;/p&gt;
&lt;p&gt;It cause my average ADC value to be a very big and wrong number.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 - ADC Value With 0V at the Input</title><link>https://devzone.nordicsemi.com/thread/75031?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 11:02:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2850c6f9-b10b-466e-9892-bea43030990b</guid><dc:creator>Carsten Wulff</dc:creator><description>&lt;p&gt;Could you plot the ADC output also? It would be interesting to see if that is periodic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 - ADC Value With 0V at the Input</title><link>https://devzone.nordicsemi.com/thread/75030?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 09:48:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a59616ea-0f27-49ba-bf3b-24a1948746e6</guid><dc:creator>jk83</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Here you can find 3 screenshots of the same 5mV input of the ADC. The screenshot are taken with different time scales.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://imagizer.imageshack.us/a/img923/4460/1XAMlv.png"&gt;link Image1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://imageshack.com/a/img922/7012/9I1yHx.png"&gt;link Image2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://imageshack.com/a/img924/7913/d846fT.png"&gt;link Image3&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The signal has some noise, but nothing periodic. The ADC values that I am reading: 0x199A / 0x0001 / 0x0000 / 0x4CCD / 0x3333...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 - ADC Value With 0V at the Input</title><link>https://devzone.nordicsemi.com/thread/75028?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 17:13:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:336f783f-3a94-48c4-92b6-d7ed514f8c04</guid><dc:creator>Carsten Wulff</dc:creator><description>&lt;p&gt;As Jørgen says, this is not expected. Could you try plotting the ADC output and see if there is a periodic signal there? It would be interesting to know the frequency (if any) of what you see.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 - ADC Value With 0V at the Input</title><link>https://devzone.nordicsemi.com/thread/75029?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 14:54:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dba07b76-10cb-4596-837a-571a3ec7aca3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;This does not look like expected behaviour. Have you checked the input with an oscilloscope to see that the signal is in fact 0/GND and stable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>