<?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>NRF5340 spi-master and spi-slave communication issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99246/nrf5340-spi-master-and-spi-slave-communication-issues</link><description>NRF5340, V2.3.0, UBUNTU20.04, VSCODE. 
 Hi Nordic, 
 I have a product that needs to use nrf5340&amp;#39;s spim -&amp;gt;spis for data transmission, so 
 I validated the demo code (v2.3.0/modules/hal/nordic/nrfx/samples/src/nrfx_spim_spis), It is indeed possible to achieve</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Sep 2023 18:52:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99246/nrf5340-spi-master-and-spi-slave-communication-issues" /><item><title>RE: NRF5340 spi-master and spi-slave communication issues</title><link>https://devzone.nordicsemi.com/thread/445211?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2023 18:52:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ede14ee8-fede-4dbc-b858-9ea7c9ea9fda</guid><dc:creator>darby</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m building your project. Can you let me know where I should put the above modifications? Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 spi-master and spi-slave communication issues</title><link>https://devzone.nordicsemi.com/thread/425253?ContentTypeID=1</link><pubDate>Fri, 12 May 2023 08:50:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f98d924-13a9-4d3a-8f9a-a9e4727684ac</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Good, I&amp;#39;m happy that it helped!&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll mark this case as solved then!&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 spi-master and spi-slave communication issues</title><link>https://devzone.nordicsemi.com/thread/425214?ContentTypeID=1</link><pubDate>Fri, 12 May 2023 04:01:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8dcff4a-ef37-43a6-9a4f-75a41c50f4f1</guid><dc:creator>guomingyi</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s very helpful to me,thanks for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 spi-master and spi-slave communication issues</title><link>https://devzone.nordicsemi.com/thread/424795?ContentTypeID=1</link><pubDate>Wed, 10 May 2023 10:47:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:056eeb17-0144-4f64-b1f5-c5f21b65fbcc</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Here is working example,&lt;/p&gt;
&lt;p&gt;Screenshot from logic analyzer as proof:&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/pastedimage1683715639330v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrfx_5F00_spis_5F00_cus.7z"&gt;devzone.nordicsemi.com/.../nrfx_5F00_spis_5F00_cus.7z&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrfx_5F00_spim_5F00_cus.7z"&gt;devzone.nordicsemi.com/.../nrfx_5F00_spim_5F00_cus.7z&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 spi-master and spi-slave communication issues</title><link>https://devzone.nordicsemi.com/thread/423832?ContentTypeID=1</link><pubDate>Thu, 04 May 2023 14:20:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:641df8ca-6b2d-499a-b20b-82e5e97b2bb0</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you try to move the nrfx_spis_buffers_set() to the main loop and use a flag to wait for the buffer to be set successfully? Here is an example that implements exactly this, it was written for an earlier version of NCS so it&amp;#39;s a bit outdated but it can be used as a reference on how to implement a master and slave.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7802.nrfx_5F00_spi_5F00_master.zip"&gt;devzone.nordicsemi.com/.../7802.nrfx_5F00_spi_5F00_master.zip&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1538.nrfx_5F00_spi_5F00_slave.zip"&gt;devzone.nordicsemi.com/.../1538.nrfx_5F00_spi_5F00_slave.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 spi-master and spi-slave communication issues</title><link>https://devzone.nordicsemi.com/thread/423326?ContentTypeID=1</link><pubDate>Tue, 02 May 2023 13:48:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20c90ed8-0113-45a5-9d82-58a2d525bfbe</guid><dc:creator>guomingyi</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Oh, sorry, some files and dts modifications were indeed missed. Please download the newly submitted attachment and manually add the following differences for reference:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;diff --git a/boards/arm/nrf5340dk_nrf5340/nrf5340_cpuapp_common.dts b/boards/arm/nrf5340dk_nrf5340/nrf5340_cpuapp_common.dts
index fb6bb0db7a..249c0a3994 100644
--- a/boards/arm/nrf5340dk_nrf5340/nrf5340_cpuapp_common.dts
+++ b/boards/arm/nrf5340dk_nrf5340/nrf5340_cpuapp_common.dts
@@ -18,7 +18,7 @@
                zephyr,ieee802154 = &amp;amp;ieee802154;
        };
 
-       leds {
+       led_gpio:leds {
                compatible = &amp;quot;gpio-leds&amp;quot;;
                led0: led_0 {
                        gpios = &amp;lt;&amp;amp;gpio0 28 GPIO_ACTIVE_LOW&amp;gt;;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Replace the attachment code in the &amp;lt;ncs/v2.3.0/modules/hal/nordic/nrfx/samples/src/nrfx_spim_spis&amp;gt; directory&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrfx_5F00_spim_5F00_spis_2D00_modify.zip"&gt;devzone.nordicsemi.com/.../nrfx_5F00_spim_5F00_spis_2D00_modify.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank u very much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 spi-master and spi-slave communication issues</title><link>https://devzone.nordicsemi.com/thread/423277?ContentTypeID=1</link><pubDate>Tue, 02 May 2023 11:56:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d15c1aee-a772-4cdd-8730-fbe5bb605f23</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not able to build your project, it seems that it&amp;#39;s dependent on a common.cmake file. Is this file already in the nRF Connect SDK, where should I place your sample folder for it to build successfully?&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></channel></rss>