<?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 measurements varying between boards of same type nRF5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91481/adc-measurements-varying-between-boards-of-same-type-nrf5340</link><description>Hi, 
 Currently, we are facing a huge problem with our custom boards. Between different boards the ADC values varying very much even with a given voltage input. 
 For instance, we measure the battery voltage of 8V (shown on the AC/DC source and 8.011V</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Aug 2022 21:38:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91481/adc-measurements-varying-between-boards-of-same-type-nrf5340" /><item><title>RE: ADC measurements varying between boards of same type nRF5340</title><link>https://devzone.nordicsemi.com/thread/384219?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 21:38:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:058e98b7-682b-4033-be6e-81413acb85ec</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Good to know that your problem has solved. Have you found the difference in config file comparing these Zephyr ADC API and NRFX as problem solved for NRFX?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What was your input voltage to this pin (P0.04/AIN0) ? According to component values on the provided schematic , it is 2.16V. If the value is 2.16V then it is within range.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kazi Afroza Sultana&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC measurements varying between boards of same type nRF5340</title><link>https://devzone.nordicsemi.com/thread/384087?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 09:50:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eac34c1a-6264-48ec-9ca4-79f86bf0b12f</guid><dc:creator>who9vy</dc:creator><description>&lt;p&gt;Ok, I found the answer to my problem. After I flashed a minimal Zephyr ADC example I got the same results. But changing from the Zephyr ADC API to the NRFX driver the problems are gone!&lt;/p&gt;
&lt;p&gt;So, I assume that either I&amp;#39;m using the Zephyr ADC API in a wrong way or there is a bug somewhere in Zephyr.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC measurements varying between boards of same type nRF5340</title><link>https://devzone.nordicsemi.com/thread/383983?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 16:29:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3d2db18-1ea1-4652-9629-495f0147b95c</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Regrettably it is the hardware circuit which will not work as intended. Multiple issues, mostly related to impedance. The input resistance is only loosely defined and varies between parts; at 1M+ it is of the order of the potential divider lower resistance. A second issue is phantom power into the pin when battery is connected but VCC has not yet risen, discussed on this forum recently. The solution is usually an external FET or Ideal Diode or Flying Capacitor. I only have 52832 data to hand, but believe 5340 is similar - just checked v1.2 and yes same figures for input resistance&lt;/p&gt;
&lt;p&gt;See&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/91161/protection-diodes-on-nrf52840-clamping-current"&gt;protection-diodes-on-nrf52840-clamping-current&lt;/a&gt;&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/SAADC_2D00_FrontEnd.JPG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>