<?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>Noise in ADC readings of nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70196/noise-in-adc-readings-of-nrf52840</link><description>Hi, 
 We are having some issues with the values obtained via ADC readings. We have a few designs using the nRF52840 where the analog reads from sensors are not stable. To check this, we started measuring a controlled voltage form a power supply with our</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Jan 2021 12:29:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70196/noise-in-adc-readings-of-nrf52840" /><item><title>RE: Noise in ADC readings of nRF52840</title><link>https://devzone.nordicsemi.com/thread/288158?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 12:29:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e1d786a-786f-45b6-9426-a5745d73a042</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;The resistance from a GPIO to GND and VDD should be several Mohms when the device is off, can you double-check your findings?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;If they are in the kohm range then the GPIOs are likely fried, possibly do to applied over/under-voltage.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Noise in ADC readings of nRF52840</title><link>https://devzone.nordicsemi.com/thread/288004?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 15:14:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13a2d52d-a520-42a4-ad0b-a3db7877d561</guid><dc:creator>michaelatom</dc:creator><description>&lt;p&gt;Thanks for the answer.&lt;/p&gt;
&lt;p&gt;Yes, it is important for us to overcome the differences at the 3mV range.&lt;br /&gt;I retested the SAADC example now on P002 and on VDD, got readings between 844 and 856 (diff 12). Is it what is expected.&lt;br /&gt;Also, checked the resistance of&amp;nbsp;&lt;span&gt;AIN2 (p0.04), to GND is 55kohm and to VDD 40kohm.&lt;br /&gt;For AIN0 (p0.02) got 90kohm to GND and 40kohm to VDD&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Noise in ADC readings of nRF52840</title><link>https://devzone.nordicsemi.com/thread/287945?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 12:34:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7259d8b-46e0-41ad-8d61-91c1bd3c11ca</guid><dc:creator>haakonsh</dc:creator><description>[quote user=""]The lowest difference we are able to get is 3mV on one of the configurations we are using for the analog read which have oversampling.[/quote]
&lt;p&gt;That&amp;#39;s&amp;nbsp;the&amp;nbsp;expected result, you won&amp;#39;t get much more precision than that with this SAADC.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;With ~9 ENOB you will get a resolution of 600mV/2^9 = 1.172mV, but the accuracy of the internal reference is not exactly 600mV and there&amp;#39;s also some gain error, DNL/INL, and input offset that affects the end result.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Is it crucial for your application to get better accuracy/precision than 3mV?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]The same FW configuration that gave us 3mV differences in our system is giving 4.8mV differences in the DK after sampling for a few minutes.[/quote]
&lt;p&gt;The DK&amp;#39;s analog pin layout is not ideal, the traces pass close to digital/power traces and will likely pick up some noise.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]&lt;p&gt;Next we tried the SAADC example from SDK 17.0.2 connected to 2.523 V. We saw a difference of 50 on the readings (max 741, min 691). When shorted to GND on the DK, the readings range is from -1 to 2 and when tied to VDD pin of the DK the ADC reading range is from 772 to 831.&lt;/p&gt;
&lt;p&gt;The only change made to the example code is that we are using AIN2 instead of AIN0.&lt;/p&gt;[/quote]
&lt;p&gt;There&amp;#39;s definitely something wrong here, 50 codes of variance is way too much.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;My first guess is a blown ESD fuse on the AIN2 (p0.04) GPIO. The most common failure mode is a partial or full short to either GND or VDD. Can you measure the ohmic resistance of the AIN0 and AIN2 with respect to GND and VDD and compare them?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>