<?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>Help Needed: SPI Communication Between Two nRF5340 DK Boards (SDK v2.9.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121604/help-needed-spi-communication-between-two-nrf5340-dk-boards-sdk-v2-9-1</link><description>Hello community, 
 I&amp;#39;m currently working on setting up SPI communication between two nRF5340 DK boards , but I&amp;#39;m running into several issues. 
 
 
 SDK Version 2.9.1 : I couldn’t find any pre-existing SPI sample for this version. Is there an official</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 May 2025 14:58:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121604/help-needed-spi-communication-between-two-nrf5340-dk-boards-sdk-v2-9-1" /><item><title>RE: Help Needed: SPI Communication Between Two nRF5340 DK Boards (SDK v2.9.1</title><link>https://devzone.nordicsemi.com/thread/536670?ContentTypeID=1</link><pubDate>Thu, 22 May 2025 14:58:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c50e9e0-02b5-4327-9362-9d9385911a12</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you open the existing sample, or did you copy the sample?&lt;/p&gt;
&lt;p&gt;If you copy the sample, see this:&lt;/p&gt;
[quote user="Jared"]&lt;p&gt;Unfortunately, the samples in the nrfx folder won&amp;#39;t build outside of its folder without doing some modifications to it. That is due some dependencies of CMAKELIST.txt file. The easiest for testing this sample would be to either just build the application where it is, or start a new project and just copy main.c and add&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRFX_SPIM1&lt;/span&gt;&lt;span&gt;=y to the project config.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;Also, probably better to follow the Devacademy course on SPI as I mentioned in my last reply,&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help Needed: SPI Communication Between Two nRF5340 DK Boards (SDK v2.9.1</title><link>https://devzone.nordicsemi.com/thread/536325?ContentTypeID=1</link><pubDate>Wed, 21 May 2025 07:24:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10129f0c-9215-4529-ac92-92c493b4dc81</guid><dc:creator>Bayazid</dc:creator><description>&lt;p&gt;&lt;span&gt;Let me briefly explain my situation: I&amp;rsquo;m using&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Visual Studio Code&lt;/strong&gt;&lt;span&gt;&amp;nbsp;with the&amp;nbsp;&lt;/span&gt;&lt;strong&gt;nRF Connect extension&lt;/strong&gt;&lt;span&gt;. I selected the&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;code&gt;nrfx_spim&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;non-blocking&lt;/strong&gt;&lt;span&gt;&amp;nbsp;sample and added the following configuration line to my&amp;nbsp;&lt;/span&gt;&lt;code&gt;prj.conf&lt;/code&gt;&lt;span&gt;&amp;nbsp;file:&lt;/span&gt;&lt;span&gt;&lt;!--mce:protected %3C%21--ScriptorStartFragment--%3E--&gt;CONFIG_NRFX_SPIM1=y&amp;nbsp; &amp;nbsp;&lt;br /&gt;However, the build fails, even though I correctly selected the development kit and the overlay file in the build configuration.&lt;br /&gt;As for Zephyr, I haven&amp;rsquo;t made any changes to it&lt;br /&gt;&lt;!--mce:protected %3C%21--ScriptorEndFragment--%3E--&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help Needed: SPI Communication Between Two nRF5340 DK Boards (SDK v2.9.1</title><link>https://devzone.nordicsemi.com/thread/536254?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 14:32:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:200c5940-38f6-405f-8670-10a29633a300</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m assuming you tried to copy the sample?&lt;/p&gt;
&lt;p&gt;Unfortunately, the samples in the nrfx folder won&amp;#39;t build outside of its folder without doing some modifications to it. That is due some dependencies of CMAKELIST.txt file. The easiest for testing this sample would be to either just build the application where it is, or start a new project and just copy main.c and add&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRFX_SPIM1&lt;/span&gt;&lt;span&gt;=y to the project config.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Note that the samples are not using any Zephyr drivers. If you are planning to use this in a project then the example in our &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-5-serial-peripheral-interface-spi/"&gt;Devacademy &lt;/a&gt;is probably the best start. There we show you how to use the Zephyr API for SPI.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;best regards&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Jared&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help Needed: SPI Communication Between Two nRF5340 DK Boards (SDK v2.9.1</title><link>https://devzone.nordicsemi.com/thread/536251?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 14:26:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f3cd233-a62d-492a-b570-660a22a66bbb</guid><dc:creator>Bayazid</dc:creator><description>&lt;p&gt;&lt;strong&gt;I used version 3.0.0 during the build process with the target board&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;nrf5340dk/nrf5340/cpuapp&lt;/code&gt;, using the default Devicetree overlay (&lt;code&gt;board/nrf5340dk/nrf5340/cpuapp.overlay&lt;/code&gt;). However, the issue still persists.&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pastedimage1747732850426v1.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help Needed: SPI Communication Between Two nRF5340 DK Boards (SDK v2.9.1</title><link>https://devzone.nordicsemi.com/thread/536142?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 09:20:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6202c53-e9fe-4dee-9ed9-4fbf23f96f17</guid><dc:creator>Bayazid</dc:creator><description>&lt;p&gt;&lt;strong&gt;I used version 3.0.0 during the build process with the target board&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;nrf5340dk/nrf5340/cpuapp&lt;/code&gt;, using the default Devicetree overlay (&lt;code&gt;board/nrf5340dk/nrf5340/cpuapp.overlay&lt;/code&gt;). However, the issue still persists.&lt;/strong&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/pastedimage1747732850426v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help Needed: SPI Communication Between Two nRF5340 DK Boards (SDK v2.9.1</title><link>https://devzone.nordicsemi.com/thread/536103?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 07:53:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:457f64c8-3e91-47f1-aebc-06b23909b0ae</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The samples found at:&amp;nbsp;\v2.9.0\modules\hal\nordic\nrfx\samples\src\nrfx_spim is a good start for SPIM/SPIS samples,&lt;/p&gt;
&lt;p&gt;best regards&lt;br /&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>