<?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>Sensor trigger set failed: -134 (Nrf9160 with LIS2DH12)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98660/sensor-trigger-set-failed--134-nrf9160-with-lis2dh12</link><description>I am trying to use my lis2dh12 with the nrf9160 with motion. it needs to trigger as soon as it detects a motion threshold. When the triggertype is on DATA_READY. The triggerhandler works. but as soon as i change my code for detecting motion, the trigger</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 10 Sep 2023 06:36:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98660/sensor-trigger-set-failed--134-nrf9160-with-lis2dh12" /><item><title>RE: Sensor trigger set failed: -134 (Nrf9160 with LIS2DH12)</title><link>https://devzone.nordicsemi.com/thread/445248?ContentTypeID=1</link><pubDate>Sun, 10 Sep 2023 06:36:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db68289a-7029-4d1b-8fca-e213a1810f0a</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; Hi, did you manage to make the motion trigger work?&lt;/p&gt;
&lt;p&gt;Using Jared&amp;#39;s nRF9160 feather v5? yes.&lt;/p&gt;
&lt;p&gt;&amp;gt; if yes would you mind sharing your solution&lt;/p&gt;
&lt;p&gt;Not sure, what you need more than the info&amp;#39;s in the forum.&lt;/p&gt;
&lt;p&gt;Maybe you start with providing information about your usage, e.g. which board/device you&amp;#39;re using an what you&amp;#39;ve tested so far.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sensor trigger set failed: -134 (Nrf9160 with LIS2DH12)</title><link>https://devzone.nordicsemi.com/thread/445247?ContentTypeID=1</link><pubDate>Sun, 10 Sep 2023 02:55:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aca6e9de-487b-4e2c-be9f-2ae8654f53d0</guid><dc:creator>ax_shepherd</dc:creator><description>&lt;p&gt;Hi, did you manage to make the motion trigger work? if yes would you mind sharing your solution, that would help a lot I am doing the same thing.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sensor trigger set failed: -134 (Nrf9160 with LIS2DH12)</title><link>https://devzone.nordicsemi.com/thread/420625?ContentTypeID=1</link><pubDate>Sun, 16 Apr 2023 09:54:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2cc3e68-26b6-4bb9-b3ec-245de566ebd8</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;If you&amp;#39;re interested, I wrote a more detailed comment about the LIS2DH12 in &lt;a href="https://community.jaredwolff.com/d/119-accelerometer-sample-question/9"&gt;Circuit Dojo&amp;#39;s Forum&lt;/a&gt; .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sensor trigger set failed: -134 (Nrf9160 with LIS2DH12)</title><link>https://devzone.nordicsemi.com/thread/420571?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2023 16:23:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4519992a-d3f4-431b-ba21-f91eda6d9f76</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;I forgot, that it&amp;#39;s also important, how the lis2dh outputs are routed to the interrupt inputs of the nRF9160. If only one connection is used, it&amp;#39;s required to enable &amp;quot;anym-on-int1&amp;quot; in an overlay.&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;div style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt;&amp;amp;&lt;/span&gt;&lt;span style="color:#2b91af;"&gt;i2c1&lt;/span&gt;&lt;span style="color:#000000;"&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#2b91af;"&gt;lis2dh:&lt;/span&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#2b91af;"&gt;lis2dh&lt;/span&gt;&lt;span style="color:#000000;"&gt;@&lt;/span&gt;&lt;span style="color:#098658;"&gt;18&lt;/span&gt;&lt;span style="color:#000000;"&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#008000;"&gt;/* changed in v5 */&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#1f377f;"&gt;irq-gpios&lt;/span&gt;&lt;span style="color:#000000;"&gt; = &amp;lt;&amp;amp;&lt;/span&gt;&lt;span style="color:#2b91af;"&gt;gpio0&lt;/span&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#098658;"&gt;30&lt;/span&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#800000;"&gt;GPIO_ACTIVE_HIGH&lt;/span&gt;&lt;span style="color:#000000;"&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt; &lt;/span&gt;&lt;span style="color:#1f377f;"&gt;anym-on-int1&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt; };&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sensor trigger set failed: -134 (Nrf9160 with LIS2DH12)</title><link>https://devzone.nordicsemi.com/thread/419975?ContentTypeID=1</link><pubDate>Wed, 12 Apr 2023 13:22:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a03d7b72-d8de-4fcf-9b30-4f71faf2cd72</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Some time ago my LIS2DH12TR never stops reporting deltas ;-).&lt;/p&gt;
&lt;p&gt;Did you setup the SENSOR_ATTR_SLOPE_DUR ? Maybe that helps, but as I wrote, in my case, it never stopped again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>