<?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>Stuck in GPIO interrupt during init</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35310/stuck-in-gpio-interrupt-during-init</link><description>While attempting to run the following code from a MESH example in IAR, the program gets stuck. It only seems to be calling button_event_handler continuously, as if the interrupt is never clearing. 
 
 
 Pretty much everything is bone stock in this code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Jun 2018 14:43:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35310/stuck-in-gpio-interrupt-during-init" /><item><title>RE: Stuck in GPIO interrupt during init</title><link>https://devzone.nordicsemi.com/thread/136208?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 14:43:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48508a44-9d08-47e9-a131-5945d56ad9b0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;&amp;nbsp;Button 1 using pin P0.11&amp;nbsp;which is also TRACE DATA 2. I guess you find the root cause.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stuck in GPIO interrupt during init</title><link>https://devzone.nordicsemi.com/thread/135955?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 13:47:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:feefe508-5552-4919-8f6d-96376a437e1d</guid><dc:creator>Chuppster</dc:creator><description>&lt;p&gt;I&amp;#39;m pretty sure this has to do with the fact that we are using the 20 pin trace debug port.&amp;nbsp; I&amp;#39;m going to try and figure out how to switch the buttons over to the alternate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stuck in GPIO interrupt during init</title><link>https://devzone.nordicsemi.com/thread/135938?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 13:10:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:497b0639-c859-4e40-9c58-7b9387e1ac1b</guid><dc:creator>Chuppster</dc:creator><description>&lt;p&gt;The pin on the micro is normally at 1.5v until the switch is closed, in which case it goes to 0v.&amp;nbsp; I&amp;#39;m guessing it should be at 3.3v, so it is indeed floating?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stuck in GPIO interrupt during init</title><link>https://devzone.nordicsemi.com/thread/135888?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 10:54:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:beceacc8-5923-4f83-afd0-a44f77bc19af</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I mean have you checked what the actual voltage level of the pin connect to the button.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can try to test without&amp;nbsp; starting the mesh stack, just check&amp;nbsp;what triggers GPIOTE_IRQHandler(). Note that the PORT event only triggered on the rising edge of the DETECT signal. I&amp;#39;m suspecting there is one of the pin staying float and trigger lots of event ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stuck in GPIO interrupt during init</title><link>https://devzone.nordicsemi.com/thread/135792?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 15:59:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e96dbba3-d527-4824-b92f-183f07fa86ef</guid><dc:creator>Chuppster</dc:creator><description>&lt;p&gt;1. PCA10056&lt;/p&gt;
&lt;p&gt;2. It&amp;#39;s button 1.&amp;nbsp; How can I check the level of the button?&lt;/p&gt;
&lt;p&gt;3.I&amp;#39;m trying to replicate the MESH light_switch provisioner example.&amp;nbsp; Runs just fine in SES, but we are trying to get away from it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stuck in GPIO interrupt during init</title><link>https://devzone.nordicsemi.com/thread/135791?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 15:57:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a616636e-08a9-4701-8784-e70b3b9b0598</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which hardware board did you use for testing ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which button did you have the issue ?&amp;nbsp;Have you check the level of the button ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried to compile using Segger Embedded Studio ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>