<?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>brownout / watchdog reset on voltage drop</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37058/brownout-watchdog-reset-on-voltage-drop</link><description>Hi, 
 as described here https://devzone.nordicsemi.com/f/nordic-q-a/37056/supervision-timeout-and-unplanned-disconnect our device has a hard current limit of 2mA. 
 Problem occurs if there is a BLE disconnect due to BLE master getting out of range. This</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Aug 2018 12:21:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37058/brownout-watchdog-reset-on-voltage-drop" /><item><title>RE: brownout / watchdog reset on voltage drop</title><link>https://devzone.nordicsemi.com/thread/143019?ContentTypeID=1</link><pubDate>Mon, 06 Aug 2018 12:21:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4124a616-ff8f-4bf3-a464-ee7405d6c312</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;CBD is correct,&amp;nbsp;the power supply does not fit the use-case. There are&amp;nbsp;a few&amp;nbsp;ways to mitigate the issue, like CBD has already mentioned.&lt;br /&gt;&lt;br /&gt; I suggest you take a look at TI&amp;#39;s&amp;nbsp;&lt;a href="http://www.ti.com/product/tps3898"&gt;TPS3898 &lt;/a&gt;and similar power supply supervisors/reset chips and calculate the required size of your capacitor bank.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: brownout / watchdog reset on voltage drop</title><link>https://devzone.nordicsemi.com/thread/142945?ContentTypeID=1</link><pubDate>Mon, 06 Aug 2018 07:39:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3029282-f486-4bef-85b9-fbcb509baeda</guid><dc:creator>cbd</dc:creator><description>&lt;p&gt;You&amp;#39;re really pushing the limits if your maximum power draw is 2mA. As noted in the specification and you&amp;#39;ve seen in practice you require much more than that when BLE is active, hence your capacitor bank.&lt;/p&gt;
