<?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>Occasional reset after TX, VDD plots inside</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64562/occasional-reset-after-tx-vdd-plots-inside</link><description>I&amp;#39;m working on a project that uses the Fanstel BC840m module. The project uses a custom PCB design, and everything was going smoothly until... I enabled DCDC1, stopped building in DEBUG, and switched to battery. 
 Issue 
 When I enable use of DCDC1 I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Jan 2023 10:52:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64562/occasional-reset-after-tx-vdd-plots-inside" /><item><title>RE: Occasional reset after TX, VDD plots inside</title><link>https://devzone.nordicsemi.com/thread/403360?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2023 10:52:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7683ebd9-dfbb-46fd-943b-bec6dc3fed89</guid><dc:creator>kobyatom</dc:creator><description>&lt;p&gt;thank you very much for this much needed FW workaround.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Occasional reset after TX, VDD plots inside</title><link>https://devzone.nordicsemi.com/thread/403359?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2023 10:51:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d30c0caa-a13c-4c48-9a75-6b99f745f690</guid><dc:creator>kobyatom</dc:creator><description>&lt;p&gt;Thank you very much !!! great catch.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Occasional reset after TX, VDD plots inside</title><link>https://devzone.nordicsemi.com/thread/271603?ContentTypeID=1</link><pubDate>Fri, 25 Sep 2020 21:11:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7de67e2-2460-424a-b066-fd47c3a4c9df</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;There is a known issue with slow and fast rise times on Vdd which can lead to a reset; this can be caused by a dip and recovery in voltage on the nRF52832 when insufficient Vdd capacitance is used on a coin cell (&lt;em&gt;A step increase in supply voltage of 300 mV or more, with rise time of 300 ms or less, within the valid supply&amp;nbsp;range, may result in a system reset&lt;/em&gt;) though is not listed on the nRF52840 product spec but a max is specified.&lt;/p&gt;
