<?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 channel input select/nRF52832/</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8006/saadc-channel-input-select-nrf52832</link><description>The function nrf_drv_saadc_channel_init() in nrf_drv_saadc.c does channel initialization by calling function nrf_saadc_channel_init() which will set PSELN and PSELP of the respective channel. However after the returning from the function, the function</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Jun 2016 15:18:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8006/saadc-channel-input-select-nrf52832" /><item><title>RE: SAADC channel input select/nRF52832/</title><link>https://devzone.nordicsemi.com/thread/28680?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2016 15:18:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dce6e568-9408-44b4-958b-22b6c7fffb24</guid><dc:creator>Pertti Kasanen</dc:creator><description>&lt;p&gt;Darren, at least I was earlier running on old SDK11 alpha version. With that it is not possible to use the ADC properly, but it worked all right with Rev C when upgraded the SDK (and SoftDevice, which in our case was not trivial from alpha).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC channel input select/nRF52832/</title><link>https://devzone.nordicsemi.com/thread/28679?ContentTypeID=1</link><pubDate>Tue, 31 May 2016 04:19:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24757b5c-347b-46d4-bf15-17dce8c2b256</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;Nordic is PAN-28 fixed in Rev B,C and Rev 1 silicon as I currently have NRF52_PAN_28 defined in my build? I am using Rev B and C for pre production and Rev 1for production.  My application requires scanning of the ADC channels and I would prefer to have the ADC do this than emulate it with interrupts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC channel input select/nRF52832/</title><link>https://devzone.nordicsemi.com/thread/28678?ContentTypeID=1</link><pubDate>Tue, 03 May 2016 15:40:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54861c9d-18b8-4b17-b20d-e96142c44613</guid><dc:creator>Pertti Kasanen</dc:creator><description>&lt;p&gt;Oh, it seems that this PAN 28 fis is still in the library. I have nRF52 Engineering C HW in use. But it seems that cannot use the SAADC fully. Without fixing the libraries manually?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m now trying by modifying the nrf_drv_saadc_channel_init() to end with     nrf_saadc_channel_input_set(channel, p_config-&amp;gt;pin_p, p_config-&amp;gt;pin_n);
Hope that is enough...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC channel input select/nRF52832/</title><link>https://devzone.nordicsemi.com/thread/28675?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 13:14:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a226c7ad-4e03-4322-8489-faa7e10f9dd9</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;OK, good luck, please accept this answer, so that we can move on :)
please update this thread if possible with your observations later on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC channel input select/nRF52832/</title><link>https://devzone.nordicsemi.com/thread/28677?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 13:01:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e12223d4-1a07-4a3d-a252-b35b7744d634</guid><dc:creator>maddy5075</dc:creator><description>&lt;p&gt;Right on Aryan. The function nrf_drv_saadc_buffer_convert() does that and the example provided does that too. Thanks for your time and the clarification. Will let you know the result of the test once i get access to DK/EK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC channel input select/nRF52832/</title><link>https://devzone.nordicsemi.com/thread/28676?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 11:57:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:913bf21f-5e5a-4819-bd54-21110a95c63d</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I think the pins are enabled one you call nrf_drv_saadc_buffer_convert. So I think your application will work anyways. Let me know if it works without any change&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC channel input select/nRF52832/</title><link>https://devzone.nordicsemi.com/thread/28674?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 11:32:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9c06a37-51a5-4ed5-8d0b-a5db72ac251c</guid><dc:creator>maddy5075</dc:creator><description>&lt;p&gt;What if an application has to use AIN0 as an ONE and ONLY analog input pin and configure it to run in continuous mode and not the scan mode ?&lt;/p&gt;
&lt;p&gt;With the SAADC driver function nrf_drv_saadc_channel_init(&lt;/p&gt;
&lt;p&gt;uint8_t channel, nrf_saadc_channel_config_t const * const p_config), if one has to configure the channel 0 with default configuration, the above said function despite initializing the SAADC with the user provided input, will eventually disable the AIN0 by setting its PSELP as NC (not connected).&lt;/p&gt;
&lt;p&gt;So all the above configuration which the driver function nrf_drv_saadc_channel_init() does becomes futile. The fix is to call nrf_saadc_channel_input_set(channel, NRF_SAADC_INPUT_DISABLED, NRF_SAADC_INPUT_DISABLED) before nrf_saadc_channel_init(channel, p_config) unless there is a genuine reason for doing so to have a work around for the Errata.&lt;/p&gt;
&lt;p&gt;The example provided in nRF52832 might work, since it is sampling Vdd pin.&lt;/p&gt;
&lt;p&gt;I will check to see if the driver function works correctly with no modification after having access to DK/EK. If it doesn&amp;#39;t i will seek further directions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC channel input select/nRF52832/</title><link>https://devzone.nordicsemi.com/thread/28673?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 10:40:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:600c8985-15b4-4843-94e0-5d41ede6b960</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;This seems related PAN 28
&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.EngA.errata/anomaly_832_28.html?cp=1_3_1_3_1_19"&gt;infocenter.nordicsemi.com/.../anomaly_832_28.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Looking at the code it looks like they are disabling the input and scanning each line by enabling each channel individually to emulate a scan mode in the interrupt handler SAADC_IRQHandler.&lt;/p&gt;
&lt;p&gt;This will go away when the PAN is fixed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC channel input select/nRF52832/</title><link>https://devzone.nordicsemi.com/thread/28672?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 07:59:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:087f7675-f9cb-4fe4-86eb-2e405e2333fd</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;looks strange, i will investigate it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>