<?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>SPI data bytes are missing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53686/spi-data-bytes-are-missing</link><description>When I am receiving data from slave data is missing. Means if o am reading 255 bytes then 127 bytes are right after that I am receiving alternate bytes. Some times I am receiving some bad data.Please help me as soon as possible. I think this is SPI over</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Oct 2019 11:34:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53686/spi-data-bytes-are-missing" /><item><title>RE: SPI data bytes are missing</title><link>https://devzone.nordicsemi.com/thread/217498?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 11:34:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:928c8705-6021-4620-8717-d2fcc000e98d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;The spikes present on the lower line, they do not look&amp;nbsp;normal. Is that the MOSI or MISO line?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI data bytes are missing</title><link>https://devzone.nordicsemi.com/thread/217476?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 09:46:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2eefb02-14e3-4704-a869-ab23b6d1ee44</guid><dc:creator>Sagar291195</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IMG_5F00_20191030_5F00_151115.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;CLK and data line signals.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI data bytes are missing</title><link>https://devzone.nordicsemi.com/thread/217449?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 08:16:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f31ba5d4-8f11-4ff6-ad8b-e797acee3cee</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;That looks very strange. How does the actual SPI signals look if you scope the signal?&lt;/p&gt;
&lt;p&gt;Do you see this issue when using the &amp;quot;spi&amp;quot; example in the nRF5 SDK as well?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI data bytes are missing</title><link>https://devzone.nordicsemi.com/thread/217424?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 03:23:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:323c3d97-7765-445a-a488-92b73a068d93</guid><dc:creator>Sagar291195</dc:creator><description>&lt;p&gt;I have already try at 1 MHz. Yes both the side I have configured Mode 0. And Sometime I receive proper data so i think mode is not problem. When I am debugging I noticed when I send 0x00 to 0x3F and read 64 bytes, I get correct data in nordic . But when I send&lt;/p&gt;
&lt;p&gt;0x40 to 0x7F to same buffer and read this data I got error. I have attached screen shot of received data and send data.&lt;/p&gt;
&lt;p&gt;Please look at this Right one is Slave send Data and Left one is received data.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Nordic_5F00_Received_5F00_data.PNG" /&gt;&lt;img class="align-left" style="float:left;" alt=" Slave Send Data" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/SPI_5F00_SLAVE_5F00_SEND_5F00_DATA.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI data bytes are missing</title><link>https://devzone.nordicsemi.com/thread/217311?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2019 12:02:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6ef4e87-af4d-45bb-a8a1-fb25eda087ca</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Could you try reducing the speed to 1&amp;nbsp;MHz to see if the bytes are missing then as well?&lt;/p&gt;
&lt;p&gt;Are you also certain that you have setup the SPI mode correct on both sides?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI data bytes are missing</title><link>https://devzone.nordicsemi.com/thread/217223?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2019 01:10:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4d371a5-e319-4aeb-8b74-d90b8bc54ab0</guid><dc:creator>Sagar291195</dc:creator><description>&lt;p&gt;Nordic is SPI master and bad data means If I am sending 0 to 255 from Slave to master I am receiving 0x01,0x02,....upto some number of bytes after that 0x44,0x46,0x48,,0x4A.....like this not corrupted data but alternate bytes are missing..some times I am receiving 0x84,0x88,0x8C,0x90,....in this sequence every 3 byte are missing.&lt;/p&gt;
&lt;p&gt;Data is not corrupted but Data is missed and out of 10, 8 times I am getting this kind of data and SPI speed is 8MHz and currently I am just trying with 255 bytes but I have to receive 90 kb data from Slave device and Its a Image data so data should be so accurate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI data bytes are missing</title><link>https://devzone.nordicsemi.com/thread/217102?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2019 13:49:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12878079-03e5-45e0-8f18-c718a6961a56</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is the NRF a SPI Master or a SPI Slave in this scenario?&lt;/p&gt;
&lt;p&gt;What does bad data mean? Old data, or corrupt data?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>