&lt;p&gt;nRF52840:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;tR_VDD Supply rise time (0 V to 1.7 V)&amp;nbsp; max 60 ms&lt;/em&gt;&lt;br /&gt;&lt;em&gt;tR_VDDH Supply rise time (0 V to 3.7 V) max 100 ms&lt;/em&gt;&lt;br /&gt;&lt;em&gt;TA Operating temperature -40 25 85 &amp;deg;C&lt;/em&gt;&lt;br /&gt;&lt;em&gt;Table 152: Recommended operating conditions&lt;/em&gt;&lt;br /&gt;&lt;em&gt;Important: The on-chip power-on reset circuitry may not function properly for rise times longer than the specified maximum.&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Occasional reset after TX, VDD plots inside</title><link>https://devzone.nordicsemi.com/thread/271602?ContentTypeID=1</link><pubDate>Fri, 25 Sep 2020 20:27:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d702a4ff-c42e-41cc-97eb-364ad16b7fc9</guid><dc:creator>ULPDev</dc:creator><description>&lt;p&gt;I have resolved the issue. It was on the hardware side. I removed the BC840M module&amp;#39;s EMI shield and noted that the module does not contain all of the recommended capacitors on VDD. I created a new hardware revision to add additional capacitance right next to the BC840M. I have not observed an unexpected reset with this design.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Occasional reset after TX, VDD plots inside</title><link>https://devzone.nordicsemi.com/thread/269583?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 09:03:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cedbce6f-8268-47b4-b20c-6493036d4987</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Andreas is currently out of office.&lt;/p&gt;
&lt;p&gt;You observation is odd, I can&amp;#39;t think I have seen something like this before. Typically dcdc is enabled at start of main(), and the hardware will then startup dcdc as required automatically without any more user &amp;quot;intervention&amp;quot;.&lt;/p&gt;
&lt;p&gt;Can you share the schematic for the fanstel module and the additional components you have placed around the module?&lt;/p&gt;
&lt;p&gt;It&amp;#39;s difficult to see the details of you traces, for instance the voltage level and timing is not possible to read on the traces.&lt;/p&gt;
&lt;p&gt;Are you able to provide the chip markings printed on the nRF52840 ic of the fanstel module?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Occasional reset after TX, VDD plots inside</title><link>https://devzone.nordicsemi.com/thread/268147?ContentTypeID=1</link><pubDate>Sat, 05 Sep 2020 20:47:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1be02174-393c-403a-b72a-b8392e6fb58b</guid><dc:creator>ULPDev</dc:creator><description>&lt;p&gt;I know it&amp;#39;s been awhile since I updated. I have continued to troubleshoot. I found a workaround, but I don&amp;#39;t like it as it doesn&amp;#39;t really solve the problem, just masks it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;First off, I can reproduce the issue with the beacon sample application from the SDK on my custom board. All I did to that application was enable DCDC, and ramp up advertisement frequency (to trigger the reset with less waiting). The &amp;quot;dip&amp;quot; at D above exists with this application too.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To partially answer my question from above about what D is I did find these two documents:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/ble_processor_avail_interrupt_latency/ble_broadcaster_performance.html"&gt;https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/ble_processor_avail_interrupt_latency/ble_broadcaster_performance.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/ble_power_profiles/advertising_event.html"&gt;https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/ble_power_profiles/advertising_event.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I did find that inhibiting &amp;quot;idle sleep&amp;quot; stopped all resets. I also found that keeping the HFClock on (with&amp;nbsp;&lt;span&gt;nrf_drv_clock_hfclk_request(NULL);) stopped all resets. But neither of those are acceptable solutions or workarounds as they have substantial power penalties.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Disabling idle sleep and locking HFClock appear to keep DCDC on, which eliminates those transitions and resolved the resets.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:left;"&gt;It sure looks like there is some weird timing or interrupt issue that can arise when the SoC switches from DCDC to Ldo. Perhaps this doesn&amp;#39;t manifest 99% of the time but if the hardware margins are just right (and by that I mean on the wrong side of right) this problem appears.&lt;/p&gt;
&lt;p style="text-align:left;"&gt;&lt;/p&gt;
&lt;p style="text-align:left;"&gt;Could it be that the SoC is switching from DCDC to LDO before LDO has sufficiently stabilized, which causes BOR? This may only happen on battery in certain hardware designs that have trouble providing surge current.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Disabling idle sleep and locking HFClock appear to keep DCDC on, which eliminates those transitions and resolved the resets.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Workaround that&amp;nbsp;surprisingly works&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;I enabled radio notifications, when I get the radio active notification I enable DCDC. When I get the inactive notification I disable DCDC. Somehow, this resolves the issue and there is no reset by the transition back to LDO. I have observed the VDD traces with the scope and I can confirm that DCDC is&amp;nbsp;actually getting enabled/disabled by this. I understand that the application is never really in control since per the documentation if DCDC is enabled then the SoC will choose which regulator to use based upon current load. This workaround has brought my application&amp;#39;s current draw down to very close to the draw I had measured with DCDC enabled all the time. So this is an &amp;quot;acceptable&amp;quot; work around.&amp;nbsp;&lt;strong&gt;But it is still a workaround with an unexplained &amp;quot;why&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I believe there is some very low probability timing issue/glitch that comes into play in the LDO-&amp;gt;DCDC transition that is exacerbated or only manifested in certain hardware configurations. It would be easy to blame this on the custom hardware but the fact that I can workaround it as above would seem to indicate there&amp;#39;s more to it then that.&lt;/p&gt;
&lt;p&gt;Is there any NRF Engineer that can comment on this from the HW perspective? Are there any undocumented engineering values that could be changed to adjust the way LDO-&amp;gt;DCDC transitions are scheduled/performed? I would love to understand the &amp;quot;why&amp;quot; so that I can proceed with confidence...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This hasn&amp;#39;t completely resolved the resets. They are very infrequent, going 12 hours or more without reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Occasional reset after TX, VDD plots inside</title><link>https://devzone.nordicsemi.com/thread/263924?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 06:23:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df2c45e6-4628-4fe9-978e-cb001907117a</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;OK, now I understand. Hard for me to say without knowing what is happening after D, but seeing as it has been reset I would expect some sort of start-up procedure, during which the CPU will be active. This will draw current, not as much as the radio but also you can see that it does not drop as steeply as C. Whether or not it uses LDO or DCDC depends on where you enable that in your code.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Occasional reset after TX, VDD plots inside</title><link>https://devzone.nordicsemi.com/thread/263582?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 11:33:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60f44098-533a-4da1-84b6-8933cdccfae7</guid><dc:creator>ULPDev</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the response.&lt;/p&gt;
&lt;p&gt;RESETREAS is 0. (Which I&amp;#39;m aware would indicate BOR)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To be clear, yes C has a big dip, that&amp;#39;s not very surprising. It&amp;#39;s the &amp;quot;relatively&amp;quot; small dip at D that is interesting. D is the point where the reset occurs.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The voltage is measured as close to the chip as I can get. ~1.5mm away.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Occasional reset after TX, VDD plots inside</title><link>https://devzone.nordicsemi.com/thread/263579?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 11:11:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c321317-944f-4577-aa0e-5ea919cda87e</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The dip at C is likely the battery not able to supply enough current, reducing the voltage. Where is the voltage measured though, at the pin of the module or further away? What do you get if you readout the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fpower.html"&gt;RESETREAS&lt;/a&gt; register?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>