<?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 is not scanning</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19133/saadc-is-not-scanning</link><description>I have made an ADC driver that (should) scan 5 inputs into a sample buffer using EasyDMA. On the END event the 5 samples are transferred to 5 ring buffers read by the client using an os_read() function. 
 The sample time pr. channel is 12kHz. 
 I get</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Jan 2017 10:16:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19133/saadc-is-not-scanning" /><item><title>RE: SAADC is not scanning</title><link>https://devzone.nordicsemi.com/thread/74049?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2017 10:16:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95d53bf9-b2b3-43f9-a831-e1473d9ea95c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Can you try &lt;a href="https://github.com/NordicSemiconductor/nRF52-ADC-examples/tree/master/ble_app_uart__saadc_timer_driven__scan_mode"&gt;this example&lt;/a&gt;, to see if scan mode is working?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC is not scanning</title><link>https://devzone.nordicsemi.com/thread/74050?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2017 07:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15d949b9-f573-4b77-84b7-a46a430a6818</guid><dc:creator>tkorsdal</dc:creator><description>&lt;p&gt;Marking on the device used is QFAABA 1543AF&lt;/p&gt;
&lt;p&gt;I tried on a DK board marked &amp;quot;PC10040 V1.1.1 2016.43&amp;quot; device marked QFAAB0 1608AD, FICR.PART = 0x00052832 FPIC.VARIANT=0x41414230. It has the same problem.&lt;/p&gt;
&lt;p&gt;Please advice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC is not scanning</title><link>https://devzone.nordicsemi.com/thread/74048?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 14:38:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfd9b145-f866-4dbf-abed-90e1e51148fb</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;What is the markings on your chip? I would not recommend using any of the Engineering variants. The nRF52 DK have been shipped with Revision 1 chips for a long time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC is not scanning</title><link>https://devzone.nordicsemi.com/thread/74047?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 14:06:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ff3f39b-760a-4f6e-9008-b5b263f5d770</guid><dc:creator>tkorsdal</dc:creator><description>&lt;p&gt;My DK revision os PCA10040 0.9.0 - from the compatibility matrices (great documents btw.!) I conclude I need to update to at least 1.0.0 (although in the matrix 0.9.0 is supposed to use Engineering revision B which does NOT include errata 28).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC is not scanning</title><link>https://devzone.nordicsemi.com/thread/74046?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 13:25:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59aba77a-793f-420e-b05a-7b647d4eaffe</guid><dc:creator>tkorsdal</dc:creator><description>&lt;p&gt;Local SAADC SAMPLERATE timer can not be used in SCAN mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC is not scanning</title><link>https://devzone.nordicsemi.com/thread/74045?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 13:07:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc0505cb-c1cb-4144-93db-5b07bda4c49b</guid><dc:creator>tkorsdal</dc:creator><description>&lt;p&gt;In the IRQ handling of SAADC_EVENTS_STARTED I have this peculiar code snip:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// We only want to handle start event the first time
SAADC_INTENCLR = INT_STARTED;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It is a mistake of course - I need the start event on every scan. But for some reason these two lines does NOT stop the SAADC_EVENTS_STARTED. And from debugging the buffer handling (shifting between dma_sample_buffer 0 and 1 works fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC is not scanning</title><link>https://devzone.nordicsemi.com/thread/74044?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 11:14:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33a8ddde-e05b-4972-9c27-252ba60fefe2</guid><dc:creator>tkorsdal</dc:creator><description>&lt;p&gt;I have noticed the errata on the calibration-&amp;gt;start issue. But in the code posted here I have skipped calibratiion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>