<?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>connection problem with nrf52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39341/connection-problem-with-nrf52832</link><description>Hi, 
 I tried, ble_blinky example on DK, it works well. Also advertising interval 40ms on nrfconnect mobile app,this is consistent with SDK. 
 Now, i try same example with custom board( i&amp;#39;m sure custom board work properly), nrfconnect app shows adevertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Oct 2018 08:27:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39341/connection-problem-with-nrf52832" /><item><title>RE: connection problem with nrf52832</title><link>https://devzone.nordicsemi.com/thread/152810?ContentTypeID=1</link><pubDate>Mon, 15 Oct 2018 08:27:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ceac1ca-dc0f-4d76-923f-f63eb64894c6</guid><dc:creator>Berker</dc:creator><description>&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You&amp;#39;re right, DK already intstalled with an example.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection problem with nrf52832</title><link>https://devzone.nordicsemi.com/thread/152808?ContentTypeID=1</link><pubDate>Mon, 15 Oct 2018 08:18:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a15fb8f8-e72f-4efc-9d8d-0ca4b27982b9</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Then the DK was&amp;nbsp;probably already flashed with the&amp;nbsp;&lt;span&gt;ble_blinky example before you programmed the custom board.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When the custom board is powered, the programmer on the DK will detect the supply voltage of the custom board and program/debug the target chip on the custom board instead of the on-board&amp;nbsp;&lt;span class="keyword"&gt;nRF52832&lt;/span&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection problem with nrf52832</title><link>https://devzone.nordicsemi.com/thread/152696?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 12:44:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ea5cadb-cdd2-495c-8738-a8d9ef86115c</guid><dc:creator>Berker</dc:creator><description>&lt;p&gt;Ok,thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will try some clock configurations.&lt;/p&gt;
&lt;p&gt;Maybe another topic,but if you can help, I will be pleased&lt;/p&gt;
&lt;p&gt;I use DK while programming custom board. I try loading ble_blinky example to custom board,but DK also loaded with blinky_example. Mobile app shows 2 advertising devices one custom board,another one DK. I only want to load custom one.&lt;/p&gt;
&lt;p&gt;How can i solve this?&lt;/p&gt;
&lt;p&gt;Best Regards&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection problem with nrf52832</title><link>https://devzone.nordicsemi.com/thread/152677?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 11:39:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bc62c15-d3c3-49d7-9d0b-c1d10d5e6679</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="74430" url="~/f/nordic-q-a/39341/connection-problem-with-nrf52832/152675"]Is there a wrong thing?[/quote]
&lt;p&gt;No, that is OK. You can use the internal 32.768 kHz RC oscillator, but it&amp;#39;s important that it&amp;#39;s correctly configured. (NRF_SDH_CLOCK_LF_SRC 0, NRF_SDH_CLOCK_LF_RC_CTIV 16, NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2 and NRF_SDH_CLOCK_LF_ACCURACY 1).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection problem with nrf52832</title><link>https://devzone.nordicsemi.com/thread/152675?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 11:35:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87f74773-bac1-4d4a-89be-82ab67499fa1</guid><dc:creator>Berker</dc:creator><description>&lt;p&gt;I didn&amp;#39;t insert 32.768kHz crystal on custom pcb. As i know, that for RTC. I only insert 32MHz crystal through XC1/XC2 pins. 32.768kHz pins P0/P1 used for another purpose on custom pcb. Is there a wrong thing?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection problem with nrf52832</title><link>https://devzone.nordicsemi.com/thread/152672?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 11:25:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:183767a5-4e15-42d1-a6d4-11bff7716417</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="74430" url="~/f/nordic-q-a/39341/connection-problem-with-nrf52832/152633"]The problem is related with my 32MHz oscillator? Or what?&amp;nbsp;[/quote]
&lt;p&gt;If changing the value of&amp;nbsp;NRF_SDH_CLOCK_LF_SRC from 1 to 0 worked, then this indicates an issue with the&amp;nbsp;external 32.768 kHz crystal. It could be caused by wrong values of the load capacitors(C11/C12), bad soldering and/or incorrect value of the specified clock accuracy.&lt;/p&gt;
[quote userid="74430" url="~/f/nordic-q-a/39341/connection-problem-with-nrf52832/152633"]And sometimes connection not bonded, the reason of this RSSI? or about your reply?&amp;nbsp;[/quote]
&lt;p&gt;This could also be caused by issues with the &lt;span&gt;32.768 kHz crystal.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you want us to review your custom board design, I would recommend that you create a&amp;nbsp;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/support/add"&gt;new case&lt;/a&gt;&lt;/span&gt;, where you upload the&amp;nbsp;PCB layout/gerber files and&amp;nbsp;schematic, and we can maybe help with some improvements to the design.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection problem with nrf52832</title><link>https://devzone.nordicsemi.com/thread/152633?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 09:06:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc55993a-4904-4a9a-9032-06c80f90c385</guid><dc:creator>Berker</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;thanks for this useful reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Adv interval fixed&amp;nbsp; now and 40ms as expected. Also connection established most of the time and i can blink led.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The problem is related with my 32MHz oscillator? Or what?&amp;nbsp;&lt;/p&gt;
[quote userid="15146" url="~/f/nordic-q-a/39341/connection-problem-with-nrf52832/152611"]What RSSI value did you measure on the custom board?[/quote]
&lt;p&gt;RSSI is not good, -70,80dBm in about 20-30cm distance. Is this related my antenna and board design,is it true?&lt;/p&gt;
&lt;p&gt;And sometimes connection not bonded, the reason of this RSSI? or about your reply?&amp;nbsp;&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: connection problem with nrf52832</title><link>https://devzone.nordicsemi.com/thread/152611?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 08:07:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:326ca728-cfbc-438b-a177-664175406385</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What RSSI value did you measure on the custom board?&lt;/p&gt;
&lt;p&gt;What clock source are you using for the SoftDevice?&lt;/p&gt;
&lt;p&gt;Could you try this configuration for the LF clock source: (from sdk_config.h)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;//==========================================================

// &amp;lt;h&amp;gt; Clock - SoftDevice clock configuration

//==========================================================
// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_SRC  - SoftDevice clock source.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_SRC_RC 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_SRC_XTAL 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_SRC_SYNTH 

#ifndef NRF_SDH_CLOCK_LF_SRC
#define NRF_SDH_CLOCK_LF_SRC 0
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval. 
#ifndef NRF_SDH_CLOCK_LF_RC_CTIV
#define NRF_SDH_CLOCK_LF_RC_CTIV 16
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature. 
// &amp;lt;i&amp;gt; How often (in number of calibration intervals) the RC oscillator shall be calibrated
// &amp;lt;i&amp;gt;  if the temperature has not changed.

#ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_ACCURACY  - External clock accuracy used in the LL to compute timing.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_ACCURACY_250_PPM 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_ACCURACY_500_PPM 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_ACCURACY_150_PPM 
// &amp;lt;3=&amp;gt; NRF_CLOCK_LF_ACCURACY_100_PPM 
// &amp;lt;4=&amp;gt; NRF_CLOCK_LF_ACCURACY_75_PPM 
// &amp;lt;5=&amp;gt; NRF_CLOCK_LF_ACCURACY_50_PPM 
// &amp;lt;6=&amp;gt; NRF_CLOCK_LF_ACCURACY_30_PPM 
// &amp;lt;7=&amp;gt; NRF_CLOCK_LF_ACCURACY_20_PPM 
// &amp;lt;8=&amp;gt; NRF_CLOCK_LF_ACCURACY_10_PPM 
// &amp;lt;9=&amp;gt; NRF_CLOCK_LF_ACCURACY_5_PPM 
// &amp;lt;10=&amp;gt; NRF_CLOCK_LF_ACCURACY_2_PPM 
// &amp;lt;11=&amp;gt; NRF_CLOCK_LF_ACCURACY_1_PPM 

#ifndef NRF_SDH_CLOCK_LF_ACCURACY
#define NRF_SDH_CLOCK_LF_ACCURACY 1
#endif&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connection problem with nrf52832</title><link>https://devzone.nordicsemi.com/thread/152600?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 07:40:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27cd4f42-35d6-48d3-a173-70d64d0083ea</guid><dc:creator>Berker</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I want to give more detail, explain again. I&amp;#39;m still&amp;nbsp;haven&amp;#39;t any solution.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I use blee_app_blinky example to test my custom board. This example works in DK as expected.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;#define APP_ADV_INTERVAL&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 64&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This&amp;nbsp;coressponds 40ms advertisiment. In the mobile side, i can see 40ms on nRF connect app,if i use DK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But, with same example and custom board, i see this interval as about 700-800ms. I don&amp;#39;t understand this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, app doesn&amp;#39;t work beacuse of connection not bonded and connection is not established .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>