<?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 disable the ADC in nRF9160 after taking a sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50559/how-to-disable-the-adc-in-nrf9160-after-taking-a-sample</link><description>Hello, 
 
 When enabling the ADC in the nRF9160 and taking a sample, the power consumption increases with several mA. 
 How do I disable it, to save battery power when putting the unit to deep sleep? 
 
 So far, this is tested without luck: 
 NRFX_IRQ_DISABLE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Aug 2019 11:52:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50559/how-to-disable-the-adc-in-nrf9160-after-taking-a-sample" /><item><title>RE: How to disable the ADC in nRF9160 after taking a sample</title><link>https://devzone.nordicsemi.com/thread/202408?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 11:52:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:818573e5-e37b-4fd7-b5df-674e8f727a9e</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Frode,&lt;/p&gt;
&lt;p&gt;First off, you need to use the nrfx adc driver, not the nrf saadc driver. Maybe that will fix the issue. In addition, one of our support engineers created an &lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/adc"&gt;ADC example here&lt;/a&gt; that could be useful to look at. I believe it is using a slightly outdated version of NCS, but could still be useful to look at.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable the ADC in nRF9160 after taking a sample</title><link>https://devzone.nordicsemi.com/thread/202087?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 10:07:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bc2270f-7fb3-4d85-9120-9b9ec98f5c89</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;Interestingly I use the ADC and can&amp;#39;t see any documentation on disablement or de-linking the pin as an Analog input. I had assumed the acquistion time was the total active time of the pin and it is offline afterwards. How often are you calling the ADC sample? Have you tried making the pin polling much longer to see if the ADC does turn off between samples?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>