<?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>Trying to configure more than 8 buttons interrupts returns -12 error just when enable CONFIG_DEBUG.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111684/trying-to-configure-more-than-8-buttons-interrupts-returns--12-error-just-when-enable-config_debug</link><description>Hello, 
 I am developing an application using nRF52840 with the NRF Connect SDK version 2.4.0 based on Matter: Template sample and I configured 10 buttons interrupts successfully as following: 
 
 
 The build and flash process succeeded. 
 Issue Description</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Jun 2025 10:53:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111684/trying-to-configure-more-than-8-buttons-interrupts-returns--12-error-just-when-enable-config_debug" /><item><title>RE: Trying to configure more than 8 buttons interrupts returns -12 error just when enable CONFIG_DEBUG.</title><link>https://devzone.nordicsemi.com/thread/538188?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 10:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2e72a90-4c8d-42ce-96f0-aaad1a3eaffc</guid><dc:creator>snowbsi</dc:creator><description>&lt;p&gt;Hi, does someone know what the&amp;nbsp;200000c error code means?&lt;/p&gt;
&lt;p&gt;This is the only post that comes up when searching for that code in the context of zephyr.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to configure more than 8 buttons interrupts returns -12 error just when enable CONFIG_DEBUG.</title><link>https://devzone.nordicsemi.com/thread/487150?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2024 14:29:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c808c7e5-4ef3-4a51-8d1c-383c92272703</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Basem Barakat"]&lt;p&gt;But this issue happens only when the debugging is enabled.&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;[/quote]
&lt;p&gt;Do you have logging enabled for the non-debug release as well?&lt;/p&gt;
&lt;p&gt;Regarding your issue, I believe you are hitting this line:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.5.99-ncs1/drivers/gpio/gpio_nrfx.c#L287"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.5.99-ncs1/drivers/gpio/gpio_nrfx.c#L287&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You could try to add a breakpoint there to confirm it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to configure more than 8 buttons interrupts returns -12 error just when enable CONFIG_DEBUG.</title><link>https://devzone.nordicsemi.com/thread/486983?ContentTypeID=1</link><pubDate>Sat, 01 Jun 2024 20:35:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5b9b008-16a0-4992-b6d0-0a40d99619ac</guid><dc:creator>Basem Barakat</dc:creator><description>&lt;p&gt;But this issue happens only when the debugging is enabled.&lt;/p&gt;
[quote userid="125375" url="~/f/nordic-q-a/111684/trying-to-configure-more-than-8-buttons-interrupts-returns--12-error-just-when-enable-config_debug"]The application ran successfully with 10 interrupts but without enabling the debugging config.[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to configure more than 8 buttons interrupts returns -12 error just when enable CONFIG_DEBUG.</title><link>https://devzone.nordicsemi.com/thread/486899?ContentTypeID=1</link><pubDate>Fri, 31 May 2024 12:27:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b6e6fc6-c043-4544-9daa-3b9ce97860b0</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;There are 8 GPIOTE channels. If you want to use more pins, you would need to use&amp;nbsp;&lt;span&gt;sense-edge-mask (PORT event). See e.g. this post:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/88382/how-to-use-sense-edge-mask"&gt;How to use sense-edge-mask?&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>