<?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 External Flash Interface</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25846/spi-external-flash-interface</link><description>Hi, 
 I am trying to interface external flash with the nrf52. I am able to read the device id. After writing to the status - configuration - bank address registers, I am able to read the register values. 
 But when I am trying to write to the flash</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 May 2018 05:42:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25846/spi-external-flash-interface" /><item><title>RE: SPI External Flash Interface</title><link>https://devzone.nordicsemi.com/thread/130709?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 05:42:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ad0959e-c2e4-49f8-86e8-0b0f1c93b90a</guid><dc:creator>arjun</dc:creator><description>&lt;p&gt;Hi Vinayak,&lt;/p&gt;
&lt;p&gt;As per the issues I faced, I came to the following conclusions -&amp;nbsp;&lt;/p&gt;
&lt;p&gt;First thing you have to do is configure the WP/HOLD pins as output. Set the both pins to high. This is to ensure that you have disabled the write protect on memory and you aren&amp;#39;t holding the instructions by pausing your device (Hold - low).&lt;/p&gt;
&lt;p&gt;Second thing is to always call write enable function (execute write enable command) before executing any fucntion that may cause change in the content of memory&lt;/p&gt;
&lt;p&gt;Next thing is, after sending the write instruction(command+address+data) or any similar function, wait until Write in Progress (WIP) bit in the status register is set to zero.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI External Flash Interface</title><link>https://devzone.nordicsemi.com/thread/124274?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 06:35:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f390f26f-7c40-4390-a046-f20c3749c285</guid><dc:creator>vinayaka</dc:creator><description>&lt;p&gt;Hi Arjun,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; am also facing the same issue, can you please share the modification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI External Flash Interface</title><link>https://devzone.nordicsemi.com/thread/101807?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2017 05:15:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7f9c32a-bd74-4cb1-9fdb-fe0d57aab53a</guid><dc:creator>arjun</dc:creator><description>&lt;p&gt;Him Martin,&lt;/p&gt;
&lt;p&gt;I have uploaded the code and shared the details in the Mypage.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI External Flash Interface</title><link>https://devzone.nordicsemi.com/thread/101811?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2017 13:09:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e5182eb-4a12-49dc-9fb3-97045a4f538b</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Good question. It&amp;#39;s been a long time since I did that myself. I suppose you click here and go with the flow:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/logi.PNG" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI External Flash Interface</title><link>https://devzone.nordicsemi.com/thread/101810?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2017 12:53:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c2f9b89-e8f0-4655-ac45-b8b097173209</guid><dc:creator>arjun</dc:creator><description>&lt;p&gt;How do I create an account in MyPage. There is no &amp;quot;Sign in&amp;quot; option available in the link you have provided.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI External Flash Interface</title><link>https://devzone.nordicsemi.com/thread/101809?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2017 10:21:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:237846c1-f5eb-4ce4-a6ce-6dc93537037b</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Unfortunately you will need a sepparate account for mypage.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI External Flash Interface</title><link>https://devzone.nordicsemi.com/thread/101812?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2017 05:30:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de2dcf87-3019-4446-b891-c6db7a7de225</guid><dc:creator>arjun</dc:creator><description>&lt;p&gt;Hi Martin, I could not access the link you sent me using my nordic forum username.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI External Flash Interface</title><link>https://devzone.nordicsemi.com/thread/101813?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2017 13:20:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fbbf088-ceb5-4337-97cc-58ab5628eb91</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;You can upload your code in confidence at our official support portal, MyPage, &lt;a href="https://www.nordicsemi.com/eng/nordic/mypage"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI External Flash Interface</title><link>https://devzone.nordicsemi.com/thread/101804?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 13:27:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95c56542-4fcf-445c-a127-ad518e5eda80</guid><dc:creator>arjun</dc:creator><description>&lt;p&gt;Could you send me some link or mail id so that I cn share my code..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI External Flash Interface</title><link>https://devzone.nordicsemi.com/thread/101803?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 13:19:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4815cb6f-5944-48a7-9121-7c0aa12e731b</guid><dc:creator>arjun</dc:creator><description>&lt;p&gt;Ya, After initializing the SPI, I am setting the WP and HOLD pins as high. I was able to read the Device ID and write to the status and configuration registers. This I verified by reading the buffer registers, where I stored the values.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t use logic analyzer, as in my board, I don&amp;#39;t have provision to tap SPI lines.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI External Flash Interface</title><link>https://devzone.nordicsemi.com/thread/101802?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 13:05:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3aebbd23-d53a-42dc-8302-a9c66c2c3e75</guid><dc:creator>MartinBL</dc:creator><description>&lt;ol&gt;
&lt;li&gt;I assume you are handling WP pin correctly? Seems like it must be pulled high when writing or left unconnected.&lt;/li&gt;
&lt;li&gt;Do you have a logic analyzer you can use to see what data are actually transferred on the bus?&lt;/li&gt;
&lt;li&gt;Do you mind uploading your relevant code?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI External Flash Interface</title><link>https://devzone.nordicsemi.com/thread/101801?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 08:40:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6954d83-3b1b-4268-9417-2b6159c7df63</guid><dc:creator>arjun</dc:creator><description>&lt;p&gt;I am using S70FL01GS flash ic..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI External Flash Interface</title><link>https://devzone.nordicsemi.com/thread/101806?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 07:43:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c80795b6-d731-4d26-8348-0855499f69f7</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Ok, I see. What flash IC are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI External Flash Interface</title><link>https://devzone.nordicsemi.com/thread/101808?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2017 10:23:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84c9beb8-c628-4b42-8b59-c9cc38e19a6f</guid><dc:creator>arjun</dc:creator><description>&lt;p&gt;I was referring to the the timing diagram and command set, which explain the working of spi interface with respect to memory.&lt;/p&gt;
&lt;p&gt;The read/write commands referenced are given in the datasheet of the memory ic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI External Flash Interface</title><link>https://devzone.nordicsemi.com/thread/101805?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2017 09:23:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a1743cf-5da8-4d42-b272-d4e35f1c4e44</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;In your tag you specify nRF52832, which doesn&amp;#39;t have quad SPI. So I&amp;#39;m a little confused, why are you referring to the QSPI documentaion for the nRF52840, and does the read/write commands referenced above have anything to do with reading and writing to your particular FLASH device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>