<?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 minimize the power consumption of QSPI flash on 52840DK?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81073/how-to-minimize-the-power-consumption-of-qspi-flash-on-52840dk</link><description>Hi, 
 I am running Homekit over Thread sample(NCS/Homekit tag v1.7.0 using MTD-SED conf) on my custom board and I found that the QSPI Flash (MX25R64, as same as the one use on 52840DK) consume &amp;gt;1mA. 
 And I tested the default Homekit multiprotocol sample</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Oct 2021 11:17:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81073/how-to-minimize-the-power-consumption-of-qspi-flash-on-52840dk" /><item><title>RE: How to minimize the power consumption of QSPI flash on 52840DK?</title><link>https://devzone.nordicsemi.com/thread/336169?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2021 11:17:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8dd37b4-e6c6-4a11-a40f-de21e8684160</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are correct yes, the QSPI driver in Zephyr does not support DPD currently.&lt;/p&gt;
&lt;p&gt;I believe this is fixed in &lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/39741"&gt;pull request&lt;/a&gt;. &lt;br /&gt;It is not merged yet however, so you will have to implement the changes yourself, or wait for it to be merged.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to minimize the power consumption of QSPI flash on 52840DK?</title><link>https://devzone.nordicsemi.com/thread/336163?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2021 10:46:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f53c666-18a5-44c9-b478-1247590d9c98</guid><dc:creator>Anthony Yuan</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I just tried using below west commands to build and flash DK1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;west build -p -b nrf52840dk_nrf52840 -- -D OVERLAY_CONFIG=overlay-mtd-sed.conf -D CONFIG_LOCK=y&lt;/p&gt;
&lt;p&gt;west flash --erase&lt;/p&gt;
&lt;p&gt;And then do Homekit provision:&lt;/p&gt;
&lt;p&gt;nrfjprog -f nrf52 --sectorerase ./provisioned_xxx-xx-xxx.hex&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And then pairing with Apple Home App again.&lt;/p&gt;
&lt;p&gt;The average current is still &amp;gt; 2mA.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Anthony Yuan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to minimize the power consumption of QSPI flash on 52840DK?</title><link>https://devzone.nordicsemi.com/thread/336148?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2021 09:53:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dae9322-16a2-4d12-8355-d0807e3b9297</guid><dc:creator>Anthony Yuan</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you provide what version of the nRF52840DK? (number below the PCA10056 on the sticker)&lt;/p&gt;
&lt;p&gt;-- The sticker says: PCA10056 1.0.0 2018.43&lt;/p&gt;
&lt;p&gt;How do you build the project?&lt;/p&gt;
&lt;p&gt;-- I am using Visual Studio Code&amp;#39;s nRF Connect Plugin to Pristine build default multiprotocol sample and flash DK. I will use default west commands to pristine build/flash DK again and let you know how it works.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Anthony&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to minimize the power consumption of QSPI flash on 52840DK?</title><link>https://devzone.nordicsemi.com/thread/336138?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2021 09:17:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ef2eeac-54e7-4679-86df-36e7fec66150</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am talking to our developers on what the problem might be.&lt;br /&gt;They have two questions for you:&lt;/p&gt;
&lt;p&gt;Could you provide what version of the nRF52840DK? (number below the PCA10056 on the sticker)&lt;/p&gt;
&lt;p&gt;How do you build the project?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to minimize the power consumption of QSPI flash on 52840DK?</title><link>https://devzone.nordicsemi.com/thread/336077?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2021 02:33:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32e395eb-1390-4342-8c24-c3a2a470fd67</guid><dc:creator>Anthony Yuan</dc:creator><description>&lt;p&gt;Hi Sigurd Hellesvik,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;I checked the generated .config files for both application and mcuboot, now&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# CONFIG_LOG is not set
# CONFIG_SERIAL is not set&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And then I tested the same merged hex on 2 52840DKs:&lt;/p&gt;
&lt;p&gt;DK1, cut SB16, short SB18 (use VDD_nRF instead of VDD_PER as the power source of the external memory)&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/960x720/__key/communityserver-discussions-components-files/4/DK1.png" /&gt;&lt;/p&gt;
&lt;p&gt;DK2, short SB16, open SB18 (as default on DK, use VDD_PER as the power source of the external memory)&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/960x720/__key/communityserver-discussions-components-files/4/DK2.png" /&gt;&lt;/p&gt;
&lt;p&gt;Both DKs are measured with PPK2 like this and switch the SW6 &amp;quot;nRF ONLY | DEFAULT&amp;quot; to &amp;quot;DEFAULT&amp;quot; on 52840DK&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/960x720/__key/communityserver-discussions-components-files/4/PPK2_5F00_Connection.png" /&gt;&lt;/p&gt;
&lt;p&gt;I think 52840 itself have proper current consumption but the external memory was not been set to DPD to save power.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Anthony&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to minimize the power consumption of QSPI flash on 52840DK?</title><link>https://devzone.nordicsemi.com/thread/335933?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 11:16:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38f4e58a-97b7-4035-b9c6-2dc9a3b4c55e</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Anthony,&lt;/p&gt;
&lt;p&gt;The even high power consumption is often related to the logging module or debugging.&lt;br /&gt;So before we start looking at QSPI, lets just check:&lt;/p&gt;
&lt;p&gt;Are you debugging? If so, try to measure without debugging.&lt;/p&gt;
&lt;p&gt;Have you disabled logging? You can do this by setting the following:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG=n
CONFIG_SERIAL=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>