<?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>Interrupts on SoftDevice functioning</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78439/interrupts-on-softdevice-functioning</link><description>Hello all, 
 I am developing an application from the ble_cgms example on the nrf5_sdk 17 using the Softdevice S132. 
 I have implemented a gpiote interrupt whenever the state of the input goes low it generates a event, the state of the pin is controlled</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Aug 2021 18:30:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78439/interrupts-on-softdevice-functioning" /><item><title>RE: Interrupts on SoftDevice functioning</title><link>https://devzone.nordicsemi.com/thread/324548?ContentTypeID=1</link><pubDate>Wed, 11 Aug 2021 18:30:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e90114e4-c803-45ef-806b-41c7c2b1e871</guid><dc:creator>pedrovfr_LNNano</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Great questions, trying to answer those I found that another output pin controlling the reset of the external chip was toggling with the bsp module (I couldn&amp;#39;t find exactly how, but the influence is there). So changing this pin solve my problem.Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interrupts on SoftDevice functioning</title><link>https://devzone.nordicsemi.com/thread/324501?ContentTypeID=1</link><pubDate>Wed, 11 Aug 2021 13:29:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fd0b7ec-26fb-407a-9ef9-79a4c397491d</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This should work even if you connect to a BLE device.&lt;/p&gt;
&lt;p&gt;1)&lt;/p&gt;
&lt;p&gt;What pin number is INT0_PIN? Is this pin maybe used somewhere else in your code? (e.g. by bsp / app_button lib or similar)&lt;/p&gt;
&lt;p&gt;2)&lt;/p&gt;
&lt;p&gt;How do you define&amp;nbsp;in_config? something like this ?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrf_drv_gpiote_in_config_t in_config = GPIOTE_CONFIG_IN_SENSE_TOGGLE(true);
in_config.pull = NRF_GPIO_PIN_PULLUP;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;or maybe&amp;nbsp;&lt;span&gt;GPIOTE_CONFIG_IN_SENSE_HITOLO() ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;3)&lt;/p&gt;
[quote user=""]When I connect the BLE the interrupt stops working until I enable a specific service via the BLE. I[/quote]
&lt;p&gt;What service is this?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4)&lt;/p&gt;
&lt;p&gt;Do you call&amp;nbsp;app_button_disable() or&amp;nbsp;nrf_drv_gpiote_in_event_disable() somewhere in your code ?&lt;/p&gt;
&lt;p&gt;5)&lt;/p&gt;
[quote user=""]I can see that before the service enables, the interrupt never fires because I placed a counter in the event handler.[/quote]
&lt;p&gt;Are you sure that the pin is actually toggling or goes from high to low? Have you scooped the pin?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>