<?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>nRF52832 SAADC 14-bit with 0 oversampling</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51728/nrf52832-saadc-14-bit-with-0-oversampling</link><description>I&amp;#39;m using the nRF52832, and taking ADC measurements, with 14 bit resolution and with Oversampling disabled. The nRF52832 Product Specification mentions the saadc can be configured with &amp;quot;8/10/12-bit resolution, 14-bit resolution with oversampling&amp;quot;; 
 My</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Aug 2020 02:16:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51728/nrf52832-saadc-14-bit-with-0-oversampling" /><item><title>RE: nRF52832 SAADC 14-bit with 0 oversampling</title><link>https://devzone.nordicsemi.com/thread/262687?ContentTypeID=1</link><pubDate>Mon, 03 Aug 2020 02:16:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3208b84-ce5b-4f50-99b5-5f12520b6eb3</guid><dc:creator>nrfcho</dc:creator><description>&lt;p&gt;HI, also I want to get 11bit resolution..Could you tell me how you made your own oversampling? Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 SAADC 14-bit with 0 oversampling</title><link>https://devzone.nordicsemi.com/thread/208520?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2019 16:12:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52fa5b4d-cc88-44e8-85ff-b8ee03db7364</guid><dc:creator>Podrucky</dc:creator><description>&lt;p&gt;I understand Sean.&amp;nbsp; Thank you for the information.&amp;nbsp; I had some recent success with achieving actual 11 bit resolution using a 12 bit resolution, using VDD/4 as the reference and disabling the DC/DC on the nrf52832.&amp;nbsp; I require an ADC value every 100 ms so I performed my own oversampling and average, taking 50 readings during the 100 ms timeframe.&amp;nbsp; I did not disable the soft devices during sampling and this method may yield more accurate results to eliminate systematic noise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 SAADC 14-bit with 0 oversampling</title><link>https://devzone.nordicsemi.com/thread/208063?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2019 00:21:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8994c33c-d180-488a-bf20-4dc6b4cfbe5f</guid><dc:creator>SeanK</dc:creator><description>&lt;p&gt;I have the answer to my own question.&lt;/p&gt;
&lt;p&gt;14-bit format is just that -&amp;nbsp; a format. If oversampling is &lt;em&gt;Disabled&lt;/em&gt; in &lt;em&gt;sdk_config.h&lt;/em&gt;, there is no oversampling performed. Selecting SAADC_CONFIG_RESOLUTION 3 gives you a 14-bit format, but it&amp;#39;s 12-bit ADC data multiplied by 4.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I used the PCA10040 to take the following data. For brevity i&amp;#39;ve only shown the first 20 samples. Results are in counts.&lt;/p&gt;
&lt;p&gt;&lt;img alt="20 samples gathered using PCA10040" src="https://devzone.nordicsemi.com/resized-image/__size/492x461/__key/communityserver-discussions-components-files/4/PCA10040-data.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The following are some calculations on 100 samples (of which the first 20 samples are included above). Results are in ADC counts.&lt;/p&gt;
&lt;p&gt;&lt;img alt="calculations on 100 samples" src="https://devzone.nordicsemi.com/resized-image/__size/385x81/__key/communityserver-discussions-components-files/4/PCA10040-data-_2D00_-statistics.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 SAADC 14-bit with 0 oversampling</title><link>https://devzone.nordicsemi.com/thread/208061?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2019 00:04:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d21c25bc-ee05-487b-b08b-f476f642905f</guid><dc:creator>SeanK</dc:creator><description>&lt;p&gt;The saadc example provided in the SDK is a good place to start to get ADC measurements working on the dev board. Edit the file &lt;em&gt;sdk_config.h&lt;/em&gt;; Changing SAADC_CONFIG_RESOLUTION to 3 will achieve 14 bit responses&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt; &lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;o&amp;gt; SAADC_CONFIG_RESOLUTION  - Resolution
 
// &amp;lt;0=&amp;gt; 8 bit 
// &amp;lt;1=&amp;gt; 10 bit 
// &amp;lt;2=&amp;gt; 12 bit 
// &amp;lt;3=&amp;gt; 14 bit 

#ifndef SAADC_CONFIG_RESOLUTION
#define SAADC_CONFIG_RESOLUTION 3
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 SAADC 14-bit with 0 oversampling</title><link>https://devzone.nordicsemi.com/thread/208048?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2019 20:42:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6a46e21-52c9-448a-9e84-7e46413afe5a</guid><dc:creator>Podrucky</dc:creator><description>&lt;p&gt;I am wondering how to get 14 bit ADC measurement working.&amp;nbsp; Could you post your code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>