<?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>How can I disable RESET of P0.21</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18170/how-can-i-disable-reset-of-p0-21</link><description>I have been working on a custom board that uses a taiyo yoden EYSHJNZXZ module.
A tact switch is connected between P0.21 and GND.
I want to use this switch simple input, but by pushing this switch always result in firmware reset. 
 Data sheet says</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Dec 2016 13:49:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18170/how-can-i-disable-reset-of-p0-21" /><item><title>RE: How can I disable RESET of P0.21</title><link>https://devzone.nordicsemi.com/thread/70151?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 13:49:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6c00fd4-7176-4099-8dcd-9374f36958c2</guid><dc:creator>u-akihiro</dc:creator><description>&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;I can use P0.21 as a normal GPIO.&lt;/p&gt;
&lt;p&gt;I can not find &lt;code&gt;CONFIG_GPIO_AS_PINRESET&lt;/code&gt; in C/C++ tab of uVision dialog, however a project file contains &lt;code&gt;CONFIG_GPIO_AS_PINRESET&lt;/code&gt;. So I have deleted those using an text editor.&lt;/p&gt;
&lt;p&gt;I sometimes use Xcode to edit an uVison project file, so something may get wrong...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I disable RESET of P0.21</title><link>https://devzone.nordicsemi.com/thread/70150?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 12:02:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:001a8d28-705e-4610-894a-e445c690a4bd</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can disable the reset on P0.21 by removing the &lt;code&gt;CONFIG_GPIO_AS_PINRESET&lt;/code&gt; define. In Keil you can find the defines in &lt;code&gt;&amp;quot;Options for Target..&amp;quot; -&amp;gt; C/C++ tab&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Note: It&amp;#39;s written into UICR, so remember to do a nrfjprog --eraseall first&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>