<?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>Problems with QSPI device initialization</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115398/problems-with-qspi-device-initialization</link><description>Hi all, My project uses nRF52840 microcontroller and nRF5_SDK_17.1.0. My project uses AT25SF161B flash memory and The little filesystem to store data and everything works fine. Now I need to use S25FL064L flash memory and I have some problems. 
 This</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Oct 2024 09:12:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115398/problems-with-qspi-device-initialization" /><item><title>RE: Problems with QSPI device initialization</title><link>https://devzone.nordicsemi.com/thread/507090?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2024 09:12:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cfca983-55df-491d-ae11-2ab980547dd1</guid><dc:creator>Stefano1984</dc:creator><description>&lt;p&gt;Thanks Simon, I solved it. All I had to do was set bit 6 of the CR1NV register to zero. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with QSPI device initialization</title><link>https://devzone.nordicsemi.com/thread/506025?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 08:02:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a694600-9c98-46e2-a0e4-8cde85247002</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I agree with your description here, but I still mean that QSPI needs to be specifically supported by a flash memory, and that QPI support doesn&amp;#39;t necessarily mean QSPI is supported and the other way around, so are you sure the&amp;nbsp;&lt;span&gt;S25FL064L&amp;nbsp;supports QSPI? Since the error code refers to a timeout during init it seems to me like the nRF isn&amp;#39;t able to communicate correctly with the flash device which I assume is because the flash doesn&amp;#39;t recognize the instructions coming from the nRF52.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with QSPI device initialization</title><link>https://devzone.nordicsemi.com/thread/505844?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2024 09:02:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d6c03d4-36c4-4530-9842-d33df37334ef</guid><dc:creator>Stefano1984</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Are you sure of what you say?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m reporting a piece of text taken from the memory datasheet:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Single bit wide commands start with an instruction and may provide an address or data, all sent only on the SI signal. Data may be sent back to the host serially on the SO signal. This is referenced as a 1-1-1 command protocol for single bit width instruction, single bit width address and modifier, single bit data.&lt;br /&gt;Dual-output or quad-output commands provide an address sent from the host as serial on SI (IO0) then followed by dummy cycles. Data is returned to the host as bit pairs on IO0 and IO1 or, four bit (nibble) groups on IO0, IO1, IO2, and IO3. This is referenced as 1-1-2 for Dual-O and 1-1-4 for Quad-O command protocols.&lt;br /&gt;Dual or quad input / output (I/O) commands provide an address sent from the host as bit pairs on IO0 and IO1 or, four bit (nibble) groups on IO0, IO1, IO2, and IO3 then followed by dummy cycles. Data is returned to the host similarly as bit pairs on IO0 and IO1 or, four bit (nibble) groups on IO0, IO1, IO2, and IO3. This is referenced as 1-2-2 for dual I/O and 1-4-4 for quad I/O command protocols.&lt;br /&gt;The FL-L family also supports a QPI mode in which all information is transferred in 4 bit width, including the instruction, address, modifier, and data. This is referenced as a 4-4-4 command protocol.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The 1-4-4 is a QSPI protocol.&lt;/p&gt;
&lt;p&gt;Thanks for your time.&lt;/p&gt;
&lt;p&gt;Stefano&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with QSPI device initialization</title><link>https://devzone.nordicsemi.com/thread/505828?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2024 08:02:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2b3749b-0528-4945-b639-9c1ae2358e24</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;From what I can see looking at the &lt;a href="https://www.infineon.com/dgdl/Infineon-S25FL064L_64-Mbit_(8-Mbyte)_3.0_V_FL-L_SPI_Flash_Memory-DataSheet-v07_00-EN.pdf?fileId=8ac78c8c7d0d8da4017d0ee2d2846996"&gt;S25FL064FL datasheet&lt;/a&gt;&amp;nbsp;it doesn&amp;#39;t support QSPI, but rather QPI which is not the same, so I think you need to use normal SPI to get the S25FL flash reading/writing correctly.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>