<?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 not receiving multibyte ending with Zero value</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77217/spis-not-receiving-multibyte-ending-with-zero-value</link><description>Hello there, 
 
 I&amp;#39;m trying to interface msp430 (master) with nrf51882 (slave) through SPI. I&amp;#39;m running soft device 110 to broadcast the received data from SPI through BLE. if I send any sequence of bytes not ending with Zero value, SPI and BLE work as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Jul 2021 06:59:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77217/spis-not-receiving-multibyte-ending-with-zero-value" /><item><title>RE: SPIS not receiving multibyte ending with Zero value</title><link>https://devzone.nordicsemi.com/thread/319281?ContentTypeID=1</link><pubDate>Fri, 09 Jul 2021 06:59:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7b18f97-067d-4cb8-a5e5-fb36cb5d3060</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Glad that you fixed it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS not receiving multibyte ending with Zero value</title><link>https://devzone.nordicsemi.com/thread/319242?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 16:41:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d88a4cc-c90f-400a-bdf3-d92bb392e6b0</guid><dc:creator>aalsubhi</dc:creator><description>&lt;p&gt;The SPI was different on both, I fixed the issue by using same SPI mode on both. Thanks for pointing this out.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS not receiving multibyte ending with Zero value</title><link>https://devzone.nordicsemi.com/thread/319170?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 12:28:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48af872f-ba21-4c40-9f5b-6cc1a9399680</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user=""]&lt;p&gt;I&amp;#39;m trying to interface msp430 (master) with nrf51882 (slave) through SPI. I&amp;#39;m running soft device 110 to broadcast the received data from SPI through BLE. if I send any sequence of bytes not ending with Zero value, SPI and BLE work as I expected, but if the sequence of bytes ends with zero value the following if condition did not fulfill which indicating SPI transmission is not successfully completed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;b&gt;if&lt;/b&gt;&lt;/span&gt; (event.evt_type == NRF_DRV_SPIS_XFER_DONE)&lt;/p&gt;[/quote]
&lt;p&gt;&amp;nbsp;That is very strange. Not sure why the last character ending with 0 have this effect on the SPI?&lt;/p&gt;
&lt;p&gt;What is the character before the last char0). Probably the combination of the last two words are making SPI interpret the data as something else? What happens if you use different SPI mode on both ends?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>