<?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>SPIM4 Configuration Issues with NRF5340dk board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123983/spim4-configuration-issues-with-nrf5340dk-board</link><description>Hi all, I&amp;#39;m trying to enable the SPIM4 peripheral on the dedicated high-speed pins (P0.08 SCK, P0.09 MISO, P0.10 MOSI, P0.11 CS) on the nRF5340DK, but I&amp;#39;m seeing no activity at all on my logic analyzer. Background: My goal is to connect an external ADC</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Jan 2026 06:22:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123983/spim4-configuration-issues-with-nrf5340dk-board" /><item><title>RE: SPIM4 Configuration Issues with NRF5340dk board</title><link>https://devzone.nordicsemi.com/thread/559427?ContentTypeID=1</link><pubDate>Fri, 23 Jan 2026 06:22:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61389327-83f3-4083-8b00-983351e63d90</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Check hardware docs or the DK backside - P0.10 is CTS from the debug interface MCU.&lt;/p&gt;
&lt;p&gt;You have 2 outputs fighting each other.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM4 Configuration Issues with NRF5340dk board</title><link>https://devzone.nordicsemi.com/thread/559424?ContentTypeID=1</link><pubDate>Fri, 23 Jan 2026 02:58:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0acce3c-bc8b-4ac3-8d9c-85825476c1c7</guid><dc:creator>vibai</dc:creator><description>&lt;p class="isSelectedEnd"&gt;&lt;span&gt;Hi Vidar,&lt;/span&gt;&lt;/p&gt;
&lt;p class="isSelectedEnd"&gt;&lt;span&gt;I hope you&amp;rsquo;re doing well. I had to pause this development effort for a bit, but I&amp;rsquo;ve recently picked it back up.&lt;/span&gt;&lt;/p&gt;
&lt;p class="isSelectedEnd"&gt;&lt;span&gt;While running the exact script you shared on my nRF5340DK board, I noticed something unexpected: pin P0.10 only reaches about 1.5 V, whereas the other pins (P0.09, P0.08, and P0.11) reach the expected 3 V. I also cut the solder bridge (SB50) associated with P0.10 based on your suggestion due to the automatic HWFC detection issues, but that didn&amp;rsquo;t seem to improve the behavior.&lt;/span&gt;&lt;/p&gt;
&lt;p class="isSelectedEnd"&gt;&lt;span&gt;This issue appears to be unique to P0.10. When I moved the same logic to a different pin, it reached 3V as expected. I also don&amp;rsquo;t believe this is a bus conflict, since the code you shared explicitly disables any other buses P0.10. I&amp;rsquo;ve observed the same behavior on a second board as well, which makes me suspect there may be a configuration detail I&amp;rsquo;m missing or something fundamentally different about this pin that I&amp;rsquo;m not accounting for.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you have any ideas on what might be causing this? I&amp;rsquo;ve attached a logic analyzer capture for reference. Thank you!&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1769137062367v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM4 Configuration Issues with NRF5340dk board</title><link>https://devzone.nordicsemi.com/thread/547259?ContentTypeID=1</link><pubDate>Mon, 01 Sep 2025 06:37:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32378192-ccd3-459f-a44c-e80e74eb7423</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;m glad to hear that you found the problem.&lt;/p&gt;
[quote user="vibai"]One thing I did notice: on a board where I had cut the solder bridge for the RTS signal, P0.10 measured at a little under half of the expected voltage (~1.3 V) compared to the ~3.0 V seen on the other pins. When I swapped to a new board (with the solder bridges intact), the problem went away. Out of curiosity, do you happen to have any idea what could be causing that behavior?[/quote]
&lt;p&gt;I&amp;#39;m not sure what the reason for this could be, unfortunately. It depends&amp;nbsp;on what&amp;nbsp;the pin state was when you measured the voltage. If it was configured as an output and&amp;nbsp;kept high (no toggling), then it could potentially be a hardware issue, such as a blown ESD diode. But this seems less likely.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM4 Configuration Issues with NRF5340dk board</title><link>https://devzone.nordicsemi.com/thread/547226?ContentTypeID=1</link><pubDate>Fri, 29 Aug 2025 22:45:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:194f8649-8eb5-43fb-a57c-fec86db93ad9</guid><dc:creator>vibai</dc:creator><description>&lt;p data-start="119" data-end="130"&gt;Hi Vidar,&lt;/p&gt;
&lt;p data-start="132" data-end="382"&gt;Thanks for running that test and sharing the details. After double-checking, I realized the issue was on my end, I was using the wrong pinout. With the corrected assignments, I was able to reproduce the same behavior you showed using your test code.&lt;/p&gt;
&lt;p data-start="384" data-end="725"&gt;One thing I did notice: on a board where I had cut the solder bridge for the RTS signal, P0.10 measured at a little under half of the expected voltage (~1.3 V) compared to the ~3.0 V seen on the other pins. When I swapped to a new board (with the solder bridges intact), the problem went away. Out of curiosity, do you happen to have any idea what could be causing that behavior?&lt;br /&gt;&lt;br /&gt;Thanks again for your help! It is very much appreciated!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM4 Configuration Issues with NRF5340dk board</title><link>https://devzone.nordicsemi.com/thread/547155?ContentTypeID=1</link><pubDate>Fri, 29 Aug 2025 08:48:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9de9f886-6bb2-46aa-ae40-1466418b2e26</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The physical connections shown in the linked picture do not match your pin assignments. Perhaps you uploaded the wrong picture? In any case, I made a simple test to check if the pins are available on the DK.&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/pastedimage1756454025810v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Log trace from my test&amp;nbsp;&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/pastedimage1756454123827v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Test project&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3731.gpio_5F00_test.zip"&gt;devzone.nordicsemi.com/.../3731.gpio_5F00_test.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;NOTE: Not shown here, but P0.10/RTS was sometimes pulled low by the interface MCU because of automatic HWFC detection failing. As mentioned in the user guide, the UART lines are supposed to be tri-stated&amp;nbsp; when no terminal is connected. To make this more reliable you may need to cut the solder bridge for the RTS signal (&lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf5340_dk/page/UG/dk/solder_bridge.html"&gt;https://docs.nordicsemi.com/bundle/ug_nrf5340_dk/page/UG/dk/solder_bridge.html&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM4 Configuration Issues with NRF5340dk board</title><link>https://devzone.nordicsemi.com/thread/547111?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2025 18:10:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b6522a7-16df-4041-9cac-f9d8be09aa76</guid><dc:creator>vibai</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m still seeing the same results after disabling buttons 2 and 3 in the overlay. Based on &lt;a href="https://devzone.nordicsemi.com/members/turboj"&gt;Turbo J&lt;/a&gt;&amp;nbsp;advice, I took a closer look at the generated DTS and noticed that the &lt;code data-start="244" data-end="254"&gt;gpio_fwd&lt;/code&gt; node is using pins P0.10 and P0.11 as forwarding pins, which are also used by &lt;code data-start="333" data-end="340"&gt;uart1&lt;/code&gt;. So in addition with those buttons, the gpio_fwd nodes, and uart1 node I made sure to set them to disabled, and verified that it was reflected In the final device tree. However, I am still observing&amp;nbsp;the same behavior where nothing shows up on the logic analyzer.&lt;/p&gt;
&lt;p&gt;My new overlay file:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
	aliases {
		spi-loopback = &amp;amp;spi4;
	};
};
&amp;amp;pinctrl {
    spi4_default: spi4_default { 
        group1 {
            psels = &amp;lt;NRF_PSEL(SPIM_SCK, 0, 8)&amp;gt;,   
                    &amp;lt;NRF_PSEL(SPIM_MOSI, 0, 10)&amp;gt;,  
                    &amp;lt;NRF_PSEL(SPIM_MISO, 0, 9)&amp;gt;;  

        };
    };

    spi4_sleep: spi4_sleep {
         group1 {
            psels = &amp;lt;NRF_PSEL(SPIM_SCK, 0, 8)&amp;gt;,   
                    &amp;lt;NRF_PSEL(SPIM_MOSI, 0, 10)&amp;gt;,  
                    &amp;lt;NRF_PSEL(SPIM_MISO, 0, 9)&amp;gt;;  
            low-power-enable; 
        };
    };
};

