<?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>NCS1.8 how to change the SPI1 pins?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84630/ncs1-8-how-to-change-the-spi1-pins</link><description>Hello, 
 NCS1.8.0 Windows10 X64; 
 spi_loopback test,default code default pins;it is ok. 
 when i change the SPI_1 pins ， 
 Failed to achieve the effect, still used the original pins. 
 
 
 
 
 thanks 
 Best Regards 
 yuyou</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Feb 2022 01:14:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84630/ncs1-8-how-to-change-the-spi1-pins" /><item><title>RE: NCS1.8 how to change the SPI1 pins?</title><link>https://devzone.nordicsemi.com/thread/353488?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 01:14:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97820555-2429-4a92-8982-c05e9ba8eb74</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;&lt;span style="font-size:150%;"&gt;thanks,Simon&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;i&amp;#39;ve got it,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;It&amp;#39;s a little difficult from SDK to NCS.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.8 how to change the SPI1 pins?</title><link>https://devzone.nordicsemi.com/thread/353338?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 12:02:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5bf3527-3caa-4768-9935-015fe6b6c448</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Building an NCS/Zephyr project happens in two phases:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/guides/build/index.html#configuration-phase"&gt;Configuration phase&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;This is driven by CMake and will go through all the Kconfigs, prj.conf, .dts and .overlay files and generate the ninja files&lt;/li&gt;
&lt;li&gt;If you change the prj.conf or .overlay file, you need to run this&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/guides/build/index.html#build-phase"&gt;Build phase&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;This is driven by ninja and will only see the changes done to the .c/.h files&lt;/li&gt;
&lt;li&gt;If you change fore example main.c it is enough to run this&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When you rebuild the project in SES, it will only run the Build phase, check out the ticket&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/69302/segger-embedded-studio-nordic-edition-for-ncs-doesn-t-update-config-for-modified-prj-conf"&gt;SEGGER Embedded Studio Nordic Edition for NCS doesn&amp;#39;t update .config for modified prj.conf&lt;/a&gt;&amp;nbsp;to see how to run configuration phase+build phase.&lt;/p&gt;
&lt;p&gt;However, you did say that you reloaded the project, so it&amp;#39;s strange that it didn&amp;#39;t work then&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.8 how to change the SPI1 pins?</title><link>https://devzone.nordicsemi.com/thread/353273?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 08:40:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ce5d6ff-aaa0-4df2-b585-c1426f4ac7fb</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;&lt;span&gt;Hellow, &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks&amp;nbsp;Simon.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;this is the&amp;nbsp;answer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;created file nrf52840dk_nrf52840.overlay as follow pic:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;SES&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;reload project and rebuild, it still runing whit old pin.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;it means&amp;nbsp;nrf52840dk_nrf52840.overlay&amp;nbsp;not used.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but,when i delete folder&amp;nbsp;build_nrf52840dk_nrf52840&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and recreated,the pin had changed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;VS CODE&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;build it will changed.not need delete folder and recreate.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/568x503/__key/communityserver-discussions-components-files/4/pastedimage1644978862392v6.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.8 how to change the SPI1 pins?</title><link>https://devzone.nordicsemi.com/thread/353221?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 02:37:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:976231e6-5e61-474e-b6a0-02a0583e0c55</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;&lt;span style="font-size:150%;"&gt;Hi，Simon&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;thanks for reply.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;i created file nrf52840dk_nrf52840.overlay as follow:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;i connect&amp;nbsp; P1.13 to P1.14,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;reload project and rebuild, it still runing whit old pin.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;it means&amp;nbsp;&lt;span&gt;nrf52840dk_nrf52840.overlay&amp;nbsp;not used.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;font-size:150%;"&gt;but,when i delete folder&amp;nbsp;build_nrf52840dk_nrf52840&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;font-size:150%;"&gt;and recreated,the pin had changed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-size:150%;"&gt;I don&amp;#39;t know why, it&amp;#39;s too much trouble.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/568x503/__key/communityserver-discussions-components-files/4/pastedimage1644978862392v6.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/497x230/__key/communityserver-discussions-components-files/4/pastedimage1644975230264v2.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;Best Regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.8 how to change the SPI1 pins?</title><link>https://devzone.nordicsemi.com/thread/352991?ContentTypeID=1</link><pubDate>Tue, 15 Feb 2022 00:35:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92b95bc6-f6e4-432a-a8f6-8837e27f957d</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;You should&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;not&lt;/strong&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;modify zephyr.dts, that will have no effect on the running program. If you read&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/guides/build/index.html#configuration-phase"&gt;Build System --&amp;gt; Configuration Phase&lt;/a&gt;&amp;nbsp;you will see that Zephyr.dts is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;not&lt;/span&gt;&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;used by application and is only meant for debugging, however, the content in the header files devicetree_unfixed.h (located in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;\zephyr\tests\drivers\spi\spi_loopback\&amp;lt;build folder&amp;gt;\zephyr\include\generated\devicetree_unfixed.h&lt;/em&gt;) and devicetree.h (located in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;\zephyr\include\devicetree.h&lt;/em&gt;) is&amp;nbsp;seen and will be used by your application. But you should&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;not&lt;/strong&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;modify&amp;nbsp;&lt;span&gt;devicetree_unfixed.h&amp;nbsp;or devicetree.h either. &lt;strong&gt;The correct way to do it is to add the content to an overlay file of the name &amp;lt;board name&amp;gt;.overlay&lt;/strong&gt; (see set&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/zephyr/guides/dts/howtos.html#set-devicetree-overlays"&gt;devicetree overlays&lt;/a&gt;&amp;nbsp;for other options) and put the content in there.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/0172.asdf.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="font-size:150%;text-decoration:underline;"&gt;&lt;strong&gt;Do the following to modify the Device Tree (DTS):&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;Create a file named&amp;nbsp;&lt;strong&gt;nrf52840dk_nrf52840.overlay&lt;/strong&gt;&amp;nbsp;(if you use a different board, for example nrf52dk_nrf52832, set it to nrf52dk_nrf52832.overlay) inside&amp;nbsp;\zephyr\tests\drivers\spi\spi_loopback and add the following content:&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi1 {
    compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
    status = &amp;quot;okay&amp;quot;;
    mosi-pin = &amp;lt; 30 &amp;gt;; //0x1e in hex
};

