<?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>Using P0.04, P0.05, P0.06, P0.07 for SPIM on NRF9160 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119337/using-p0-04-p0-05-p0-06-p0-07-for-spim-on-nrf9160-dk</link><description>I&amp;#39;ve been using the following SPI1M pins and they&amp;#39;ve been working: 
 
 
 But I have migrate away from these pins due to production PCB layout problems. The pins I need to use are P0.04, P0.05, P0.06, and P0.07 but when I switch over to these pins, my</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Mar 2025 13:25:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119337/using-p0-04-p0-05-p0-06-p0-07-for-spim-on-nrf9160-dk" /><item><title>RE: Using P0.04, P0.05, P0.06, P0.07 for SPIM on NRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/525987?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 13:25:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e161e66-b2b9-4cb9-9961-b9c29c6f5a91</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;
&lt;p&gt;Have you tried scoping the pins using a logic analyzer to see how they behave?&lt;/p&gt;
&lt;p&gt;By default, uart1 is used for TF-M logging, so you need to explicitly turn that off, as uarte1 is a shared peripheral with SPI1.&lt;/p&gt;
&lt;p&gt;Set this in prj.conf:&amp;nbsp;CONFIG_TFM_LOG_LEVEL_SILENCE=y&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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: Using P0.04, P0.05, P0.06, P0.07 for SPIM on NRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/525386?ContentTypeID=1</link><pubDate>Sun, 02 Mar 2025 02:48:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:281d0e12-3283-4fe2-8e36-9691de189728</guid><dc:creator>heisenbug</dc:creator><description>[quote userid="77062" url="~/f/nordic-q-a/119337/using-p0-04-p0-05-p0-06-p0-07-for-spim-on-nrf9160-dk/525288"]Did you flash it to the board controller by setting SW10 to nRF52?[/quote]
&lt;p&gt;Yes, I did.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not so much an error that I&amp;#39;m seeing but the SPI communication is not working. On the older pins it works fine but on 4,5,6,7 it&amp;#39;s not working. It&amp;#39;s not working even after flashing the nrf52 with the device tree changes I sent&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using P0.04, P0.05, P0.06, P0.07 for SPIM on NRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/525288?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2025 13:43:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39158b1c-3087-411b-b517-2536989e5f31</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Did you flash it to the board controller by setting SW10 to nRF52?&lt;/p&gt;
&lt;p&gt;What errors are you receiving that indicates that it does not work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using P0.04, P0.05, P0.06, P0.07 for SPIM on NRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/525185?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2025 03:02:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ef519ff-61af-42dc-901c-2423ae7fc13c</guid><dc:creator>heisenbug</dc:creator><description>&lt;p&gt;I added the following overlay to hello_world example, built if for nrf9160dk@1.1.3/nrf52840, and flashed it but my SPI still isn&amp;#39;t working&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;led1_pin_routing { status = &amp;quot;disabled&amp;quot;;}; // nrf9160 P0.02
&amp;amp;led2_pin_routing { status = &amp;quot;disabled&amp;quot;;}; // nrf9160 P0.03
&amp;amp;led3_pin_routing { status = &amp;quot;disabled&amp;quot;;}; // nrf9160 P0.04
&amp;amp;led4_pin_routing { status = &amp;quot;disabled&amp;quot;;}; // nrf9160 P0.05
&amp;amp;switch1_pin_routing { status = &amp;quot;disabled&amp;quot;;}; // nrf9160 P0.06
&amp;amp;switch2_pin_routing { status = &amp;quot;disabled&amp;quot;;}; // nrf9160 P0.07
&amp;amp;switch3_pin_routing { status = &amp;quot;disabled&amp;quot;;}; // nrf9160 P0.08
&amp;amp;switch4_pin_routing { status = &amp;quot;disabled&amp;quot;;}; // nrf9160 P0.09&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using P0.04, P0.05, P0.06, P0.07 for SPIM on NRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/524975?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 07:43:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8a4ab9b-73ec-4805-980b-3285694fcb2d</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The nRF9160DK has a &lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf9160_dk/page/UG/nrf91_DK/hw_description/nrf9160_board_controller.html"&gt;nRF52840 acting as a board controller&lt;/a&gt;&amp;nbsp;which means that LEDs and Buttons are controlled through this device. This is also explained in&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/boards/nordic/nrf9160dk/doc/index.html#board_controller_firmware"&gt;Board controller firmware under NCS nRF9160DK board files&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You will need to follow steps in the last link in order to make these pins available.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>