<?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>iPhone short distance connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79442/iphone-short-distance-connection</link><description>Hi! 
 I&amp;#39;m developing a custom PCB with a NRF52840 which I made a custom firmware based on ble_app_uart example. I test my product with different phones, Android and Apple phones. 
 In Android, I have a good connection distance, like 6m to 8m, but in iPhone</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Sep 2021 20:37:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79442/iphone-short-distance-connection" /><item><title>RE: iPhone short distance connection</title><link>https://devzone.nordicsemi.com/thread/328896?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 20:37:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5706534c-1623-4f30-8afa-e20088eb36ee</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Good points from Jimmy on checking the crystal accuracy.&lt;/p&gt;
[quote user="Franco Fischer"] We have a desviation about 50kHz (one board 50.24kHz and the other one 38kHz)[/quote]
&lt;p&gt;The frequency tolerance requirement for BLE is depending of the packet lenght is of +-40ppm (packet length &amp;lt;= 200bytes) or +-30ppm (packet length&amp;gt;200bytes).&lt;br /&gt;ppm= (deltafreq* 10^6)/carrier_freq&lt;br /&gt;&lt;br /&gt; For delta of 50kHz this gives 20ppm, which is inside specs (but it could perhaps be a bit better). &lt;br /&gt;&lt;br /&gt;Usually we use this formula to calculate the value of the crystal capacitors:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;C1=C2= 2* C_load - 4pF&lt;br /&gt;&lt;br /&gt;Where C_load value should be found in the crystal datasheet.&lt;/p&gt;
&lt;p&gt;But in my experience what is usually the limiting factor in performance is poor RF layout, and specially poor grounding. We have some guidelines for PCB desing using nRF52 that are important to follow: &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/hardware-and-layout/posts/general-pcb-design-guidelines-for-nrf52"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/hardware-and-layout/posts/general-pcb-design-guidelines-for-nrf52&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Together with the reference layout for the chip your are using.&lt;/p&gt;
&lt;p&gt;You can download reference files for the nRF52840 from the product page: &lt;a href="https://www.nordicsemi.com/Products/nRF52840/Compatible-downloads#infotabs"&gt;https://www.nordicsemi.com/Products/nRF52840/Compatible-downloads#infotabs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you open a private ticket we can take a look at your design before to give you a thumbs up before sending it for manufacturing in large quantities...&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone short distance connection</title><link>https://devzone.nordicsemi.com/thread/328895?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 20:17:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e618d1b3-ec76-4378-8e09-aa733afff0c4</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;No problem. You can open a private ticket and send us the schematics and layout for review already before manufacturing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone short distance connection</title><link>https://devzone.nordicsemi.com/thread/328881?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 15:58:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cedcd8f8-8200-4ca3-b1be-f0419de19374</guid><dc:creator>Franco Fischer</dc:creator><description>&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;Thanks for the reply.&lt;/span&gt;&lt;/span&gt; &lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;I am developing a new version of the PCB, I would really appreciate if you could give me some feedback.&lt;/span&gt;&lt;/span&gt; &lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;When I have the PCB ready I will send it.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone short distance connection</title><link>https://devzone.nordicsemi.com/thread/328880?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 15:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:612419c4-92cd-478b-9ce3-50af5e956718</guid><dc:creator>Franco Fischer</dc:creator><description>&lt;p&gt;Yes, we verify the 32MHz on our PCB. We test 2 diferents boards transmiting a fixed carrier in 2.45GHz. We have a desviation about 50kHz (one board 50.24kHz and the other one 38kHz). It is good enough? We are developing a new version of the PCB to improve the crystal layout.&lt;/p&gt;
&lt;p&gt;We have an external 32kHz clock, but right now we are using the internal one, we change the NRF_SDH_CLOCK_LF_ACCURACY to 500 PPM in the sdk_config and the NRF_SDH_CLOCK_LF_RC_CTIV to 16 and NRF_SDH_CLOCK_LF_RC_TEMP_CTIV to 2.&lt;/p&gt;
&lt;p&gt;I will try to change the calibration period...&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone short distance connection</title><link>https://devzone.nordicsemi.com/thread/328878?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 15:20:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:301bd8aa-03d8-44a8-af55-78110df71c44</guid><dc:creator>Jimmywong2003</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;First, you need to verify the 32MHz on your own PCB.&amp;nbsp; The loading Cap of the 32MHz, is it well-tuned or not?&lt;br /&gt;&lt;br /&gt;Second,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;You can try to use the shortest connection interval such as 30ms (default) or 15ms (min and max = 15ms).&amp;nbsp; It would help because it would have much more chance to do the retransmission.&lt;br /&gt;also, are you using the internal RC or external 32KHz? &lt;br /&gt;if using the internal RC, you can use a shorter calibration period such as 500ms instead of 4 sec.&lt;br /&gt;&lt;a href="https://jimmywongiot.com/2019/12/17/internal-rc-calibration-handling-on-the-nordic-nrf52-chipset/"&gt;&lt;br /&gt;https://jimmywongiot.com/2019/12/17/internal-rc-calibration-handling-on-the-nordic-nrf52-chipset/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;if using the external 32KHz, you can change the PPM to bigger such as 250ppm (it would automatically increase the RX window.).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iPhone short distance connection</title><link>https://devzone.nordicsemi.com/thread/328872?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 14:49:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3eee64b-b0ba-46cd-9953-cef07c3596bf</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, &lt;span&gt;&lt;span style="background-color:rgba(0, 0, 0, 0);"&gt;2Mbps will mean a small range reduction but with the benefit of increase data rate (‘high speed’ mode) and reduce average power consumption.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;But the range you are getting seems a bit low anyway for both 1M and 2M. Have you previously had a schematics and RF layout review done by us on your custom PCB? And have the radio and antenna matching components been tuned? Feel free to submit your files for review either to this ticket or through a private ticket if you don&amp;#39;t want to disclose design information. We can also assist with RF tuning.&lt;/p&gt;
&lt;p&gt;For more information about what parameters affect Bluetooth range please take a look at the following resources:&lt;/p&gt;
&lt;p&gt;Range estimator (scroll down on the webpage): &lt;a href="https://www.bluetooth.com/learn-about-bluetooth/key-attributes/range/"&gt;https://www.bluetooth.com/learn-about-bluetooth/key-attributes/range/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Blogpost about Bluetooth range: &lt;a href="https://blog.nordicsemi.com/getconnected/things-you-should-know-about-bluetooth-range"&gt;https://blog.nordicsemi.com/getconnected/things-you-should-know-about-bluetooth-range&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>