&lt;p&gt;The system will hold in reset until the internals have stabilised, but I would suggest that you look into a means of holding off powering up your 52832 until after the power bank caps have been fully charged.&lt;/p&gt;
&lt;p&gt;Are you only enabling the SoftDevice once you&amp;#39;ve ascertained that your power supply is of sufficient voltage? With a direct coin cell connection I&amp;#39;d be wary of enabling it if the supply voltage was 2.5V or less as the dip in voltage when BLE transmits can reset the unit. You&amp;#39;ll need to calculate/simulate your power cycles with your capacitor bank included.&lt;/p&gt;
&lt;p&gt;Have you been using the power fail comparator to help detect insufficient power and disable the BLE?&lt;/p&gt;
&lt;p&gt;It strikes me that your support circuitry will need to provide the &amp;quot;user intervention&amp;quot; in the case of brownout reset. Sadly such circuitry will eat into your power budget.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: brownout / watchdog reset on voltage drop</title><link>https://devzone.nordicsemi.com/thread/142937?ContentTypeID=1</link><pubDate>Mon, 06 Aug 2018 06:32:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5f46d24-7dca-4a22-9e87-b2b8a91f7f78</guid><dc:creator>mrono</dc:creator><description>&lt;p&gt;Note that I&amp;#39;m not the original poster, but I think this is an issue that is going go surprise a lot of people if it truly is designed the way you describe.&lt;/p&gt;
&lt;p&gt;My requirements are simply that the device needs to recover *without user intervention* from a brown-out situation. Assuming of course that the cause of the brown-out goes away when the MCU resets, and Vdd rises back to an acceptable level.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: brownout / watchdog reset on voltage drop</title><link>https://devzone.nordicsemi.com/thread/142863?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 14:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c021b34c-0263-4a34-9776-f4bea2c0e4c7</guid><dc:creator>rgrr2</dc:creator><description>&lt;p&gt;You are not serious about that?&amp;nbsp; User intervention!?&amp;nbsp; Aarrrggghhhh!&lt;/p&gt;
&lt;p&gt;So our current limit provides enough power to keep the brownout detection alive and the nRF is stuck.&lt;/p&gt;
&lt;p&gt;I doubt that brownout is implemented that way in e.g. MSP430.&lt;/p&gt;
&lt;p&gt;Could someone please give me a pointer where this behaviour is described?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Hardy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: brownout / watchdog reset on voltage drop</title><link>https://devzone.nordicsemi.com/thread/142852?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 13:48:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7895ee0-1f80-44a0-99c8-19ef28443a92</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;It&amp;#39;s designed to require user intervention, like the change of a coin cell battery.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Do you mind sharing some more information on your power supply and your requirements?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: brownout / watchdog reset on voltage drop</title><link>https://devzone.nordicsemi.com/thread/142766?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 09:52:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1e25935-d008-48b0-bafa-59e94f68ce48</guid><dc:creator>mrono</dc:creator><description>[quote userid="13562" url="~/f/nordic-q-a/37058/brownout-watchdog-reset-on-voltage-drop/142583"]it holds the system in a reset state until power cycled.[/quote]
&lt;p&gt;So if you ever do get a brown-out event, how do you recover? How is the power cycling going to happen without user intervention?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: brownout / watchdog reset on voltage drop</title><link>https://devzone.nordicsemi.com/thread/142747?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 08:16:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:696fb5f0-ed51-4f3c-a13a-3bea1fb261ee</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;&lt;a title="Brown-out reset" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/power.html?cp=2_1_0_17_5_5#brown_out_reset"&gt;Brown-out reset&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The current consumption is probably equal to the CPU run current.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The Brown-out detection is a hard limit in any design, you just need to make sure you do not dip below 1.7V and that your dip is not more than 300mV OR you have a slow enough rise time to adhere to:&lt;br /&gt;&lt;br /&gt; &amp;quot;A step increase in supply voltage of 300 mV or more, with rise time of 300 ms or less, within the valid supply range, may result in a system reset&amp;quot; as per&amp;nbsp;&lt;a title="Power-on reset" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/power.html?cp=2_1_0_17_5_0#unique_535248719"&gt;Power-on reset&lt;/a&gt;&amp;nbsp;spec.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: brownout / watchdog reset on voltage drop</title><link>https://devzone.nordicsemi.com/thread/142672?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 15:38:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:131f4e60-3833-4cac-8adb-b79872b2d15b</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;Haakonsh can you please provide a link to the detailed spec describing this aspect of brownout reset? I don&amp;#39;t recall reading about it and it does bring up some interesting design challenges.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: brownout / watchdog reset on voltage drop</title><link>https://devzone.nordicsemi.com/thread/142595?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 11:55:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2403652-1b82-40da-909d-d0af74c354c9</guid><dc:creator>rgrr2</dc:creator><description>&lt;p&gt;Ooops... what does that mean?&amp;nbsp;&amp;nbsp; The system is hold in a reset state until power cycled?&amp;nbsp; Means that VDD must go down to 0V?&amp;nbsp; How much current is consumed during this state?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: brownout / watchdog reset on voltage drop</title><link>https://devzone.nordicsemi.com/thread/142583?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 11:21:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc84732a-300a-48b6-8a6e-d41e4f077351</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I misspoke sorry, it does not short VDD to GND, it holds the system in a reset state until power cycled. This will drain the battery as mentioned previously.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: brownout / watchdog reset on voltage drop</title><link>https://devzone.nordicsemi.com/thread/142576?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 10:42:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1eb08355-c778-4580-95ff-8abe6cda6589</guid><dc:creator>rgrr2</dc:creator><description>&lt;p&gt;Is this &amp;quot;kill switch&amp;quot; somewhere documented?&amp;nbsp; Do I understand it correctly, that the kill switch shortens VDD to Gnd until a certain voltage level is reached?&lt;/p&gt;
&lt;p&gt;I will do my best to provide a VDD plot tomorrow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: brownout / watchdog reset on voltage drop</title><link>https://devzone.nordicsemi.com/thread/142572?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 10:28:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23e0bc8c-cfe5-487c-8465-d01901f631c4</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;When the brown/out detection is triggered the SoC will short VDD to GND in order to drain the battery. It is a sort of kill switch that prevents spurious operation whenever a coin cell battery has been discharged.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I suggest you increase the capacitance of the 4.7µF supply capcitor.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Do you have any scope of VDD to share?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: brownout / watchdog reset on voltage drop</title><link>https://devzone.nordicsemi.com/thread/142434?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 13:58:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc38a714-0476-45ff-a862-4ac1de8dfc44</guid><dc:creator>rgrr2</dc:creator><description>&lt;p&gt;Thanks for the suggestions.&amp;nbsp; I&amp;#39;m already using POF to prevent the situation.&amp;nbsp; But this can&amp;#39;t be the final thing, because if voltage drops to fast the device will be stuck again.&lt;/p&gt;
&lt;p&gt;No, device is not powered by a coin cell.&amp;nbsp; Actually it is a loop powered (4..20mA) field device, current budget for the BLE connectivity is max. 2mA which is really limited by hardware.&lt;/p&gt;
&lt;p&gt;Concerning your suggestion with the intermediate start up state: I will check that tomorrow.&lt;/p&gt;
&lt;p&gt;Any idea what could be the minimum code for a 1s low power wait?&lt;/p&gt;
&lt;p&gt;Out of memory I think, it must contain something like&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;- NRF_POWER-&amp;gt;TASKS_LOWPWR = 1;&lt;/p&gt;
&lt;p&gt;- start LFCLK&lt;/p&gt;
&lt;p&gt;- init RTC to generate an event after 1s&lt;/p&gt;
&lt;p&gt;- while (rtc event did not happen) __WFE();&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hardy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: brownout / watchdog reset on voltage drop</title><link>https://devzone.nordicsemi.com/thread/142404?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 12:49:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c1a15ac-7e85-49b0-9f5e-a8251d657728</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;The brownout reset likely is working as I don&amp;#39;t think there is a way to prevent it.&lt;/p&gt;
&lt;p&gt;What is probably going on is that once your battery voltage is low and the reset occurs there is insufficient battery power to boot and the device gets into some odd in between state. Booting takes quite a bit of power since it takes a little while and the processor runs continuously during this time.&lt;/p&gt;
&lt;p&gt;You can set the POF for a higher voltage and this will give you an interrupt that you can use to prevent the problem. Thoughts would be terminate the connection, properly service your watchdog, etc.&lt;/p&gt;
&lt;p&gt;Also, you should put code in early in main that looks at vdd_nrf and if it is low then you can put the processor to sleep for a minute while the battery voltage picks up. Then once it is high enough continue with the boot.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m assuming you are using a coin cell.&amp;nbsp; This is a common problem with coin cells.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>