<?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>nRF52, problem reading SAADC - AIN7</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16453/nrf52-problem-reading-saadc---ain7</link><description>I&amp;#39;m having problems reading channel AIN7 in the rRF52, SDK11 
 I configure every channel in a similar way: 
 //adc_channel_5
{
	nrf_saadc_channel_config_t channel_config = NRF_DRV_SAADC_DEFAULT_CHANNEL_CONFIG_SE(NRF_SAADC_INPUT_AIN5);
	channel_config</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Dec 2022 07:06:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16453/nrf52-problem-reading-saadc---ain7" /><item><title>RE: nRF52, problem reading SAADC - AIN7</title><link>https://devzone.nordicsemi.com/thread/399826?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2022 07:06:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:853e9b7b-2165-4282-b707-f622aa373822</guid><dc:creator>LMf</dc:creator><description>&lt;p&gt;Hi, I am experencing similar situation with AIN7. How did you get different values in AIN7? I always see the same value while in other analog inputs work fine&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52, problem reading SAADC - AIN7</title><link>https://devzone.nordicsemi.com/thread/62971?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2016 10:52:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:466d0dff-60dd-4c80-9c15-9e307fcca0eb</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Sorry, I misread, I thought you were using &lt;code&gt;nrf_drv_saadc_buffer_convert(..)&lt;/code&gt;. I will remove that text from my answer. nrf_drv_saadc_sample_convert() is blocking so your code is fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52, problem reading SAADC - AIN7</title><link>https://devzone.nordicsemi.com/thread/62970?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2016 07:51:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7aeb7d20-8c63-4a88-ac5a-db79dcf9a63d</guid><dc:creator>Nano</dc:creator><description>&lt;p&gt;Thanks a lot, that solved it.&lt;/p&gt;
&lt;p&gt;For the reading of the values, I thought that the blocking call would take care of that situation, is there any possible scenario where what you describe can happen?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52, problem reading SAADC - AIN7</title><link>https://devzone.nordicsemi.com/thread/62969?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2016 14:28:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:532b12f9-614b-4d61-b2a0-02b7478ca78e</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;NRF_SAADC_INPUT_AINn is not the same as the channel used. Channels range from 0-7 and corresponds to NRF_SAADC-&amp;gt;CH (see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/saadc.html?cp=2_2_0_36#saadc_frontpage"&gt;Product Specification&lt;/a&gt;). NRF_SAADC_INPUT_AIN7 is the input that is passed to &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/saadc.html#register.CH-0.PSELP"&gt;NRF_SAADC-&amp;gt;CH[n].PSELP&lt;/a&gt; or &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/saadc.html#register.CH-0.PSELN"&gt;NRF_SAADC-&amp;gt;CH[n].PSELN&lt;/a&gt; and range from 1-8 (0 equals NC -&amp;gt; Not Connected). You are trying to use channel 8 which does not exist.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>