<?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>Jittery results from SAADC on nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46397/jittery-results-from-saadc-on-nrf52832</link><description>I am configuring the SAADC for Single-ended mode which I would think is a simple/common task, but my output from the ADC is very jittery. It seems to jump between a good reading and (relatively) small negative values in a noise-like manner, however this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Apr 2019 15:11:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46397/jittery-results-from-saadc-on-nrf52832" /><item><title>RE: Jittery results from SAADC on nRF52832</title><link>https://devzone.nordicsemi.com/thread/183194?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 15:11:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf6d27a2-0cf2-4f20-8519-6cd9999c165b</guid><dc:creator>adamsperry</dc:creator><description>&lt;p&gt;I just determined my problem yesterday. It was not with the SAADC. It was an issue of type casting when recombining the high and low bytes on my host computer. Thank you for your response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Jittery results from SAADC on nRF52832</title><link>https://devzone.nordicsemi.com/thread/183175?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 14:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec37318a-b156-40b9-95c5-4ba495b53339</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Pot -&amp;gt; SAADC on nRF52 DK -&amp;gt; NUS on nRF52 DK -&amp;gt; NUS on Sparkfun -&amp;gt; UART on sparkfun -&amp;gt; host computer[/quote]
&lt;p&gt;&amp;nbsp;There are a few step in this series of peripherals. Can you please try to print the SAADC values on the nRF52 DK on the UART or something? Just to see if the small negative number is present already here?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I just want to figure out where the small negative number is introduced. The pot, the SAADC, the NUS, the sparkfun, the UART on the sparkfun. Can you try to figure out where it happens? Either by logging, or by debugging.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can try to print using either the logger module, either with RTT or UART on the nRF52 DK connected to the pot. You can try to log both the values you get from the SAADC, and the values that you are sending over the Nordic UART Service (NUS) over BLE on the first DK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are you able to find out where the 0&amp;#39;s (small negative) are introduced? Are they coming from the SAADC?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>