<?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>nRF9151 DK: spi slave</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/129120/nrf9151-dk-spi-slave</link><description>I am using the nRF9151-DK as an SPI slave . The SPI communication is not working as expected, and the nRF9151-DK is not receiving any data from the SPI master . 
 I have configured SPIS3 , but the SPI transfer callback is not receiving any data. 
 
 Environment</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Sep 2026 07:24:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/129120/nrf9151-dk-spi-slave" /><item><title>RE: nRF9151 DK: spi slave</title><link>https://devzone.nordicsemi.com/thread/571117?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2026 07:24:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2099c947-0ddb-49ce-980c-c0f7e9f9a909</guid><dc:creator>Pallavi Patil</dc:creator><description>&lt;p&gt;Hie Aparna,&lt;br /&gt;&lt;br /&gt;Thanks for sharing the project. You can read.more on this in our &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-5-serial-peripheral-interface-spi/topic/exercise-1-10/?version=v3.4.0"&gt;devacademy course&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You are missing some files in your app.overlay&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;amp;pinctrl {&lt;/code&gt;&lt;br /&gt;&lt;code&gt; spi3_default: spi3_default {&lt;/code&gt;&lt;br /&gt;&lt;code&gt; group1 {&lt;/code&gt;&lt;br /&gt;&lt;code&gt; psels = &amp;lt;NRF_PSEL(SPIS_SCK, 0, 13)&amp;gt;,&lt;/code&gt;&lt;br /&gt;&lt;code&gt; &amp;lt;NRF_PSEL(SPIS_MOSI, 0, 11)&amp;gt;,&lt;/code&gt;&lt;br /&gt;&lt;code&gt; &amp;lt;NRF_PSEL(SPIS_MISO, 0, 12)&amp;gt;,&lt;/code&gt;&lt;br /&gt;&lt;code&gt; &amp;lt;NRF_PSEL(SPIS_CSN, 0, 10)&amp;gt;;&lt;/code&gt;&lt;br /&gt;&lt;code&gt; };&lt;/code&gt;&lt;br /&gt;&lt;code&gt; };&lt;/code&gt;&lt;br /&gt; &lt;br /&gt;&lt;code&gt; spi3_sleep: spi3_sleep {&lt;/code&gt;&lt;br /&gt;&lt;code&gt; group1 {&lt;/code&gt;&lt;br /&gt;&lt;code&gt; psels = &amp;lt;NRF_PSEL(SPIS_SCK, 0, 13)&amp;gt;,&lt;/code&gt;&lt;br /&gt;&lt;code&gt; &amp;lt;NRF_PSEL(SPIS_MOSI, 0, 11)&amp;gt;,&lt;/code&gt;&lt;br /&gt;&lt;code&gt; &amp;lt;NRF_PSEL(SPIS_MISO, 0, 12)&amp;gt;,&lt;/code&gt;&lt;br /&gt;&lt;code&gt; &amp;lt;NRF_PSEL(SPIS_CSN, 0, 10)&amp;gt;;&lt;/code&gt;&lt;br /&gt;&lt;code&gt; low-power-enable;&lt;/code&gt;&lt;br /&gt;&lt;code&gt; };&lt;/code&gt;&lt;br /&gt;&lt;code&gt; };&lt;/code&gt;&lt;br /&gt;&lt;code&gt;};&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;amp;spi3 {&lt;/code&gt;&lt;br /&gt;&lt;code&gt; compatible = &amp;quot;nordic,nrf-spis&amp;quot;;&lt;/code&gt;&lt;br /&gt;&lt;code&gt; status = &amp;quot;okay&amp;quot;;&lt;/code&gt;&lt;br /&gt;&lt;code&gt; pinctrl-0 = &amp;lt;&amp;amp;spi3_default&amp;gt;;&lt;/code&gt;&lt;br /&gt;&lt;code&gt; pinctrl-1 = &amp;lt;&amp;amp;spi3_sleep&amp;gt;;&lt;/code&gt;&lt;br /&gt;&lt;code&gt; pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;&lt;/code&gt;&lt;br /&gt;&lt;code&gt; def-char = &amp;lt;0x00&amp;gt;;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;};&lt;br /&gt;&lt;br /&gt;Also,&lt;/code&gt;when using nrfx directly in Zephyr, you need to manually connect the IRQ. &amp;nbsp;Can you please add this &lt;strong&gt;before&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;code dir="ltr"&gt;nrfx_spis_init&lt;/code&gt;:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;IRQ_CONNECT&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;NRFX_IRQ_NUMBER_GET&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;NRF_SPIS3&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; IRQ_PRIO_LOWEST&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;
&lt;/span&gt;&lt;span&gt;            nrfx_spis_3_irq_handler&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NULL&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;span&gt;
&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;irq_enable&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;NRFX_IRQ_NUMBER_GET&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;NRF_SPIS3&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Without this, &lt;code dir="ltr"&gt;spis_handler&lt;/code&gt; will never be called,&amp;nbsp;hence you are not getting any data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also can you please verify which NCS version are you using.&lt;br /&gt;&lt;br /&gt;Please let me know if this fixes your problem.&lt;br /&gt;&lt;br /&gt;Regards&lt;/p&gt;
&lt;p&gt;Pallavi&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9151 DK: spi slave</title><link>https://devzone.nordicsemi.com/thread/571079?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2026 05:50:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4723ea7-6465-4731-bf11-89a2b8da8ac3</guid><dc:creator>Aparna Pacharne</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;I am sharing the code for reference.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6523.nrf.zip"&gt;devzone.nordicsemi.com/.../6523.nrf.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9151 DK: spi slave</title><link>https://devzone.nordicsemi.com/thread/571041?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2026 08:07:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89b6f79b-ecae-45b6-a4d2-44eb9afd8ad1</guid><dc:creator>Pallavi Patil</dc:creator><description>&lt;p&gt;From what I can se, the board target is correct.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9151 DK: spi slave</title><link>https://devzone.nordicsemi.com/thread/571040?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2026 08:07:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b03b4734-c02c-438f-abe5-4ed8cc724f21</guid><dc:creator>Pallavi Patil</dc:creator><description>&lt;p&gt;Hie Aparna,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Can you please share more information like device configuration tree, some code snippet where you are initializing the SPIs. This will help us get a better picture to help you diagnose the problem.&amp;nbsp;&lt;br /&gt;Looking forward to your reply.&lt;br /&gt;&lt;br /&gt;Regards&lt;/p&gt;
&lt;p&gt;Pallavi&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>