<?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>Use NFC pin and RESET pin as inputs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47788/use-nfc-pin-and-reset-pin-as-inputs</link><description>Hi, I am using nRF5 SDK for Thread and Zigbee v3.0.0, and I want use NFC pin and RESET pin as inputs. 
 
 I wrote in my .emProject this preprocessor definition &amp;quot;CONFIG_NFCT_PINS_AS_GPIOS&amp;quot; and erased &amp;quot;CONFIG_GPIO_AS_PINRESET&amp;quot; but it didn&amp;#39;t work. 
 
 I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 May 2019 10:58:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47788/use-nfc-pin-and-reset-pin-as-inputs" /><item><title>RE: Use NFC pin and RESET pin as inputs</title><link>https://devzone.nordicsemi.com/thread/189273?ContentTypeID=1</link><pubDate>Mon, 27 May 2019 10:58:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc2e40e8-95a1-4aef-a9c3-41b7e6a97742</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In order to use the reset pin (P0.18) as an normal GPIO, you need to remove the define &amp;quot;&lt;span&gt;CONFIG_GPIO_AS_PINRESET&amp;quot;, and rebuild your project (clean it first, then build).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To use the NFC pins (P0.09 and P0.10), the procedure is similar, but you add the define &amp;quot;CONFIG_NFCT_PINS_AS_GPIOS&amp;quot; instead. If you are using the nRF52840-DK for this, you need to move two resistors as well, as described here:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/nrf52840_DK/hw_nfc_if.html?cp=3_0_4_7_10"&gt;https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/nrf52840_DK/hw_nfc_if.html?cp=3_0_4_7_10&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note: it&amp;#39;s always recommended that you erase the flash before programming the updated firmware:&lt;/p&gt;
&lt;p&gt;nrfjprog -e -f nrf52&lt;/p&gt;
&lt;p&gt;nrfjprog --program &amp;lt;myhex&amp;gt; -f nrf52 --reset&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>