<?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>Custom nrf52840 board (NOT the nRF52840DK), problems using pin 10 as GPIO (i.e. problems disabling NFC)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36957/custom-nrf52840-board-not-the-nrf52840dk-problems-using-pin-10-as-gpio-i-e-problems-disabling-nfc</link><description>Hi, 
 I am having problems with a custom board using pin 0.10 as GPIO. 
 I have added -DCONFIG_NFCT_PINS_AS_GPIOS to my makefile. Without that, as expected, I am unable to set pin 0.10. 
 When I do build with -DCONFIG_NFCT_PINS_AS_GPIOS , I am able to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Jul 2018 06:21:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36957/custom-nrf52840-board-not-the-nrf52840dk-problems-using-pin-10-as-gpio-i-e-problems-disabling-nfc" /><item><title>RE: Custom nrf52840 board (NOT the nRF52840DK), problems using pin 10 as GPIO (i.e. problems disabling NFC)</title><link>https://devzone.nordicsemi.com/thread/142044?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 06:21:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab91dde7-eb38-4a5f-9210-de6139a80667</guid><dc:creator>jeremysf</dc:creator><description>&lt;p&gt;Ok, so the footprint is fine, it looks like the example I copied it from had some bad&amp;nbsp;net names. Ugh!&lt;/p&gt;
&lt;p&gt;Still not sure how things were &amp;quot;partially&amp;quot; working, I must have set P1.09 somehow when debugging, but regardless, things are working great now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nrf52840 board (NOT the nRF52840DK), problems using pin 10 as GPIO (i.e. problems disabling NFC)</title><link>https://devzone.nordicsemi.com/thread/141998?ContentTypeID=1</link><pubDate>Mon, 30 Jul 2018 16:22:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cecaa76-e0cc-41fc-9361-94c0ce70c4d0</guid><dc:creator>jeremysf</dc:creator><description>&lt;p&gt;Oh, the comment about P1.10 got me thinking, and I checked the datasheet against my schematic and layout.&lt;/p&gt;
&lt;p&gt;i am using Autodesk EAGLE and the nRF52840 footprint from Nordic&amp;rsquo;s GitHub repository.&lt;/p&gt;
&lt;p&gt;Looking at my design in EAGLE, it appears several of the pins in that footprint are incorrect. What I routed to is actually P1.09 and not (as labeled in the Nordic provided EAGLE footprint) P0.10:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://eyrie.io/board/a8ad48a1be26430ca63f2aad44afaaaa?active=layout&amp;amp;x=31026&amp;amp;y=13078&amp;amp;w=12725&amp;amp;h=18222&amp;amp;flipped=false"&gt;eyrie.io/.../a8ad48a1be26430ca63f2aad44afaaaa&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I will check the actual PCB later today, but I&amp;rsquo;m hopeful because if so I can avoid re-spinning new boards.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m still trying to figure out how I saw any signal at all out of P1.09 (when I was trying to set P0.10).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nrf52840 board (NOT the nRF52840DK), problems using pin 10 as GPIO (i.e. problems disabling NFC)</title><link>https://devzone.nordicsemi.com/thread/141825?ContentTypeID=1</link><pubDate>Mon, 30 Jul 2018 07:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84078a41-8eee-4006-a50e-c578a4034d95</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;
[quote user=""]My&amp;nbsp;application is based on the ble_hrs app and stripped down pretty bare. I can&amp;#39;t find anything in config.h that&amp;nbsp;seems related to NFC or pin 0.10. Is there some kind of built-in&amp;nbsp;toggling of the NFC that happens in the softdevice to keep it from conflicting with BLE?[/quote]
&lt;p&gt;No, there is no relation between the softdevice and NFC.&lt;/p&gt;
[quote user=""]Is there something else I&amp;nbsp;should be&amp;nbsp;adding to my config.h, makefile, etc to force off NFC using pin 0.10? Any other ideas of things that could be modifying pin 0.10?[/quote]
&lt;p&gt;On a custom design, the only thing you need to do is to define&amp;nbsp;CONFIG_NFCT_PINS_AS_GPIOS, then use the pins P0.09 and P0.10 as you would normally. Since you&amp;#39;re using nrf52840; you did not route P1.10 instead of P0.10?&lt;/p&gt;
&lt;p&gt;There is one&amp;nbsp;more&amp;nbsp;step&amp;nbsp;you&amp;#39;ll need to do if using the nRF52-DK or nRF52840-DK, which is to move two 0-ohm resistors:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/development/nrf52840_pdk/hw_nfc_if.html?cp=2_0_3_7_12"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/development/nrf52840_pdk/hw_nfc_if.html?cp=2_0_3_7_12&lt;/a&gt;&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><item><title>RE: Custom nrf52840 board (NOT the nRF52840DK), problems using pin 10 as GPIO (i.e. problems disabling NFC)</title><link>https://devzone.nordicsemi.com/thread/141805?ContentTypeID=1</link><pubDate>Mon, 30 Jul 2018 05:42:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b0c2ad0-5f78-4996-81c7-16fbd07fc0ce</guid><dc:creator>jeremysf</dc:creator><description>&lt;p&gt;Well, now I can&amp;rsquo;t get any output on pin 10 at all. I can confirm that the UICR for the NFC is clear (ie. 0xfffffffe) but I see no output via scope or logic analyzer.&lt;/p&gt;
&lt;p&gt;I built the blinky sample with -DCONFIG_NFCT_PINS_AS_GPIOS and I can set adjacent pins but not pin 10 (my board does not have a trace for pin 9).&lt;/p&gt;
&lt;p&gt;I have no easy way to verify the solder joint on pin 10, but I did hot air and reseat the device, but still no output.&lt;/p&gt;
&lt;p&gt;I just ordered an nRF52840 eval board, which I will modify the NFC antenna resistors on, and see if I can get things working there.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://twitter.com/jeremysf/status/1023641614164488193?s=21"&gt;twitter.com/.../1023641614164488193&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>