<?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 saadc</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21001/nrf52832-saadc</link><description>hi，everyone。I want to ask how nrf52832 collection two consecutive road of ADC, I tried a lot of kinds of methods ，i use saadc project。thanks。</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 01 Apr 2017 00:50:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21001/nrf52832-saadc" /><item><title>RE: nrf52832 saadc</title><link>https://devzone.nordicsemi.com/thread/82071?ContentTypeID=1</link><pubDate>Sat, 01 Apr 2017 00:50:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c99364c-3e00-41ce-b7f7-2004f4d916a5</guid><dc:creator>summer</dc:creator><description>&lt;p&gt;ok,thank you very much.i will have a try.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 saadc</title><link>https://devzone.nordicsemi.com/thread/82070?ContentTypeID=1</link><pubDate>Fri, 31 Mar 2017 11:51:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:405322a9-e05a-49c1-9e2c-796389d3d434</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can easily add a second channel to the SAADC example in the SDK. To add analog input to SAADC channel 1, add the following lines in &lt;code&gt;saadc_init()&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_saadc_channel_config_t channel_config =
    NRF_DRV_SAADC_DEFAULT_CHANNEL_CONFIG_SE(NRF_SAADC_INPUT_AIN1);

err_code = nrf_drv_saadc_channel_init(1, &amp;amp;channel_config);
APP_ERROR_CHECK(err_code);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You should also make sure that &lt;code&gt;SAMPLES_IN_BUFFER&lt;/code&gt; is set to a multiple of the number of active channels.&lt;/p&gt;
&lt;p&gt;The SAADC will be in scan mode when more than one channel is enabled. The samples will be placed in the buffer in this order: [channel 0, channel 1, channel 0, channel 1, ..].&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>