<?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 scan output order sdk 12.2.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21196/saadc-scan-output-order-sdk-12-2-0</link><description>The output order of my scanning Saadc is not predictable. 
 I found two related questions, but they both are for SDK 11 and seem to have been resolved. 
 devzone.nordicsemi.com/.../ 
 devzone.nordicsemi.com/.../ 
 But they suggest that the order should</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 May 2018 06:35:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21196/saadc-scan-output-order-sdk-12-2-0" /><item><title>RE: saadc scan output order sdk 12.2.0</title><link>https://devzone.nordicsemi.com/thread/131950?ContentTypeID=1</link><pubDate>Tue, 15 May 2018 06:35:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:516006b6-cb8f-4c71-a686-32d0f12911b7</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;If you see a channel shift after calibration, this is most likely caused by &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.Rev1.errata/anomaly_832_86.html?cp=2_1_1_1_1_23"&gt;errata 86&lt;/a&gt;. Please try to implement the suggested workaround.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: saadc scan output order sdk 12.2.0</title><link>https://devzone.nordicsemi.com/thread/131921?ContentTypeID=1</link><pubDate>Mon, 14 May 2018 15:27:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98e386a3-35c1-4919-a72b-e1e30cdce4d8</guid><dc:creator>dmf3030</dc:creator><description>&lt;p&gt;Looks like I may have solved this by doing a buffer convert on the buffer when it comes in on the EVT_DONE after calibration but before the EVT_CALIBRATEDONE comes in.&amp;nbsp; I don&amp;#39;t think the git example does this buffer convert, which is what threw me off.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: saadc scan output order sdk 12.2.0</title><link>https://devzone.nordicsemi.com/thread/131919?ContentTypeID=1</link><pubDate>Mon, 14 May 2018 15:10:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be1905d0-7fee-4128-8b5c-70081a0875c7</guid><dc:creator>dmf3030</dc:creator><description>&lt;p&gt;Any update on this, I&amp;#39;m seeing my channels shift position after my first calibration call, which happens roughly every 500 samples.&amp;nbsp; After the first calibration call the channels seem to hold their new positions through any following calibration calls, so not sure if there is something special that happens on an initial calibration that doesn&amp;#39;t happen later?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: saadc scan output order sdk 12.2.0</title><link>https://devzone.nordicsemi.com/thread/82942?ContentTypeID=1</link><pubDate>Wed, 12 Apr 2017 12:20:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18d29f15-eb5c-4bd0-96fe-3b6a54cd3863</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The main issue in your code seems to be that you are setting up the buffer for conversion again before reading the values, by calling:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_drv_saadc_buffer_convert(m_buffer_pool[0],SAADC_SAMPLES_IN_BUFFER);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Almost at the top of the SAADC callback handler. You should move this call to the end of the handler, to avoid that the buffer is overwritten by the sample task before you read the values in the buffer.&lt;/p&gt;
&lt;p&gt;After placing this call after reading the buffer, I only see issues on the samples received after calibration (&lt;code&gt;NRF_DRV_SAADC_EVT_DONE&lt;/code&gt; is called 4096 times between each time the buffer contains wrong values). I will do some more research on why this buffer is not correct.&lt;/p&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><item><title>RE: saadc scan output order sdk 12.2.0</title><link>https://devzone.nordicsemi.com/thread/82936?ContentTypeID=1</link><pubDate>Mon, 10 Apr 2017 19:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4656fd98-2158-4105-b07d-5c695245f882</guid><dc:creator>Ryjan</dc:creator><description>&lt;p&gt;It is uploaded to MyCase.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: saadc scan output order sdk 12.2.0</title><link>https://devzone.nordicsemi.com/thread/82941?ContentTypeID=1</link><pubDate>Mon, 10 Apr 2017 07:46:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53aac19b-527c-456d-ac76-95c9ce70caa1</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The whole project would be preferable, to check if there is some other components affecting the behavior. I&amp;#39;m not aware of any such directions, but it should be quite easy when you have created an account and follow &lt;a href="https://www.nordicsemi.com/eng/supportcase/create"&gt;this page&lt;/a&gt;. Some information can also be found in &lt;a href="http://www.nordicsemi.com/eng/Support-Community/Support-case-lifecycle/(language)/eng-GB"&gt;this article&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: saadc scan output order sdk 12.2.0</title><link>https://devzone.nordicsemi.com/thread/82940?ContentTypeID=1</link><pubDate>Fri, 07 Apr 2017 15:20:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:049c30ec-7369-473d-98ed-fa2eb13bba1f</guid><dc:creator>Ryjan</dc:creator><description>&lt;p&gt;Do you want the whole firmware project or will the ADC stuff suffice? Is there a place with directions on how MyPage is used?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: saadc scan output order sdk 12.2.0</title><link>https://devzone.nordicsemi.com/thread/82939?ContentTypeID=1</link><pubDate>Fri, 07 Apr 2017 14:46:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f93a2fb-f50b-4969-a8a0-08f141a76cd6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I&amp;#39;m looking into a similar case &lt;a href="https://devzone.nordicsemi.com/question/119588/offset-in-saadc-samples-with-easy-dma-and-ble/"&gt;here&lt;/a&gt;. It would be usefull if you could share your firmware code, so we can see if we can find some common settings in these cases that cause this behaviour.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: saadc scan output order sdk 12.2.0</title><link>https://devzone.nordicsemi.com/thread/82938?ContentTypeID=1</link><pubDate>Fri, 07 Apr 2017 14:36:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecd3f7fb-ee12-4e8a-81a4-1c9a13d4d597</guid><dc:creator>Ryjan</dc:creator><description>&lt;p&gt;I&amp;#39;m using BLE and the S132 stack. I can try hacking out the BLE sections. The final product will need BLE in the end.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: saadc scan output order sdk 12.2.0</title><link>https://devzone.nordicsemi.com/thread/82937?ContentTypeID=1</link><pubDate>Fri, 07 Apr 2017 07:18:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4175a4c3-0032-4cf3-996a-4b3155597468</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Are you using BLE in your application? If you do, do you still get unpredictable output if you disable BLE?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>