<?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>nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24157/nrf52-not-booting-properly-without-reset</link><description>Hi 
 I did a bunch of boards for a product, and in the latest version I used a BQ25121 PMIC which also has a reset output which I tied to the nRF52 input. On the previous boards the reset signal was tied directly to a button and it worked. But now when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Aug 2017 08:38:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24157/nrf52-not-booting-properly-without-reset" /><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95136?ContentTypeID=1</link><pubDate>Thu, 10 Aug 2017 08:38:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e70bc347-5d5d-446e-80f7-f840a13d7766</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;If you are unable to figure it out Dajgoro you can attach your layout files (Gerbers) and maybe a picture of your board to us. Then we can have a look at the design and see if it looks OK.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95134?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2017 20:03:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65659a87-9908-4122-946b-162aebb32bc9</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;I think there isn&amp;#39;t much I can do at point.  Good luck with troubleshooting your PCB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95135?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2017 14:17:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4549486-d793-4507-9096-dd5f1224b73c</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;Even tho its only a 2L board, I have the most of the bottom layer as ground plane, actually I only have a few short traces which act as jumper, all of the traces are on the top layer. The load should be well below of what the PMIC can handle, so that should not be an issue. I&amp;#39;ll try investigating how exactly is the interference manifesting, and I&amp;#39;ll probably put some sort of filter at the sensor power supply.&lt;/p&gt;
&lt;p&gt;Thanks for the troubleshooting help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95131?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2017 23:40:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70746a04-179b-4c93-bcf6-6e51a295ffa5</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Glad that you found the issue.  One thing that comes in mind is the gnd plan.  You may not have enough via or floating island some where.  Second thing that comes in mind.  Check also that the PMIC has enough power to drive everything at once.  Make sure you don&amp;#39;t draw more than 80% of max capacity.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95130?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2017 21:19:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8776386f-7cdb-4138-bf75-f7f003ffa230</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;I added decoupling as recomanded, and followed the layout design guides, and placed the PMIC close to the MCU. I&amp;#39;ve tried soldering, resoldering most of the components, but the issue persists over multiple boards.
VDD level is 3.3V, but when using the PMIC switching regulator its 2.5 which I can then adjust via I2C. But that does not seem to have any effect on the issue.
After BLE is initialized, there is a 50mV spike occurring at a 45ms interval.
And as I was typing this, I went to chase that 50mV spike down, and I found the culprit.
I have a VCNL4040 proximity sensor, and when it is initialized, the IR led somehow creates enough interference to glitch the BLE radio. Funny thing is on the old version I had it as well. Now I have to test the other boards too which I did not butcher while experimenting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95133?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2017 20:36:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f747a61-a2b8-4e87-be9f-875f4693df45</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Check if you got VDD stable, enough decoupling caps. What is your VDD level ? Any soldering issue ? Any residual flux on the pcb.  Have the board cleaned to remove all flux that could stuck under the IC. Check also if SWDIO or SWDCLK got pulled down at any instance after power up?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95132?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2017 20:25:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4756785-d6a9-4657-b784-3294265e0508</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;I tried a 20k pullup, then I also tried a 6.8nF cap which is just enough to straight out the bouncing, but keep the timing, and it did not help. Then I cut the trace to the PMIC chip, and the issue is still there, there is probably more to this. Now I&amp;#39;m trying to disable the reset input, but removing &amp;quot;CONFIG_GPIO_AS_PINRESET&amp;quot; does not seem to help.&lt;/p&gt;
&lt;p&gt;When checking the signals again with the pmic trace cut, the signals look identical to the old version of the board, but the issue still persists.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95129?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2017 19:50:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af3738e2-e795-4316-ae2f-708b3dae7faf</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Have you tried a 15K pullup on that pin ? It shouldn&amp;#39;t bounce like that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95128?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2017 19:33:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5d9224e-9c47-40f6-8c42-0cb99b94c4db</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;VCC comes first, after about 2ms reset goes high, then low for about 0.5ms, then high and low again and then it stays high.
Something like this:&lt;/p&gt;
&lt;p&gt;RST   0000000000001010111111&lt;/p&gt;
&lt;p&gt;VCC:0000111111111111111111&lt;/p&gt;
&lt;p&gt;On the old version, reset goes high 1.2ms after power up, and stays high, very sharp rise time, no oscillations.&lt;/p&gt;
&lt;p&gt;When I add a pullup, VCC and RST ramp up simultaneously.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95127?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2017 19:14:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e144480-e2a5-44be-b273-165bf8076a37</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;In that case, the only way to know what is happening to that pin is to hookup the scope and see if it ever goes down to zero or not and when related to VDD.  You&amp;#39;ll need 2 probes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95126?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2017 19:07:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53316cec-3819-4b3f-8c35-036006d47c3b</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;Yes, I thought about that too, that&amp;#39;s why I tried adding a large capacitor to keep the line low until power is achieved. I tried various values, from nano farads to 470uf which takes a while to start up, always the same thing. I even left the old voltage regulator as a backup that was on the previous version, and its the same thing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95137?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2017 18:51:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d35568a5-0bb5-413c-a6ad-0579f000b4b6</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Then i suspect that the BQ25121 pulls the reset before power good for the nRF or some timing related to that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95124?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2017 18:36:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:375f2287-80f4-46c5-9f6a-a3c6f8e33be1</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;Even with the internal pullup I still measure VCC voltage, and adding pullup did not help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95123?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2017 18:15:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b296dae-9a1d-475a-9dac-f8487457b29f</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;the internal pullup is too weak for open drain.  The capacitor does not help in this case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95125?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2017 18:05:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8018b818-e39d-413b-899d-e8eca74ec9e3</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;I did, does not help. The nrf52 has a internal pullup so its not needed anyway.
I even tried adding a 470uF cap to the reset line to hold it low for a few seconds after power up, and the issue persists, even then I have to short the reset line to get it working properly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 not booting properly without reset</title><link>https://devzone.nordicsemi.com/thread/95122?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2017 17:23:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4293da8e-efba-491f-a58a-97a7132e4f4c</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Try adding a pullup resistor.  I believe open drain requires external pullup&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>