<?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>Fail to handle interruption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18289/fail-to-handle-interruption</link><description>Hello, 
 I&amp;#39;ve a problem with handling interruption on nrf51dk (SDK12.1.0).
I set GPIOTE to handle interruption based on the example code &amp;quot;pin_change_int&amp;quot;.
I work with the gyroscope of a LSM9DS0 sensor who generate interruption after a specified amount</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Dec 2016 14:41:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18289/fail-to-handle-interruption" /><item><title>RE: Fail to handle interruption</title><link>https://devzone.nordicsemi.com/thread/70636?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2016 14:41:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ea55710-374f-4954-93b4-4d8e4e369b31</guid><dc:creator>Edgar</dc:creator><description>&lt;p&gt;Thanks, i will try to check that. And try to use the same system with another sensor to see if i have the same issue.
I can&amp;#39;t do this now so i will try latter and come back here to post some news on my issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fail to handle interruption</title><link>https://devzone.nordicsemi.com/thread/70635?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2016 14:28:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c9eb467-8b3a-43c3-a71d-aeb2c8a3a8ce</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;You should not need the pull down resistor as the sensor should drive the line between 0V and Vdd, but I don&amp;#39;t think that is the problem.&lt;/p&gt;
&lt;p&gt;I guess you cannot go into debug mode, as the pin reset will not be the same, but you should in some way check if the GPIOTE_IRQHandler is called at all after the reset. Check what the PIN_CNF register of the gpio pin you use is.&lt;/p&gt;
&lt;p&gt;It is hard to know what the problem is from the information given.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fail to handle interruption</title><link>https://devzone.nordicsemi.com/thread/70633?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2016 13:22:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57d2bc6b-14e6-41d6-9fe9-42cb975fed43</guid><dc:creator>Edgar</dc:creator><description>&lt;p&gt;The gpiote pin config was initialized with GPIOTE_CONFIG_IN_SENSE_TOGGLE(true) and &amp;quot;pull&amp;quot; attribute was set to NRF_GPIO_PIN_PULLDOWN&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fail to handle interruption</title><link>https://devzone.nordicsemi.com/thread/70634?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2016 12:49:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76f59870-4bb6-42a7-a6ed-9bb2cb1e3ed1</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;What is the gpiote pin config (nrf_drv_gpiote_in_config_t)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>