<?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>GPIOTE Event Handler no longer triggered after connecting to already bonded device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35544/gpiote-event-handler-no-longer-triggered-after-connecting-to-already-bonded-device</link><description>Hello, 
 we recently migrated from SDK12.2 to SDK14.2 and noticed a strange behaviour. 
 After connecting to a bonded device the nrfx_gpiote_irq_handler is no longer called. 
 Performing the same actions without a previous bond and instead creating a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Feb 2019 11:28:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35544/gpiote-event-handler-no-longer-triggered-after-connecting-to-already-bonded-device" /><item><title>RE: GPIOTE Event Handler no longer triggered after connecting to already bonded device</title><link>https://devzone.nordicsemi.com/thread/172285?ContentTypeID=1</link><pubDate>Thu, 21 Feb 2019 11:28:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f75bdd2e-9184-4657-a756-0a46ebe0967c</guid><dc:creator>Niclas Heitz</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;we decided to switch to SDK15.0 and therefore postpone this issue.&lt;/p&gt;
&lt;p&gt;It seems to no longer happen in SDK15 so I will close this Ticket.&lt;/p&gt;
&lt;p&gt;Sorry to all who encounter this problem and can&amp;#39;t switch.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Niclas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE Event Handler no longer triggered after connecting to already bonded device</title><link>https://devzone.nordicsemi.com/thread/137066?ContentTypeID=1</link><pubDate>Thu, 21 Jun 2018 11:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e490b35-8d96-49f4-b7cc-11c6e4bb2f06</guid><dc:creator>H&amp;#229;vard</dc:creator><description>&lt;p&gt;Maybe the peer manager logs could be useful.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s reaching a bit perhaps.. But this issue is a bit hard to attack.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE Event Handler no longer triggered after connecting to already bonded device</title><link>https://devzone.nordicsemi.com/thread/136892?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 11:46:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28fe9195-a92b-420f-8407-0aeabdd9966c</guid><dc:creator>Niclas Heitz</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;we use something similar to your serialized setup.&lt;/p&gt;
&lt;p&gt;I checked the SPI Master and everything seems ok he pulls down the CS and then waits for the slave until the timeout is triggered because the slave is not reacting.&lt;/p&gt;
&lt;p&gt;The CS switching also seems to be registered by the slave SPI driver since i get the XFER_DONE event when the CS is pulled high again after the timeout, just the gpio is not triggered.&lt;/p&gt;
&lt;p&gt;What logs should i enable in SDK_config to give you a good debug log? I already enabled GPIOTE_CONFIG_LOG_ENABLED but alone it does not help very much because nothing is happening after the connect.&lt;/p&gt;
&lt;p&gt;Thanks for your help,&lt;/p&gt;
&lt;p&gt;Niclas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE Event Handler no longer triggered after connecting to already bonded device</title><link>https://devzone.nordicsemi.com/thread/136876?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 09:29:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abea58d0-87f5-4eb6-90b0-2eb68d4a06f7</guid><dc:creator>H&amp;#229;vard</dc:creator><description>&lt;p&gt;Hi again.&lt;/p&gt;
&lt;p&gt;Are you using our &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/lib_serialization.html?cp=4_0_1_3_38"&gt;serialized setup&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Regardless, is it possible that it is the SPI-master that could be having trouble? I guess you have already confirmed that the CS is in fact pulled low?&lt;/p&gt;
&lt;p&gt;It seems that even though the gpio interrupt does not trigger, there is no assert of any kind on the device? It could be interesting to see some debug log, but it sounds like it remains in the connection, correct?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE Event Handler no longer triggered after connecting to already bonded device</title><link>https://devzone.nordicsemi.com/thread/136778?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 13:52:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79e78b2a-c3f2-4c52-a3da-40bf3ba8912d</guid><dc:creator>Niclas Heitz</dc:creator><description>&lt;p&gt;The GPIO-Pin is connected to the ChipSelect of our SPI-Master, so it should trigger every time the CS is pulled low. We use this interrupt for our SPI state machine which is handling the flow control, so without it it won&amp;#39;t switch to the next state to start the transfer.&lt;/p&gt;
&lt;p&gt;In our test case, the application should do the following:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Setting of Security Parameters for &amp;lsquo;Just Works Pairing&amp;rsquo; with bonding.&lt;/li&gt;
&lt;li&gt;Establish Connection between the two devices&lt;/li&gt;
&lt;li&gt;Start Security Procedure for Bonding&lt;/li&gt;
&lt;li&gt;Disconnect&lt;/li&gt;
&lt;li&gt;Reestablish Connection between the two devices&lt;/li&gt;
&lt;li&gt;Start Security&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;after the reconnection (5), the GPIOTE interrupt is no longer working.&lt;/p&gt;
&lt;p&gt;Every command is transfered over SPI, so it has to still be working for the disconnect command and also for the reconnect command. Only the start security command can&amp;#39;t be transferred anymore because of the missing interrupt.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE Event Handler no longer triggered after connecting to already bonded device</title><link>https://devzone.nordicsemi.com/thread/136760?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 12:55:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f34bb995-173f-43a9-9699-5cbf1324a3e4</guid><dc:creator>H&amp;#229;vard</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From the top of my head, there is no known correlation that should cause this problem from 12.2 to 14.2. But there have certainly been many improvements between these SDK and if we are lucky it is just some small detail you missed while porting.&lt;/p&gt;
&lt;p&gt;Are you using an application close to any of the examples in the SDK?&lt;/p&gt;
&lt;p&gt;Is there a &amp;quot;minimum&amp;quot; implementation which can recreate the problem and that you can share with us?&lt;/p&gt;
&lt;p&gt;Have you tried outputting any logs to see if they can give any hints of what is going on?&lt;/p&gt;
&lt;p&gt;Can I get some rough idea of what the application does? What sort of gpio operations are you performing?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sure we can get to the bottom of the issue together :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>