<?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>How to configure QSPI into Deep power down mode while using XiP.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124737/how-to-configure-qspi-into-deep-power-down-mode-while-using-xip</link><description>Hello, 
 I am using nRF5340 with nrf v2.7.99-cs2. 
 We have interfaced External flash MX25R over nRF5340&amp;#39;s QSPI channel. We are using XiP as well and some part of code lies on external flash. We need to put external flash to deep sleep mode using QSPI</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Oct 2025 08:56:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124737/how-to-configure-qspi-into-deep-power-down-mode-while-using-xip" /><item><title>RE: How to configure QSPI into Deep power down mode while using XiP.</title><link>https://devzone.nordicsemi.com/thread/551683?ContentTypeID=1</link><pubDate>Thu, 16 Oct 2025 08:56:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f779500-4fac-4cc5-bb37-86f2c819fc56</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The flash busy error is caused by the flash device still running some operations when you call the pm_device_action_run-&amp;gt; &lt;strong&gt;suspend&lt;/strong&gt; function. You need to make sure there are no flash operations ongoing and wait for any transactions to complete before calling this function.&amp;nbsp;If your application is performing asynchronous operations, make sure to synchronize and confirm the device is idle before suspending. Please refer to the Zephyr API here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/zephyr-apis-latest/page/group_subsys_pm_device.html"&gt;https://docs.nordicsemi.com/bundle/zephyr-apis-latest/page/group_subsys_pm_device.html&lt;/a&gt;&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: How to configure QSPI into Deep power down mode while using XiP.</title><link>https://devzone.nordicsemi.com/thread/551514?ContentTypeID=1</link><pubDate>Wed, 15 Oct 2025 05:56:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71a7cb7f-910c-4f87-8224-9d5722edcd91</guid><dc:creator>AR Jadhav</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;Thanks for your response.&lt;/p&gt;
&lt;p&gt;We are planning to move on stable NCS release in near future mean while below is the function which gives flash busy error.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;pm_device_action_run&lt;/span&gt;&lt;span&gt;(flashdevice&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;PM_DEVICE_ACTION_SUSPEND&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;About changing the DPD command location, I tried to use the DPD command from different locations but as I am using XiP, I am not able to put flash in power down mode.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Akshay&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure QSPI into Deep power down mode while using XiP.</title><link>https://devzone.nordicsemi.com/thread/550968?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2025 06:57:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:430cb690-4670-4ba5-aef4-223384a28186</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Again, I&amp;#39;d strongly recommend you move to a stable NCS release. Please share what function reports the flash busy error. Did you try changing when you send the DPD exit command.&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: How to configure QSPI into Deep power down mode while using XiP.</title><link>https://devzone.nordicsemi.com/thread/550810?ContentTypeID=1</link><pubDate>Tue, 07 Oct 2025 12:53:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c072da80-3587-47fc-a6cf-e5e92c8b7db0</guid><dc:creator>AR Jadhav</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;Please find the required information attached.&lt;/p&gt;
&lt;p&gt;1. We are working on custom board&lt;/p&gt;
&lt;p&gt;2. Attached zephyr.dts file&lt;/p&gt;
&lt;p&gt;3. Also attached autoconf.h file&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8507.zephyr.dts"&gt;devzone.nordicsemi.com/.../8507.zephyr.dts&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/autoconf_5F00_.h"&gt;devzone.nordicsemi.com/.../autoconf_5F00_.h&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure QSPI into Deep power down mode while using XiP.</title><link>https://devzone.nordicsemi.com/thread/550491?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2025 13:02:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27a2356b-6c54-4bb4-aee1-717793bf5b16</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;First off, I see that you&amp;#39;re on one of the &amp;quot;chip sampling&amp;quot; releases of the nRF Connect SDK and not an official release, so I&amp;#39;d strongly suggest you move to one of the more stable releases. v2.8.0, 2.9.0, or 3.1.0 for example.&lt;/p&gt;
&lt;p&gt;What function exactly is it that reports the Flash busy error in your project? Can you upload your config and device tree files so we can get a better look at how your project is set up? Are you working on an nRF5340 DK or a custom board?&lt;/p&gt;
&lt;p&gt;We had a similar issue in the past, when specifically using the spi_nor driver for external flash, where the solution was to send the DPD exit command prior to the SPI NOR driver initializing. Note that the DPD cotnrol then will be missing.&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>