<?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>nRF54LM20A GPIO and GPIO-KEYS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/129349/nrf54lm20a-gpio-and-gpio-keys</link><description>Hello, 
 I am having an issue with nRF54LM20 rev B silicon where the gpio interrupts are not consistent for key functions with either code similar to the button demo or gpio-keys. I have tried with both CONFIG_PM_DEVICE_RUNTIME set to Y and N and I still</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Oct 2026 14:03:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/129349/nrf54lm20a-gpio-and-gpio-keys" /><item><title>RE: nRF54LM20A GPIO and GPIO-KEYS</title><link>https://devzone.nordicsemi.com/thread/572180?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2026 14:03:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:828cc3ef-1542-4731-a1a5-79a560608024</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;Yes it seems to work after that. Obviously this rev I need to used polling to get the button on port 2&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF54LM20A GPIO and GPIO-KEYS</title><link>https://devzone.nordicsemi.com/thread/572177?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2026 13:36:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad96d4a9-bf2e-4d91-8fa1-5042fd7ca441</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just to confirm, did everything start to work when you took away the GPIO_INT_WAKEUP flag from device tree?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I found this issue on zephyr, where they discuss the gpio API:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/116335"&gt;https://github.com/zephyrproject-rtos/zephyr/issues/116335&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would recommend to input a issue related directly to the INPUT subsys within zephyr.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF54LM20A GPIO and GPIO-KEYS</title><link>https://devzone.nordicsemi.com/thread/572056?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2026 19:03:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1276ec1-e21b-4ccf-b677-b77a3b31c0db</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;looks like&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;GPIO_INT_WAKEUP might actually break the driver&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF54LM20A GPIO and GPIO-KEYS</title><link>https://devzone.nordicsemi.com/thread/572055?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2026 19:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0e0efde-500e-411f-a8b9-09a898ad93d0</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;So it I put my keys in the nrf54lm20dk device tree it works so there must be a conflict&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF54LM20A GPIO and GPIO-KEYS</title><link>https://devzone.nordicsemi.com/thread/572053?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2026 15:00:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bab466b-2ed1-4f27-ae31-d77339f0957b</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;Same behavior&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF54LM20A GPIO and GPIO-KEYS</title><link>https://devzone.nordicsemi.com/thread/572052?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2026 14:13:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0186890-7049-4f29-8d13-be498c673a64</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Ed,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="edmcnicholas"]As expected the button on port 2 does not work without polling.[/quote]
&lt;p&gt;When polling is set, I see unresponsive pins - but no fault on my side.&lt;/p&gt;
&lt;p&gt;However, if I remove this flag from all buttons:&lt;/p&gt;
[quote user=""]&lt;span&gt; &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIO_INT_WAKEUP&lt;/span&gt;[/quote]
&lt;p&gt;everything works as expected:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:00.002,428] &amp;lt;err&amp;gt; gpio_keys: interrupt configuration failed: -134
[00:00:00.002,433] &amp;lt;err&amp;gt; gpio_keys: Pin 3 interrupt configuration failed: -134
*** Booting nRF Connect SDK v3.4.0-99553055607b ***
*** Using Zephyr OS v4.4.0-bf801e4e3d19 ***
[00:00:00.002,478] &amp;lt;inf&amp;gt; input_sample: CONFIG_PM_DEVICE_RUNTIME 1
[00:00:00.002,495] &amp;lt;inf&amp;gt; input_sample: Hello World! nrf54lm20dk/nrf54lm20b/cpuapp

[00:00:01.217,524] &amp;lt;inf&amp;gt; input_sample: Button event code 4: pressed=1

[00:00:01.339,217] &amp;lt;inf&amp;gt; input_sample: Button event code 4: pressed=0

[00:00:01.656,670] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=1

[00:00:01.778,798] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=0

[00:00:02.081,413] &amp;lt;inf&amp;gt; input_sample: Button event code 2: pressed=1

