<?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>Interrupt from external Pin doesn&amp;#39;t trigger with short pulse?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6035/interrupt-from-external-pin-doesn-t-trigger-with-short-pulse</link><description>Hi, 
I need to implement a simple external interrupt triggered by another IC on a nrf51822.
After searching the devzone I found the example in the GIT repo ( github.com/.../nrf51_app_gpiote_example) which I used. 
 Everything works fine when I use</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Mar 2017 06:32:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6035/interrupt-from-external-pin-doesn-t-trigger-with-short-pulse" /><item><title>RE: Interrupt from external Pin doesn't trigger with short pulse?</title><link>https://devzone.nordicsemi.com/thread/21109?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2017 06:32:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6239a11b-2562-487b-a746-bf76bfdb5839</guid><dc:creator>hansensen</dc:creator><description>&lt;p&gt;Thanks for the answer. I am currently using nRF52832 and encountered same problem. May i know if the same issue still exist in nrf52 series?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interrupt from external Pin doesn't trigger with short pulse?</title><link>https://devzone.nordicsemi.com/thread/21107?ContentTypeID=1</link><pubDate>Wed, 25 Mar 2015 07:54:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37a6d838-7571-4363-8a71-1e6f36dce8a1</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Yes, if you have a lot of radio activity, i.e. advertising with short advertising interval or transfering a lot of data when in a connection, you will have a lot less CPU availability for the application, see the &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822/S110-SDS/20338"&gt;SDS&lt;/a&gt;, chapter about Processor Availability. The application will however get more CPU availability with nRF51 third revision hardware (specified in &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822/S110-SDS/20338"&gt;S110 SDS 2.0&lt;/a&gt;) together with softdevice 8.0.0 than nRF51 second revision hardware and older softdevices (specified in &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822/S110-SDS/20338"&gt;S110 SDS 1.3&lt;/a&gt;). See the &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822/ATTN-51/41917https://www.nordicsemi.com/eng/nordic/Products/nRF51822/ATTN-51/41917"&gt;nRF51 compatibility matrix&lt;/a&gt; for what is second and third revision hardware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interrupt from external Pin doesn't trigger with short pulse?</title><link>https://devzone.nordicsemi.com/thread/21105?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2015 12:48:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f59f1f0c-ff4d-4417-8146-159fbf5387d1</guid><dc:creator>noe</dc:creator><description>&lt;p&gt;I had some time to analyze it a bit more and it seems that there are not more interrupts triggered but less are being handled. The core is just busier with BLE running and hence has not time in the main() loop to finish everything he has to do (which is triggered from the interrupt). Once the advertising() turns off, there are no more interrupt misses and the core has enough time to finish all it has to do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interrupt from external Pin doesn't trigger with short pulse?</title><link>https://devzone.nordicsemi.com/thread/21108?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2015 13:51:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55e54946-d9e4-4f69-9e6e-5bf8a0ef5376</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hmm, if you are using custom board and if traces are very tight together on the PCB, the signal might penetrate to the adjacent trace, could that be the case? To find out, try to configure the indicator LED to another pin.  If that is not it, I would need to see some of your code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interrupt from external Pin doesn't trigger with short pulse?</title><link>https://devzone.nordicsemi.com/thread/21106?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2015 11:51:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96e769e2-651c-4b0f-99e6-3870d05bb411</guid><dc:creator>noe</dc:creator><description>&lt;p&gt;Thanks for your answer. I figured it out myself as I was reading through the examples. Its works now, although I&amp;#39;m a bit disappointed that it uses so much current as the interrupt will occur quite often and we&amp;#39;re in a low power environment.
Also I noticed that other things can trigger the interrupt as well. For example, I have a SD110 and I use BLE. While advertising, the indicator LED toggles and this triggers the event interrupt. I&amp;#39;m quite sure that I only listen to the pin I want to. Any suggestions there? I will post the code later, I&amp;#39;m not at my office right now.
Thanks again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interrupt from external Pin doesn't trigger with short pulse?</title><link>https://devzone.nordicsemi.com/thread/21104?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2015 12:29:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2385d691-b268-4e4c-92ad-a5bf98c8e654</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The app_gpiote needs to have a pulse of approximately 10us in order to detect the pulse. What app_gpiote library uses internally is the GPIOTE-&amp;gt;PORT event. The GPIOTE PORT event handler inside the app_gpiote library needs to read what pin the PORT event was received on, since the port event does not report what pin was asserted. By the time the execution of the GPIOTE interrupt handler starts executing, your signal has gone low again, so the app_gpiote library will detect no assert on a pin and will not notify your application of any pin event.&lt;/p&gt;
&lt;p&gt;To detect a very short pulse, you would need to use the GPIOTE-&amp;gt;IN events instead which is tied directly to a specific pin. See the \nRF51_SDK_8.0.0_5fc2c3a\examples\peripheral\pin_change_int example in the nRF51 SDK for code reference. The disadvantage is that using the GPIOTE-&amp;gt;IN is a high power operation (~1mA)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>