<?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>Configure Coded PHY</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101101/configure-coded-phy</link><description>Hi. I am trying to configure Coded PHY on my custom boards using nRF52840 (module ACN52840), I am using nRF Connect SDK v2.4.0. For communication, I am using NUS UART service, modified to not use physical UART, only communication with calling NUS functions</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Jan 2024 15:29:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101101/configure-coded-phy" /><item><title>RE: Configure Coded PHY</title><link>https://devzone.nordicsemi.com/thread/465104?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2024 15:29:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:794f094a-ab78-46af-9886-32bd3c8e5d74</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you have not yet manufactured the new boards, you may create a new private support ticket to have the layout reviewed by one of my colleagues.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure Coded PHY</title><link>https://devzone.nordicsemi.com/thread/465042?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2024 12:32:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9c85a47-9859-440d-8c37-b826c663af5e</guid><dc:creator>domko99</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;no, unfortunately no. We have developed new board which is not using module ACN52840 but only chip nRF52840 with&amp;nbsp;external ceramic antenna (&lt;a href="https://www.mouser.sk/ProductDetail/Quectel/YC0010AA?qs=HBWAp0VN4Rh%252BBydEKHtdNg%3D%3D)"&gt;https://www.mouser.sk/ProductDetail/Quectel/YC0010AA?qs=HBWAp0VN4Rh%252BBydEKHtdNg%3D%3D)&lt;/a&gt;. We will try the range on this board. We also considered to try Coded PHY with nRF5 SDK, maybe there will be different results, now we are developing with nRF Connect SDK. The last option is to buy two nRF52840 DK and try the range. We will see, thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure Coded PHY</title><link>https://devzone.nordicsemi.com/thread/464773?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2024 11:49:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81958a95-86fb-4fb4-aa52-c3893bf1a1fe</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Apologies for the delayed response, this case has slipped through the cracks. Have you been able to resolve the issue in the meantime?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure Coded PHY</title><link>https://devzone.nordicsemi.com/thread/448297?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 09:33:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e55f2ab-3f48-4f6d-b95d-3511d4670732</guid><dc:creator>domko99</dc:creator><description>&lt;p&gt;Hi. I am sending you logs which you requested. Logs dont stop dead after 3 seconds, there are more logs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here are peripheral logs:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/peripheral_5F00_logs.txt"&gt;/cfs-file/__key/communityserver-discussions-components-files/4/peripheral_5F00_logs.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And here are central logs:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/central_5F00_logs.txt"&gt;/cfs-file/__key/communityserver-discussions-components-files/4/central_5F00_logs.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Disconnected reason is 0x08 (the supervision timeout is hit (no packets from the peer is received in x seconds)). Thanks for any help, I will open new thread if you dont mind, where I will be asking just for dongles (&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/104277/short-range-with-coded-phy)"&gt;devzone.nordicsemi.com/.../short-range-with-coded-phy)&lt;/a&gt;. This is pretty old thread and maybe someone new from community will come and try to help.&amp;nbsp;Nevertheless, thanks for your support.&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure Coded PHY</title><link>https://devzone.nordicsemi.com/thread/445181?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2023 14:53:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e6053e4-a03f-4e3a-955c-989c29c97dd3</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Sry for the late reply.&lt;/p&gt;
&lt;p&gt;Your logs end after 3 notifications. I expect to see&amp;nbsp;the output from the&amp;nbsp;disconnected() callback:&lt;br /&gt;printk(&amp;quot;Disconnected (reason 0x%02x)\n&amp;quot;, reason);&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Does the logs really just stop dead after ~3 seconds, or are there more logs?&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I&amp;#39;m looking for logs from boot until the connection disconnects.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Also you should set&amp;nbsp;CONFIG_UART_CONSOLE=n when using USB CDC ACM as you can enter a bootloop if&amp;nbsp;the logger subsystem is initialized&amp;nbsp;earlier than the&amp;nbsp;USB driver.&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure Coded PHY</title><link>https://devzone.nordicsemi.com/thread/443334?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2023 10:39:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:936494e6-dccb-4bd3-a737-54b5ffc9fe5a</guid><dc:creator>domko99</dc:creator><description>&lt;p&gt;Hi, thanks for answer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have tried to set&amp;nbsp;&lt;span&gt;CONFIG_LOG_MODE_DEFERRED but it didnt help with distance.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am sharing with you logs and files which you want to see below:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6471.central.zip"&gt;/cfs-file/__key/communityserver-discussions-components-files/4/6471.central.zip&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3326.peripheral.zip"&gt;/cfs-file/__key/communityserver-discussions-components-files/4/3326.peripheral.zip&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure Coded PHY</title><link>https://devzone.nordicsemi.com/thread/443029?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2023 15:23:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91b13474-7e02-497a-abbe-dc2d1c3b6200</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;It could be an issue with logging, try to set&amp;nbsp;CONFIG_LOG_MODE_DEFERRED.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you share any logs?&lt;/p&gt;
&lt;p&gt;Can you share&amp;nbsp;.config and zephyr.dts from build/sephyr/ ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure Coded PHY</title><link>https://devzone.nordicsemi.com/thread/441465?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 19:29:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77e03e87-4406-4565-ac77-7c3b354107f6</guid><dc:creator>domko99</dc:creator><description>&lt;p&gt;Hi, thanks for answer.&lt;br /&gt;I determine the range by getting disconnected range.&lt;br /&gt;For connection parameters, as I was using samples&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_hr_coded/README.html"&gt;Peripheral HR Coded&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/central_hr_coded/README.html"&gt;Central HR coded&lt;/a&gt;,&amp;nbsp;I used the connection parameters set in this samples. But I will provide you my codes which I was using.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/coded_5F00_phy_5F00_codes.rar"&gt;devzone.nordicsemi.com/.../coded_5F00_phy_5F00_codes.rar&lt;/a&gt;&lt;br /&gt;I will discuss the HW issue with my colleague. Thanks again for your answer, I really dont know what to try next, maybe it is USB port issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure Coded PHY</title><link>https://devzone.nordicsemi.com/thread/441243?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 18:56:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ae66eb6-98bb-4f59-af31-1918d7c661fe</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;This might be unrelated, but you&amp;nbsp;need to enable&amp;nbsp;&lt;span&gt;CONFIG_LOG_MODE_DEFERRED.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How do you determine the range? is it the range at which you get a BT disconnect event?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What are your connection parameters? interval, slave latency, MTU size, DLE length and size, ect.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you share your project as a whole?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;One potential HW issue could be a noisy USB3 port.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure Coded PHY</title><link>https://devzone.nordicsemi.com/thread/437366?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 20:12:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc92f374-d41f-4249-bdfc-de87375fd42e</guid><dc:creator>domko99</dc:creator><description>&lt;p&gt;Hi, sorry for late reply. So we did cut off a piece of board as you suggested, but only the smaller portion of it, as we couldnt cut more because of wiring on board. I am sending you a photo.&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/board_5F00_cutout.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;But this cut off didnt help, I am getting the same results as before. The outside tested range with direct visibility is 63 m (according to Google Maps, set Coded PHY and 8 dBm power). The inside range is also low, same as before (&lt;span&gt;approximately 8 meters, between boards only one block wall with a thickness of 30 cm&lt;/span&gt;). I have also tried to direct antenna acccording to radiation diagram of antenna (found here &lt;a href="https://www.infineon.com/dgdl/Infineon-AN91445_Antenna_Design_and_RF_Layout_Guidelines-ApplicationNotes-v09_00-EN.pdf?fileId=8ac78c8c7cdc391c017d073e054f6227"&gt;https://www.infineon.com/dgdl/Infineon-AN91445_Antenna_Design_and_RF_Layout_Guidelines-ApplicationNotes-v09_00-EN.pdf?fileId=8ac78c8c7cdc391c017d073e054f6227&lt;/a&gt;), it added some small distance, outside maybe 5 meters and inside almost nothing....&lt;/p&gt;
&lt;p&gt;I dont think that bigger cut off which you suggest would make any&amp;nbsp;major difference.... We have been also testing the transmit power of our board and dongle nrf52840 with spectrum analyzer and receiving antenna, and we have found out that they both have the same transmit power. We are really confused by it, as you have also mentioned that dongle does not have as good antenna as nrf module which we are using, but the results were the same (we have been testing without cut off). Also I have found some thread here (5 years old,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48978/no-measurable-range-increase-using-long-range-bluetooth-le-coded-phy"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/48978/no-measurable-range-increase-using-long-range-bluetooth-le-coded-phy&lt;/a&gt;), where they have been able to get 300 m distance from two dongles using Coded PHY, I have been testing it and I could not get nowhere near this number. I dont know if I have some strange conditions for my boards, or using bad code to set Coded PHY (I am using examples provided from Nordic) or something else... Would be possible for you to confirm that dongle is able to achieve 300 m distance with Coded PHY? Thanks for any help.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure Coded PHY</title><link>https://devzone.nordicsemi.com/thread/434032?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2023 22:37:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b63ac14-331d-42db-baa8-fad6e0f7806c</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;The nRF52840 dongle does not have a good antenna due to it&amp;#39;s tiny ground plane&amp;nbsp;and is not suited for applications where range is critical.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I suggest you cut off the piece of board I&amp;#39;ve outlined below, use a hacksaw or dremel:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:480px;max-width:640px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1280x960/__key/communityserver-discussions-components-files/4/8787.Apis_5F00_brain_5F00_board.jpg" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you share your layout files?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure Coded PHY</title><link>https://devzone.nordicsemi.com/thread/432958?ContentTypeID=1</link><pubDate>Mon, 26 Jun 2023 12:09:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a6c89b2-5e81-46c8-9235-177f3e0e4619</guid><dc:creator>domko99</dc:creator><description>&lt;p&gt;Hi and thanks for your answer. I didnt send you the other side of board, there is a cutout for antenna, see in image of my board below:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/7801.board_5F00_cutout.png" /&gt;&lt;/p&gt;
&lt;p&gt;I also did some testing with two nRF52840dongle boards which I have. I have tried the same code above with Coded PHY, got same results (&lt;span&gt;Connected: xx.xx.xx.xx.xx.xx (random), tx_phy 4, rx_phy 4&lt;/span&gt;) and the range was the same, at least in indoor environment. Is dongle capable of long ranges, are there any restrictions regarding the antenna of dongle board? Because the results look same, and this is original Nordic board.&lt;/p&gt;
&lt;p&gt;I dont know what to test next, I dont have a nRF52840DK or other board from you. I am starting thinking to use external antenna, but I dont know if it will help.&lt;/p&gt;
&lt;p&gt;Thanks for your answer.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure Coded PHY</title><link>https://devzone.nordicsemi.com/thread/432765?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 17:29:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:059f40b5-371a-4c5b-8a7d-7e289706cd66</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I believe &amp;quot;&lt;span&gt;tx_phy 4, rx_phy 4&amp;quot; is in fact Coded PHY.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I think there&amp;#39;s an issue with the design of your board, there should be a keep-out area on both sides of the module, at the right edge of the motherboard. The problem here is that the antenna of the module is &amp;#39;de-tuned&amp;#39; by the presence of metal in its &amp;#39;near-space&amp;#39;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For reference you should should get ~1km range (outdoor, line-of-sight) with Coded PHY at +8dBm on a decent board. I suggest that you either get the module&amp;#39;s Evaluation Kit from the manufacturer of the module, or get the nRF52840DK from us, as a reference.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Note:&lt;br /&gt;Coded PHY trades 8x longer on-air time per symbol for a higher receiver sensitivity.&amp;nbsp;Where a higher sensitivity&amp;nbsp;means that the receiver can resolve signals that are of lower power than regular 1mbps PHY (longer range).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However, that 8x longer on-air time is also 8x more likely to encounter spurious interference from other radios, especially Wi-Fi routers. That means that if you are in a typically noisy environment like an office space, the likelyhood that any given BLE packet will be successfully transmitted can be lower for Coded than 1mbps PHY. In this scenario,&amp;nbsp;&lt;/span&gt;&lt;span&gt;Coded PHY will still have longer max range than 1mbps if a given Coded PHY transmission is not interferred with.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The opposite is true for 2mbps PHY, where a lower receiver sensitivity is traded for shorter on-air time per symbol. In extremely noisy environments 2mbps PHY can actually have significantly higher throughput than 1mbps or Coded PHY (at a range where the throughput of 1mbps and Coded PHY are closer to zero), but with much shorter max range.&lt;br /&gt;&lt;br /&gt;-edit:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you share your schematics and layout files we can take a look and see if there are any other issues.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>