<?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 measurement unstable relative to VDD reference?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110783/adc-measurement-unstable-relative-to-vdd-reference</link><description>NRF5 SDK v17.0.1 
 Custom board 
 
 Hi, 
 I&amp;#39;m trying to take ADC measurements for a device which is powered by battery. The ADC input is fixed and should stay relatively constant with respect to the battery level. I&amp;#39;m currently using the internal 0.6</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 May 2024 16:56:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110783/adc-measurement-unstable-relative-to-vdd-reference" /><item><title>RE: ADC measurement unstable relative to VDD reference?</title><link>https://devzone.nordicsemi.com/thread/481852?ContentTypeID=1</link><pubDate>Fri, 03 May 2024 16:56:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e675e86-e06b-4279-adbb-893c5bbfa62a</guid><dc:creator>kurtovic</dc:creator><description>&lt;p&gt;Yes those are the raw samples from the SAADC, 10-bit values ranging from 0-1023.&lt;/p&gt;
&lt;p&gt;The setup&amp;nbsp;is a custom board which takes a CR2 3V battery, and the AIN4 input interfaces to the board via a PCI-E style connector. The board will not power up until the PCI-E connection is made. By &amp;quot;reseating&amp;quot; I mean essentially causing the unit to power cycle/cold boot, either:&lt;br /&gt;1. Remove battery, then put battery back in; or&lt;br /&gt;2. Remove AIN4 PCI-E input, then put AIN4 PCI-E input back in&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1714750418551v3.jpeg" /&gt;&lt;/p&gt;
&lt;p&gt;I contacted the hardware designer, and was informed that this may be an issue with the board and/or AIN4 input itself. See image below. The AIN4 input consists of several resistors which may have been unnoticeably damaged in some way and become extremely sensitive to environment. (For reference ~540-550 is the&amp;nbsp;expected value for AIN4)&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/adc_2D00_customboard.png" /&gt;&lt;/p&gt;
&lt;p&gt;I will continue monitoring and try isolating the issue to rule out hardware problems before pursuing further support and&amp;nbsp;providing a pseudo-code sample. I&amp;#39;ve swapped the AIN4 PCI-E input between the above unit and an acceptable unit to see if it can be reproduced over the weekend.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC measurement unstable relative to VDD reference?</title><link>https://devzone.nordicsemi.com/thread/481605?ContentTypeID=1</link><pubDate>Thu, 02 May 2024 15:01:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff9d1eca-75c7-4503-bd19-0aade1063841</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are the plots based on raw samples from the SAADC? Can you provide the samples, both with and without oversampling enabled?&lt;/p&gt;
&lt;p&gt;Can you post your code?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure exactly what you mean by &amp;quot;&lt;span&gt;reseating the battery and/or AIN4 input&lt;/span&gt;&amp;quot;. Can you post a picture of your setup and describe the exact process?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>