<?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>High power consumption in sleep mode after using SAADC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54887/high-power-consumption-in-sleep-mode-after-using-saadc</link><description>I am using nRF52832 with SDK 16.0.0. I have a simple application that uses SAADC and BLE. It reads values from three channels AIN0, AIN2 and AIN4 and sends them via BLE every 10 seconds. The SAADC is initialized with call to nrfx_saadc_init() and unintialized</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Dec 2019 13:46:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54887/high-power-consumption-in-sleep-mode-after-using-saadc" /><item><title>RE: High power consumption in sleep mode after using SAADC</title><link>https://devzone.nordicsemi.com/thread/223073?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2019 13:46:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:335d6efa-abca-4a85-a676-285f57a6ed9c</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Related to this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/errata_nRF52832_Rev2/ERR/nRF52832/Rev2/latest/anomaly_832_87.html?cp=4_2_1_0_1_24"&gt;https://infocenter.nordicsemi.com/topic/errata_nRF52832_Rev2/ERR/nRF52832/Rev2/latest/anomaly_832_87.html?cp=4_2_1_0_1_24&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption in sleep mode after using SAADC</title><link>https://devzone.nordicsemi.com/thread/223011?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2019 11:18:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7d45835-d483-4cc3-897a-8444b9598d1e</guid><dc:creator>piotrs</dc:creator><description>&lt;p&gt;I used the last three days to narrow down the problem and more prescience tools to measure current. In fact, when I commented out&amp;nbsp;&lt;span&gt;nrfx_saadc_sample_convert() the compiler removed also a function call to the code that converts the read value to the voltage level. The function is the source of the high current consumption. It uses FPU for the computations. When I removed operations involving FPU the nRF52 consumes 2uA during sleep. When I disable hardware support for FPU (by removing options &amp;quot;&lt;/span&gt;-mfloat-abi=hard&amp;nbsp;-mfpu=fpv4-sp-d16&amp;quot; from compiler and linker&lt;span&gt;), I also got 2uA during sleep. With hard FPU, I get 3mA usage.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption in sleep mode after using SAADC</title><link>https://devzone.nordicsemi.com/thread/222581?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2019 10:25:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3a5136a-187f-4987-bbee-36c49b40a6f2</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;OK, interesting, I thought this would solve it. I believe the issue is the DMA buffer enabling the SAADC, a workaround is described in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45308/expected-current-for-saadc-low-power-mode/178927#178927"&gt;this reply&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption in sleep mode after using SAADC</title><link>https://devzone.nordicsemi.com/thread/222379?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 13:50:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28eb329c-7eea-4998-855b-682d23f5c55a</guid><dc:creator>piotrs</dc:creator><description>&lt;p&gt;Yes, I am using low power mode, by setting define (&lt;span&gt;#define&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;NRFX_SAADC_CONFIG_LP_MODE&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;1&lt;/span&gt;)&amp;nbsp;and using NRFX_SAADC_DEFAULT_CONFIG when initializing SAADC.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption in sleep mode after using SAADC</title><link>https://devzone.nordicsemi.com/thread/222369?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 13:37:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e672b744-2af4-47f0-a293-8c7042aaa31e</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you enable low power mode when you initalized the SAADC?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>