<?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>Which pins to choose for NAND flash ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114482/which-pins-to-choose-for-nand-flash</link><description>Hi, I would like to interface an Alliance NAND flash to NRF5340. The flash supports SPI interface. Which set of pins will be a better choice and why ? 
 I am planning to use nrfx spim drivers and would like max speed. 
 
 SET #1 (using high speed SPI</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Sep 2024 06:31:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114482/which-pins-to-choose-for-nand-flash" /><item><title>RE: Which pins to choose for NAND flash ?</title><link>https://devzone.nordicsemi.com/thread/501638?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2024 06:31:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a300b64-e50f-440d-8951-681d3a1b2793</guid><dc:creator>VinuGopalakrishnan</dc:creator><description>&lt;p&gt;Thanks Runar.&lt;/p&gt;
&lt;p&gt;I will add provision in custom board for both QSPI and high speed SPI. Any idea when can we expect NAND support ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Which pins to choose for NAND flash ?</title><link>https://devzone.nordicsemi.com/thread/501484?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 07:53:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eeac6920-8e22-48fb-934b-363c46b94a21</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;Depending on the timeline for your application I would either wait for the NAND support to be merged into Zephyr, write your own driver support or change to a NOR flash&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Which pins to choose for NAND flash ?</title><link>https://devzone.nordicsemi.com/thread/501383?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2024 13:21:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a398107-40a8-4891-ad46-d65e3fc20c77</guid><dc:creator>VinuGopalakrishnan</dc:creator><description>&lt;p&gt;Thanks for the update. Anything above 8 MHz is fine for us.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Which pins to choose for NAND flash ?</title><link>https://devzone.nordicsemi.com/thread/501373?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2024 12:57:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba8acf18-7bfa-4026-bc49-320afd79fe05</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry but I need to check if it will work NAND flash. Please see this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/104895/nrf5340-use-nand-flash-as5f18g04snd"&gt;case&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It might work but I don&amp;#39;t think we have any samples for it. Also what is &amp;quot;high&amp;quot; speed?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Edit: it looks like the NAND support is not yet merged into Zephyr as you can see here&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/50690"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/50690&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Which pins to choose for NAND flash ?</title><link>https://devzone.nordicsemi.com/thread/501355?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2024 11:55:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a9fdb0d-27bb-4094-8938-9c551774f3d6</guid><dc:creator>VinuGopalakrishnan</dc:creator><description>&lt;p&gt;Yes, the flash has QSPI support but i have learnt from some posts in dev zone that the QSPI driver of NRF is hardcoded for NOR flash and hence cannot be used to interface a QSPI NAND flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Which pins to choose for NAND flash ?</title><link>https://devzone.nordicsemi.com/thread/501335?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2024 11:11:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af26c07b-10e9-4bfb-9b7a-3fac630ebf46</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Then it looks good to me, I do however see that the flash support QSPI so that would have been the fastest. What is your speed requirement?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Which pins to choose for NAND flash ?</title><link>https://devzone.nordicsemi.com/thread/501274?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2024 06:24:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccc7f9d6-8d68-4f3e-a50a-a5fb4b2d7091</guid><dc:creator>VinuGopalakrishnan</dc:creator><description>&lt;p&gt;We are not planning to use QSPI as we have chosen a SPI NAND flash (AS5F18G04SND). High data rate is a requirement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Which pins to choose for NAND flash ?</title><link>https://devzone.nordicsemi.com/thread/501272?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2024 06:15:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4e8c9a0-6df0-49da-b08d-2395a8299334</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Are you planing to use SPI or QSPI? You have found the correct pins which has the highest SPI speed and the pins for QSPI. QSPI is faster but without any more knowledge about the flash I can&amp;#39;t say if it support QSPI or not. Do you plan to run any other peripheral that might need QSPI or XiP?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would also pay attention to that there is an errata regarding QSPI and radio desegregation on the 5340, you can see Simons reply regarding it here&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/113346/nrf5340-qspi-errata-mitigation?ReplyFilter=Answers&amp;amp;ReplySortBy=Answers&amp;amp;ReplySortOrder=Descendin"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/113346/nrf5340-qspi-errata-mitigation?ReplyFilter=Answers&amp;amp;ReplySortBy=Answers&amp;amp;ReplySortOrder=Descendin&lt;/a&gt;g and you can find the errata her&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/errata_nRF5340_Rev1/page/ERR/nRF5340/Rev1/latest/anomaly_340_133.htm"&gt;https://docs.nordicsemi.com/bundle/errata_nRF5340_Rev1/page/ERR/nRF5340/Rev1/latest/anomaly_340_133.htm&lt;/a&gt;l&lt;/p&gt;
&lt;p&gt;The errata is only if you read/write while transmitting.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>