<?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>Central and peripheral Coded Phy running in nRF5340 and nRF52840 DKs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89985/central-and-peripheral-coded-phy-running-in-nrf5340-and-nrf52840-dks</link><description>Hi, 
 I have nRF5340 DK and nRF52840 DK and Flashed Central_hr_coded in nRF52840, Peripheral_hr_coded in nRF5340 DK. Followed the steps of Testing as showed in below link. 
 https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Jul 2022 13:51:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89985/central-and-peripheral-coded-phy-running-in-nrf5340-and-nrf52840-dks" /><item><title>RE: Central and peripheral Coded Phy running in nRF5340 and nRF52840 DKs</title><link>https://devzone.nordicsemi.com/thread/377897?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 13:51:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06fe3d9f-3750-4206-8978-9d8652fb4724</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;We have a Coded PHY sample project as well in the nRF Connect SDK in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_hr_coded/README.html"&gt;heart rate monitor with Coded PHY samples&lt;/a&gt;. Note that it&amp;#39;s strongly recommended to lower the MTU size to 27 when using the Coded PHY. Since Coded PHY sends all packets 8 times longer packets have a large chance of packet loss with more data on the air for a longer period of time. It is better for both throughput and packet error rate to split the payload into several packets of 27 bytes when using the Coded PHY. The 247 MTU sizes are only recommended with the 1MBPS and 2MBPS PHY.&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: Central and peripheral Coded Phy running in nRF5340 and nRF52840 DKs</title><link>https://devzone.nordicsemi.com/thread/377807?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 09:40:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47ea3e54-51c1-4250-92d5-58f1627f986f</guid><dc:creator>Yashwanth</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;I have gone through the settings to setup putty. Only peripheral side it is showing as above log in nRF terminal of VS Code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Actually I&amp;#39;m new to this and&amp;nbsp; I&amp;#39;m trying to work on Coded PHY Sample to test the long range and High Data throughput.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I found this example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0508.peripheral_5F00_uart_5F00_throughput.zip"&gt;/cfs-file/__key/communityserver-discussions-components-files/4/0508.peripheral_5F00_uart_5F00_throughput.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;LE PHY getting updated as per&amp;nbsp; &lt;strong&gt;BT_CONN_LE_PHY_PARAM_2M.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I have changed this to&amp;nbsp;&lt;strong&gt;BT_CONN_LE_PHY_PARAM_CODED&lt;/strong&gt;&amp;nbsp; to enable CODED PHY and&amp;nbsp; added&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;strong&gt;CONFIG_BT_EXT_ADV=y&lt;/strong&gt; in prj.conf file. But it is not showing any devices in nRF Connect Mobile App. (In My Mobile (Samsung A31) device can be visible in Scanner). &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;1)May I know what are the changes need to update to work as CODED PHY?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;2)As&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;CONFIG_BT_L2CAP_TX_MTU = 247&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;in prj.conf file.&amp;nbsp;Can we change it to 512 as max data size to send? I changed the value of it. But again it is the default size taking as &lt;strong&gt;247.&amp;nbsp;&lt;/strong&gt;How this can be enabled to get max data transfer?&lt;/div&gt;
