<?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>How to Calibrate SAADC for temperature compensation Example code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57634/how-to-calibrate-saadc-for-temperature-compensation-example-code</link><description>Hi, 
 I want to calibrate SAADC for temperature compensation please guide me with example.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Feb 2020 09:59:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57634/how-to-calibrate-saadc-for-temperature-compensation-example-code" /><item><title>RE: How to Calibrate SAADC for temperature compensation Example code</title><link>https://devzone.nordicsemi.com/thread/234595?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 09:59:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e73875cd-f5f9-4964-9b17-de59e5e61d14</guid><dc:creator>adnan arshad</dc:creator><description>&lt;p&gt;I have tried this link and found the issue of my problem.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48462/questions-on-saadc-calibration-gain-best-use"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/48462/questions-on-saadc-calibration-gain-best-use&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Calibrate SAADC for temperature compensation Example code</title><link>https://devzone.nordicsemi.com/thread/234422?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2020 13:28:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6625987-b9d4-4ba3-98d7-d08fdc99a841</guid><dc:creator>adnan arshad</dc:creator><description>&lt;p&gt;I have also followed the following example&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/32982/can-t-stop-saadc/127645#127645"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/32982/can-t-stop-saadc/127645#127645&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;it causes all the 5 samples to be corrupted after calibration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Calibrate SAADC for temperature compensation Example code</title><link>https://devzone.nordicsemi.com/thread/234122?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 09:10:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5cb21a4-a51a-41c6-b915-849bfcf70528</guid><dc:creator>adnan arshad</dc:creator><description>&lt;p&gt;Dear Kenneth,&lt;/p&gt;
&lt;p&gt;I have followed this&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34785/saadc---calibration"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/34785/saadc---calibration&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and my code snipped is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;if(saadc_calibrate == true)&lt;br /&gt; {&lt;br /&gt; while(nrf_drv_saadc_calibrate_offset() != NRF_SUCCESS); //Trigger calibration task&lt;br /&gt; nrf_saadc_disable();&lt;br /&gt; while(NRF_SAADC-&amp;gt;STATUS == (SAADC_STATUS_STATUS_Busy &amp;lt;&amp;lt; SAADC_STATUS_STATUS_Pos));&lt;br /&gt; nrf_saadc_enable();&lt;br /&gt; while(NRF_SAADC-&amp;gt;STATUS == (SAADC_STATUS_STATUS_Busy &amp;lt;&amp;lt; SAADC_STATUS_STATUS_Pos));&lt;/p&gt;
&lt;p&gt;SEGGER_RTT_printf(0, &amp;quot;Calibration Done\n\r&amp;quot;);&lt;br /&gt; saadc_calibrate = false; &lt;br /&gt; }&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But still the first wrong sample issue persists.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Calibrate SAADC for temperature compensation Example code</title><link>https://devzone.nordicsemi.com/thread/234034?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 15:41:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:807711fe-a0b6-44e9-8686-85ada5a69d56</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The first link I shared contain an example that does this. Check out directly link (answer to question 5):&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39454/calibrating-saadc-on-nrf52832/152901#152901"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/39454/calibrating-saadc-on-nrf52832/152901#152901&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Calibrate SAADC for temperature compensation Example code</title><link>https://devzone.nordicsemi.com/thread/233992?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 13:32:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17457e02-fd24-4a6f-85e8-164475db95fc</guid><dc:creator>adnan arshad</dc:creator><description>&lt;p&gt;Thanks Kenneth,&lt;/p&gt;
&lt;p&gt;Please refer to some example code of doing this remedy.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Calibrate SAADC for temperature compensation Example code</title><link>https://devzone.nordicsemi.com/thread/233976?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 13:05:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8092782f-3675-4dd3-837d-0f5f13e10bf5</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Can it be related to this?&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/errata_nRF52832_Rev2/ERR/nRF52832/Rev2/latest/anomaly_832_86.html#anomaly_832_86"&gt;https://infocenter.nordicsemi.com/topic/errata_nRF52832_Rev2/ERR/nRF52832/Rev2/latest/anomaly_832_86.html#anomaly_832_86&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think the example I linked already handle this as described.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Calibrate SAADC for temperature compensation Example code</title><link>https://devzone.nordicsemi.com/thread/233927?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 10:36:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47220eca-2ee3-43f5-89b1-e7aea87e2e4d</guid><dc:creator>adnan arshad</dc:creator><description>&lt;p&gt;I have used the following example and the issue is that after calibration done the first sample of saadc read is in -ive value or some thing 1,2,3,5,6 etc which is for more away from the actual value 1622-1630.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/nRF52-ADC-examples/blob/master/saadc_low_power/main.c"&gt;https://github.com/NordicPlayground/nRF52-ADC-examples/blob/master/saadc_low_power/main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Calibrate SAADC for temperature compensation Example code</title><link>https://devzone.nordicsemi.com/thread/233714?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2020 12:17:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22b5f6b2-b771-4c20-bebc-52a38a15e70d</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;You can execute SAADC offset calibration at given intervals (or when temperature changes). Also check out:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39454/calibrating-saadc-on-nrf52832"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/39454/calibrating-saadc-on-nrf52832&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>