<?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>I want to read two values at the same time through saadc.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69741/i-want-to-read-two-values-at-the-same-time-through-saadc</link><description>Hello 
 I want to read the values of two potentiometers from the Ain0 pin and the Ain1 pin through SAADC. 
 I could easily read one value through the saadc example, but I don&amp;#39;t know how to add more. 
 
 Can I get some advice on this? 
 Thank you. 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Dec 2020 00:13:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69741/i-want-to-read-two-values-at-the-same-time-through-saadc" /><item><title>RE: I want to read two values at the same time through saadc.</title><link>https://devzone.nordicsemi.com/thread/286397?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 00:13:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8071a30-4633-4e62-814d-9301e4ca13a7</guid><dc:creator>schosdas</dc:creator><description>&lt;p&gt;&lt;span&gt;Thank you. Have a nice vacation!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to read two values at the same time through saadc.</title><link>https://devzone.nordicsemi.com/thread/286303?ContentTypeID=1</link><pubDate>Tue, 22 Dec 2020 13:26:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b8b11a2-484c-4ae4-8758-01b8a317e87b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use scan mode to sample more than one channel. When more than one SAADC channel is configures, you trigger sampling once, and all channels are sampled consecutively. You can see an example of that &lt;a href="https://github.com/NordicPlayground/nRF52-ADC-examples/tree/master/ble_app_uart__saadc_timer_driven__scan_mode"&gt;here&lt;/a&gt;, and also refer to the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/saadc.html?cp=4_2_0_36#saadc_frontpage"&gt;SAADC chapter in the PS&lt;/a&gt; (search for &amp;quot;scan mode&amp;quot;).&lt;/p&gt;
&lt;p&gt;Regarding the values you read, I suggest you continue in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/69677/the-adc-value-of-the-potentiometer-seems-to-be-strange"&gt;this thread&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Please note that me and most of the Nordic engineers will be away on Christmas holiday the rest of the year, so we may not be able to reply on any follow-up questions until beginning of January.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>