<?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>nRF51 Custom board resets on button press.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18832/nrf51-custom-board-resets-on-button-press</link><description>Hi, 
 I am quite new to nRF51 development so please excuse me for my mistakes or not using right words if any. I have some code that fully works on the official nRF51 DK. I want to make it work on a custom board based on nRF51. Only IO pins are different</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Jan 2017 10:19:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18832/nrf51-custom-board-resets-on-button-press" /><item><title>RE: nRF51 Custom board resets on button press.</title><link>https://devzone.nordicsemi.com/thread/72723?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 10:19:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e34abdb-4605-4e13-90da-86a9ebdc6ace</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Thanks for pointing this out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 Custom board resets on button press.</title><link>https://devzone.nordicsemi.com/thread/72722?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 10:16:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed232663-4d97-461b-9b3c-3a37c33a0554</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Thanks for reporting back the solution!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 Custom board resets on button press.</title><link>https://devzone.nordicsemi.com/thread/72721?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 10:15:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ce40c75-1832-46c8-930c-e7277a770787</guid><dc:creator>silverspoon</dc:creator><description>&lt;p&gt;I finally solved this mystery myself. The button I mentioned is the very first button (BUTTON_0) in the button list. I did not realise that at the time of writing my question above.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=/com.nordic.infocenter.sdk51.v10.0.0/examples_bsp_btn_ble.html&amp;amp;cp=4_0_1_3_4_1"&gt;BSP BLE Button Module&lt;/a&gt; link from Nordic documentation explains very clearly that it is the default behaviour of Buttons when using BSP. Pressing BUTTON_0 puts board to sleep. For time being I have moved the functionality to BUTTON_1 or to the second button in the list, but ultimately I would like to change the BUTTON_0 behaviour that puts the board to sleep. So for now my code works fine with this change.&lt;/p&gt;
&lt;p&gt;Hope this helps someone like me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 Custom board resets on button press.</title><link>https://devzone.nordicsemi.com/thread/72720?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 10:05:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84847d54-703d-4fb8-84b9-c93db3d40db4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Could you upload your code, showing how you enter sleep mode, how you setup the timer and buttons, etc.? Preferrably your whole source.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>