[00:00:02.206,940] &amp;lt;inf&amp;gt; input_sample: Button event code 2: pressed=0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Note, the errors are due to a pin on PORT2.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The GPIO_INT_WAKEUP flag is not used in the gpio port for nrf devices:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/drivers/gpio/gpio_nrfx.c"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/main/drivers/gpio/gpio_nrfx.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try this?&lt;/p&gt;
&lt;p&gt;Also; try to adjust the&amp;nbsp;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE to a higher value.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF54LM20A GPIO and GPIO-KEYS</title><link>https://devzone.nordicsemi.com/thread/572044?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2026 12:31:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da146538-cdb3-4806-a1f1-a6f245e0c0d5</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;As expected the button on port 2 does not work without polling. I am seeing missed presses on button 2 and 3 at about 50% missed presses where in polling all are caught. Button 0 crashes the device which also does not happen in polling mode.&lt;/p&gt;
&lt;p&gt;Non-polling&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v3.4.1-b20f8619ba9a ***
*** Using Zephyr OS v4.4.2-33fa6a7aac6a ***
[00:00:00.012,031] &amp;lt;inf&amp;gt; input_sample: CONFIG_PM_DEVICE_RUNTIME 1
[00:00:00.012,049] &amp;lt;inf&amp;gt; input_sample: Hello World! soundbooster/nrf54lm20a/cpuapp

[00:00:10.346,873] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=1

[00:00:10.522,889] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=0

[00:00:14.149,075] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=1

[00:00:14.347,014] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=0

[00:00:18.357,915] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=1

[00:00:18.576,445] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=0

[00:00:24.216,128] &amp;lt;inf&amp;gt; input_sample: Button event code 2: pressed=1

[00:00:24.386,400] &amp;lt;inf&amp;gt; input_sample: Button event code 2: pressed=0

[00:00:29.545,142] &amp;lt;inf&amp;gt; input_sample: Button event code 2: pressed=1

[00:00:29.745,678] &amp;lt;inf&amp;gt; input_sample: Button event code 2: pressed=0

[00:00:36.004,203] &amp;lt;err&amp;gt; os: ***** USAGE FAULT *****
[00:00:36.004,208] &amp;lt;err&amp;gt; os:   Illegal use of the EPSR
[00:00:36.004,217] &amp;lt;err&amp;gt; os: r0/a1:  0x20003978  r1/a2:  0xe000ed00  r2/a3:  0x20003978
[00:00:36.004,223] &amp;lt;err&amp;gt; os: r3/a4:  0x00000000 r12/ip:  0x00000000 r14/lr:  0x000050ab
[00:00:36.004,227] &amp;lt;err&amp;gt; os:  xpsr:  0x60000000
[00:00:36.004,231] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x00000000
[00:00:36.004,248] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 35: Unknown error on CPU 0
[00:00:36.004,264] &amp;lt;err&amp;gt; os: Current thread: 0x20003d28 (sysworkq)
[00:00:36.044,865] &amp;lt;err&amp;gt; os: Halting system&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Polling&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v3.4.1-b20f8619ba9a ***
*** Using Zephyr OS v4.4.2-33fa6a7aac6a ***
[00:00:18.762,216] &amp;lt;inf&amp;gt; input_sample: CONFIG_PM_DEVICE_RUNTIME 1
[00:00:18.762,233] &amp;lt;inf&amp;gt; input_sample: Hello World! soundbooster/nrf54lm20a/cpuapp

[00:00:23.035,979] &amp;lt;inf&amp;gt; input_sample: Button event code 2: pressed=1

[00:00:23.276,754] &amp;lt;inf&amp;gt; input_sample: Button event code 2: pressed=0

[00:00:24.480,604] &amp;lt;inf&amp;gt; input_sample: Button event code 2: pressed=1

[00:00:24.681,247] &amp;lt;inf&amp;gt; input_sample: Button event code 2: pressed=0

[00:00:25.985,416] &amp;lt;inf&amp;gt; input_sample: Button event code 2: pressed=1

[00:00:26.186,058] &amp;lt;inf&amp;gt; input_sample: Button event code 2: pressed=0

[00:00:28.573,689] &amp;lt;inf&amp;gt; input_sample: Button event code 4: pressed=1

[00:00:28.794,395] &amp;lt;inf&amp;gt; input_sample: Button event code 4: pressed=0

[00:00:30.138,692] &amp;lt;inf&amp;gt; input_sample: Button event code 4: pressed=1

[00:00:30.339,335] &amp;lt;inf&amp;gt; input_sample: Button event code 4: pressed=0

[00:00:31.663,568] &amp;lt;inf&amp;gt; input_sample: Button event code 4: pressed=1

