<?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>External SPI flash read skipping one byte every two</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35301/external-spi-flash-read-skipping-one-byte-every-two</link><description>Thanks for your support folks! 
 I am trying to read some bytes I have wrote in a MX25R8035F. From the datasheet, if you send 0x03 (READ) + 3 Byte address, then the memory starts sending data, and increasing address automatically, so you can dump the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Jun 2018 12:29:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35301/external-spi-flash-read-skipping-one-byte-every-two" /><item><title>RE: External SPI flash read skipping one byte every two</title><link>https://devzone.nordicsemi.com/thread/135743?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 12:29:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cb2b805-827c-4fb0-a254-dcfb6f0bcf9a</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t see any obvious errors from the snippets that you have sent.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t see anything wrong in your read_data() function. It seems to run through fluently.&lt;/p&gt;
&lt;p&gt;However, I don&amp;#39;t know what&amp;#39;s going on inside MX25_READ(...);&lt;/p&gt;
&lt;p&gt;Could you please give the functions that you didn&amp;#39;t describe, such as IsFlash4Byte() (what does it return), CS_Low(), CS_High(), SPI_TRANSFER(), SendFlashAddr(),SPI_READ, and what value does byte_length have?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the case is actually that the application can&amp;#39;t handle the SPI fast enough, can you try to read more than one byte at the time?&lt;/p&gt;
&lt;p&gt;SPI_READ(0xFFFF, 2);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>