<?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>52832 saadc calibration issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53390/52832-saadc-calibration-issue</link><description>I have issue about calibartion using saadc. 
 I use 52832, S332, SDK 15.3.0 
 when calibration is excuting, ANT+ and BLE is also doing. 
 I use low power mode in saadc. 
 issue is first calibration is normal 
 but after that periodly do calibration (like</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Nov 2019 06:13:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53390/52832-saadc-calibration-issue" /><item><title>RE: 52832 saadc calibration issue</title><link>https://devzone.nordicsemi.com/thread/217875?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2019 06:13:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acb8295b-b490-46de-9d1b-bed0aed97bb5</guid><dc:creator>BEN_HB</dc:creator><description>&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 saadc calibration issue</title><link>https://devzone.nordicsemi.com/thread/217784?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2019 13:53:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbb62d67-2c2f-40c7-bfff-72801da2701d</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It should be ok for S332.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 saadc calibration issue</title><link>https://devzone.nordicsemi.com/thread/217727?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2019 10:05:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:100502f2-7f3e-4174-9d32-df57f53238a7</guid><dc:creator>BEN_HB</dc:creator><description>&lt;p&gt;I use S332. Is it also no issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 saadc calibration issue</title><link>https://devzone.nordicsemi.com/thread/217717?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2019 09:28:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a48cdb0-bc0e-49a6-a852-88fa8929afab</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I understand that it might be difficult to move it on your application. If you&amp;#39;re using Softdevice S132 then you could move the priority of the SAADC interrupt to 5.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;br /&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 saadc calibration issue</title><link>https://devzone.nordicsemi.com/thread/217672?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2019 07:34:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd2e7dda-22b6-4e50-9da7-032e8aaba430</guid><dc:creator>BEN_HB</dc:creator><description>&lt;p&gt;thank you. the calibration func is called from app_timer handler. the timer is called per 30min. and it can&amp;#39;t move main thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 saadc calibration issue</title><link>https://devzone.nordicsemi.com/thread/217516?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 12:27:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:490ba65f-c35e-4c78-8bf7-b1f43ea939b6</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What context are you calling the calibration task from? Meaning, are you calling it from an interrupt handler or from the main thread? If you are calling it from the interrupt handler, could you try to move it to the main thread?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 saadc calibration issue</title><link>https://devzone.nordicsemi.com/thread/217417?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 01:24:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:324fe3d5-36fd-418b-88ef-153e661c8708</guid><dc:creator>BEN_HB</dc:creator><description>&lt;p&gt;Thank you.&amp;nbsp; &amp;#39;&lt;span&gt;you try to change the context that you&amp;#39;re calling the function from &amp;#39;&amp;lt;- what is meaning?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don&amp;#39;t know what interrupt conflict with. how do I check?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;in code, ant 2 channels, ble , gpiote, saadc, rtc, apptimer is operating...&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t change any priority of above function.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;while(CaliState){&lt;br /&gt; NRF_LOG_INFO(&amp;quot;SAADC is waiting&amp;quot;);&lt;br /&gt; NRF_LOG_PROCESS();&lt;br /&gt; }&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;if it remove this code, the calibration done event is appear little bit later.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;the infinite loop is disturb that calibration event done appear?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is it too fast working to generate saadc event?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thank you so much&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 saadc calibration issue</title><link>https://devzone.nordicsemi.com/thread/217279?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2019 10:16:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47788bea-de4c-4ae9-be24-7b64eb476195</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s generally a good idea to keep all application tasks priority higher then the Softdevice priorities[ 1-5]. For very critical interrupts where low latency is required you can use 2+3 but then you cannot use any SVC. Instead of increasing the interrupt priority I would rather suggest that you try to change the context that you&amp;#39;re calling the function from. Which interrupt is the saadc interrupt conflicting with? A softdevice interrupt?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 saadc calibration issue</title><link>https://devzone.nordicsemi.com/thread/217248?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2019 08:10:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0db221fd-4966-4ccd-8b41-65f82c3c01ed</guid><dc:creator>BEN_HB</dc:creator><description>&lt;p&gt;Sorry to late repy. you are right. problem is priority.&lt;/p&gt;
&lt;p&gt;I change 6 -&amp;gt; 5. the issue disappered.&lt;/p&gt;
&lt;p&gt;i have one more question.&lt;/p&gt;
&lt;p&gt;in sdk_config.h&lt;/p&gt;
&lt;p&gt;some driver(ex gpiote etc..)&lt;/p&gt;
&lt;p&gt;priority 0, 1, 4, 5 is reserved for softdevice.&lt;/p&gt;
&lt;p&gt;in saadc there is no sentence.&lt;/p&gt;
&lt;p&gt;if i change saadc priority 6 -&amp;gt; 5 , is it no problem?&lt;/p&gt;
&lt;p&gt;thank you so much&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 saadc calibration issue</title><link>https://devzone.nordicsemi.com/thread/215891?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 11:31:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8391675-1090-4653-b6b3-bfc383133016</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you share the entire file where you call Calibration_init()? It&amp;#39;s important that you don&amp;#39;t call the function in interrupt context that has the same or higher interrupt priority.&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>