<?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>nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49926/nrf52840-coded-phy-range-problem</link><description>Hi, 
 I am using nRF52840 Enineering C chip on a custom board using SDK v15.3.0 with SoftDevice v6.1.1 
 I have modified the Blinky Central code and the Blinky Peripheral code to work in Long Range mode using Coded Phy. 
 The receiver on the Central is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Jul 2019 07:35:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49926/nrf52840-coded-phy-range-problem" /><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/199932?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2019 07:35:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50bf3549-5147-4961-b2eb-74d51d400ac4</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Sorry that I can&amp;#39;t be of more help at the moment, but please keep me updated on your advancements in this case. If there are any questions, I&amp;#39;m happy to answer!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/199917?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2019 05:57:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9abfaf03-d7a6-4d62-bcc2-2d4103b1dc6f</guid><dc:creator>Aamir</dc:creator><description>&lt;p&gt;Thanks for your reply,&lt;/p&gt;
&lt;p&gt;Yes we are in talks with HolyIOT and we&amp;#39;ll also be doing the tests again in a more suitable environment. we&amp;#39;re also in talks for the new DKs. so, we&amp;#39;ll have a reference at all times.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/199846?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 14:18:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f28c5e99-7c46-41dc-a3a0-43a1137696b2</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Very well, then your application code is off the board, which means the problem is either with your test environment or&amp;nbsp;the custom board. You could try contacting HolyIoT to see if they&amp;#39;ve done any long-range tests with their module to see if they&amp;#39;ve gotten any better results, or try conducting your test in a more suitable environment for long-range communication.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/199823?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 13:42:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee169733-eb87-49a1-a336-318942f6c358</guid><dc:creator>Aamir</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tested the long-range demo code today, what I got was a slight improvement over my code. This test was done in the same environment as my original test.&lt;/p&gt;
&lt;p&gt;Tx Power: 8 dbm&amp;nbsp; &amp;nbsp;PHY: Coded PHY&lt;/p&gt;
&lt;p&gt;My Code: ~270 meters&lt;/p&gt;
&lt;p&gt;Long Range demo code: ~320 meters&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So, there was an improvement but not by any significant margin and I think this improvement should mainly be attributed to the advertising interval, as in the long range code, the advertising interval is 50 ms whereas in my code the minimum I&amp;#39;ve tested was 100 ms.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/199477?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2019 09:18:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09d34f04-d940-41f9-9db9-0e77ce2a6902</guid><dc:creator>Aamir</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;Thanks for your reply,&lt;/p&gt;
&lt;p&gt;we&amp;#39;ll have to make changes to our custom board in-order to test the long-range demo. Unfortunately, it can only be done after the weekends. I&amp;#39;ll let you know the results after we have tested the code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/199406?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2019 05:43:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e01789d0-30f9-4ba9-be1d-2b6ed1bd2ed1</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;I don&amp;#39;t think there are, because I can&amp;#39;t think of what should be the limiting factor in the code, but to confirm it for sure, you should test one of the long-range demos on the boards you have (in the same environment), to see if you&amp;#39;re able to achieve a similar range.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/199322?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 13:50:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99102ef1-df80-47ae-840f-7766845309e2</guid><dc:creator>Aamir</dc:creator><description>&lt;p&gt;I have basically modified the blinky examples of both the Central and Peripheral to test the range. (The code I posted above)&lt;/p&gt;
&lt;p&gt;could there be a problem with my code, because as far as I understand, the changes I made to code to enable long range should give me similar results as your experiments, shouldn&amp;#39;t it ?&lt;/p&gt;
&lt;p&gt;yes, environment could be a factor for degradation in range and we are in talks to get our hands on the new DKs&lt;/p&gt;
&lt;p&gt;but, that is only possible if we are confident that there is nothing wrong with&amp;nbsp;the code.&lt;/p&gt;
&lt;p&gt;So, please let me know if there could be any bottlenecks or limiting factor in the code, then we can move on to the hardware upgrade.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/199293?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 12:57:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e8d879d-b146-42ab-aa27-05025965c7f9</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Thanks for the clarification. Are you using one of our example projects when testing this? If not, could you try using one of our demos (&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/testing-long-range-coded-phy-with-nordic-solution-it-simply-works-922075585"&gt;Testing long range&lt;/a&gt; or &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf52840-long-range-demo"&gt;nRF52840 long range demo&lt;/a&gt;) to test the range as well? You should also check out the links &lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt; posted to see if the environment you&amp;#39;re testing it in could be victim to various interference sources. I&amp;#39;d also recommend trying to get your hands on a couple of DKs for testing, as that would be the easiest way to find out if it&amp;#39;s the environment or the hardware that&amp;#39;s the problem.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/199194?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 09:26:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50c77f60-fcaf-43a7-9b39-841d58858e83</guid><dc:creator>awneil</dc:creator><description>[quote userid="75734" url="~/f/nordic-q-a/49926/nrf52840-coded-phy-range-problem/198993"]In what environment have you tested this setup? It should be tested outside where the chips are in field of view of each other and without too many interference sources, or else you can experience notable range loss.[/quote]
&lt;p&gt;Indeed.&lt;/p&gt;
&lt;p&gt;Height above ground, and proximity to other surfaces also has an effect.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.idc-online.com/technical_references/pdfs/electronic_engineering/Fresnel_Zone.pdf"&gt;http://www.idc-online.com/technical_references/pdfs/electronic_engineering/Fresnel_Zone.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.fanstel.com/testreport"&gt;https://www.fanstel.com/testreport&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/199181?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 09:11:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:554ecf2b-69d2-4a71-aa56-8b8104737a11</guid><dc:creator>Aamir</dc:creator><description>&lt;p&gt;Here is the datasheet for the SoC&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/HolyIOT-nRF52840.pdf"&gt;devzone.nordicsemi.com/.../HolyIOT-nRF52840.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/199172?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 09:01:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:caa93488-cbd5-4975-8ea8-5a92dbc2c708</guid><dc:creator>Aamir</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Thanks for your support.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also I only have Preview DKs with me and they are not supporting advertising over Coded Phy,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49916/nrf52840-coded-phy-peripheral-problem"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/49916/nrf52840-coded-phy-peripheral-problem&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;secondly, I want to clarify, we buy the SOC Chips from HolyIOT, it comes with the chip mounted and the antenna as well. we only make rest of the pcb design and mount the SOC on our board.&lt;/p&gt;
&lt;p&gt;So, are you asking about our PCB design or the SOC ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/199108?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 05:45:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4fb64b8-3df7-410d-a861-a4906c3faa62</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Aamir&lt;/p&gt;
&lt;p&gt;Are you able to test using two nRF52840DKs to confirm whether or not the issue is due to the custom boards? I can&amp;#39;t see a reason why your code would fail. Could you upload the gerber files of your chip as well as attach a link to the antennas product page/datasheet? If you don&amp;#39;t want to share this with the community please just say so and I will set this case to Private mode so that only you and Nordic engineers will be able to see this case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/199023?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 14:03:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f15c77e2-e0a2-4652-87f6-74fe5530b8df</guid><dc:creator>Aamir</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Peripheral.c"&gt;devzone.nordicsemi.com/.../Peripheral.c&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Central.c"&gt;devzone.nordicsemi.com/.../Central.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;These are my code files&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/199019?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 13:49:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c6d3605-e361-4ece-a4b1-46f5bbdf7525</guid><dc:creator>Aamir</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;Yes my advertising type is&amp;nbsp;&lt;span&gt;BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;and the flag is set to&amp;nbsp;&lt;span&gt;BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, we did this test outside and both the device were in field of view of each other, but, I can&amp;#39;t be sure about interference as there were many Wi-Fi devices around in range.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/ble_5F00_antenna.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We have CERAMIC PATCH ANTENNA with dimensions 8 mm x 1 mm&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the antenna&amp;nbsp;is identical on both the Central and the Peripheral device.&lt;/p&gt;
&lt;p&gt;Even though you could see the pcb under the antenna, but it is just a layer of pcb and does not have ground or power plane&amp;nbsp; or any kind of track beneath it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/198993?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 13:09:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:062b67a7-95b7-47d2-a38e-edf405d35e03</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Have you set the advertising type to extended (&lt;span&gt;BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED)? What is your advertising flag set as? This needs to be &amp;quot;&lt;/span&gt;BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE&amp;quot;.&amp;nbsp;Both these parameters are&lt;span&gt;&amp;nbsp;needed for long-range mode to work. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In what environment have you tested this setup? It should be tested outside where the chips are in field of view of each other and without too many interference sources, or else you can experience notable range loss.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Seeing as this is a custom chip, it could also be that your antenna is not very well suited for long-range applications. You could test if this is the case by using two nRF52840 DKs instead to see if the range changes. What antenna have you used, and how does your matching network look?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Due to the summer holidays in Norway, our support team is understaffed this week, and delayed replies must be expected. Sorry for the inconvenience!&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Coded Phy Range Problem</title><link>https://devzone.nordicsemi.com/thread/198985?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 12:54:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9345b8f9-bab6-4dec-84e1-ea0b29230562</guid><dc:creator>Aamir</dc:creator><description>&lt;p&gt;I forgot to mention, this is all measured&amp;nbsp;over line of sight&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>