<?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 2Channels Scan Mode with EasyDMA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47227/saadc-2channels-scan-mode-with-easydma</link><description>I need to collect data from 2 ADC channels. Ultimately, the data is to be sent to a table of 1000 samples (500 per channel). Samplerate can be 2KHz - 8kHz. When the table is full, the interrupt should be given. It does not work for me. Here is my code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 May 2019 11:15:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47227/saadc-2channels-scan-mode-with-easydma" /><item><title>RE: SAADC 2Channels Scan Mode with EasyDMA</title><link>https://devzone.nordicsemi.com/thread/187203?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 11:15:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e95ec647-2a52-4c46-b176-7a39e35689c6</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I see that in you previous reply you only enabled channel 0, you need to enable both channels and set RESULT.MAXCNT = (Number of samples * number of channels).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC 2Channels Scan Mode with EasyDMA</title><link>https://devzone.nordicsemi.com/thread/187013?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 14:04:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7fb194e-5265-4534-979a-2ea335c79635</guid><dc:creator>BartoszT</dc:creator><description>&lt;p&gt;But it doesn&amp;#39;t, now it read 128 samples from one channel and inside interrupt channel is changed to another.&lt;/p&gt;
&lt;p&gt;This is some code from interrupt:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="96" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/DevZone_5F00_INTER2.png" width="220" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC 2Channels Scan Mode with EasyDMA</title><link>https://devzone.nordicsemi.com/thread/186968?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 12:26:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e349ed7-8a99-42f9-afcb-75870b5733cd</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;It should give you an interrupt after 64 samples once you&amp;#39;ve enabled the 2. channel (MAXCOUNT/number of channels).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC 2Channels Scan Mode with EasyDMA</title><link>https://devzone.nordicsemi.com/thread/186960?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 12:08:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:637b0eed-3ab4-4ee5-8ab7-66eb86b2a017</guid><dc:creator>BartoszT</dc:creator><description>&lt;p&gt;I changed little and now initialization looks:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="113" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/DevZone_5F00_Ini2.png" width="282" /&gt;&lt;/p&gt;
&lt;p&gt;this gives an interrupt after collecting 128 samples - for one channel only. Next trigger is launching inside interrupt.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC 2Channels Scan Mode with EasyDMA</title><link>https://devzone.nordicsemi.com/thread/186927?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 11:01:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f761990-43a0-4056-9664-82110d7862cb</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;we do not need interrupts for done and resultdone, we only care about the END event.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;How do you trigger the SAMPLE task?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>