<?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>I2C DTS Pin Numbers</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86499/i2c-dts-pin-numbers</link><description>In the DTS file for I2C, how do you set the port of the pin specified? 
 
 &amp;amp;i2c0 { compatible = &amp;quot;nordic,nrf-twi&amp;quot;; status = &amp;quot;okay&amp;quot;; sda-pin = &amp;lt;26&amp;gt;; scl-pin = &amp;lt;27&amp;gt;; }; 
 
 In my custom board, SDA is 1.07 and SCL is 0.20.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Apr 2022 13:05:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86499/i2c-dts-pin-numbers" /><item><title>RE: I2C DTS Pin Numbers</title><link>https://devzone.nordicsemi.com/thread/361243?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2022 13:05:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dcea539-cae1-4fcc-8443-cfa9239ea66d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Nick&lt;/p&gt;
&lt;p&gt;Simply add 32 for pins on port 1. In the case of P1.07 this becomes pin 32 + 7 = 39&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>