<?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>Current consumption increase when enabling LIS2DH trigger</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122014/current-consumption-increase-when-enabling-lis2dh-trigger</link><description>nRF52832 custom board + NCS 3.0.1 
 We are using the Zephyr driver for LIS2DH sensor in &amp;quot;any motion&amp;quot; detection mode, which triggers an interrupt when acceleration exceeds a set threshold. The system works as expected but the current consumption is excessively</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Jun 2025 06:49:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122014/current-consumption-increase-when-enabling-lis2dh-trigger" /><item><title>RE: Current consumption increase when enabling LIS2DH trigger</title><link>https://devzone.nordicsemi.com/thread/538154?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 06:49:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1c7e0ba-5ef3-4311-808c-19aff63bd7e7</guid><dc:creator>MartinZ</dc:creator><description>&lt;p&gt;Thank you very much, adding&amp;nbsp;&lt;span style="font-family:courier new, courier;"&gt;sense-edge-mask = &amp;lt;0xffffffff&amp;gt;;&lt;/span&gt; to &lt;span style="font-family:courier new, courier;"&gt;&amp;amp;gpio&lt;/span&gt; in my DTS brought the consumption to the expected value range!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current consumption increase when enabling LIS2DH trigger</title><link>https://devzone.nordicsemi.com/thread/538112?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2025 15:51:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc349966-309a-4ed9-ad81-19f834039565</guid><dc:creator>nordicator_prim3</dc:creator><description>&lt;p&gt;I forget where I originally found this advice, but I remember someone suggesting to use Sense for GPIO that aren&amp;#39;t very high frequency (as opposed to GPIOTE by default).&lt;br /&gt;&lt;br /&gt;I forget what kind of power savings I saw, but it wasn&amp;#39;t negligible.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://community.circuitdojo.com/d/615-disable-adc-peripheral-after-battery-measurement/2"&gt;Here&amp;#39;s&lt;/a&gt; a link that actually mentions using sense for LIS2DH. And &lt;a href="https://forum.seeedstudio.com/t/low-power-with-xiao-nrf52840-on-zephyr-rtos/270491"&gt;here&amp;#39;s&lt;/a&gt; another talking about general power savings and sense.&lt;/p&gt;
&lt;p&gt;For example, in DTS, just&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;gpio0 {
    sense-edge-mask = &amp;lt;0xffff&amp;gt;;
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>