<?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>nRF5340 QSPI communication with a non SPI Flash chip</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121887/nrf5340-qspi-communication-with-a-non-spi-flash-chip</link><description>Hi Team, 
 I’m using the nRF5340 Development Kit, and in our project, we have a custom slave device that communicates over QSPI. We’d like to interface this custom device with the nRF5340&amp;#39;s QSPI peripheral. 
 To do this, we’ve modified the board hardware</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Jun 2025 11:28:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121887/nrf5340-qspi-communication-with-a-non-spi-flash-chip" /><item><title>RE: nRF5340 QSPI communication with a non SPI Flash chip</title><link>https://devzone.nordicsemi.com/thread/539865?ContentTypeID=1</link><pubDate>Thu, 19 Jun 2025 11:28:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ff8667d-99fb-4037-b9d9-41939c715662</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Susheel asked me to take a look at this ticket. Can you share some details on what the QSPI device you plan on using here? The QSPI peripheral on the nRF5340 SoC is designed for using NOR flash devices, but might also work for some other devices (like the nRF7002 for example), but we don&amp;#39;t have specific driver support for other QSPI devices.&amp;nbsp;&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: nRF5340 QSPI communication with a non SPI Flash chip</title><link>https://devzone.nordicsemi.com/thread/539467?ContentTypeID=1</link><pubDate>Tue, 17 Jun 2025 05:13:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93ef11cf-8ddf-426f-86fd-86065a27e5e6</guid><dc:creator>curiousme</dc:creator><description>&lt;p&gt;It is in this same ticket above. For your reference, attaching the snapshot.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1750137143547v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 QSPI communication with a non SPI Flash chip</title><link>https://devzone.nordicsemi.com/thread/539366?ContentTypeID=1</link><pubDate>Mon, 16 Jun 2025 11:05:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9215b36c-9261-4513-b0f6-0834f2b604b6</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user="curiousme"]. It was mentioned in the &lt;span&gt;previous posts&amp;nbsp;&lt;/span&gt;that the&amp;nbsp;&amp;quot;&lt;a href="https://docs.zephyrproject.org/latest/hardware/peripherals/spi.html"&gt;Zephyr SPI drivers&lt;/a&gt;&lt;span&gt;&amp;nbsp;with the QSPI in general&amp;quot;, can you let me know if any of the SPIM and SPI Driver which are present in nRF, that can be used in 4 Line mode to work with the non SPI Flash slave?&lt;/span&gt;[/quote]