&amp;amp;spi2 {
	status = &amp;quot;disabled&amp;quot;;
};

&amp;amp;qspi {
	status = &amp;quot;disabled&amp;quot;;
};&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;Delete build folder spi_loopback/&amp;lt;build folder&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Build again
&lt;ul&gt;
&lt;li&gt;west build -b nrf52840dk_nrf52840&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Check the output in spi_loopback/&amp;lt;build folder&amp;gt;/zephyr/zephyr.dts, and you will see that spi2 and qspi is disabled and that spi1 mosi uses the pin 30 (0x1e)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.8 how to change the SPI1 pins?</title><link>https://devzone.nordicsemi.com/thread/352775?ContentTypeID=1</link><pubDate>Sun, 13 Feb 2022 03:52:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f633002c-b7a4-4cbd-a964-905aec9f903b</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;&lt;span style="font-size:150%;"&gt;Hello,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;i&amp;#39;ve&amp;nbsp;disabled QSPI and SPI2.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/423x401/__key/communityserver-discussions-components-files/4/pastedimage1644722536090v1.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/422x224/__key/communityserver-discussions-components-files/4/pastedimage1644722567496v2.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;when i change it to 0x1e,and&amp;nbsp;disabled others,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;the same using old pin.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/362x181/__key/communityserver-discussions-components-files/4/pastedimage1644723081269v3.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/363x361/__key/communityserver-discussions-components-files/4/pastedimage1644723162593v4.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;when i only change&amp;nbsp;label = &amp;quot;SPI_9&amp;quot; in file zephyr.dts,&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-size:150%;"&gt;#define CONFIG_SPI_LOOPBACK_DRV_NAME &amp;quot;SPI_3&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size:150%;"&gt;it is still runing spi3.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size:150%;"&gt;so, i think&amp;nbsp; modifying anything in zephyr. dts doesn&amp;#39;t work.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size:150%;"&gt;i do not know how to change it or change it somewhere.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size:150%;"&gt;SDK17 is easy change pin, but NCS1.8 no way.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size:150%;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;Best Regards&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.8 how to change the SPI1 pins?</title><link>https://devzone.nordicsemi.com/thread/352769?ContentTypeID=1</link><pubDate>Sat, 12 Feb 2022 18:31:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:847e86d9-90f6-4ffa-994b-d2d610ac8693</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;The reason it won&amp;#39;t work using P0.20 is because it is connected to the SIO (DIO) on the QSPI as mentioned in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/59566/gpio-digital-output-not-working/242071#242071"&gt;this reply&lt;/a&gt;. In order to use P0.20, you need to cut SB12 and short SB22, take a look at nRF52840 DK--&amp;gt;&lt;a title="External memory" href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/dk/hw_external_memory.html?cp=4_0_4_7_4"&gt;External memory&lt;/a&gt;:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7026.pastedimage1644690678212v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.8 how to change the SPI1 pins?</title><link>https://devzone.nordicsemi.com/thread/352748?ContentTypeID=1</link><pubDate>Sat, 12 Feb 2022 02:19:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ccfc592-1aed-4c1b-80c3-d3c3c96318b5</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;&lt;span style="font-size:150%;"&gt;Hello,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;thanks for reply,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;i delete project,reset get project form NCS1.8.0,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;default code&amp;nbsp;&lt;span style="color:#0000ff;"&gt;#define CONFIG_SPI_LOOPBACK_DRV_NAME &amp;quot;SPI_3&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;only change SPI_3 pins,(mosi-pin to 20)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;It seems that &lt;span&gt;zephyr.dts&amp;nbsp;&lt;/span&gt;has not been accepted, even if both files are modified at the same time.&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:150%;"&gt;reload and recompile, but it still use the old pins.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/666x308/__key/communityserver-discussions-components-files/4/pastedimage1644631208545v1.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/655x354/__key/communityserver-discussions-components-files/4/pastedimage1644631637422v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/511x438/__key/communityserver-discussions-components-files/4/pastedimage1644631293608v2.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/484x289/__key/communityserver-discussions-components-files/4/pastedimage1644631324044v3.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/642x323/__key/communityserver-discussions-components-files/4/pastedimage1644631961537v10.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;Best Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;yuyou&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.8 how to change the SPI1 pins?</title><link>https://devzone.nordicsemi.com/thread/352717?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2022 18:22:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27756979-4934-4061-a0bb-643aab9bcf45</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I was able to use spi1 with&amp;nbsp;\zephyr\tests\drivers\spi\spi_loopback\nrf52840dk_nrf52840.overlay after applying these changes:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;diff --git a/tests/drivers/spi/spi_loopback/boards/nrf52840dk_nrf52840.conf b/tests/drivers/spi/spi_loopback/boards/nrf52840dk_nrf52840.conf
index 10b6dafdb8..b824187b8f 100644
--- a/tests/drivers/spi/spi_loopback/boards/nrf52840dk_nrf52840.conf
+++ b/tests/drivers/spi/spi_loopback/boards/nrf52840dk_nrf52840.conf
@@ -1,7 +1,7 @@
-CONFIG_SPI_3_NRF_ORC=0x00
-CONFIG_SPI_3_NRF_RX_DELAY=1
+CONFIG_SPI_1_NRF_ORC=0x00
+#CONFIG_SPI_1_NRF_RX_DELAY=1
 
