<?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 sleep current when using the zephyr input subsystem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105132/high-sleep-current-when-using-the-zephyr-input-subsystem</link><description>I have basically all my code disabled, all I do in main() is get a pointer to the &amp;quot;zephyr_console&amp;quot;, suspend it and return. 
 This gives me an average power consumption of 3.23uA. More or less what I expect. 
 However, if I enable a button using the zephyr</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Jul 2024 13:21:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105132/high-sleep-current-when-using-the-zephyr-input-subsystem" /><item><title>RE: High sleep current when using the zephyr input subsystem</title><link>https://devzone.nordicsemi.com/thread/494386?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 13:21:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1549c8b-b877-40e9-9381-660dbbe02643</guid><dc:creator>PeterRasmussen</dc:creator><description>&lt;p&gt;The register have the value: 0x30000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High sleep current when using the zephyr input subsystem</title><link>https://devzone.nordicsemi.com/thread/494357?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 12:34:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:256af0ac-7438-421f-a1bc-52c00b98e25d</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Peter,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unless OP responds here, you can consider making a new case for this as well. Or alternatively try what I suggested.&lt;/p&gt;
[quote user="Elfving"]&lt;p&gt;Could you try reading the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/gpio.html?cp=5_0_0_5_8_1_9#register.PIN_CNF-0-31"&gt;register of the GPIO&lt;/a&gt; to see&amp;nbsp;how it is configured?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High sleep current when using the zephyr input subsystem</title><link>https://devzone.nordicsemi.com/thread/494354?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 12:23:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09aa37ad-a1b2-4db2-b073-25a141e985c9</guid><dc:creator>PeterRasmussen</dc:creator><description>&lt;p&gt;Hey&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am having the same problem, any updates on how to fix this?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High sleep current when using the zephyr input subsystem</title><link>https://devzone.nordicsemi.com/thread/454270?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 15:23:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:365abe9f-39d1-45c7-a470-e8d3e6108851</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello again, and sorry about the wait.&lt;/p&gt;
[quote user=""]&lt;p&gt;However, if I enable a button using the zephyr input subsystem &amp;quot;zephyr,gpio-keys&amp;quot;, even just the definition in the device tree, the average jumps to 16.5uA.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Yeah that sounds a bit excessive.&amp;nbsp;I guess that by&amp;nbsp;only adding that definition, we&amp;#39;re not specifically making it draw as little power as possible.&lt;/p&gt;
&lt;p&gt;Could you try reading the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/gpio.html?cp=5_0_0_5_8_1_9#register.PIN_CNF-0-31"&gt;register of the GPIO&lt;/a&gt; to see&amp;nbsp;how it is configured?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High sleep current when using the zephyr input subsystem</title><link>https://devzone.nordicsemi.com/thread/453080?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2023 14:28:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8a88ba7-df3d-41c2-8caa-80c4d239172e</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Francois,&lt;/p&gt;
&lt;p&gt;Just letting you know that I am looking into it, but I&amp;#39;ll have to get back to you about this.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High sleep current when using the zephyr input subsystem</title><link>https://devzone.nordicsemi.com/thread/452869?ContentTypeID=1</link><pubDate>Sat, 28 Oct 2023 11:38:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:419bbe9a-2784-4a9b-90ce-fc1554676fb8</guid><dc:creator>FrancoisG</dc:creator><description>&lt;p&gt;I had a quick look at the Zephyr code, the high consumption while sleeping comes from the use of the edge interrupt right?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/e7340282a7950d4cb071e77faafc249aaa569a8b/drivers/input/input_gpio_keys.c#L111"&gt;github.com/.../input_gpio_keys.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High sleep current when using the zephyr input subsystem</title><link>https://devzone.nordicsemi.com/thread/452850?ContentTypeID=1</link><pubDate>Fri, 27 Oct 2023 18:58:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26b16494-1af5-402d-b0f4-8fd4a1823f3c</guid><dc:creator>FrancoisG</dc:creator><description>&lt;p&gt;I reverted to CAF and I can confirm that I don&amp;#39;t have this high consumption issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>