<?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>nRF52832/QFAAB0- can&amp;#39;t get all SAADC channel data in scanning mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29631/nrf52832-qfaab0--can-t-get-all-saadc-channel-data-in-scanning-mode</link><description>Hello,
I am preparing a driver for the SAADC of nRF52832; I have to acquire data from five channels; consequently - in a scanning mode. 
 However, what I observed is that when having up to two channels enabled I can get data of them without a problem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Jan 2018 13:13:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29631/nrf52832-qfaab0--can-t-get-all-saadc-channel-data-in-scanning-mode" /><item><title>RE: nRF52832/QFAAB0- can't get all SAADC channel data in scanning mode</title><link>https://devzone.nordicsemi.com/thread/117687?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 13:13:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afda0d6d-e4e3-4ebd-9866-f0b9eef4fd31</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Could you give some more details on what you are expecting to see, what you are seeing, and some measurements from all the channels? Can you also provide simplified example that reproduces this issue, that we can use for debugging?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832/QFAAB0- can't get all SAADC channel data in scanning mode</title><link>https://devzone.nordicsemi.com/thread/117689?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2018 20:56:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a279bb8-7ad3-49bb-af8d-7e41b4970e63</guid><dc:creator>kont40</dc:creator><description>&lt;p&gt;Hi, thanks for reply.
Yes, when all the channels shown above were uncommented (five in total) SAMPLES_IN_BUFFER  was set to 5. The problem appeared in that case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832/QFAAB0- can't get all SAADC channel data in scanning mode</title><link>https://devzone.nordicsemi.com/thread/117688?ContentTypeID=1</link><pubDate>Sun, 21 Jan 2018 22:33:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3d3506c-a832-4299-a930-eb6a2776b0db</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you increase the size of &lt;code&gt;SAMPLES_IN_BUFFER&lt;/code&gt; when you enabled more than two channels? Note this part from the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/saadc.html?cp=2_1_0_36_5#saadc_easydma"&gt;SAADC documentation&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;In Scan mode, the size of the Result
buffer must be large enough to have
room for a minimum one result from
each of the enabled channels. To
secure this, RESULT.MAXCNT must be
specified to RESULT.MAXCNT &amp;gt;= &amp;quot;number
of channels enabled&amp;quot;. See Scan mode
for more information about Scan mode.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You need to set the buffer to N times the number of activated channels to get correct results.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>