<?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>nRF52840 pin reset behaviour</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80075/nrf52840-pin-reset-behaviour</link><description>The datasheet appears to say that a pin_reset does not completely reset the chip: 
 
 in particular it does not reset the SWJ-DP interface which, I believe, in some circumstances leaves the debugger running and causes excessive current. This is referred</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Sep 2021 07:51:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80075/nrf52840-pin-reset-behaviour" /><item><title>RE: nRF52840 pin reset behaviour</title><link>https://devzone.nordicsemi.com/thread/331624?ContentTypeID=1</link><pubDate>Wed, 29 Sep 2021 07:51:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f912330-76d6-4654-9c7e-f1681aa4ce51</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;Okay, so the current stays at the 1mA (debug current) after you call --pinreset, but not when --reset is called? A pin reset is not a &amp;quot;hard reset&amp;quot; per se. Only the power-on and brownout resets are considered &amp;quot;hard resets&amp;quot; as they reset all the target registers.&amp;nbsp;--reset is also a soft reset that sets&amp;nbsp;the SysResetReq bit of the AIRCR register of the core. The core will run after the operation.&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: nRF52840 pin reset behaviour</title><link>https://devzone.nordicsemi.com/thread/331544?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 13:56:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ae28fd7-5eda-4ef2-adc4-3317436606aa</guid><dc:creator>MKJ</dc:creator><description>&lt;p&gt;Is &amp;#39;hard reset&amp;#39; the same as &amp;#39;pin reset&amp;#39; - or is &amp;#39;hard reset&amp;#39; only really power up?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 pin reset behaviour</title><link>https://devzone.nordicsemi.com/thread/331536?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 13:41:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:274554e5-df1d-4d51-95ca-50376b1cb4c6</guid><dc:creator>MKJ</dc:creator><description>&lt;p&gt;Simon&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We were using --pinreset but this didn&amp;#39;t seem to clear the problem although --reset did&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 pin reset behaviour</title><link>https://devzone.nordicsemi.com/thread/331532?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 13:27:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15918bb2-c0b8-40ea-b5ad-16cd85e40241</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;1. Yes, this table should be correct. As you can see there is also a &amp;quot;Debug&amp;quot; column here, referring to the Debug and trace chapter for more information. In section 4.8.4 Debug Interface mode there is more information on when SWJ-DP is used. When a debug session is over, the external debugger makes sure to put the device back into normal mode, usually done by a soft reset, resetting the &amp;quot;debug&amp;quot; mode. In some cases if the SWJ-DP is active, this will require a hard reset. The state of the SWJ-DP can not be read I&amp;#39;m afraid, and will only be disabled on a hard reset, Power-on reset or Brownout. As long as the debug current is gone it should be safe to say that the SWJ-DP and debug mode is disabled as expected. If you want to be 100% sure without checking, a hard reset is required.&lt;/p&gt;
&lt;p&gt;What specific nrfjprog command are you using to reset the device? There are --pinreset, --reset, or --debugreset. Which one are you using? If you&amp;#39;re in doubt of what reset was called you can also read the RESETREAS register after a reset which will tell you what kind of reset was trigged.&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>