[00:00:31.824,114] &amp;lt;inf&amp;gt; input_sample: Button event code 4: pressed=0

[00:00:33.589,755] &amp;lt;inf&amp;gt; input_sample: Button event code 3: pressed=1

[00:00:33.810,462] &amp;lt;inf&amp;gt; input_sample: Button event code 3: pressed=0

[00:00:35.074,503] &amp;lt;inf&amp;gt; input_sample: Button event code 3: pressed=1

[00:00:35.255,081] &amp;lt;inf&amp;gt; input_sample: Button event code 3: pressed=0

[00:00:36.478,998] &amp;lt;inf&amp;gt; input_sample: Button event code 3: pressed=1

[00:00:36.659,577] &amp;lt;inf&amp;gt; input_sample: Button event code 3: pressed=0

[00:00:37.662,787] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=1

[00:00:37.863,430] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=0

[00:00:39.047,216] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=1

[00:00:39.207,763] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=0

[00:00:40.110,653] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=1

[00:00:40.291,232] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=0

[00:00:40.311,299] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=1

[00:00:40.331,360] &amp;lt;inf&amp;gt; input_sample: Button event code 5: pressed=0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF54LM20A GPIO and GPIO-KEYS</title><link>https://devzone.nordicsemi.com/thread/572042?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2026 12:18:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1230790-fb0b-46bf-964c-8ada87c59e3f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I created a sample to try to recreate the issue:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/hello_5F00_gpio_5F00_keys.zip"&gt;devzone.nordicsemi.com/.../hello_5F00_gpio_5F00_keys.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Log output:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v3.4.0-99553055607b ***
*** Using Zephyr OS v4.4.0-bf801e4e3d19 ***
[00:00:00.002,579] &amp;lt;inf&amp;gt; input_sample: CONFIG_PM_DEVICE_RUNTIME 1
[00:00:00.002,596] &amp;lt;inf&amp;gt; input_sample: Hello World! nrf54lm20dk/nrf54lm20b/cpuapp

[00:00:01.517,189] &amp;lt;inf&amp;gt; input_sample: Button event code 11: pressed=1

[00:00:01.661,232] &amp;lt;inf&amp;gt; input_sample: Button event code 11: pressed=0

[00:00:02.898,903] &amp;lt;inf&amp;gt; input_sample: Button event code 2: pressed=1

[00:00:03.077,559] &amp;lt;inf&amp;gt; input_sample: Button event code 2: pressed=0

[00:00:04.005,519] &amp;lt;inf&amp;gt; input_sample: Button event code 3: pressed=1

[00:00:04.175,010] &amp;lt;inf&amp;gt; input_sample: Button event code 3: pressed=0

[00:00:04.465,464] &amp;lt;inf&amp;gt; input_sample: Button event code 4: pressed=1

[00:00:04.580,186] &amp;lt;inf&amp;gt; input_sample: Button event code 4: pressed=0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also used&amp;nbsp;&lt;/p&gt;
[quote user=""]sense-edge-mask[/quote]
&lt;p&gt;on the whole of P1 port.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you elaborate on what you observe? I do not think I am able to reproduce the issue.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF54LM20A GPIO and GPIO-KEYS</title><link>https://devzone.nordicsemi.com/thread/572022?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2026 16:25:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47a8dfe4-b8d3-4180-b91b-fdb8fdfb31c5</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;I had already tried that with and without the config with&amp;nbsp;CONFIG_PM_DEVICE_RUNTIME=n and&amp;nbsp;CONFIG_PM_DEVICE_RUNTIME=y. The button presses are only consistent when running in polled mode. Is there an nrf54lm20 errata?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have this in my UI init.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;pm_device_runtime_get&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;DEVICE_DT_GET&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;DT_PATH&lt;/span&gt;&lt;span&gt;(buttons)));&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF54LM20A GPIO and GPIO-KEYS</title><link>https://devzone.nordicsemi.com/thread/571999?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2026 07:29:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e89ea697-20e2-4e4e-8313-1b8e5632edb9</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It sounds like you might be running into the same issue as described here?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/126091/button-with-gpio-keys-not-fired-when-config_pm_device_runtime-y/557055"&gt;RE: button with &amp;quot;gpio-keys&amp;quot; not fired when CONFIG_PM_DEVICE_RUNTIME=y&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to add the&amp;nbsp;reference and see if this helps?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>