<?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>Extended Advertising with FEM/MPSL</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118537/extended-advertising-with-fem-mpsl</link><description>SDK: 2.6.1 (2.9 seems to give an HCI build error , undefined reference to `__device_dts_ord_135&amp;#39;, when enabled CONFIG_BT_LL_SW_SPLIT, CONFIG_BT_LLL_VENDOR_NORDIC ?) 
 SOC:NRF52840 
 I am using the Ezurio/Laird BL654PA, but I found an issue when enabled</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Feb 2025 13:36:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118537/extended-advertising-with-fem-mpsl" /><item><title>RE: Extended Advertising with FEM/MPSL</title><link>https://devzone.nordicsemi.com/thread/521315?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 13:36:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69a0ecc0-56fd-428a-ab76-2d5edefb7228</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am glad to hear it is working. Regarding the error, it is printed &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/1f8f3dc291420c70cd39e77a5cdc954561d4a08f/subsys/bluetooth/host/conn.c#L1797"&gt;here&lt;/a&gt; in conn.c. This is only calle dwith &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/kconfig/index.html#!CONFIG_BT_AUTO_PHY_UPDATE"&gt;CONFIG_BT_AUTO_PHY_UPDATE&lt;/a&gt;, and if that is not something you need or want (it is handled explicitly by the application or the peer,), you can set&amp;nbsp;CONFIG_BT_AUTO_PHY_UPDATE=n in your project configuration. That said, following this further down I think it comes from &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/1f8f3dc291420c70cd39e77a5cdc954561d4a08f/subsys/bluetooth/host/hci_core.c#L450"&gt;here&lt;/a&gt;, but it could be interesting to confirm that with a debugger, and see what else you can find that way if you want&amp;nbsp;CONFIG_BT_AUTO_PHY_UPDATE enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Advertising with FEM/MPSL</title><link>https://devzone.nordicsemi.com/thread/521213?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 05:49:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d2abaab-a431-4402-97ea-5150e0368408</guid><dc:creator>LukeC</dc:creator><description>&lt;p&gt;I only enabled the SW_SPLIT because I thought I needed this to enable two advertising sets, one for standard 1mbps phy and one for coded phy. Per the warning below:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;pre class="ui-code" data-mode="text"&gt;warning: BT_CTLR_ADV_AUX_SET (defined at subsys/bluetooth/controller/Kconfig.ll_sw_split:319) was
assigned the value &amp;#39;2&amp;#39; but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies: BT_LL_SW_SPLIT
(=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_CTLR_ADV_AUX_SET and/or look
up BT_CTLR_ADV_AUX_SET in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.&lt;/pre&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Perhaps it will work just with the following settings and not need the SW_SPLIT?&lt;/p&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_EXT_ADV_MAX_ADV_SET=2
CONFIG_BT_EXT_ADV=y
CONFIG_BT_CTLR_PHY_CODED=y&lt;/pre&gt;
&lt;div&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;Update:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Removing the SW_SPLIT and&amp;nbsp;CONFIG_BT_CTLR_ADV_AUX_SET seems to still allow both standard and coded phy advertising on two different advertising sets. I can find the device scanning on LE 1M and coded phy.&amp;nbsp;&lt;br /&gt;&lt;br /&gt; I do get this odd error message that setting the phy fails &amp;quot;Failed LE Set PHY (-5)&amp;quot;.&amp;nbsp; This may not be a problem because the phy update reports the connection is using the coded phy.&amp;nbsp; It might be coming from&amp;nbsp;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;bt_conn_le_phy_update call.&amp;nbsp; I would like to request the coded phy even if the connection was initiated on the 1Mbps phy.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;Connection (1) - Initial Tx Power = 8
[00:00:27.780,364] &amp;lt;inf&amp;gt; ble_periph: Gap connected peripheral id: 0, handle: 1.
[00:00:27.780,975] &amp;lt;wrn&amp;gt; bt_hci_core: opcode 0x2032 status 0x3a
[00:00:27.780,975] &amp;lt;err&amp;gt; bt_hci_core: Failed LE Set PHY (-5)
[00:00:28.023,986] &amp;lt;inf&amp;gt; main: Conn 0 RSSI is -30 db.
[00:00:28.697,235] &amp;lt;inf&amp;gt; ble_main: Phy Updated to RX=4 TX=4
[00:00:29.024,353] &amp;lt;inf&amp;gt; main: Conn 0 RSSI is -32 db.
Updated MTU: TX: 517 RX: 498 bytes
[00:00:30.024,810] &amp;lt;inf&amp;gt; main: Conn 0 RSSI is -35 db.
[00:00:31.025,177] &amp;lt;inf&amp;gt; main: Conn 0 RSSI is -35 db.&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Advertising with FEM/MPSL</title><link>https://devzone.nordicsemi.com/thread/521129?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2025 13:46:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cc9cbe3-e0ed-4f0d-987e-b20c1f809cda</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""](2.9 seems to give an HCI build error ,&amp;nbsp;undefined reference to `__device_dts_ord_135&amp;#39;,[/quote]
&lt;p&gt;It would be interesting to solve this issue instead of using an old SDK, see &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/build/dts/troubleshooting.html#undefined_reference_to_devicedtsordn"&gt;here&lt;/a&gt;.&lt;/p&gt;
[quote user=""]when enabled&amp;nbsp; CONFIG_BT_LL_SW_SPLIT,[/quote]
&lt;p&gt;This config is used to enable the Zephyr BLE link layer, and that is not supported.&amp;nbsp;&lt;/p&gt;
[quote user=""]If i disable&amp;nbsp;CONFIG_MPSL_FEM, and CONFIG_MPSL, the extended advertising works well.[/quote]
&lt;p&gt;If you are trying to use&amp;nbsp;CONFIG_BT_LL_SW_SPLIT that will not work in combination with the MPSL, the MPSL only works with the SoftDevice Controller (which is the one you should use).&lt;/p&gt;
[quote user=""]Is there a way to allow both Coded&amp;nbsp;Phy advertising to work with FEM? Thanks![/quote]
&lt;p&gt;Yes, that should not be a problem. But make sure you do not change to Zephyr LL. See &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/app_dev/device_guides/fem/fem_simple_gpio.html"&gt;Enabling support for front-end modules using Simple GPIO interface&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>