<?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>Nrf9160 External Pin Interrupt Issue in PSM Mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92511/nrf9160-external-pin-interrupt-issue-in-psm-mode</link><description>We are trying to read a flow sensor in our device. The device is in PSM mode most of the time. 
 The sensor outputs its state in digital mode HIGH or LOW. We are checking a falling edge interrupt to get sensor trigger. 
 Interrupts are working fine in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Oct 2022 10:28:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92511/nrf9160-external-pin-interrupt-issue-in-psm-mode" /><item><title>RE: Nrf9160 External Pin Interrupt Issue in PSM Mode</title><link>https://devzone.nordicsemi.com/thread/389576?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 10:28:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71411f92-1dd6-4299-b1a2-cfb410c9359b</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Cosar"]- The pink is normally HIGH, connected to VDD_GPIO with 10 K resistor. It goes low when a trigger occurs. We also tried connecting sensor pin directly to GPIO26 with internal pull-up enabled but the results are the same.[/quote]
&lt;p&gt;Ok, so you have measured that the when it&amp;#39;s &amp;#39;high&amp;#39;, it&amp;#39;s actually reaching VDD_GPIO.&lt;/p&gt;
&lt;p&gt;How does your&amp;nbsp;button_callback() function looks like? Anything there that could be blocking? or somehow explain the behavior you are seeing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 External Pin Interrupt Issue in PSM Mode</title><link>https://devzone.nordicsemi.com/thread/389069?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 17:29:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a332d2e4-7d35-4d41-a58e-d7b8d5b44547</guid><dc:creator>Cosar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Here are the details ;&lt;/p&gt;
&lt;p&gt;1) What SDK version are you using?&lt;/p&gt;
&lt;p&gt;- 1.9.1&lt;/p&gt;
&lt;p&gt;2) What pin number are you using for the sensor?&lt;/p&gt;
&lt;p&gt;- GPIO26&lt;/p&gt;
&lt;p&gt;3) What is the voltage of the pin when it goes high again?&lt;/p&gt;
&lt;p&gt;- The pink is normally HIGH, connected to VDD_GPIO with 10 K resistor. It goes low when a trigger occurs. We also tried connecting sensor pin directly to GPIO26 with internal pull-up enabled but the results are the same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 External Pin Interrupt Issue in PSM Mode</title><link>https://devzone.nordicsemi.com/thread/389032?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 14:51:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaa994cb-41ea-42f7-a20e-72676021e4d9</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;1) What SDK version are you using?&lt;/p&gt;
&lt;p&gt;2) What pin number are you using for the sensor?&lt;/p&gt;
&lt;p&gt;3)&amp;nbsp;&lt;/p&gt;
[quote user=""]The sensor outputs its state in digital mode HIGH or LOW.[/quote]
&lt;p&gt;&lt;span&gt;What is the&amp;nbsp;&lt;/span&gt;&lt;span&gt;voltage&lt;/span&gt;&lt;span&gt;&amp;nbsp;of the pin when it goes high again?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 External Pin Interrupt Issue in PSM Mode</title><link>https://devzone.nordicsemi.com/thread/389024?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 14:08:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4309b5fa-d44f-4158-8d82-eee0ba11c3a0</guid><dc:creator>Cosar</dc:creator><description>&lt;p&gt;Hi!&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Yes the pin is asserted low. The problem occurs mostly after 15-20 minutes of psm mode transition. It works well in first 15-20 minutes and it starts not to catch interrupts after that period.&lt;/p&gt;
&lt;p&gt;Is there any other interrupt setting for a more stable external interrupt action?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160 External Pin Interrupt Issue in PSM Mode</title><link>https://devzone.nordicsemi.com/thread/389013?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 13:37:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e2b1380-a8dd-425e-a48c-8c521c86cb89</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;PSM mode should not affect this. &amp;nbsp;Are you sure there is a pin transition from high to low ? Maybe the pin was kept low for some reason?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>