<?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>Resetting DIF to reduce interface current on nRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27255/resetting-dif-to-reduce-interface-current-on-nrf52</link><description>Hi,
As has been mentioned many times, the DIF on both the nRF51 and nRF52 consumes quite a bit of current. In the past, on the nRF51, I&amp;#39;ve relied on power cycling both chipsets to reset the DIF, as I could get no debugger command to ever do this correctly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Nov 2017 07:38:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27255/resetting-dif-to-reduce-interface-current-on-nrf52" /><item><title>RE: Resetting DIF to reduce interface current on nRF52</title><link>https://devzone.nordicsemi.com/thread/107585?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2017 07:38:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73305cc4-65fb-427b-b2ab-9ad44dbd6e43</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;This should be handled by the JLink automatically. Are you using read back protection? I&amp;#39;ve only been able to reproduce the issue when read back protection is activated, since you can&amp;#39;t do a soft reset. Any info would be helpful so we can track down the cause of this. Can you please post debugger type/version, JLink dll version, JLink FW version, nrfjprog version etc.?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Resetting DIF to reduce interface current on nRF52</title><link>https://devzone.nordicsemi.com/thread/107584?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2017 02:08:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f27a5e7f-70b4-4df8-aa28-e8068fcb9a0c</guid><dc:creator>samsonc</dc:creator><description>&lt;p&gt;THANK YOU! This works perfectly. I&amp;#39;ve been looking for this information for quite a while. I&amp;#39;m guessing it may work with the nRF51 as well, which would be useful for some of my other prototypes.&lt;/p&gt;
&lt;p&gt;Perhaps this should be integrated into nrfjprog, the standard gcc makefiles, or debug configuration? I can&amp;#39;t think of a reason for why you wouldn&amp;#39;t want to do this all the time after you&amp;#39;re done flashing or debugging (I have seen the high current even while only flashing the device)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Resetting DIF to reduce interface current on nRF52</title><link>https://devzone.nordicsemi.com/thread/107583?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2017 15:14:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bea73575-fcaf-45bb-b8ce-c6f84374fd3d</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, you can try to write to the DIF directly using JLinkExe and reset it.&lt;/p&gt;
&lt;p&gt;Run Jlink.exe (JlinkExe in linux), do &lt;em&gt;not&lt;/em&gt; connect to the chip, just make sure that the correct JLink is selected based on the serialnumber. Write this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SWDSelect
SWDWriteDP 1 0x04000000
exit
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;That should reset the DIF, and current consumption should go down to normal.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve noticed that this workaround does not work with JLink version 6.16 and higher in combination with the nRF52 DK onboard JLink (FW version 24.jul.17). It is still working with my JLink Lite programmer.&lt;/p&gt;
&lt;p&gt;So if people reading this post can&amp;#39;t get it to work try to install JLink 6.14a.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.segger.com/downloads/jlink/JLink_Windows_V614a.exe"&gt;www.segger.com/.../JLink_Windows_V614a.exe&lt;/a&gt;&lt;br /&gt;
&lt;a href="https://www.segger.com/downloads/jlink/JLink_Linux_V614a_x86_64.deb"&gt;www.segger.com/.../JLink_Linux_V614a_x86_64.deb&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>