<?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>Visualizing push button interrupt in a logic analyzer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74478/visualizing-push-button-interrupt-in-a-logic-analyzer</link><description>Is there a way to get the signals of the interrupt for a push-button/interrupt from the pin_change_int example in a logic analyzer software tool? Basically i&amp;#39;d want to visualize things that take place when a button is pressed as well as how the interrupt</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 May 2021 10:39:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74478/visualizing-push-button-interrupt-in-a-logic-analyzer" /><item><title>RE: Visualizing push button interrupt in a logic analyzer</title><link>https://devzone.nordicsemi.com/thread/310107?ContentTypeID=1</link><pubDate>Tue, 18 May 2021 10:39:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a0ebab5-21e1-463a-a237-a1429d4475f2</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;It is edge-triggered, but it&amp;#39;s configured to trigger on both edges (toggle).&lt;br /&gt;&lt;br /&gt;You can use either hi-to-lo, lo-to-hi, or toggle (any)&amp;nbsp;edge transition depending on your needs.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visualizing push button interrupt in a logic analyzer</title><link>https://devzone.nordicsemi.com/thread/308640?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 06:27:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40738926-d3e4-4d6b-bd34-2b067a2b7b3e</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;So it&amp;#39;s not an edge-triggered interrupt then? Is that what&amp;#39;s commonly used in the SDK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visualizing push button interrupt in a logic analyzer</title><link>https://devzone.nordicsemi.com/thread/308531?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 11:30:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a818b3bd-7b80-4772-b634-2971e55da825</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;On line 90 of main.c:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;nrf_drv_gpiote_in_config_t&lt;/span&gt;&lt;span&gt;&amp;nbsp;in_config&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span&gt;GPIOTE_CONFIG_IN_SENSE_TOGGLE&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;true&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;The GPIO is set to trigger an interrupt on any transition, not just falling edge, for that you need to use&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;NRFX_GPIOTE_CONFIG_IN_SENSE_HITOLO(true)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visualizing push button interrupt in a logic analyzer</title><link>https://devzone.nordicsemi.com/thread/307353?ContentTypeID=1</link><pubDate>Thu, 29 Apr 2021 04:38:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:263625ef-0644-4e5c-aad8-19b24638103c</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;A follow up:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;where are we defining whether the interrupt would be triggered at the falling edge?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visualizing push button interrupt in a logic analyzer</title><link>https://devzone.nordicsemi.com/thread/307350?ContentTypeID=1</link><pubDate>Thu, 29 Apr 2021 04:22:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14f72106-5d4e-4342-a35f-11208110bfc0</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;I see. So P0.11 really is connected to Button 1 and that&amp;#39;s where the Channel pin of the logic analyzer would go.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visualizing push button interrupt in a logic analyzer</title><link>https://devzone.nordicsemi.com/thread/307186?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 09:36:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79248200-f6d7-4e96-b1aa-fa9a911b4127</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Nope, so it should suit your needs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Reading the example description:&lt;br /&gt;&amp;quot;&lt;span&gt;The application starts with configuring the pins and configuring GPIOTE to give an interrupt on PIN_IN change. The interrupt handler toggles PIN_OUT (LED 1) when PIN_IN (button 1) is pressed or released.&amp;quot;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See fig1 in the DK&amp;#39;s&amp;nbsp;&lt;a title="Connector interface" href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/dk/connector_if.html?cp=4_0_4_7_5"&gt;Connector interface&lt;/a&gt;&amp;nbsp;chapter. LED1 is connected to p0.13, I believe it&amp;#39;s active low.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visualizing push button interrupt in a logic analyzer</title><link>https://devzone.nordicsemi.com/thread/307117?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 00:31:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:977a8438-a9ac-4305-a109-fc9fe6ac1b64</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;I&amp;#39;m using the example `pin_change_int` which doesn&amp;#39;t seem to use debouncing, does it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visualizing push button interrupt in a logic analyzer</title><link>https://devzone.nordicsemi.com/thread/306966?ContentTypeID=1</link><pubDate>Tue, 27 Apr 2021 09:56:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35edd4b0-923a-4582-ad40-fe5261e12bfe</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;That depends on whether you use a button library with SW de-bouncing or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>