&lt;p&gt;Not to my knowledge, maybe you can do it with very low level HAL drivers but I am unsure how to do it. Can you please provide me the posts where this is mentioned?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 QSPI communication with a non SPI Flash chip</title><link>https://devzone.nordicsemi.com/thread/539352?ContentTypeID=1</link><pubDate>Mon, 16 Jun 2025 09:57:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b4764a6-5d7c-4be7-99b2-f5e7f927f68d</guid><dc:creator>curiousme</dc:creator><description>&lt;p&gt;Thanks for your reply. It was mentioned in the &lt;span&gt;previous posts&amp;nbsp;&lt;/span&gt;that the&amp;nbsp;&amp;quot;&lt;a href="https://docs.zephyrproject.org/latest/hardware/peripherals/spi.html"&gt;Zephyr SPI drivers&lt;/a&gt;&lt;span&gt;&amp;nbsp;with the QSPI in general&amp;quot;, can you let me know if any of the SPIM and SPI Driver which are present in nRF, that can be used in 4 Line mode to work with the non SPI Flash slave?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 QSPI communication with a non SPI Flash chip</title><link>https://devzone.nordicsemi.com/thread/539007?ContentTypeID=1</link><pubDate>Thu, 12 Jun 2025 10:59:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:845a4e8c-9bd8-4a02-92b0-14ef12441030</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;The QSPI on nRF53 is designed mainly to talk to NOR&amp;nbsp; flash, so unless your slave implements those fast read, Quad Read, Erases etc which are command relevant for NOR flash, I do not think that the peripheral statemachine completes any of the transactions triggered. In short, I do not think non flash device + our QSPI will work properly.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 QSPI communication with a non SPI Flash chip</title><link>https://devzone.nordicsemi.com/thread/538338?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2025 06:07:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6daba10-9639-4062-add5-5d73b116c00a</guid><dc:creator>curiousme</dc:creator><description>[quote userid="106736" url="~/f/nordic-q-a/121887/nrf5340-qspi-communication-with-a-non-spi-flash-chip/537520"]&amp;nbsp;I think you should be able to use the&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/hardware/peripherals/spi.html"&gt;Zephyr SPI drivers&lt;/a&gt;&amp;nbsp;with the QSPI in genera, but if you want to use it for flash, that will be another driver.[/quote]
&lt;p&gt;I was trying to understand this comment from you, can you let me know how a SPI module in nRF5340, can be used as&amp;nbsp;SPI_LINES_QUAD, while the SPI modules present in the&amp;nbsp;&lt;span&gt;nRF5340 has MOSI and MISO lines&amp;nbsp;only. If you have any example, can you please share it here.? &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My requirement is to work with a QSPI slave (non SPI Flash based) by using quad lines, how can I really do it with&amp;nbsp;nRF5340. Currently I am facing issues with the communication using QSPI even after&amp;nbsp;&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf5340_dk/page/UG/dk/solder_bridge.html"&gt;Solder bridge configuration&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 QSPI communication with a non SPI Flash chip</title><link>https://devzone.nordicsemi.com/thread/537898?ContentTypeID=1</link><pubDate>Tue, 03 Jun 2025 14:15:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e698fbc-32b1-46a5-8db5-d9463fb8c9fb</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I dont think I understand your question completely, but:&lt;/p&gt;
&lt;p&gt;The nRF5340 does not have a lot of restrictions on&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/chapters/pin.html"&gt;Pin Assignements&lt;/a&gt;. For QSPI, you are locked to some pins, but if you want to use normal SPI, you should be able to use other pins I think.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 QSPI communication with a non SPI Flash chip</title><link>https://devzone.nordicsemi.com/thread/537724?ContentTypeID=1</link><pubDate>Mon, 02 Jun 2025 16:52:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14ce84b0-5cac-4f65-8b86-84701923e737</guid><dc:creator>curiousme</dc:creator><description>&lt;p&gt;What I understand is to use the existing SPI Driver itself to work like QSPI functionality by using&amp;nbsp;&lt;code&gt;CONFIG_SPI_EXTENDED_MODES&lt;/code&gt;&lt;span&gt;&amp;nbsp;with quad lines. If this is the case then what is the use of QSPI interface itself, why can&amp;#39;t it be used directly by use of solder bridges as mentioned above instead of using the SPI? For SPI interface SPIM_SCK - P0.8,&amp;nbsp;SPIM_MISO, P0.10,&amp;nbsp;SPIM_MOSI P0. 9, and CS P0.7 pins are used. If we use the quad lines then P0.9 will act as IO0, P.10 will act as IO1 then which&amp;nbsp;lines should be used for IO2, IO3 lines?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 QSPI communication with a non SPI Flash chip</title><link>https://devzone.nordicsemi.com/thread/537520?ContentTypeID=1</link><pubDate>Fri, 30 May 2025 11:59:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fd14664-7bb4-4a3a-a79e-2aa796573cac</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Could you please confirm whether the nRF5340 Dev Kit can be used to communicate with QSPI peripherals other than the onboard SPI flash?[/quote]
&lt;p&gt;The nRF5340DK can use the QSPI to communicate with external QSPI devices. See&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf5340_dk/page/UG/dk/solder_bridge.html"&gt;Solder bridge configuration&lt;/a&gt;&amp;nbsp;for how to disconnect the external flash.&lt;/p&gt;
[quote user=""]If so, could you point me to any relevant driver code or documentation that could help with this integration?[/quote]
&lt;p&gt;&amp;nbsp;I think you should be able to use the&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/hardware/peripherals/spi.html"&gt;Zephyr SPI drivers&lt;/a&gt;&amp;nbsp;with the QSPI in genera, but if you want to use it for flash, that will be another driver.&lt;/p&gt;
[quote user="curiousme"]Also I found that nRF7002 device which can be interfaced to nRF5340 through QSPI but it has almost same commands as that of On board NOR Flash Chip. Can you please clarify if we can communicate with any other peripheral which has different command set instead of what we have for NOR SPI Flash?[/quote]
&lt;p&gt;See the nRF5340s&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/qspi.html#ariaid-title11"&gt;QSPI instruction&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 QSPI communication with a non SPI Flash chip</title><link>https://devzone.nordicsemi.com/thread/537456?ContentTypeID=1</link><pubDate>Thu, 29 May 2025 11:18:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cba051f6-289c-4151-ad75-a62dc568c71d</guid><dc:creator>curiousme</dc:creator><description>&lt;p&gt;Also I found that nRF7002 device which can be interfaced to nRF5340 through QSPI but it has almost same commands as that of On board NOR Flash Chip. Can you please clarify if we can communicate with any other peripheral which has different command set instead of what we have for NOR SPI Flash?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>