<?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>Pin change interrupt not working in Debug mode.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49101/pin-change-interrupt-not-working-in-debug-mode</link><description>I have a custom nRF52840 board, very similar in basic design to the nRF52840 Dongle, but with a 9DOF sensor. The sensor asserts an output pin when data is ready. This output is connected to a port pin on the nRF52840. The code sets up a pin change interrupt</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jul 2019 01:51:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49101/pin-change-interrupt-not-working-in-debug-mode" /><item><title>RE: Pin change interrupt not working in Debug mode.</title><link>https://devzone.nordicsemi.com/thread/196358?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2019 01:51:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:704b3a4c-abf2-4ff1-a741-ae204827e42b</guid><dc:creator>DamonKelly</dc:creator><description>&lt;p&gt;Hi Bj&amp;oslash;rn,&lt;/p&gt;
&lt;p&gt;Do you have any suggestions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin change interrupt not working in Debug mode.</title><link>https://devzone.nordicsemi.com/thread/196088?ContentTypeID=1</link><pubDate>Tue, 02 Jul 2019 22:41:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38731203-c30e-458e-9b92-8323988d0f39</guid><dc:creator>DamonKelly</dc:creator><description>&lt;p&gt;Sorry, I hit &amp;quot;Verify Answer&amp;quot; accidentally...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin change interrupt not working in Debug mode.</title><link>https://devzone.nordicsemi.com/thread/195773?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 23:02:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1afd7ce5-a4c7-4316-ba71-af806a746caf</guid><dc:creator>DamonKelly</dc:creator><description>&lt;p&gt;The sensor is the STmicro LSM9DS1. The interrupt outputs are INT1_A/G (Accelerometer and gyroscope interrupt 1) and DRDY_M (Magnetic sensor data ready). They are both push-pull outputs.&lt;/p&gt;
&lt;p&gt;In non-debug mode, the event handlers run correctly (I can see the data coming through, and see the signals on the scope).&lt;/p&gt;
&lt;p&gt;In Debug mode, the event handlers are never called at all.&lt;/p&gt;
&lt;p&gt;There is also an open-collector interrupt from a STM6601 Push-button controller that doesn&amp;#39;t call it&amp;#39;s event handler in Debug mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin change interrupt not working in Debug mode.</title><link>https://devzone.nordicsemi.com/thread/195617?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 11:43:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d58148ba-b0a3-47e6-880d-64b5585041e1</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Damon,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the nRF52840 should not alter the pin configuration when entering Debug mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which pins to you have connected to the 9DOF sensor?&lt;/p&gt;
&lt;p&gt;Does the code beside the event handler run properly in Debug mode, i.e. you&amp;#39;re not asserting or ending up in an error handler ?&lt;/p&gt;
&lt;p&gt;Have you verified that the output pin of the 9DOF sensor is toggeling when you&amp;#39;re debugging the custom board?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>