<?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>Problems when a high rate interrupt is connected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18639/problems-when-a-high-rate-interrupt-is-connected</link><description>I am using the nrf52 development board, when I try to connect to one of its pins a signal from a sensor that generates an interrupt signal every 1ms the programs stops or it is restarted. Here is how I am doing it: 
 nrf_gpio_cfg_sense_input(27, NRF_GPIO_PIN_PULLDOWN</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Dec 2016 12:00:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18639/problems-when-a-high-rate-interrupt-is-connected" /><item><title>RE: Problems when a high rate interrupt is connected</title><link>https://devzone.nordicsemi.com/thread/71997?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2016 12:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90f40986-9c64-435b-914f-219cb451b883</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;The error seems to be happening by APP_ERROR_CHECK failure in your code, but it is difficult to say where and why. You need to check app_error_weak.c file. If you have defined DEBUG flag in your project then the while loop is in app_error.c-&amp;gt;app_error_save_and_stop()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems when a high rate interrupt is connected</title><link>https://devzone.nordicsemi.com/thread/71996?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2016 10:39:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a74d1419-ff4b-421a-8cd5-b0ce883da3df</guid><dc:creator>User1321</dc:creator><description>&lt;p&gt;I am not using the Keil tool, I am using a editor like eclipse, this is called KDevelop, so I can not debug, however I saw that if I enable the interrupt and connect the interrupt pin to GND and occasionally generate an interrupt manually connecting to Vdd, the systems works fine, no restart. But, if once that the system is running, I connect the pin directly to the sensor&amp;#39;s pin that has the high rate pulse the system gets restarted.
The fact that the restart happens once that the system is running on an infinite loop and not at the beginning indicates that the error is not during the initialization but later.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems when a high rate interrupt is connected</title><link>https://devzone.nordicsemi.com/thread/71995?ContentTypeID=1</link><pubDate>Wed, 28 Dec 2016 14:31:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d7d2a98-53b2-4877-91c9-a205055641ba</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;when you say that the system is restarted, means that there was an APP_ERROR_CHECK failure with some functional call , please debug to see which function failed and why. Use breakpoints for that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>