<?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>Assistance Needed for Runtime change LE 1M PHY to LE 2M PHY on nRF5340 for Faster DFU Process</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114478/assistance-needed-for-runtime-change-le-1m-phy-to-le-2m-phy-on-nrf5340-for-faster-dfu-process</link><description>Dear Nordic Team, 
 We are currently developing a smart door lock using the nRF5340 and have started with the Matter lock sample demo code on our custom hardware. 
 To optimize the DFU process over SMP, we aim to switch from LE 1M PHY to LE 2M PHY at</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Sep 2024 10:56:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114478/assistance-needed-for-runtime-change-le-1m-phy-to-le-2m-phy-on-nrf5340-for-faster-dfu-process" /><item><title>RE: Assistance Needed for Runtime change LE 1M PHY to LE 2M PHY on nRF5340 for Faster DFU Process</title><link>https://devzone.nordicsemi.com/thread/502739?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2024 10:56:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:413face3-153a-462d-bd43-f93cf4637f35</guid><dc:creator>Kaushik Parsana</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;My problem got resolved after added&amp;nbsp;&lt;strong&gt;CONFIG_BT_CTLR_PHY_2M=y &lt;/strong&gt;this configuration inside the child image folder prj.conf file.&lt;/p&gt;
&lt;p&gt;For application added&amp;nbsp;below&amp;nbsp;changes.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CONFIG_BT_AUTO_PHY_UPDATE=n&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;CONFIG_BT_USER_PHY_UPDATE=y&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/8787.Snip.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kaushik Parsana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Assistance Needed for Runtime change LE 1M PHY to LE 2M PHY on nRF5340 for Faster DFU Process</title><link>https://devzone.nordicsemi.com/thread/502619?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2024 13:28:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9af630c-76f7-43e6-9f3d-dcbf798e3500</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Kaushik,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The sniffer trace you provided unfortunately doesn&amp;#39;t capture any connection, only advertising packets.&amp;nbsp;&lt;br /&gt;Please follow our guide here to know how to use the sniffer to capture a connection:&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-6-bluetooth-le-sniffer/"&gt;https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-6-bluetooth-le-sniffer/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Could you send us your .config file ? (in both the application build folder and the hci_rpmsg build folder inside the application build folder)&lt;br /&gt;Have you made sure you added this&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CONFIG_BT_CTLR_PHY_2M=y&lt;/p&gt;
&lt;p&gt;To both the prj.conf and&amp;nbsp;hci_rpmsg.conf file inside child_image folder ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Assistance Needed for Runtime change LE 1M PHY to LE 2M PHY on nRF5340 for Faster DFU Process</title><link>https://devzone.nordicsemi.com/thread/502610?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2024 12:42:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:908cde34-cf2b-4c3a-a1bc-de5de7560535</guid><dc:creator>Kaushik Parsana</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/snifferLogs.pcapng"&gt;devzone.nordicsemi.com/.../snifferLogs.pcapng&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Please find the attached file containing the sniffing logs. I applied the filter &lt;strong&gt;&lt;span class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak" dir="ltr"&gt;btcommon.eir_ad.entry.device_name contains &amp;quot;HU:D114&amp;quot;&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;during log capture, as &amp;quot;HU:D114&amp;quot; is my BLE advertisement ID.&lt;/p&gt;
&lt;p&gt;Kindly review the logs and advise on the next steps.&lt;/p&gt;
&lt;p&gt;I have debugged a few things and found the following settings in the `build/zephyr/.config` file:&lt;/p&gt;
&lt;p&gt;- `CONFIG_BT_USER_PHY_UPDATE=y`&lt;br /&gt;- `# CONFIG_BT_AUTO_PHY_UPDATE is not set`&lt;br /&gt;- `CONFIG_BT_PHY_UPDATE=y`&lt;/p&gt;
&lt;p&gt;Additionally, the `CONFIG_BT_PHY_UPDATE=y` setting is enabled in both the child image and the application image. Which means configuration was proper.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;span class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak" dir="ltr"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Assistance Needed for Runtime change LE 1M PHY to LE 2M PHY on nRF5340 for Faster DFU Process</title><link>https://devzone.nordicsemi.com/thread/501550?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 13:03:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fc52e3c-01ec-429f-8750-20ae00d3d421</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;Please try to capture a sniffer trace.&amp;nbsp;&lt;br /&gt;Please also try to&amp;nbsp;request PHY change from the peripheral side.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Assistance Needed for Runtime change LE 1M PHY to LE 2M PHY on nRF5340 for Faster DFU Process</title><link>https://devzone.nordicsemi.com/thread/501545?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 12:49:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b54ce67-3d32-40f8-8a20-a5f77ab8cde0</guid><dc:creator>Kaushik Parsana</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I have enabled `CONFIG_BT_PHY_UPDATE=y` in the `prj.conf` file of the Multiprotocol_rpmsg child image folder, which is used for the network core in our project. However, I am still unable to set the preferred PHY level.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Kaushik Parsana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Assistance Needed for Runtime change LE 1M PHY to LE 2M PHY on nRF5340 for Faster DFU Process</title><link>https://devzone.nordicsemi.com/thread/501376?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2024 13:05:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2436fb5-37ab-44ad-ae1d-136267bf090c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Kaushik,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Since the NRF53 has the controller running on network core. You may want to put the configuration&amp;nbsp;&lt;span&gt;CONFIG_BT_PHY_UPDATE=y to hci_rpmsg.conf file inside child_image.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If it doesn&amp;#39;t help, please try capture a &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;sniffer trace&lt;/a&gt; so we can check why PHY is not updated. You can start testing with simple application instead of the Matter lock demo.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>