<?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>questions around SAADC offset calibration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23437/questions-around-saadc-offset-calibration</link><description>Hi! 
 I&amp;#39;m using the nrf52 on custom prototype boards and the official development boards. We are using the ADC to read analog values and encountered unexpected behavior related to the saadc offset calibration. 
 I&amp;#39;m currently using nrf_drv_saadc_calibrate_offset</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Jul 2017 13:25:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23437/questions-around-saadc-offset-calibration" /><item><title>RE: questions around SAADC offset calibration</title><link>https://devzone.nordicsemi.com/thread/92103?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2017 13:25:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:395692a6-bfb7-4a0a-8cc0-20dcfd5c2f5b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;In this test you will be dominated by gain error, not offset. The gain error will still remain. If you want to check how the offset changes with offset calibration then you need to apply 0 input. Do you get more stable values as you increase the oversampling?&lt;/p&gt;
&lt;p&gt;It&amp;#39;s interesting if the gain error changes offset calibration, because it should not. To be able to separate gain and offset error you need two points, 0 and 1.8 V input.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: questions around SAADC offset calibration</title><link>https://devzone.nordicsemi.com/thread/92104?ContentTypeID=1</link><pubDate>Wed, 12 Jul 2017 15:57:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d055a07-b87d-4762-bafb-afbcc9b3497d</guid><dc:creator>peter</dc:creator><description>&lt;p&gt;Hi! thanks for the quick reply. Oversampling does not seem to help. I ran test series on some of the devices with 4x, 32x, 128x and 256x oversampling. The difference from 4x to 128x was at maximum around 2 points on the adc (4096 scale), whereas the offset calibration itself, still went around 50 points further from the non-calibrated average to a total of around 90 points off of the actual value (the worst case precision of the input voltage is 15 points on the adc scale).&lt;/p&gt;
&lt;p&gt;Actual values: 1.8V reference input should be 3072, non-calibrated value e.g. 3030, calibrated value 2980.&lt;/p&gt;
&lt;p&gt;I also tried doing calibration once and never again, and also after every sample (time between samples was 3 seconds) which leads to the same results.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: questions around SAADC offset calibration</title><link>https://devzone.nordicsemi.com/thread/92105?ContentTypeID=1</link><pubDate>Wed, 12 Jul 2017 12:21:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55749a1a-be87-43ca-8719-ae3171ba1737</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;This could be caused by noise. Can you try calibration with &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/saadc.html?cp=2_1_0_36_10_38#register.OVERSAMPLE"&gt;OVERSAMPLE&lt;/a&gt; = 5 (32x)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>