<?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>How to read ADC channel one and then Second then third?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24566/how-to-read-adc-channel-one-and-then-second-then-third</link><description>Hello sir,
I am using nRF52832 board and interface with 3 axis accelerator reading ADC for 3 Channel. I have use sample code for controlling in timer/RTC mode. My ADC is in scan mode. So sir my question is i want to read adc channel 0 for 12288 sample</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 Aug 2017 08:46:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24566/how-to-read-adc-channel-one-and-then-second-then-third" /><item><title>RE: How to read ADC channel one and then Second then third?</title><link>https://devzone.nordicsemi.com/thread/96722?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 08:46:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa48ea78-41c4-49f6-b855-fce523f3f02f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Great! Please accept the answer by clicking the gray checkmark next to it, if you found this helpful!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read ADC channel one and then Second then third?</title><link>https://devzone.nordicsemi.com/thread/96721?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 18:19:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:008a3564-6bc7-4ba6-8190-0ed1d6bfbcda</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Thanks, sir problem is solved.......&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read ADC channel one and then Second then third?</title><link>https://devzone.nordicsemi.com/thread/96723?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2017 11:42:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f36b0de-7897-4f0a-b2a0-2419334f792d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I have uploaded an example in my answer above. Please have a look at this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read ADC channel one and then Second then third?</title><link>https://devzone.nordicsemi.com/thread/96724?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2017 06:00:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa78c8a3-6837-4812-a739-d7baff90ec4d</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Thank you sir for giving me quick reply. But sir i am new in nordic programming so can give some reference sample example for how initialized and uninitialized ADC channel after reached specific sampling. and then how to enable next channel in programming. I am confused not understand where exactly i need to change. I am using Github nRF52 ADC sample example is it time driven SAADC.&lt;/p&gt;
&lt;p&gt;Thanks......&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read ADC channel one and then Second then third?</title><link>https://devzone.nordicsemi.com/thread/96720?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2017 19:41:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4609ff7-4e7e-4cd6-82f2-08c5caf14a7e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unless you want to setup a 12288 samples big &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/group__nrf__drv__saadc.html?cp=4_0_0_6_8_20_1_13#ga69a61984371185c1f17e222db32b20a0"&gt;buffer&lt;/a&gt; for conversion and wait for the &lt;code&gt;NRF_DRV_SAADC_EVT_DONE&lt;/code&gt; that will be generated when the buffer is filled, you need to use a counter that you increment whenever you call the sample task. When you have reached the desired amount of samples, simply &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/group__nrf__drv__saadc.html?cp=4_0_0_6_8_20_1_16#ga52eaff78f9472daeb53a671105827464"&gt;uninit&lt;/a&gt; the sampled channel and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/group__nrf__drv__saadc.html?cp=4_0_0_6_8_20_1_17#ga6cb0094ff49237ecf8ce4afa6f4ba4e8"&gt;init&lt;/a&gt; the next channel.&lt;/p&gt;
&lt;p&gt;The SAADC will only sample the channels that is activated at the moment that the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/group__nrf__drv__saadc.html?cp=4_0_0_6_8_20_1_20#ga9e1764d8d7d10747fcf68a864618d07a"&gt;sample task&lt;/a&gt; is called.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;[EDIT]:&lt;/strong&gt; Example you requested, with 3 channels, and aquireing 12288 samples from each channel before switching to next: &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/saadc_5F00_multiple_5F00_channels_5F00_no_5F00_scan_5F00_mode.zip"&gt;saadc_multiple_channels_no_scan_mode.zip&lt;/a&gt;&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></channel></rss>