<?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>SOFTDEVICE_HANDLER_INIT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18377/softdevice_handler_init</link><description>Hi, 
 I&amp;#180;ve been reading a lot of question about the duration of the SOFTDEVICE_HANDLER_INIT, and I&amp;#39;ve found that if a change the accuracy of the calibration it will be faster. 
 I&amp;#39;m using a PCA10040, with S132 12.1, and the accuracy that i was using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Dec 2016 17:01:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18377/softdevice_handler_init" /><item><title>RE: SOFTDEVICE_HANDLER_INIT</title><link>https://devzone.nordicsemi.com/thread/70940?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2016 17:01:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3e721a5-7c16-43fc-8740-f109690ca159</guid><dc:creator>rcfr</dc:creator><description>&lt;p&gt;Thanks Petter, I&amp;#39;ll will try it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE_HANDLER_INIT</title><link>https://devzone.nordicsemi.com/thread/70939?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2016 12:42:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26f28664-d76c-4e89-9ab7-757b6c3a56e7</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I see. I wasn&amp;#39;t aware of that. Have you tried with the RC? Be aware that the RC uses draws more current.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE_HANDLER_INIT</title><link>https://devzone.nordicsemi.com/thread/70938?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 15:31:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0314e8a0-be62-4759-9b4f-952dee2f68d1</guid><dc:creator>rcfr</dc:creator><description>&lt;p&gt;Petter,
I&amp;#39;m assuming that this initialization time is to complete the ble_stack_init(), acording to this post: &lt;a href="https://devzone.nordicsemi.com/question/66665/why-needs-the-soft-device-init-so-much-time/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;
The device is on poweroff, and one pulse in one pin is waking the device, and after the initialization, it  should read one byte of the uart. In the other device that is sending the data, I&amp;#39;ve to put one timer to send the data only after 450 to 500ms, so the first device can read it.&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: SOFTDEVICE_HANDLER_INIT</title><link>https://devzone.nordicsemi.com/thread/70937?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 14:50:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3aa00dd9-6a52-49d1-a5df-9258d277ae72</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I don&amp;#39;t understand. Why would changing to RC help? What exactly is taking more time? Do you mean completing the ble_stack_init() function? How are you testing this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE_HANDLER_INIT</title><link>https://devzone.nordicsemi.com/thread/70935?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 14:03:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4d4af61-5142-43b3-abdb-55b93f1c1acb</guid><dc:creator>rcfr</dc:creator><description>&lt;p&gt;Thanks for the response Petter. Actually the examples use the 20ppm, I&amp;#39;ve tried to use the 250ppm, sorry for this another confusion. So if i want a faster initialization I should use the RC source?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE_HANDLER_INIT</title><link>https://devzone.nordicsemi.com/thread/70934?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 13:54:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:108df801-518e-4a30-bf2f-6db430dbd472</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The LF crystal on the nRF52 DK (PCA10040) is 20 ppm. The correct way to use it is the way it is used in the SDK examples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE_HANDLER_INIT</title><link>https://devzone.nordicsemi.com/thread/70933?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 13:47:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8970b2ce-cbd1-4018-94d3-1bedddc25b57</guid><dc:creator>rcfr</dc:creator><description>&lt;p&gt;Thanks for the response Petter, I&amp;#39;ve made a little confusion, it really tells the accuracy of the crystal. I&amp;#39;m using the nRF52 Development Kit(PCA10040), so the accuracy should be 250 ppm, right? But I&amp;#39;ve been reading some questions and some answers tell to use 20 ppm.
Reading the documents of the API specification I&amp;#39;ve founded that the right way to use the SOFTDEVICE_HANDLER_INIT was the first one that I&amp;#39;ve posted, but the second way compiled and I&amp;#39;ve got faster initialization. I&amp;#39;m using SDK 12.1.
I can use the NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM in the PCA10040 and it will initialize faster? If so,  what is the right way to use it?&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: SOFTDEVICE_HANDLER_INIT</title><link>https://devzone.nordicsemi.com/thread/70936?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 12:42:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d43d2b2-9c73-4a4e-90b2-be5e74f35020</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Change the accuracy of the calibration? You are not changing the accuracy of the calibration, you are changing what you tell the SoftDevice that the accuracy of the LF crystal you have connected to the nRF52 device is. It doesn&amp;#39;t really make change that, it should match with the spec if the crystal.&lt;/p&gt;
&lt;p&gt;SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LF_XTAL_ACCURACY_250_PPM, NULL); doesn&amp;#39;t look like it&amp;#39;s from SDK 12.1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>