-CONFIG_SPI_LOOPBACK_DRV_NAME=&amp;quot;SPI_3&amp;quot;
+CONFIG_SPI_LOOPBACK_DRV_NAME=&amp;quot;SPI_1&amp;quot;
 CONFIG_SPI_LOOPBACK_CS_GPIO=y
 CONFIG_SPI_LOOPBACK_CS_CTRL_GPIO_DRV_NAME=&amp;quot;GPIO_0&amp;quot;
 CONFIG_SPI_LOOPBACK_CS_CTRL_GPIO_PIN=28
diff --git a/tests/drivers/spi/spi_loopback/nrf52840dk_nrf52840.overlay b/tests/drivers/spi/spi_loopback/nrf52840dk_nrf52840.overlay
new file mode 100644
index 0000000000..059b380903
--- /dev/null
+++ b/tests/drivers/spi/spi_loopback/nrf52840dk_nrf52840.overlay
@@ -0,0 +1,10 @@
+&amp;amp;spi1 {
+    compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
+    status = &amp;quot;okay&amp;quot;;
+    miso-pin = &amp;lt; 0x2e &amp;gt;;
+    mosi-pin = &amp;lt; 0x2d &amp;gt;;
+};
+
+&amp;amp;spi3 {
+    status = &amp;quot;disabled&amp;quot;;
+};
\ No newline at end of file
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>