<?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>Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12159/custom-nrf52-board-partially-start</link><description>Hello,
I just produced my custom board with nRF52 but i have a problem. 
 I can program it (SWD over nRF52 DK), debug it (segger debudder software) but in bootloader it enter in function ble_stack_init and never goes out. 
 Does someone have an idea</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Feb 2016 20:37:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12159/custom-nrf52-board-partially-start" /><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46021?ContentTypeID=1</link><pubDate>Mon, 29 Feb 2016 20:37:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74e01393-467d-4ba9-b6a3-a73aeb16220b</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;It was not to test accuracy but just if it works (a kind of prototype production selftest). I modified my 10 pF to 12 pF as recommanded by Nordic and it works fine.
Thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46020?ContentTypeID=1</link><pubDate>Mon, 29 Feb 2016 13:24:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eea5b379-54aa-43c7-a600-895d5bdf015b</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;The 16M RCOSC is not accurate enough (typ 1%, max 5%) to test the accuracy of the 32KHz clock.&lt;/p&gt;
&lt;p&gt;Not sure why it doesn&amp;#39;t work with the 32 KHz crystal oscillator, but I would guess the startup time is to long with the current load capacitor, or that the crystal is not soldered properly. 18 pf could be just as bad as 10, but you try. The best thing would be if you can find 14 pf. Regardless, if you cannot load the crystal properly (cannot find the correct size), you will probably be better of just running on the RC (loading the crystal incorrectly affects both frequency and startup time if I&amp;#39;m not mistake.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46004?ContentTypeID=1</link><pubDate>Sun, 28 Feb 2016 10:36:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:581844d9-b9a7-4f4d-81ba-abc60f5555ca</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;And of course, thank you both (run_ar and RK) for your helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46003?ContentTypeID=1</link><pubDate>Sun, 28 Feb 2016 10:34:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfe76a28-d2db-4ac6-85af-3a628096e2b7</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Hello,
10 pf it was in the second comment :-)
for selftest ok, but i presume that i have to run on RC HF in case crystal HF clock don&amp;#39;t works, right ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46019?ContentTypeID=1</link><pubDate>Sat, 27 Feb 2016 03:09:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4875027e-3ae3-4a34-b422-ab67688468b4</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;I&amp;#39;m confused by the load capacitance discussion. The crystal should be fine, you just need the correct load caps on the board to match it. However I don&amp;#39;t know how run_ar knows you have 10pf caps on there, perhaps he has secret information about your board layout to which I&amp;#39;m not privy!&lt;/p&gt;
&lt;p&gt;If you switch the load caps to something closer to 14pF than 10pF (if infact you have 10pF on the board) then you should be close to the 9pF load the crystal wants.&lt;/p&gt;
&lt;p&gt;selftest - you could try. Right at the start, before you do anything else, start some kind of timer using the HF clock, start the LF clock, see how long it takes for the LF clock to start, if it starts at all, make a decision that way. That&amp;#39;s a test you could run one time on each board and save the result somewhere non-volatile so you start up directly the next time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46018?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 15:35:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd357ee4-677e-41a5-a9f6-2ca96f305755</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;And is in code test possible ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46017?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 15:33:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a20caf57-abd0-4013-a41b-3eb7e52cb138</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Do you think 18 pf (in stock) are better than 10 pf ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46016?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 13:31:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abe1eb44-7fd8-479a-8eec-1d7a1ba277cd</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;As far as I can see the load capacitance for the 32KHz is a bit low. spec says 9 while you have 7.&lt;br /&gt;
((10+4)*(10+4))/((10+4)*2)=14/2 = 7pf&lt;/p&gt;
&lt;p&gt;The RC calibration should work just fine, that is it is stable at a given temperature, but needs to be calibrated if the temperature change. So I would recommend one of calibrate if the temperature has changed option.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46015?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 13:15:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c420f895-f9f7-42da-acdd-88b4475568d4</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;I want to do a kind of selftest in code of my 2 oscillators. Is that possible ?
start on RC, if KO report and if OK switch to Crystal oscillator.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46014?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 13:13:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2de80fe7-6139-4f0b-b8d7-5f8f416516ad</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;My 32 MHz oscillator is: EPSON Q22FA12800025 FA-128 32 MHZ 8.0PF&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46013?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 13:12:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:caf46dda-d99a-4601-8f77-9452c636a124</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION works but i&amp;#39;m not sure of the calibration quality :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46012?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 10:37:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef7a0dea-0fdb-4d67-aad6-593b083836ad</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;The product specification for now. Can you try to change the 32KHz source to RC to check if this works. What is your HFXO source?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46011?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 10:28:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8c2385a-54f9-4af0-81fc-7c5db47d7922</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Is there any document that explain nRF52 clock startup sequence ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46010?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 10:25:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:641eab04-6375-4e9e-a143-fa9a65dc76a5</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;This one:
EPSON Q13FC13500003 FC-135 32.768KHZ 9.0PF&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46009?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 09:49:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5701b949-7a05-4fa1-880a-32aa85dac058</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;and your board does have a 20PPM 32.769kHz crystal on it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46008?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 09:48:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaf5e34f-6947-44c6-9378-95a3a14dde5b</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;And after a debug reset it&amp;#39;s fast. My oscillator looks lazy.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46007?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 09:46:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0662829c-bb7d-488b-a8c0-7c84667bd01f</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Fun fact debugger goes out of the function after few seconds but i don&amp;#39;t know why ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46006?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 09:46:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edbc4f34-9ea7-49b7-a47b-2033cf59f3ca</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, NULL);
and schematic of oscillators is a copy paste of nRF52 DK but with 10 pf instead of 12 pf capacitors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52 board partially start</title><link>https://devzone.nordicsemi.com/thread/46005?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 09:28:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f006b66-fcc8-4f05-95ef-4e59296756a0</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Can you provide your schematic and init code please? Did you set RC as clock source in SOFTDEVICE_HANDLER_INIT?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>