<?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>Multiple QSPI devices with nRF5340 (e.g. Flash and Wifi) - can other pins than high-speed QSPI dedicated P0.13-P0.18 used for additional Chip Selects?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96213/multiple-qspi-devices-with-nrf5340-e-g-flash-and-wifi---can-other-pins-than-high-speed-qspi-dedicated-p0-13-p0-18-used-for-additional-chip-selects</link><description>Hello, 
 this topic came up during the Nordic Tech Tour some months ago, I was advised to create a ticket at Devzone to get some feedback from Nordic tech experts. 
 The nRF5340 has some dedicated pins for the QSPI interface (P0.13-P0.18), which also</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Mar 2023 08:04:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96213/multiple-qspi-devices-with-nrf5340-e-g-flash-and-wifi---can-other-pins-than-high-speed-qspi-dedicated-p0-13-p0-18-used-for-additional-chip-selects" /><item><title>RE: Multiple QSPI devices with nRF5340 (e.g. Flash and Wifi) - can other pins than high-speed QSPI dedicated P0.13-P0.18 used for additional Chip Selects?</title><link>https://devzone.nordicsemi.com/thread/412903?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2023 08:04:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c79ee474-9da6-4bc0-be5a-235922819802</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi Michael,&lt;/p&gt;
[quote user="puz_md"]&lt;p&gt;if I understand correctly, this means the QSPI can only be used with one high speed interface device by design, because even if you disable the QSPI and re-configure PSEL.CSN, there is only one pin available that can handle the data rates reliably.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Correct,&lt;/p&gt;
[quote user="puz_md"] guess this is why you connect the QSPI flash on the nRF7002DK, which is the same as the QSPI Flahs on the nRF5340DK, here only via standard SPI, right? (Does the XIP also work with standard SPI, by the way?)[/quote]
&lt;p&gt;Yes, this is probably why. XiP only works with QSPI.&lt;/p&gt;
[quote user="puz_md"]Is there any information available if the QSPI will work reliably with different PSEL.CSN for lower data rates? Quad data lines might still be better than single bit SPI, even if it might be necessary to disable and re-enable the QSPI module each time the target device is switched. Would be nice if we could document this information in this ticket, for future reference. (Adding it to the Product Specification would also be nice.)[/quote]
&lt;p&gt;No, we don&amp;#39;t have any information on that since it&amp;#39;s outside of the product spec. The product specification already mentions that only the dedicated pins should be used for QSPI.&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/pastedimage1677744191697v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple QSPI devices with nRF5340 (e.g. Flash and Wifi) - can other pins than high-speed QSPI dedicated P0.13-P0.18 used for additional Chip Selects?</title><link>https://devzone.nordicsemi.com/thread/412603?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2023 19:32:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1c08bbf-f927-48b8-bfc2-fd3248eaa204</guid><dc:creator>puz_md</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;if I understand correctly, this means the QSPI can only be used with one high speed interface device by design, because even if you disable the QSPI and re-configure PSEL.CSN, there is only one pin available that can handle the data rates reliably.&lt;/p&gt;
&lt;p&gt;I guess this is why you connect the QSPI flash on the nRF7002DK, which is the same as the QSPI Flahs on the nRF5340DK, here only via standard SPI, right? (Does the XIP also work with standard SPI, by the way?)&lt;/p&gt;
&lt;p&gt;Is there any information available if the QSPI will work reliably with different PSEL.CSN for lower data rates? Quad data lines might still be better than single bit SPI, even if it might be necessary to disable and re-enable the QSPI module each time the target device is switched. Would be nice if we could document this information in this ticket, for future reference. (Adding it to the Product Specification would also be nice.)&lt;/p&gt;
&lt;p&gt;Suggestion for future devices: Just add some automatic wait states for slower IO pins, if this doesn&amp;#39;t add too much complexity for the QSPI module.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple QSPI devices with nRF5340 (e.g. Flash and Wifi) - can other pins than high-speed QSPI dedicated P0.13-P0.18 used for additional Chip Selects?</title><link>https://devzone.nordicsemi.com/thread/412572?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2023 15:41:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13993d67-a71e-4206-9c33-d00b8fe99887</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;Disabling PSEL and manually setting chip select on IOs will not work. The QSPI peripheral needs to control the chip select. In addition using other pins then the dedicates ones for CS is outside of spec, and therefore not tested. We therefore can&amp;#39;t guarantee that this will work, and we don&amp;#39;t recommend it all.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple QSPI devices with nRF5340 (e.g. Flash and Wifi) - can other pins than high-speed QSPI dedicated P0.13-P0.18 used for additional Chip Selects?</title><link>https://devzone.nordicsemi.com/thread/408640?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2023 15:34:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b987958f-a423-4b13-b716-f3ef4fa06c2b</guid><dc:creator>puz_md</dc:creator><description>&lt;p&gt;Thanks! i&amp;#39;m not in a hurry, so please take your time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple QSPI devices with nRF5340 (e.g. Flash and Wifi) - can other pins than high-speed QSPI dedicated P0.13-P0.18 used for additional Chip Selects?</title><link>https://devzone.nordicsemi.com/thread/408624?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2023 14:56:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c98fd898-b78a-4d86-af6e-d404a2af6419</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I just wanted to let you know that we&amp;#39;re still working on getting information on this from our HW team.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your patience,&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple QSPI devices with nRF5340 (e.g. Flash and Wifi) - can other pins than high-speed QSPI dedicated P0.13-P0.18 used for additional Chip Selects?</title><link>https://devzone.nordicsemi.com/thread/407558?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2023 13:43:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c9ba2b9-726f-4df7-97f0-04f82636f9c7</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;I have to ask our HW designers about this,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll be back with more,&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>