<?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>problem with gpiote interrupt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12207/problem-with-gpiote-interrupt</link><description>I &amp;#180;m testing gpiote interrupt, i&amp;#180;m work with nrf51-dk, softdevice S110 and sdk 9.0.0. 
 I have a pin that receives a signal 0 all time, and it changes to 1 when I have to do some tasks, I declared pin as input, in init I say the configuracion of the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Mar 2016 08:34:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12207/problem-with-gpiote-interrupt" /><item><title>RE: problem with gpiote interrupt</title><link>https://devzone.nordicsemi.com/thread/46196?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2016 08:34:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f80e5e7b-e0be-4ff6-bafd-bdeba0bca6e0</guid><dc:creator>Javier</dc:creator><description>&lt;p&gt;At the end, I have changed some part of my code, reducing delays, and others things and I now, it detects more gpiote interrupts, thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem with gpiote interrupt</title><link>https://devzone.nordicsemi.com/thread/46195?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2016 10:15:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f7d025d-adb7-45fd-a722-4dc907f65ace</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;nrf_drv_gpiote_init() will set the priority to GPIOTE_CONFIG_IRQ_PRIORITY, which may be APP_IRQ_PRIORITY_LOW (check this). Try to set the interrupt priority after the init function or change GPIOTE_CONFIG_IRQ_PRIORITY to APP_IRQ_PRIORITY_HIGH.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem with gpiote interrupt</title><link>https://devzone.nordicsemi.com/thread/46194?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2016 09:47:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cdf5ee2-637a-46bb-949f-32d320f28aeb</guid><dc:creator>Javier</dc:creator><description>&lt;p&gt;In main loop, I have a function that uses spi to send / read data and makes calculations, the problem I believe to happen is that i lose all gpiote interrupts when my board is sending or reading by spi.&lt;/p&gt;
&lt;p&gt;But I set spi interrupts with low priority:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;configuracion_SPI.SPI_PriorityIRQ = NRF_APP_PRIORITY_LOW;	//con softdevice
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And gpiote interrupts with high:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;NVIC_EnableIRQ(GPIOTE_IRQn);
NVIC_SetPriority(GPIOTE_IRQn, 1);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I need my device detects all gpiote interrupts while it uses spi.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem with gpiote interrupt</title><link>https://devzone.nordicsemi.com/thread/46193?ContentTypeID=1</link><pubDate>Mon, 29 Feb 2016 14:26:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3302a940-978d-4ba7-9ac2-7ef5602d5b65</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Could you please elaborate a little more, what kind of function do you comment and uncomment? What do you want your device to do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>