&amp;amp;spi4 {
	compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;spi4_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;spi4_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
	cs-gpios = &amp;lt;&amp;amp;gpio0 11 GPIO_ACTIVE_LOW&amp;gt;;

};

&amp;amp;arduino_adc{
    status=&amp;quot;disabled&amp;quot;;
};
&amp;amp;led0 {
    status = &amp;quot;disabled&amp;quot;;
};

&amp;amp;led1 {
    status = &amp;quot;disabled&amp;quot;;
};

&amp;amp;led2 {
    status = &amp;quot;disabled&amp;quot;;
};

&amp;amp;led3 {
    status = &amp;quot;disabled&amp;quot;;
};
&amp;amp;qspi{
    status = &amp;quot;disabled&amp;quot;;
};
&amp;amp;button2{
    status=&amp;quot;disabled&amp;quot;;
};
&amp;amp;button3{
    status=&amp;quot;disabled&amp;quot;;
};
&amp;amp;gpio_fwd{
    status=&amp;quot;disabled&amp;quot;;
};
&amp;amp;uart1 {
    status=&amp;quot;disabled&amp;quot;;
};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Heres a link to the screen shot of my physical pinout:&amp;nbsp;&lt;a href="https://drive.google.com/file/d/1vywf89Gycv5pGu2_Q8RmEkynTL14meVo/view?usp=sharing"&gt;drive.google.com/.../view&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM4 Configuration Issues with NRF5340dk board</title><link>https://devzone.nordicsemi.com/thread/547090?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2025 13:20:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af97752c-ce24-4566-8f67-535ebe83ceba</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;From the silkscreen on the backside of the DK, you can see that P0.08–P0.09 are assigned to buttons 3 and 4, P0.10 to the UART RTS signal, and P0.11 to SWO (&lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf5340_dk/page/UG/dk/vir_com_port.html"&gt;Virtual serial ports&lt;/a&gt;, &lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf5340_dk/page/UG/dk/hw_buttons_leds.html"&gt;Buttons and LEDs&lt;/a&gt;). Out of these, I think it&amp;#39;s only the RTS signal that may be problematic since it&amp;#39;s connected to the interface MCU.&amp;nbsp; Do you see the same if you disable button 2 and 3 in your overlay?&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;button2 {
    status = &amp;quot;disabled&amp;quot;;
};
&amp;amp;button3 {
    status = &amp;quot;disabled&amp;quot;;
};&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;Best regards,&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM4 Configuration Issues with NRF5340dk board</title><link>https://devzone.nordicsemi.com/thread/547004?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2025 06:24:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4fade63-0fda-4c27-bc91-f9ade4f9c6f6</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Look at the finished dts files in build/zephyr sub directories - a bunch of these pins are used elsewhere in the DK or may even be forwarded to the net core by default. The DTS parsers don&amp;#39;t catch all possible mistakes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>