<?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>About custom instruction of QSPI and dummy byte</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92045/about-custom-instruction-of-qspi-and-dummy-byte</link><description>Hi, 
 I&amp;#39;m implementing QSPI using nRF52840 and MT29F8G01ADAFD12. 
 
 SDK version : 17.1.0 
 Soft device : s140 7.2.0 
 
 I&amp;#39;m wondering about custom instruction. 
 I&amp;#39;m implementing reading the ID of device. 
 
 I implemented the code like this, but the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Sep 2022 13:07:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92045/about-custom-instruction-of-qspi-and-dummy-byte" /><item><title>RE: About custom instruction of QSPI and dummy byte</title><link>https://devzone.nordicsemi.com/thread/386893?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2022 13:07:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea783a7a-4a6e-4c8a-a4ba-6f982dbe1846</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Youngjun&lt;/p&gt;
&lt;p&gt;I&amp;#39;m afraid we don&amp;#39;t support setting up NAND flash devices with our QSPI, as the configuration and setup is exponentially more complicated than with NOR flash devices, so I&amp;#39;m afraid you&amp;#39;re mostly on your own here. We strongly recommend using a NOR flash, as the only use case I&amp;#39;ve seen a NAND flash work, in practice took away the &amp;quot;quad&amp;quot; feature in QSPI, as you&amp;#39;ll likely be left with the speeds available in normal SPI.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s what I know about your questions:&lt;/p&gt;
&lt;p&gt;1. I think though, that you can configure the number of dummy cycles on the memory side in the&amp;nbsp;flash device&amp;#39;s Nonvolatile Configuration Register. I think you can try increasing this to get a dummy cycle after a command.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. The &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Fgroup__nrf__qspi__hal.html&amp;amp;anchor=ga290902bf6e6edc2202de3fc9a91fb180"&gt;NRF_QSPI_CINSTR_LEN&lt;/a&gt;&amp;nbsp;&lt;span&gt;parameter is the length of your custom instruction, where one of the bytes is the OP code, and the rest are custom instruction data.&lt;/span&gt;&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>