<?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>Using GPIO 10 (NFC pin) to drive SPI SCLK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14272/using-gpio-10-nfc-pin-to-drive-spi-sclk</link><description>Good times, 
 So I finally put in the tweak to enable the GPIO 9&amp;amp;10 pins to be used for GPIO instead of the default NFC mode. Must remember that reset for it to take effect :-) 
 // Unlock the NFC pins as GPIO
uint32_t nfcpins = (*(uint32_t *)0x1000120C</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 May 2017 08:40:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14272/using-gpio-10-nfc-pin-to-drive-spi-sclk" /><item><title>RE: Using GPIO 10 (NFC pin) to drive SPI SCLK</title><link>https://devzone.nordicsemi.com/thread/54473?ContentTypeID=1</link><pubDate>Tue, 23 May 2017 08:40:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00827ca9-93f6-4563-99c4-ce1b7b2302f3</guid><dc:creator>Reeshma</dc:creator><description>&lt;p&gt;ok  , thank you, i will refer that one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO 10 (NFC pin) to drive SPI SCLK</title><link>https://devzone.nordicsemi.com/thread/54472?ContentTypeID=1</link><pubDate>Tue, 23 May 2017 07:54:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5941ea64-c92f-4af0-a005-13d9bfd4e8cf</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Hey Reeshma, as Zhouyu above states there is also a #define you can put in your makefile. He mentions one there but I&amp;#39;m not sure if that was the final name... if you look in the startup.s (from memory) file you can find the code that enables the NFC pins as GPIO to find the exact define.. or someone might know it. That means you won&amp;#39;t need my code snippet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO 10 (NFC pin) to drive SPI SCLK</title><link>https://devzone.nordicsemi.com/thread/54471?ContentTypeID=1</link><pubDate>Tue, 23 May 2017 07:03:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aec15465-6bd5-4160-95b0-8ae0a22890e8</guid><dc:creator>Reeshma</dc:creator><description>&lt;p&gt;HI , i have followed your above code to use the nfc pin as gpio , but am getting the following error..
main.c:43: undefined reference to `nrf_nvmc_write_word&amp;#39;
am using the SDK v 13.0 and compiling it in the arm gcc compiler of linux terminal...
can you please say , where am made a mistake...am a beginner to this platform, can you please guide me..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO 10 (NFC pin) to drive SPI SCLK</title><link>https://devzone.nordicsemi.com/thread/54470?ContentTypeID=1</link><pubDate>Fri, 29 Jul 2016 06:52:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42c8dbe2-1584-452d-8181-e89781180da2</guid><dc:creator>zhouyu</dc:creator><description>&lt;p&gt;Thanks for your sharing. In addition to your answer, defining CONFIG_NFCT_PINS_AS_GPIOS which was found in system_nrf52.c would work as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO 10 (NFC pin) to drive SPI SCLK</title><link>https://devzone.nordicsemi.com/thread/54469?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2016 07:53:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbb566cd-12a4-433c-a3ca-cab8049e06c7</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;No problem, there were a few examples things using uicr_config.h but that didn&amp;#39;t work, so thought when I got a snippet that worked it&amp;#39;ll help. Such a great forum this is..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO 10 (NFC pin) to drive SPI SCLK</title><link>https://devzone.nordicsemi.com/thread/54468?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2016 07:48:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:897dd14f-1203-49d3-8215-617d91342674</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Thanks for sharing the solution with us.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO 10 (NFC pin) to drive SPI SCLK</title><link>https://devzone.nordicsemi.com/thread/54467?ContentTypeID=1</link><pubDate>Thu, 02 Jun 2016 23:30:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3c6717a-a5ed-43ff-9bb9-58a381ca5b0e</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;It was fighting with the pin next to it (a small short had developed.. such fine pitch components) so after all these changes and trying on a fresh board there was no problem.&lt;/p&gt;
&lt;p&gt;But the useful snippet for getting it into GPIO mode properly is well worth leaving here and the reboot required especially as when you flash these things it&amp;#39;s all reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>