<?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>SAADC reading problem?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18408/saadc-reading-problem</link><description>I&amp;#39;m using SAADC on a NRF52832 DK to read a analog channel between 0-3.3V. I wanted to supply current with the board VDD but it&amp;#39;s value is 2.8V and they&amp;#39;re not event stable, so I used a LM1117 3.3V regulator between the board 5V and m module for it. </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Dec 2016 12:55:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18408/saadc-reading-problem" /><item><title>RE: SAADC reading problem?</title><link>https://devzone.nordicsemi.com/thread/71043?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2016 12:55:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79656959-5e5b-4e65-8fd1-f10f2dc1c662</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I tested the same scenario, conncted AIN0 of my nRF52 DK to an output pin of a nRF51 DK, and got the following results:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7183.plot.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;Can you try to read another source to see if you get normal results? You can also try another input on your IC. I have attached my example code, so you can test this with your board: &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/saadc.zip"&gt;saadc.zip&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC reading problem?</title><link>https://devzone.nordicsemi.com/thread/71042?ContentTypeID=1</link><pubDate>Mon, 19 Dec 2016 11:45:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca6b1aa9-fae1-40b5-8b97-c07d35cf3c0f</guid><dc:creator>Ricardo Nunes</dc:creator><description>&lt;p&gt;it&amp;#39;s a digital output from m module. in this case it was changing between GND and VCC and it was stable on the oscilloscope, but very noisy when read by the SOC ADC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC reading problem?</title><link>https://devzone.nordicsemi.com/thread/71041?ContentTypeID=1</link><pubDate>Mon, 19 Dec 2016 11:42:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1aff335f-228d-4003-8e2c-b48a0fb5f86d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I have spoken to the designer, and the first and second image (VCC and GND) shows normal readings. Your third image does not show normal readings for the ADC. What are you reading in this image?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC reading problem?</title><link>https://devzone.nordicsemi.com/thread/71040?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2016 14:51:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98a7823c-719f-425d-a57a-e8c2a4d57512</guid><dc:creator>Ricardo Nunes</dc:creator><description>&lt;p&gt;Updated the post after testing with a USB power bank and the result is the same&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC reading problem?</title><link>https://devzone.nordicsemi.com/thread/71039?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2016 15:39:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f72aa4e6-aa7a-4f70-9ad2-8ad01efdecb6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I&amp;#39;m getting similar readings to you for GND, a little better for VDD. As described &lt;a href="https://devzone.nordicsemi.com/question/70115/nrf52-saadc-noise/?answer=70166#post-id-70166"&gt;here&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/question/86201/saadc-value-error/"&gt;here&lt;/a&gt;, you should expect some noise in the range of up to a few LSB. Notice that you should rund offset calibration regularly to correct for temperature drift. This is described in &lt;a href="https://devzone.nordicsemi.com/question/92340/nrf52-adc-calibration/?answer=92750#post-id-92750"&gt;this post&lt;/a&gt;. What are you showing in the last picture?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC reading problem?</title><link>https://devzone.nordicsemi.com/thread/71038?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2016 13:20:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1e0a1f9-747e-4c58-b283-310c204d685b</guid><dc:creator>Ricardo Nunes</dc:creator><description>&lt;p&gt;I tried it but it doesn&amp;#39;t hide the problem and even if it does it&amp;#39;s not normal that a stable line gets reading like those&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC reading problem?</title><link>https://devzone.nordicsemi.com/thread/71037?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2016 09:25:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99722830-0d56-4e0d-9ed5-00e3c8979b21</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi, can you try enabling &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/saadc.html?cp=2_2_0_36_4_2#saadc_operationmodes_oversample"&gt;oversampling&lt;/a&gt;? This should improve the signal-to-noise ratio. Also, what source do you power your board with? If using USB, this can introduce a lot of noise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>