<?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>NRF54L15 - GPIOE Edge trigger Wake-up from sleep.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125213/nrf54l15---gpioe-edge-trigger-wake-up-from-sleep</link><description>Hello, 
 In NRF54L15 , Is it possible to wake up the Device from deep sleep through EDGE triggered GPIO interrupt pin?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Nov 2025 10:23:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125213/nrf54l15---gpioe-edge-trigger-wake-up-from-sleep" /><item><title>RE: NRF54L15 - GPIOE Edge trigger Wake-up from sleep.</title><link>https://devzone.nordicsemi.com/thread/553537?ContentTypeID=1</link><pubDate>Thu, 06 Nov 2025 10:23:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf75787b-1ea6-43f9-805b-925a156305b5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the comment. I think what is happening is that GPIOTE IRQ handler is invoked between your call to&amp;nbsp;&lt;span&gt;gpio_pin_interrupt_configure_dt() and&amp;nbsp;sys_poweroff()&amp;nbsp;and inverts the sense level as&amp;nbsp; gpio_pin_interrupt_configure_dt() is enabling the GPIOTE PORT interrupt.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To confirm this, you may try the following:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. Right before&amp;nbsp;gpio_pin_interrupt_configure_dt(), call irq_lock() to mask the GPIOTE IRQ and any other application level interrupts.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. Replace&amp;nbsp;k_msleep(5000) with a busy wait as we can&amp;#39;t do any context switches with the interrupts masked.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. Keep the button pressed and check if it wakes up immediately again after entering system again confirming it&amp;#39;s level triggered.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF54L15 - GPIOE Edge trigger Wake-up from sleep.</title><link>https://devzone.nordicsemi.com/thread/553354?ContentTypeID=1</link><pubDate>Tue, 04 Nov 2025 21:15:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acb03d9e-649c-430e-bd42-b5ba55b18510</guid><dc:creator>Mark Rages</dc:creator><description>&lt;p&gt;It&amp;#39;s probably worth pointing out that `GPIO_INT_LEVEL_ACTIVE` appears to be not level-triggered but edge-triggered.&lt;br /&gt;&lt;br /&gt;To demonstrate this, add `k_msleep(5000)` right before the call to `sys_poweroff()` in the sample app mentioned.&lt;br /&gt;&lt;br /&gt;Then press the button during those five seconds and hold it down.&lt;br /&gt;&lt;br /&gt;If it was a true level trigger, the active button would immediately restart the app after powering off.&amp;nbsp; But this is not what happens.&amp;nbsp; The app stays off until you release the button and press it again.&lt;br /&gt;&lt;br /&gt;(tested with NCS 2.9.2, nrf54l15-dk board)&lt;br /&gt;&lt;br /&gt;In other words, there is a period of time between `gpio_pin_interrupt_configure_dt()` and `sys_poweroff()` where the interrupt edge is lost.&amp;nbsp; I ran into this when trying to wake with an accelerometer interrupt.&amp;nbsp; If it fired too soon: no wakie for me.&amp;nbsp; The workaround I found was to install an interrupt handler for that pin, that did a NVIC_SystemReset().&amp;nbsp; &amp;nbsp;This requires attention to any code that looks at RESETREAS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF54L15 - GPIOE Edge trigger Wake-up from sleep.</title><link>https://devzone.nordicsemi.com/thread/552693?ContentTypeID=1</link><pubDate>Wed, 29 Oct 2025 06:34:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c87941a2-7a35-4d01-9e6d-256fc8151339</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;If you want to use the&amp;nbsp;&lt;strong&gt;GPIO_INT_EDGE_*&amp;nbsp;&lt;/strong&gt;flags you&amp;nbsp;need to use the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/eb0a524972277a0168ffd41d7ed1111361638506/dts/bindings/gpio/nordic,nrf-gpio.yaml#L17"&gt;sense-edge-mask&lt;/a&gt;&amp;nbsp;property in your gpio devictree node so that the driver will also enable&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/gpio.html#ariaid-title3"&gt;GPIO sense mechanism&lt;/a&gt; for this&amp;nbsp;configuration and not just for the level triggering. However, there&amp;rsquo;s no reason to do this if the goal is only to configure a wakeup pin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF54L15 - GPIOE Edge trigger Wake-up from sleep.</title><link>https://devzone.nordicsemi.com/thread/552690?ContentTypeID=1</link><pubDate>Wed, 29 Oct 2025 06:14:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85b43fb5-a2be-49ac-a5a4-47b0737aa336</guid><dc:creator>varsha@</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, I tried to wake up through the pin using LEVEL triggerd (&lt;strong&gt;GPIO_INT_LEVEL_ACTIVE&lt;/strong&gt;) as given in this example, and it was working fine, but when I tried EDGE triggered Interrupt (&lt;strong&gt;GPIO_INT_EDGE_RISING &lt;/strong&gt;and&amp;nbsp;&lt;strong&gt;GPIO_INT_EDGE_TO_ACTIVE&lt;/strong&gt;), the device could not wake up from sleep.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF54L15 - GPIOE Edge trigger Wake-up from sleep.</title><link>https://devzone.nordicsemi.com/thread/552419?ContentTypeID=1</link><pubDate>Mon, 27 Oct 2025 07:34:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25020ad8-714d-446c-a42b-2a58103a6339</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Yes, wakeup from System OFF (deep sleep) can be triggered by a GPIO input as demonstrated by the zephyr sample here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/boards/nordic/system_off"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/boards/nordic/system_off&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>