<?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>Pin Numbers on the nRF5340-QKAA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66485/pin-numbers-on-the-nrf5340-qkaa</link><description>Good morning Nordic, 
 
 I am trying to configure the I2C pins for our board (using nRF5340-QKAA SoC) but I cannot find the pin numbers for I2C_SDA and I2C_SCL. 
 All I could find in OPS_v0.6.1 is a reference to pin labelled 
 P0.02 -&amp;gt; W1 
 P0.03 -&amp;gt; AA1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Oct 2020 10:32:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66485/pin-numbers-on-the-nrf5340-qkaa" /><item><title>RE: Pin Numbers on the nRF5340-QKAA</title><link>https://devzone.nordicsemi.com/thread/272477?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 10:32:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e31f790-b16f-4bc7-820d-a188a75d2f66</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for confusing answer previously, happy to hear that I managed to make myself understood in the end.&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin Numbers on the nRF5340-QKAA</title><link>https://devzone.nordicsemi.com/thread/272446?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 08:15:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:172134fa-436d-43f3-a7c8-04e7515d6c55</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;Thank you Andreas.&lt;/p&gt;
&lt;p&gt;This is a much clearer answer. I don&amp;#39;t think I&amp;#39;ve seen this mentioned&amp;nbsp;anywhere in the documentation. Is it?&lt;/p&gt;
&lt;p&gt;Your earlier answer (shown below) was unclearer hence my follow-up questions.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;quot;This number is just the GPIO number, e.g. if you have SCK on P0.13, the you just write &amp;lt;13&amp;gt;.&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We got there at the end.&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f609.svg" title="Wink"&gt;&amp;#x1f609;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin Numbers on the nRF5340-QKAA</title><link>https://devzone.nordicsemi.com/thread/272443?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 08:04:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1e658a6-7c16-45c9-8edc-fdd9360b8d5b</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Assume SCK is on Px.y, then you shall enter &lt;span&gt;sck-pin = &amp;lt;&lt;/span&gt;32*x+y&amp;gt; in the dts file. For P1.13 this is sck-pin=32*1+13 = 45.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin Numbers on the nRF5340-QKAA</title><link>https://devzone.nordicsemi.com/thread/272434?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 07:41:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15bf715d-ebcf-4b0b-8f9b-a23ab89d7a4d</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;But in the .dts file we do not mention which port the pin is on. We just put a number for the pin.&lt;/p&gt;
&lt;p&gt;If I did not misunderstand, you said if the sck is on P0.13 just put sck-pin = &amp;lt;13&amp;gt; in the .dts file.&lt;/p&gt;
&lt;p&gt;Extrapolating this I would then, if sck is on P1.13 just put sck-pin = &amp;lt;13&amp;gt; in the .dts file.&lt;/p&gt;
&lt;p&gt;So, how the Device Tree be able to distinguish between pin 13 on P0 and pin 13 on P1?&lt;/p&gt;
&lt;p&gt;Please clarify your answer.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;Mohamed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin Numbers on the nRF5340-QKAA</title><link>https://devzone.nordicsemi.com/thread/272408?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 06:16:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22bc9327-bc1c-4ac8-8abe-6f4303f160ca</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;P1.13 is another way of writing P0.(32+13), just write 45 or respective number in the overlay file.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin Numbers on the nRF5340-QKAA</title><link>https://devzone.nordicsemi.com/thread/272096?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 14:13:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec924be3-e7cc-4bd6-afd3-689943fc14d6</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;Thank you Andreas,&lt;/p&gt;
&lt;p&gt;Hmm! How does the build environment distinguish whether we meant to say P0.13 or P1.13?&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;Mohamed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin Numbers on the nRF5340-QKAA</title><link>https://devzone.nordicsemi.com/thread/272072?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 13:01:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:660ec479-896b-4573-91a9-477b8c2ec221</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This number is just the GPIO number, e.g. if you have SCK on P0.13, the you just write &amp;lt;13&amp;gt;. You can read more about this in our &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-3-ncs-v1-3-0#h106sk0f715emkxnocjky573nwm57fv"&gt;nRF Connect SDK tutorial&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin Numbers on the nRF5340-QKAA</title><link>https://devzone.nordicsemi.com/thread/272016?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 10:16:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:464b6eab-30ce-46fc-bff1-ea7211750558</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;Thank you Andreas.&lt;/p&gt;
&lt;p&gt;Unfortunately, unless I am missing something, my answer remains unanswered. The two links you sent still show pins labelled as L1, C1 etc... but I need a real number. I expected the pins to be numbered in a continuous manner from 1,2,3,... to 98 or whatever the number of pins on the chip. This is in order to be able to use them in the .dts file e.g.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;amp;spi2 {&lt;br /&gt; compatible = &amp;quot;nordic,nrf-spim&amp;quot;;&lt;br /&gt; status = &amp;quot;okay&amp;quot;;&lt;br /&gt; &lt;strong&gt;sck-pin = &amp;lt;13&amp;gt;;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; miso-pin = &amp;lt;40&amp;gt;;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; mosi-pin = &amp;lt;9&amp;gt;;&lt;/strong&gt;&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;Looking forward to your answer.&lt;/p&gt;
&lt;p&gt;Mohamed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin Numbers on the nRF5340-QKAA</title><link>https://devzone.nordicsemi.com/thread/272004?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 09:24:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bad8a07-4da8-42ef-b7cb-f6180dc3d0a9</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;See the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/pin.html?cp=3_0_0_8_0_0#aqfn94"&gt;pin assignments section in the PS&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can also find this through the &lt;a href="https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF5340/Downloads#infotabs"&gt;reference layout&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>