<?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 Erratum 122 QSPI power consumption in idle NRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104164/qspi-erratum-122-qspi-power-consumption-in-idle-nrf52840</link><description>I&amp;#39;ve noticed I have high power consumption from the QSPI peripheral and have seen various posts on the fix for this relating to Erratum 122. I need some guidance on implementation. 
 
 this post explains the problems and the proposed solution: 
 
 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Oct 2023 05:21:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104164/qspi-erratum-122-qspi-power-consumption-in-idle-nrf52840" /><item><title>RE: QSPI Erratum 122 QSPI power consumption in idle NRF52840</title><link>https://devzone.nordicsemi.com/thread/448594?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2023 05:21:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b42f819-13a7-4343-9a27-25ae74c8a821</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Glad to hear that. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Erratum 122 QSPI power consumption in idle NRF52840</title><link>https://devzone.nordicsemi.com/thread/447968?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2023 13:36:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae9dcddc-9633-4db0-b858-ceeec34faa6e</guid><dc:creator>robsrick</dc:creator><description>&lt;p&gt;Hi Kazi&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I got it working thanks. I was a bit unclear about how to include the uninit function but i found it in the&amp;nbsp;nrfx_qspi.h header.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI Erratum 122 QSPI power consumption in idle NRF52840</title><link>https://devzone.nordicsemi.com/thread/447938?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2023 12:12:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb93d0c3-4bd8-430f-b9bd-97789002a2fb</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;#39;&amp;#39;Why do I see high current draw if there is a fix in Zephyr?&amp;#39;&amp;#39;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I am not sure if you apply everything accordingly why the current consumption is high. What is the high current? Are you measuring the current of nRF52840 only here?&amp;nbsp; How have you measrued te current. Can we show the setup?&lt;/p&gt;
&lt;p&gt;The Errata is very much straight forward.&amp;nbsp;&lt;span&gt;After QSPI has been activated by the use of TASKS_ACTIVATE task the current consumption&amp;nbsp;will be high. Then we have to execute&amp;nbsp;the following&amp;nbsp;code before disabling QSPI.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;so,&lt;span&gt;&amp;nbsp;the answer to&amp;nbsp;your question &amp;#39;&amp;#39;&lt;strong&gt;I&amp;#39;ve tried implementing the above code snippet and it does reduce current but I guess i have to re-init each time i want to use the qspi?&amp;#39;&amp;#39; &lt;/strong&gt;is yes.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
*(volatile uint32_t *)0x40029010ul = 1ul;
*(volatile uint32_t *)0x40029054ul = 1ul&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>