<?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>Disable Default PCA10056 Board / Button Handling</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39836/disable-default-pca10056-board-button-handling</link><description>Hello, 
 I want to install my own Button &amp;amp; LED handling (not using the default board support). It works on the nRF52840 Dongle, but I also want it to work on the PCA10056 Board where I can debug. 
 *** No board support header files or c-files is included</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Nov 2018 08:59:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39836/disable-default-pca10056-board-button-handling" /><item><title>RE: Disable Default PCA10056 Board / Button Handling</title><link>https://devzone.nordicsemi.com/thread/157231?ContentTypeID=1</link><pubDate>Wed, 14 Nov 2018 08:59:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15a07899-60a1-4a26-981e-7acf1c3941c8</guid><dc:creator>gos</dc:creator><description>&lt;p&gt;I have solved the problem: My Bad! I had mixed up the mappings for the Default and Alt Button Mappings: Sorry!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable Default PCA10056 Board / Button Handling</title><link>https://devzone.nordicsemi.com/thread/155376?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 14:44:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcadd876-d1fc-4b64-b6c8-aec16580d360</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="73730" url="~/f/nordic-q-a/39836/disable-default-pca10056-board-button-handling"]I have tried to move SW7 to the ALT positon and use the alternate Pins for BUTTON_1 (11) and BUTTON_2 (12), but that does not work either.[/quote]
&lt;p&gt;Have you connect something to &lt;span&gt;P1.07(39) and P1.08(40) ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;By default this switch should be in the &amp;quot;Def&amp;quot; position, and the&amp;nbsp;physical &amp;quot;Button 1&amp;quot; and &amp;quot;Button 2&amp;quot; is connected to pin P0.11 and P0.12. Are these working for you?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable Default PCA10056 Board / Button Handling</title><link>https://devzone.nordicsemi.com/thread/154845?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 11:32:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f45e825-6039-46d8-8675-300261b58fb2</guid><dc:creator>gos</dc:creator><description>&lt;p&gt;Hello Sigurd,&lt;/p&gt;
&lt;p&gt;Thanks for your fast reply, and sorry for my late reply: I got caught up in tons of other stuff I also needed to take care of: I am doing a project where we are testing nRF52840 :-)&lt;/p&gt;
&lt;p&gt;Thanks for the tip on using NRF_GPIO_PIN_MAP(1,7)!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Yes I am testing with P1.07(39) and P1.08(40).&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;So what&amp;nbsp;behavior are you seeing with BUTTON_1 and BUTTON_2, nothing works ?&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;Well, nothing happens: I try to set a break point in the event handlers, but code never gets there.&lt;/p&gt;
&lt;p&gt;What I do see though, when measuring the current, is that even though I have Pull Ups on all Button Ports , I do not see increased current when I push the Button 1 &amp;amp; 2: That I do see on button 3 &amp;amp; 4: And for Button 3, the code does stop at any break point I set in the Event Handler.&lt;/p&gt;
&lt;p&gt;So what do you think is the problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable Default PCA10056 Board / Button Handling</title><link>https://devzone.nordicsemi.com/thread/154521?ContentTypeID=1</link><pubDate>Thu, 25 Oct 2018 13:23:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da0e166b-d175-42b5-bf47-d4abf8ab2a79</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]*** All this works on the Dongle, but on the PCA10056 (1.0.0 2018.35) only BUTTON_3 &amp;amp; BUTTON_4 works. ***[/quote]
&lt;p&gt;&amp;nbsp;So what&amp;nbsp;behavior are you seeing with BUTTON_1 and BUTTON_2, nothing works ?&lt;/p&gt;
[quote user=""]#define BUTTON_1 39 &lt;br /&gt;#define BUTTON_2 40 [/quote]
&lt;p&gt;&amp;nbsp;You are testing with P1.07(39) and P1.08(40), correct ?&lt;/p&gt;
&lt;p&gt;PS: It might be better to use the&amp;nbsp;NRF_GPIO_PIN_MAP() macro&amp;nbsp;for mapping port and pin numbers.&lt;/p&gt;
&lt;p&gt;Snippet:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define BUTTON_1       NRF_GPIO_PIN_MAP(1,7)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>