&lt;div&gt;3)The data length&amp;nbsp; here is 27 bytes. Is it the packet size every time it advertises? can we increase this value?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Regards,&lt;/div&gt;
&lt;div&gt;Yashwanth&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central and peripheral Coded Phy running in nRF5340 and nRF52840 DKs</title><link>https://devzone.nordicsemi.com/thread/377348?ContentTypeID=1</link><pubDate>Mon, 18 Jul 2022 08:19:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffff05de-1f2f-4396-8192-bf49ee0ef165</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;1. This log you&amp;#39;re showing seems to be from the incorrect COM port (probably the NET core) which won&amp;#39;t give you much logging info on the connection. Have you tried the other COM ports as well?&amp;nbsp;Please&amp;nbsp;read the &amp;quot;Testing&amp;quot; section of the sample project readme files (&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/central_hr_coded/README.html#testing"&gt;Central&lt;/a&gt;&amp;nbsp;and &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_hr_coded/README.html"&gt;peripheral&lt;/a&gt;) for info of how it should look and how to set up Putty correctly.&lt;/p&gt;
&lt;p&gt;2. I think the reason the name isn&amp;#39;t visible on your Samsung is because the name is advertised on the secondary channels instead of primary adv channels, so the Samsung doesn&amp;#39;t pick up the device name, only the advertising indication on the primary channels.&lt;/p&gt;
&lt;p&gt;3. Do you have any more information on what&amp;#39;s going wrong with these devices other than you not seeing any output? How are they set up with your computer?&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: Central and peripheral Coded Phy running in nRF5340 and nRF52840 DKs</title><link>https://devzone.nordicsemi.com/thread/377090?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2022 07:39:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6645c7b-6c9b-4cb1-a150-749aea46202c</guid><dc:creator>Yashwanth</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. I have flashed nRF5340 with Peripheral HR Coded and nRF52840 with Central HR Coded. But when I connected DKs over Putty to see data over terminal, I can see only below (nRF5340) .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;*** Booting Zephyr OS build v2.7.99-ncs1-1 ***&lt;br /&gt;Bluetooth initialized&lt;br /&gt;Created adv: 0x20000988&lt;br /&gt;Advertiser 0x20000988 set started&lt;br /&gt;[00:00:00.279,418] &amp;lt;inf&amp;gt; bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)&lt;br /&gt;[00:00:00.279,418] &amp;lt;inf&amp;gt; bt_hci_core: HW Variant: nRF53x (0x0003)&lt;br /&gt;[00:00:00.279,449] &amp;lt;inf&amp;gt; bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 223.20160 Build 1719410646&lt;br /&gt;[00:00:00.281,646] &amp;lt;inf&amp;gt; bt_hci_core: Identity: &lt;span style="color:#ffff00;"&gt;MAC Address&lt;/span&gt;(random)&lt;br /&gt;[00:00:00.281,646] &amp;lt;inf&amp;gt; bt_hci_core: HCI: version 5.2 (0x0b) revision 0x22b0, manufacturer 0x0059&lt;br /&gt;[00:00:00.281,677] &amp;lt;inf&amp;gt; bt_hci_core: LMP: version 5.2 (0x0b) subver 0x22b0&lt;/p&gt;
&lt;p&gt;On Putty, I have set as Baud rate:115200,&amp;nbsp;8 data bits, 1 stop bit, No parity, HW flow control: None&lt;/p&gt;
&lt;p&gt;and no output on Putty with Central (nRF52840) on other PC. Is nRF52840 connects with nRF5340? How it can be seen?&lt;/p&gt;
&lt;p&gt;2) Yeah, My Phone (Samsung A31) doesn&amp;#39;t support Coded PHY, But the device is visible in scanner of nRF Connect App. But when I set name in prj.conf as&amp;nbsp;&lt;span&gt;&amp;nbsp;CONFIG_BT_DEVICE_NAME=&amp;quot;CODED PHY TEST&amp;quot;. It is visible as N/A. Is it because My Phone doesn&amp;#39;t support CODED PHY? Or any configuration change needed to visible the name?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The another Mobile (POCO C31) I have supports Coded PHY and the device is not visible in Scanner.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3)Yeah, I have tried throughput sample on the above two different Dks (nRF5340 (As Tester) and nRF52840 (As peer)). I don&amp;#39;t see any output as in the link. Any thing I missed to setup configuration because of two different DKs?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central and peripheral Coded Phy running in nRF5340 and nRF52840 DKs</title><link>https://devzone.nordicsemi.com/thread/377072?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2022 06:28:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4b1af64-def9-4d5c-9c2f-adff2940427e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Yashwanth&lt;/p&gt;
&lt;p&gt;1. Yes, you should be able to run the HR Coded projects on two different DKs and make them connect to each other. As long as one DK is flashed with the Central Heart rate monitor and one is flashed with the Peripheral sample that should be good. You need to have two terminal windows each connected to one of the DKs and you should see logging from both devices.&lt;/p&gt;
&lt;p&gt;2. Then my guess is that your phone doesn&amp;#39;t support the Coded PHY. What phone are you running the nRF Connect app on?&lt;/p&gt;
&lt;p&gt;3. To test the throughput I would recommend using the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/throughput/README.html"&gt;throughput sample.&lt;/a&gt;&amp;nbsp;The Coded PHY should work for the nRF5340 here as well. You can also check out this &lt;a href="https://novelbits.io/bluetooth-5-speed-maximum-throughput/"&gt;Novelbits guide&lt;/a&gt; that describes how to get the highest possible throughput.&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></channel></rss>