<?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>Configuring NRF NFC as I2C</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110041/configuring-nrf-nfc-as-i2c</link><description>I am having trouble reconfiguring NFC pins on NRF devices as an I2C interface. Following the I2C example (from here ), I was able to communicate with an I2C device on the nrf52dk, and I was able to change the pins in pinctrl.dtsi to modify which pins</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Apr 2024 13:08:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110041/configuring-nrf-nfc-as-i2c" /><item><title>RE: Configuring NRF NFC as I2C</title><link>https://devzone.nordicsemi.com/thread/478563?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 13:08:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4044b54-afe0-4a2c-88af-77fb0c81ee87</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Okay, glad to hear you seem to have figured it out. Let me know if there&amp;#39;s anything else we can do for you!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring NRF NFC as I2C</title><link>https://devzone.nordicsemi.com/thread/478408?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 22:38:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8699cc0f-7392-4fd7-a247-cae30cda6584</guid><dc:creator>wash</dc:creator><description>&lt;p&gt;Thanks for the update- I was able&amp;nbsp;to move those resistors, and ran Blinky on each pin-&amp;nbsp;P0.10 was only hitting 0.6V when high. I retried the I2C connection using P0.09 and P0.12, and it worked, indicating that the config option was working as intended. I then tried the same blink exercise on my custom board - P0.09 wasn&amp;#39;t working correctly. Tried a different board than my main test PCB and it worked like a charm. Seems like I was dealing with a bad/fried connection on both the DK and my custom board. Thanks for the help working through this!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring NRF NFC as I2C</title><link>https://devzone.nordicsemi.com/thread/477980?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 08:52:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ad52fec-240b-4b00-9492-754944374833</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Okay, one thing we might have missed. To use the P0.09 and P0.10 as GPIOs on the nRF52832 DK, you will need to change the following on the DK itself:&amp;nbsp;&lt;strong&gt;R25 and R26 must be not connected (NC) and R27 and R28 must be shorted with an OR resistor.&lt;/strong&gt; By default, this is inversed, so moving the resistors on R25 and R26 to R27 and R28 should be sufficient. The other thing I can think of is that you need to do a pristine build after making changes to overlay files/configs in your NCS application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring NRF NFC as I2C</title><link>https://devzone.nordicsemi.com/thread/477847?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2024 14:01:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f548652c-a61b-4fba-a33e-2d77bcd0176a</guid><dc:creator>wash</dc:creator><description>&lt;p&gt;Yes, I added &amp;quot;&lt;strong&gt;nfct-pins-as-gpios&amp;quot;&lt;/strong&gt; to &amp;amp;uicr in nrf52dk_nrf52832.dts, as the &amp;quot;&lt;strong&gt;gpio-as-nreset&lt;/strong&gt;&amp;quot; parameter was already there. I also tried adding it to the corresponding overlay file, &lt;span&gt;nrf52dk_nrf52832.overlay&lt;/span&gt;, without success. I2C fails with return value -5. And yes, I have two build configurations, one for each SoC- I have code running on both, it&amp;#39;s just the I2C on the NFC pins that&amp;#39;s been the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring NRF NFC as I2C</title><link>https://devzone.nordicsemi.com/thread/477793?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2024 12:03:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48b953fb-8b11-4255-bb7b-d7d5469e943d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you confirm what .dts/overlay file you have set the &lt;strong&gt;nfct-pins-as-gpios&lt;/strong&gt; in, and confirm that it is as the following:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;strong&gt;&amp;amp;uicr {&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp; nfct-pins-as-gpios;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;};&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;Also, what return value does the WHO-AM-I register fail with? That might point us in the direction with an error code. Lastly, I see that you mention both the nRF52833 and nRF52832 SoCs. I assume you are initially trying to build and run this sample on the nRF52832 DK with the&amp;nbsp;nrf52dk_nrf52832 board as the build target? If so, add the &lt;strong&gt;nfct-pins-as-gpios&lt;/strong&gt;; as a .overlay file to your project to correctly use the NFC pins as GPIOS.&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>