<?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>qspi flash sample in zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64769/qspi-flash-sample-in-zephyr</link><description>Dear All, 
 I am looking for sample code to use an external QSPI flash (MACRONIX MX25R6435FZAIL0). The code is run an nRF52840 based custom board. 
 Your help is appreciated. 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Mar 2022 14:07:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64769/qspi-flash-sample-in-zephyr" /><item><title>RE: qspi flash sample in zephyr</title><link>https://devzone.nordicsemi.com/thread/358895?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2022 14:07:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af1165f0-9f7c-4d90-913f-a5a1af7bc0cf</guid><dc:creator>matt_C</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I just wanted to update this thread that with current versions of the&amp;nbsp;Nordic Zephyr SDK the dual QSPI works.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Matt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: qspi flash sample in zephyr</title><link>https://devzone.nordicsemi.com/thread/358795?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2022 09:05:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:625a05b9-0dab-4a63-805e-967f67b841a4</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;As this case is almost 1 year old, could you please create a ticket of your own instead, as this is slightly off-topic to this specific ticket.&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><item><title>RE: qspi flash sample in zephyr</title><link>https://devzone.nordicsemi.com/thread/358751?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2022 23:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8ee7508-da5b-475e-bcd8-45617acfece6</guid><dc:creator>jspiller</dc:creator><description>&lt;p&gt;Hello, I am also trying to use the spi_flash sample project with a custom board with this same flash chip on it, the laird bl654 dvk to be specific. When I run the project however, dev-&amp;gt;state-&amp;gt;init_res = 19 and will not run for me. It recognizes the device and if I manually set the error code to 0 the project runs correctly. Any idea why this is occurring. The output is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;JEDEC QSPI-NOR SPI flash testing&lt;br /&gt;==========================&lt;br /&gt;SPI flash driver MX25R64 was not found!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: qspi flash sample in zephyr</title><link>https://devzone.nordicsemi.com/thread/308682?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 09:20:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5de3bb6-6ce8-459c-b150-8f63cfe70d2e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;No, we do not have any particular dual SPI examples, but it should be able to modify the QSPI example to run in dual SPI mode. I would suggest that you create a separate DevZone ticket if you need any details on how to do that though.&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><item><title>RE: qspi flash sample in zephyr</title><link>https://devzone.nordicsemi.com/thread/308629?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 01:57:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ef00ad4-532d-4497-a513-a8101819986e</guid><dc:creator>matt_C</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/simonr"&gt;Simonr&lt;/a&gt;,&amp;nbsp;is there any new information regarding&amp;nbsp;&lt;span&gt;getting&amp;nbsp;dual-spi to work within Zephyr for the MX25R64?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: qspi flash sample in zephyr</title><link>https://devzone.nordicsemi.com/thread/275009?ContentTypeID=1</link><pubDate>Thu, 15 Oct 2020 08:48:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:206aac30-1a72-44eb-9b15-27bb4a33e8b7</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Matt&lt;/p&gt;
&lt;p&gt;Yes, this is correct. I&amp;#39;m not entirely sure, but this might not have been part of the Zephyr version available in August, but I could be wrong of course and I may simply have missed it. Either way,the SPI_Flash sample project should indeed work for using the MX25R624 with QSPI.&amp;nbsp;Thank you for the update!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry, it doesn&amp;#39;t seem like we&amp;#39;ve got any dual-SPI examples in particular. If you have any particular questions/issues with setting this up, I suggest creating a separate ticket where you describe in detail what exactly you need help with in regards of implementing dual SPI and we&amp;#39;ll do our best to assist you.&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><item><title>RE: qspi flash sample in zephyr</title><link>https://devzone.nordicsemi.com/thread/274914?ContentTypeID=1</link><pubDate>Wed, 14 Oct 2020 13:27:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2cbdb31-cc4e-4d14-8ffa-bd708cffbccb</guid><dc:creator>matt_C</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/simonr"&gt;Simonr&lt;/a&gt;, isn&amp;#39;t the &amp;quot;spi_flash&amp;quot; example (in &amp;quot;&lt;em&gt;/ncs/zephyr/samples/drivers/spi_flash&amp;quot;) &lt;/em&gt;an example of the the nRF52840-DK using the MX25R624 with QSPI?&lt;/p&gt;
&lt;p&gt;Additionally, I have a related question, f&lt;span&gt;rom the following&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=/ps_nrf52840/qspi.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fqspi.html&lt;/a&gt;&lt;span&gt;, it mentions that the QSPI can be used for&amp;nbsp;&amp;ldquo;Single/dual/quad SPI input/output&amp;rdquo;.&amp;nbsp;In the &amp;quot;spi_flash&amp;quot; example quad spi is used. Do you know how I could go about getting&amp;nbsp;dual-spi to work within Zephyr for the MX25R64?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: qspi flash sample in zephyr</title><link>https://devzone.nordicsemi.com/thread/264371?ContentTypeID=1</link><pubDate>Thu, 13 Aug 2020 07:40:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25b9afc8-635e-4a22-8896-0ed57df53d4a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry, but we don&amp;#39;t have any QSPI sample projects in NCS as of yet, and I was not able to find a sample in Zephyr either. You can check out our &lt;a href="https://github.com/nrfconnect/sdk-hal_nordic/blob/v1.3.0-rc1/nrfx/drivers/include/nrfx_qspi.h"&gt;QSPi driver located here&lt;/a&gt;, but a full sample is still in the works.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Alternatively, you can check out the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.0/qspi_example.html"&gt;QSPI example in our nRF5 SDK &lt;/a&gt;and use that as a base for a template of sorts in a Zephyr project, just to get a feel for how initialization is done and so on.&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>