<?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>QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84992/qspi-not-waking-from-deep-sleep-on-startup</link><description>In SDK 1.9.0 i saw that QSPI deep power down was implemented and i can confirm that that works using the below code. The issue I see is that if the device is in deep power down mode and then the device is rebooted and power is maintained in my case through</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Mar 2022 11:23:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84992/qspi-not-waking-from-deep-sleep-on-startup" /><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/358830?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2022 11:23:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3e002fd-6a2b-4368-b14a-1f904be85e03</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ed&lt;/p&gt;
&lt;p&gt;Yes, we are working on a new way of assigning and configuring pins used by peripherals, and&amp;nbsp;recently all our drivers were updated in upstream Zephyr to support PINCTRL (find a related commit that changed the QSPI driver &lt;a href="https://github.com/zephyrproject-rtos/zephyr/commit/7d0a2ffcb7526d13bb6860bbef69d99909c9f507"&gt;here&lt;/a&gt;).&amp;nbsp;All board definitions are also being updated to use PINCTRL.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;These changes will&amp;nbsp;be introduced in NCS 2.0.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/358741?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2022 18:26:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:115c1a21-85a5-49a1-978a-4f53270a48c2</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;So the premise of&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/43766"&gt;43766&lt;/a&gt;&amp;nbsp;seems to work fine but the file itself seems to be a bit ahead of the current nrf connect releases so I had to adapt it. Next I will look at adapting the idle code.&amp;nbsp; Is there a new release coming up? I noticed a bunch of&amp;nbsp;CONFIG_PINCTRL logic in the driver that is not in current releases.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/358558?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2022 08:45:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57956d17-19ca-407c-b203-88563ec068e8</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;You welcome, just let me know if you have more questions or comments.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/358425?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 12:38:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb08aa37-9e52-4108-a289-efb95d5af6f6</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;Thanks for the update I will look into these pull and get back to you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/358330?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 07:23:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4155288a-b7c9-42d7-8b4c-67ef26daf3f1</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;Apparently someone already &lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/42052"&gt;created a PR&lt;/a&gt; to&amp;nbsp;add the &lt;span&gt;CONFIG_NORDIC_QSPI_NOR_IDLE_IN_DPD configuration to the QSPI driver (based on the SPI NOR implementation)&lt;/span&gt;, but the developer was not convinced these changes were&amp;nbsp;applied correctly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That said, keep in mind that with the nRF Connect SDK you could always make the changes yourself and create a PR to have us include it in a future release.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/358150?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2022 09:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64a13e58-7d1e-4df5-8a95-634629f8532b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ed&lt;/p&gt;
&lt;p&gt;Thanks for the clarification, that makes sense. I will inquire if this is something we can look into.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the meantime the developer created a PR to fix the sleep issue. He wasn&amp;#39;t able to test it himself since he doesn&amp;#39;t have the right hardware available, so if you are able to test it that would be appreciated:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/43766"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/43766&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/357955?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 13:07:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02ea3a1f-7a31-4196-92c1-ed75812f64f6</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;As I stated earlier SPI Nor a config CONFIG_SPI_NOR_IDLE_IN_DPD which handles all transitions to and from DPD in the read and write functions of the driver which is the most appropriate place for this to be handled.&amp;nbsp; I included the link to the config description and I had previously pointed out their implementation in spi nor.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.zephyrproject.org/3.0.0/reference/kconfig/CONFIG_SPI_NOR_IDLE_IN_DPD.html"&gt;docs.zephyrproject.org/.../CONFIG_SPI_NOR_IDLE_IN_DPD.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/357841?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 08:46:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3c124f4-ecbf-49b0-acac-a933f46a345b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ed&lt;/p&gt;
[quote user="edmcnicholas"]I would like to add that this feature is more useful with the idle in deep power down like the nor spi driver.[/quote]
&lt;p&gt;Are you able to elaborate a bit on this?&lt;/p&gt;
&lt;p&gt;You mean you would like to see some other changes to the driver as well?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/357697?ContentTypeID=1</link><pubDate>Fri, 11 Mar 2022 14:20:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5005e302-ca11-475c-bb88-714b85393780</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;Thanks for the update. I would like to add that this feature is more useful with the idle in deep power down like the nor spi driver.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/357587?ContentTypeID=1</link><pubDate>Fri, 11 Mar 2022 09:50:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d1c5a2b-4c74-44a7-969a-dc4ba47cda8b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ed&lt;/p&gt;
&lt;p&gt;There is, yes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I discussed the issue with the developer, and he agreed that this was an issue in the driver.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The short term workaround is to remove the &amp;quot;has-dpd&amp;quot; property for flash devices that our driver doesn&amp;#39;t properly support, but he will work to include a fix in the driver that will send the Release from Deep Power Down command (0xAB) during the initialization phase of the driver.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Most likely he will have a pull request ready within a couple of days, which you can test out on your end.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/357505?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2022 18:08:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b5f7ed9-44ae-4054-9f97-93a38c6c3b42</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;any updates?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/356650?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 14:23:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f96ef7df-7b28-441c-b438-d6206a0e3f15</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ed&lt;/p&gt;
&lt;p&gt;Sorry for the slow response, I was on travel all last week.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have asked the developers for some input on your findings, and will try to get back to you in a day or two.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/356146?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 20:05:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5307337f-1512-4978-8ab1-2f0863a89f9e</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;so are you going to put in a ticket to fix this in an upcoming release?&amp;nbsp; The current driver is not in line with standard QSPI ics.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/355908?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2022 18:06:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc435b13-be31-4184-b9a4-a334023bc46a</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;The implimentation for idle in dpd would be found in lines 463 to 497&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/355907?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2022 18:03:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3b8a82a-da7c-499e-ae31-01f1fd9d23ef</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;After searching code please refer to&amp;nbsp; 1.9.0\zephyr\drivers\flash\spi_nor.c for the proper implementation.&amp;nbsp; In their code they issue a return from DPD on init.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is how the qspi should be implemented.&amp;nbsp; Ideally there would also be an idle in standby like the spi nor code as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;function &amp;quot;static int spi_nor_configure(const struct device *dev)&amp;quot; line 1031.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/355089?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 15:26:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99e4e188-35dc-4324-8f26-723e2210869c</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;To my knowledge all other devices need the AB command to return from DPD so it seems like maxtronix is the outlier.&lt;/p&gt;
&lt;p&gt;new maxtronix chipset&lt;/p&gt;
&lt;p&gt;8.22 ENTER DEEP POWER DOWN (DP, B9h) The Deep Power-down (DP) instruction is for setting the device on the minimizing the power consumption (enter into Power-down mode). During this mode, standby current is reduced from Isb1 to Isb2. While in the Power-down mode, the device is not active and all Write/Program/Erase instructions are ignored. The instruction is initiated by driving the CE# pin low and shifting the instruction code into the device. The CE# pin must be driven high after the instruction has been latched, or Power-down mode will not engage. Once CE# pin driven high, the Power-down mode will be entered within the time duration of tDP. While in the Power-down mode only the Release from Powerdown/RDID instruction, which restores the device to normal operation, will be recognized. All other instructions are ignored, including the Read Status Register instruction which is always available during normal operation. Ignoring all but one instruction makes the Power Down state a useful condition for securing maximum write protection. It is available in both SPI and QPI mode&lt;/p&gt;
&lt;p&gt;I found the same in cypress memory&lt;/p&gt;
&lt;p&gt;4.3.5 Interface Standby When CS# is high the SPI interface is in standby state. Inputs other than RESET# are ignored. The interface waits for the beginning of a new command. The next interface state is Instruction Cycle when CS# goes low to begin a new command. While in interface standby state the memory device draws standby current (ISB) if no embedded algorithm is in progress. If an embedded algorithm is in progress, the related current is drawn until the end of the algorithm when the entire device returns to standby current draw. A Deep Power Down (DPD) mode is supported by the FS-S Family devices. If the device has been placed in DPD mode by the DPD (B9h) command, the interface standby current is (IDPD). The DPD command is accepted only while the device is not performing an embedded algorithm as indicated by the Status Register-1 volatile Write In Progress (WIP) bit being cleared to zero (SR1V[0] = 0). While in DPD mode the device ignores all commands except the Release from DPD (RES ABh) command, that will return the device to the Interface Standby state after a delay of tRES.&lt;/p&gt;
&lt;p&gt;Giga memory&lt;/p&gt;
&lt;p&gt;7.21. Deep Power-Down (DP) (B9H)&lt;br /&gt;Executing the Deep Power-Down (DP) command is the only way to put the device in the lowest consumption mode (the&lt;br /&gt;Deep Power-Down Mode). It can also be used as an extra software protection mechanism, while the device is not in active&lt;br /&gt;use, since in this mode, the device ignores all Write, Program and Erase commands.&lt;br /&gt;Driving CS# high deselects the device, and puts the device in the Standby Mode (if there is no internal cycle currently in&lt;br /&gt;progress). But this mode is not the Deep Power-Down Mode. The Deep Power-Down Mode can only be entered by&lt;br /&gt;executing the Deep Power-Down (DP) command. Once the device has entered the Deep Power-Down Mode, all commands&lt;br /&gt;are ignored except the Release from Deep Power-Down and Read Device ID (RDI) command or software reset command.&lt;br /&gt;The Release from Deep Power-Down and Read Device ID (RDI) command releases the device from Deep power-Down&lt;br /&gt;mode , also allows the Device ID of the device to be output on SO.&lt;br /&gt;The Deep Power-Down Mode automatically stops at Power-Down, and the device is in the Standby Mode after Power-Up.&lt;br /&gt;The Deep Power-Down command sequence: CS# goes low &amp;rarr; sending Deep Power-Down command &amp;rarr; CS# goes high.&lt;br /&gt;The command sequence is shown below. CS# must be driven high after the eighth bit of the command code has been&lt;br /&gt;latched in; otherwise the Deep Power-Down (DP) command is not executed. As soon as CS# is driven high, it requires a&lt;br /&gt;delay of tDP before the supply current is reduced to ICC2 and the Deep Power-Down Mode is entered. Any Deep Power-&lt;br /&gt;Down (DP) command, while an Erase, Program or Write cycle is in progress, is rejected without having any effects on the&lt;br /&gt;cycle that is in progress.&lt;/p&gt;
&lt;p&gt;ISSI&lt;/p&gt;
&lt;p&gt;8.22 ENTER DEEP POWER DOWN (DP, B9h) The Deep Power-down (DP) instruction is for setting the device on the minimizing the power consumption (enter into Power-down mode). During this mode, standby current is reduced from Isb1 to Isb2. While in the Power-down mode, the device is not active and all Write/Program/Erase instructions are ignored. The instruction is initiated by driving the CE# pin low and shifting the instruction code into the device. The CE# pin must be driven high after the instruction has been latched, or Power-down mode will not engage. Once CE# pin driven high, the Power-down mode will be entered within the time duration of tDP. While in the Power-down mode only the Release from Powerdown/RDID instruction, which restores the device to normal operation, will be recognized. All other instructions are ignored, including the Read Status Register instruction which is always available during normal operation. Ignoring all but one instruction makes the Power Down state a useful condition for securing maximum write protection. It is available in both SPI and QPI mode&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/355086?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 15:09:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa784bdc-36cf-47f3-bb46-3d79a85f6693</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;Yes as it is reaching the power down state which is the same as spi nor implementation.&amp;nbsp; I think your qspi&amp;nbsp; nor relying on cs waking the device is not a standard feature of all qspi flash so it needs to be updated.&amp;nbsp; my board reaches 55uA total with a gpiote high accuracy event enabled to i would have to say that yes the device is in deep sleep.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In reading the data sheet it states that the device is designed to only respond to the wake from deep sleep command in deep sleep which i believe is 0xAB.&amp;nbsp; That is used when waking the device but with only 2 data sheets to look at I would say for safety state the device should sent the wake command at init.&amp;nbsp; As the device will not respond to the status call so this would preclude Winbond parts from being used.&amp;nbsp; I am including the section from the data sheet below.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;8.2.24 Power-down (B9h)&lt;br /&gt;Although the standby current during normal operation is relatively low, standby current can be further&lt;br /&gt;reduced with the Power-down instruction. The lower power consumption makes the Power-down&lt;br /&gt;instruction especially useful for battery powered applications (See ICC1 and ICC2 in AC Characteristics).&lt;br /&gt;The instruction is initiated by driving the /CS pin low and shifting the instruction code &amp;ldquo;B9h&amp;rdquo; as shown in&lt;br /&gt;Figure 37a &amp;amp; 37b.&lt;/p&gt;
&lt;p&gt;The /CS pin must be driven high after the eighth bit has been latched. If this is not done the Power-down&lt;br /&gt;instruction will not be executed. After /CS is driven high, the power-down state will entered within the time&lt;br /&gt;duration of tDP (See AC Characteristics). While in the power-down state only the Release Power-down /&lt;br /&gt;Device ID (ABh) instruction, which restores the device to normal operation, will be recognized. All other&lt;br /&gt;instructions are ignored. This includes the Read Status Register instruction, which is always available&lt;br /&gt;during normal operation. Ignoring all but one instruction makes the Power Down state a useful condition&lt;br /&gt;for securing maximum write protection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/355074?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 14:44:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f75b19e-78a5-4afd-b990-ce455c29ef41</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ed&lt;/p&gt;
&lt;p&gt;Thanks for the additional information.&amp;nbsp;&lt;/p&gt;
[quote user="edmcnicholas"]So in looking at the data sheet the qspi flash you use on the dev kit is able to return from deep power down by holding CS low for 20ns but the qpsi we were able to get in the current market&amp;nbsp;W25Q128JVPIQ does not have this feature other chips need the explicit wake command to return to powered on state.&amp;nbsp; I see now why this might not show up on the dev kit.&amp;nbsp; Is there a way to work around this?[/quote]
&lt;p&gt;Most likely&amp;nbsp;you would need a different driver for you flash device then, using the wakeup command rather than relying on pulling the CS signal low.&amp;nbsp;&lt;/p&gt;
[quote user="edmcnicholas"]This makes my wonder how this is working in the spi nor implementation since I don&amp;#39;t see this behavior.&amp;nbsp; That might be a good place to look for what is missing.[/quote]
&lt;p&gt;Are you sure this driver is using power down at all?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/354898?ContentTypeID=1</link><pubDate>Thu, 24 Feb 2022 22:12:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6adc5ca-0d02-4348-936e-28815f7ffabf</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;So in looking at the data sheet the qspi flash you use on the dev kit is able to return from deep power down by holding CS low for 20ns but the qpsi we were able to get in the current market&amp;nbsp;W25Q128JVPIQ does not have this feature other chips need the explicit wake command to return to powered on state.&amp;nbsp; I see now why this might not show up on the dev kit.&amp;nbsp; Is there a way to work around this?&lt;/p&gt;
&lt;p&gt;This makes my wonder how this is working in the spi nor implementation since I don&amp;#39;t see this behavior.&amp;nbsp; That might be a good place to look for what is missing.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/354736?ContentTypeID=1</link><pubDate>Thu, 24 Feb 2022 08:50:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99cc4373-9cc9-45d3-a706-53f69ac995b6</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ed&lt;/p&gt;
&lt;p&gt;Thanks for the clarification, so if I understand you correctly the problem happens when the flash device is in deep sleep when the Nordic device is reset?&lt;/p&gt;
&lt;p&gt;This makes sense if the driver assumes that the flash device is active&amp;nbsp;during initialization. Possibly the driver should check this, and try to wake up the device if it is not responding.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think I will have to reproduce the issue on my end in order to investigate this further. Do you think one of the standard samples can be used to reproduce it?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/354621?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 14:25:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a82ecd1c-046b-4d75-afd8-c8d63094ec77</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;To be mode specific i think this has to do with the qspi nor chip being in deep sleep not the peripheral.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/354613?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 14:05:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba3ea29b-6e29-44f8-a87d-4602c8ab1b16</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;Also how would reset wake the qspi from deep sleep?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/354611?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 14:01:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78a153b0-80dd-4a26-b5a6-ac265753f4a2</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;I do that using the debugger unless the reset call in the ide does not actually reset the processor. Shouldn&amp;#39;t all of the unit code be run from reset?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/354607?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 13:56:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a98816e4-b2fd-4442-9361-395b8a1d1cb4</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ed&lt;/p&gt;
&lt;p&gt;What if you run a reset manually after programming? Will it work then?&lt;/p&gt;
&lt;p&gt;It is quite common to see issues after programming the device if a reset is not explicitly performed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Waking from system OFF sleep or a watchdog timer counts as a reset, and should not exhibit this issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Not waking from deep sleep on startup</title><link>https://devzone.nordicsemi.com/thread/354434?ContentTypeID=1</link><pubDate>Tue, 22 Feb 2022 19:39:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26e0bad3-1404-44e4-9d65-bbcbd4e42d85</guid><dc:creator>edmcnicholas</dc:creator><description>&lt;p&gt;I found this while running on the debugger. When the device is reset I would assume all devices where drivers are provided would be initialized.&amp;nbsp; It works the first time after power is applied but if reprogrammed I get a null device pointer.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;This worked fine configured as spi nor but as qspi nor the device is not reinitializing at startup.&amp;nbsp; If I don&amp;#39;t totally remove power the qspi does not initialize if it has been powered down and return a null device pointer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;I could see this being an issue with mcu boot as well as debugging or reset from watchdog etc&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>