<?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>Configuration button</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100198/configuration-button</link><description>Hi all: 
 When I initialize ten buttons, I get a stack error. And when I use the bsp.c to init the ten buttons, It seems not to enter the event handle, but I init four buttons, It can enter the event handle. 
 What should I fix? 
 Thanks.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 May 2023 05:42:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100198/configuration-button" /><item><title>RE: Configuration button</title><link>https://devzone.nordicsemi.com/thread/428309?ContentTypeID=1</link><pubDate>Wed, 31 May 2023 05:42:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66d850d8-8ff8-4c74-958e-c08e6a2e74be</guid><dc:creator>Mark_Y</dc:creator><description>&lt;p&gt;Oh, Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration button</title><link>https://devzone.nordicsemi.com/thread/428226?ContentTypeID=1</link><pubDate>Tue, 30 May 2023 14:34:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac1053e8-ef14-45ad-971b-448c6ef1e6de</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi Yang,&lt;/p&gt;
&lt;p&gt;Thank you for contacting DevZone at NordicSemi.&lt;/p&gt;
[quote user=""]When I initialize ten buttons, I get a stack error.[/quote]
&lt;p&gt;How are you initializing these buttons?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think it is due to the hardware limitation.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From the specifications, we see that a pin should only be assigned to one GPIOTE channel at a time. Otherwise, it will result into unpredictable behavior.&lt;/p&gt;
&lt;p&gt;Moreover, we can have only 8 different GPIOTE channels configured.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You may look at &lt;a href="https://devzone.nordicsemi.com/support-private/support/305832"&gt;this ticket&lt;/a&gt; that explains this more.&lt;/p&gt;
&lt;p&gt;Also, bsp package and board files define 4 buttons:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1685455929435v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And therefore, the source code for initialization etc. uses loop to check and set up to four buttons.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Naeem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>