<?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>SPIS RX Buffer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19510/spis-rx-buffer</link><description>Hello, 
 I am attempting to setup a SPIS interface, and I am continuously getting 0x00 inside my RX buffer. I am varying the length of TX from the SPI master, and seeing the SPIS RX count increase and decrease accordingly, but my buffer is always NULL</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Feb 2017 12:40:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19510/spis-rx-buffer" /><item><title>RE: SPIS RX Buffer</title><link>https://devzone.nordicsemi.com/thread/75805?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 12:40:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb27ba42-578c-4576-abe4-74dae5228659</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Good that you solved the problem!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS RX Buffer</title><link>https://devzone.nordicsemi.com/thread/75804?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 12:25:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b8abbf4-8005-4bf3-ad68-64d843083ff4</guid><dc:creator>Christopher</dc:creator><description>&lt;p&gt;Thanks again Kristin, I ended up figuring it out. It seemed to be an issue with my SPI master. Thanks so much for your help. All is great now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS RX Buffer</title><link>https://devzone.nordicsemi.com/thread/75803?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2017 08:59:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:046bb208-1690-49f7-a739-1aa8e734baf9</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Okay, I see. Do you have an extra nRF52/51-DK? If so, could you try the SPI &amp;lt;---&amp;gt; SPIS example in the SDK?&lt;/p&gt;
&lt;p&gt;When you have received data, could you read the memory location to check if the data is there, see my updated answer above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS RX Buffer</title><link>https://devzone.nordicsemi.com/thread/75802?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2017 14:22:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86f5357b-66c7-49f3-a56b-6c3d22387cd9</guid><dc:creator>Christopher</dc:creator><description>&lt;p&gt;Thanks Kristin, I was actually calling the buffers_set function after the init. I updated the code above to represent what I was doing. I am still unable to get data into my rx buffer. Is there something I am doing wrong? I get the correct rx_length when the handler is called, but the buffer is empty.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS RX Buffer</title><link>https://devzone.nordicsemi.com/thread/75801?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2017 12:24:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5877d52-83d4-461a-bb81-901e058c82f9</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;In addition to initializing SPIS driver, the SPI buffers must be set after the initialization of the driver. To do so, nrf_drv_spis_buffers_set() should be used, see the &amp;quot;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.2.0%2Fhardware_driver_spi_slave.html&amp;amp;cp=4_0_1_2_15_1&amp;amp;anchor=spi_slave_using"&gt;using the SPI slave driver&lt;/a&gt;&amp;quot; section in the SDK documentation.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 08.02.2017:&lt;/strong&gt; The screenshot below shows that &amp;quot;Nordic&amp;quot; has been received in memory location 0x2000008 (RXD.PTR)&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/spi_5F00_mem_5F00_loc.png" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>