<?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>IRQ_DIRECT_CONNECT not calling the ISR function</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123759/irq_direct_connect-not-calling-the-isr-function</link><description>Hello. I&amp;#39;m trying to call an interrupt service routine (ISR) using IRQ_DIRECT_CONNECT, but it is not working. 
 Here is the flow of my code: 
 
 So, it is expected to print out &amp;#39;TWIM Interrupt Triggered&amp;#39;, but there are no events shown in my RTT viewer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Aug 2025 07:50:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123759/irq_direct_connect-not-calling-the-isr-function" /><item><title>RE: IRQ_DIRECT_CONNECT not calling the ISR function</title><link>https://devzone.nordicsemi.com/thread/545874?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 07:50:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0a99fc3-4b35-4dee-971b-f858410b8228</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Also, I don&amp;#39;t see what the value of &amp;#39;irq_type&amp;#39; is from the snippets you posted so I&amp;#39;m wondering&amp;nbsp;what events you are configuring to trigger the interrupt in your enableIRQ() function? I would recommend starting a debug session in VS code/ozone/gdb and place a breakpoint in the ISR instead.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;NRF_TWIM0-&amp;gt;INTENSET = irq_type;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IRQ_DIRECT_CONNECT not calling the ISR function</title><link>https://devzone.nordicsemi.com/thread/545871?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 07:43:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a277a198-31dd-47c4-b053-33228cbed495</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Careful, &lt;code&gt;printk()&lt;/code&gt; can dead lock in an interrupt handler.&lt;/p&gt;
&lt;p&gt;Check dts files in build/zephyr folder, the first UARTE/SPIM/TWI peripherial might be in use by default.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>