<?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 - nRF52832 - questions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29633/saadc---nrf52832---questions</link><description>Hello,
I have the following questions about the SAADC of nRF52832: 
 
 The relationship between ADC code and result. 
 
 For 0.6V reference, 12-bit resolution and single-ended input the step between two levels will be (0.6V/4096 levels). Dividing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Feb 2018 12:43:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29633/saadc---nrf52832---questions" /><item><title>RE: SAADC - nRF52832 - questions</title><link>https://devzone.nordicsemi.com/thread/120262?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2018 12:43:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6170f94d-6aa6-4cf5-a941-fbca5b89b733</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You should try to avoid sampling while the radio is active, to avoid the increased noise levels.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC - nRF52832 - questions</title><link>https://devzone.nordicsemi.com/thread/120162?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2018 18:26:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9011e90b-2bee-43d1-bc3d-fa420febe74c</guid><dc:creator>Arepa</dc:creator><description>&lt;p&gt;Hi Jorgen, Thanks for the recommendations&amp;nbsp;:) the root of my error was the moment&amp;nbsp;when I was reading, it looks the ADC is reading perfectly, I compared the conversion&amp;nbsp;value=165 using&lt;span&gt;&amp;nbsp;&lt;/span&gt;8bit&lt;span&gt;&amp;nbsp;&lt;/span&gt;resolution with values obtained using Oscilloscope and it matches with the voltage drop when my device wakes up and starts a connection.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1518027921553v1.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Is it a good practice measure the battery voltage when starting a connection? or should be it before when the device is still with a low consumption?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC - nRF52832 - questions</title><link>https://devzone.nordicsemi.com/thread/119986?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2018 15:35:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d9e9073-6b40-4c78-8674-143c627c4627</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Your sample might be affected by noise and errors. As described in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/12287/nrf52-saadc-noise/46443#46443"&gt;this post&lt;/a&gt;, you should expect a deviation of a few LSBs. Have you tried increasing the resolution, enabling oversampling, and doing offset calibration? Your calculations are correct, but the readings could be the source of error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC - nRF52832 - questions</title><link>https://devzone.nordicsemi.com/thread/119846?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2018 03:05:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f141ca73-c7c3-4f52-b0e8-4f3417238571</guid><dc:creator>Arepa</dc:creator><description>&lt;p&gt;Hi Jorgen, I am using the equations on the documentation resolution 8bits, gain 1/6 and reference internal 0.6V,&amp;nbsp;the input range is from 0V - 3.6V,&amp;nbsp; but, for example if my converter result it 128, using the equation&amp;nbsp;you posted above my voltage is 1.8V, but using a tester and oscilloscope I got 2V.&lt;/p&gt;
&lt;p&gt;For example I use the following equation:&lt;/p&gt;
&lt;pre class="pre codeblock"&gt;Input range = (0.6 V)/(1/6) = 3.6 V&lt;/pre&gt;
&lt;p&gt;Voltage = (RESULT * (3.6)) / (&lt;span&gt;2^(RESOLUTION - m))&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;both equation give me the same result, and my calculated voltage value is different to the voltage measured using tester and oscilloscope for +-200mV&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC - nRF52832 - questions</title><link>https://devzone.nordicsemi.com/thread/117693?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 17:08:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ab05ba7-dd7a-40f4-9732-6e54ddf91257</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The digital output is calculated
using the formula in the
documentation. I&amp;#39;m not sure I
understand what you expect to get
out of your formula.&lt;/li&gt;
&lt;li&gt;With an input voltage of 1.5V and your configuration, you should get a result of ~1706 (1.5 * (1/6)/0.6V * 2^12). If you want to calculate the corresponding voltage, you the formula will be V(P) = RESULT / (GAIN/REFERENCE * 2^(RESOLUTION - m)).&lt;/li&gt;
&lt;li&gt;I don&amp;#39;t see any better solution than the one you propose.&lt;/li&gt;
&lt;li&gt;Unfortunately, we do not have any data on this. The pin low output are only specified to be between VSS and 0.3*VDD. This should be easy to measure on your device though.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>