<?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 missing event.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32566/gpiote-missing-event</link><description>Hello, 
 I have problem with missing GPIOTE event. Sometimes event doesn&amp;#39;t occur, sometimes there is no problem. This event is very rare but important. I think it happens during radio activity. Have I missed something? 
 Device: nRF5282 SDK: 13.0.0.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Mar 2018 14:27:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32566/gpiote-missing-event" /><item><title>RE: GPIOTE missing event.</title><link>https://devzone.nordicsemi.com/thread/125379?ContentTypeID=1</link><pubDate>Wed, 21 Mar 2018 14:27:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eca9cd0d-8015-4924-9e15-5c161f6d31d1</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Hey Reynard,&lt;/p&gt;
&lt;p&gt;You will need to use the LATCH register.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Without the &amp;#39;high&amp;#39; accuracy setting, the GPIOTE will trigger a single interrupt regardless of which pin triggered its sense interrupt. This singular GPIOTE interrupt will set the interrupt pending register and the CPU will eventually jump to the GPIOTE interrupt handler. Inside this handler the status of each registered GPIOTE pin is read and checked against its sense setting, hi-lo, lo-hi, or toggle. A problem arises when the a triggered GPIOTE pin changes to its previous state before the GPIOTE interrupt handler can read it. This is not very common, but it can happen.&amp;nbsp;&lt;br /&gt;The way to work around this problem is to read the LATCH register instead of the current pin state.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE missing event.</title><link>https://devzone.nordicsemi.com/thread/125187?ContentTypeID=1</link><pubDate>Tue, 20 Mar 2018 14:13:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7e7ebb1-9c11-4a99-aeca-eac6dd22a92e</guid><dc:creator>Luk3</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;But hi accuracy will consume much more current and I would like to avoid it. Frequency is very low. This pin is used to detect connection of external power supply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE missing event.</title><link>https://devzone.nordicsemi.com/thread/125185?ContentTypeID=1</link><pubDate>Tue, 20 Mar 2018 14:10:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afd53dea-ac74-4536-a4fb-f1b1a3b3d699</guid><dc:creator>Bastien Reynard</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Try with hi_accuracy = true and see if that solves the problem. Check Sigurd&amp;#39;s answer on this&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/21948/gpiote_irqhandler-does-not-execute/86129#86129"&gt;post &lt;/a&gt;for more info about the hi_accuracy config.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>