<?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>Printing SPI pin configuration from register on ncs v2.4.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105612/printing-spi-pin-configuration-from-register-on-ncs-v2-4-2</link><description>I can use the following register to print I2C pin configuration on nRF5340 DK. Is it possible to print SPI pin configuration from register.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Nov 2023 12:14:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105612/printing-spi-pin-configuration-from-register-on-ncs-v2-4-2" /><item><title>RE: Printing SPI pin configuration from register on ncs v2.4.2</title><link>https://devzone.nordicsemi.com/thread/455281?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2023 12:14:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6225b305-cbeb-4137-8596-11cd41b8914d</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Have you tried to do the same just with SPI instead? You will get the value in hex format&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;	printk(&amp;quot;SPI SCL %d\n&amp;quot;, NRF_SPI0-&amp;gt;PSEL.SCK);
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1699877543288v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1699877635599v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I tested with QSPI, but its the same logic.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>