<?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>optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112775/optimizing-nrf5340-audio-application-for-maximum-range</link><description>Hello, 
 I am working on unidirectional voice broadcasting device where the maximum range is the priority. At this time I am developing on Audio DK boards. 
 I need some help to choose the correct settings. 
 16KHz/16b, single stream (mono) quality is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Jul 2024 18:24:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112775/optimizing-nrf5340-audio-application-for-maximum-range" /><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/493710?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 18:24:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36036ddb-9f4f-420c-828b-141672bbdc89</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;Please contact our regional sales manager on this requirement or Use the sales-related questions on contact us:&lt;/span&gt;&lt;br /&gt;&lt;a href="https://www.nordicsemi.com/About-us/Contact-us"&gt;https://www.nordicsemi.com/About-us/Contact-us&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/493697?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 16:50:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:404013e1-1997-4e76-9a31-bf8f616ce49e</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;Thank you for the investigation. We can design the prototypes of the product without coded phy and update it later (hopefully it will be ready in few months). Can I get some notification when this feature will be ready?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/493661?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 14:10:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d46abf7-28e0-40ad-acd4-1f3775770ea7</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the delay.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have checked with the team and got&lt;br /&gt;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately, we might not be able to support coded PHY properly at this moment.&lt;/p&gt;
&lt;p&gt;Since coded PHY will need more time to transmit an encoded frame, we cannot use the 10ms ISO interval. However,&amp;nbsp;all of our audio datapath is designed for the 10ms ISO interval. We are working on it, but no schedule promise.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/493653?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 13:57:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f204e5ca-77ff-479a-8e6d-0918a07c94b3</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;I did more experiments:&lt;/p&gt;
&lt;p&gt;When I create new clean application i can find&amp;nbsp;&lt;/p&gt;
&lt;h2 class="title" data-testid="active-item-name"&gt;Bluetooth Controller&lt;span class="mono"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;(BT_CTLR)&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span class="mono"&gt;and inside&lt;/span&gt;&lt;/p&gt;
&lt;h2 class="title" data-testid="active-item-name"&gt;Coded PHY Support&lt;span class="mono"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;(BT_CTLR_PHY_CODED)&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span class="mono"&gt;option in Kconfig GUI, however it does not build.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;warning: ENTROPY_NRF5_RNG (defined at drivers/entropy/Kconfig.nrf5:14) has direct dependencies !ENTROPY_NRF_FORCE_ALT &amp;amp;&amp;amp; DT_HAS_NORDIC_NRF_RNG_ENABLED &amp;amp;&amp;amp; ENTROPY_GENERATOR with value n, but is currently being y-selected by the following symbols:&lt;br /&gt; - BT_LLL_VENDOR_NORDIC (defined at subsys/bluetooth\controller\Kconfig.ll_sw_split:8), with value y, direct dependencies SOC_COMPATIBLE_NRF &amp;amp;&amp;amp; !n &amp;amp;&amp;amp; !n &amp;amp;&amp;amp; BT_LL_SW_SPLIT &amp;amp;&amp;amp; BT_CTLR &amp;amp;&amp;amp; BT_HCI &amp;amp;&amp;amp; BT (value: y), and select condition SOC_COMPATIBLE_NRF &amp;amp;&amp;amp; !n &amp;amp;&amp;amp; !n &amp;amp;&amp;amp; BT_LL_SW_SPLIT &amp;amp;&amp;amp; BT_CTLR &amp;amp;&amp;amp; BT_HCI &amp;amp;&amp;amp; BT (value: y)&lt;/p&gt;
&lt;p&gt;error: Aborting due to Kconfig warnings&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is all very confusing.&lt;/p&gt;
&lt;p&gt;I need someone to test the Audio Application with coded PHY enable option.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/493610?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 10:45:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bd3fd8a-f06c-4741-ae80-85da96ec2dfa</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;Here is another picture that may explain something.&lt;/p&gt;
&lt;p&gt;Options&amp;nbsp;&lt;span&gt;under&amp;nbsp;nrf5340_audio/build/hci_ipc/zephyr/.config do not match the kconfig&lt;/span&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/pastedimage1720781047292v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/493240?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 18:58:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:650cee31-e830-4bc2-bd9c-de69ba93a63c</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;The options are in &lt;span&gt;nrf5340_audio/build/hci_ipc/zephyr even&amp;nbsp;&lt;/span&gt;in unmodified project. I than add the 3 options to child_image/gci_ipc.conf.&lt;/p&gt;
&lt;p&gt;To demonstrate i added check to main. Those options do not propagate to the preprocessor.&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/pastedimage1720637493015v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Does the same work on your size? Could you share your project?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have 2pcs of DK. Of course i make the settings on both sides when i test range...&lt;/p&gt;
&lt;div class="Box-sc-g0xbh4-0 jwXCBK" data-testid="breadcrumbs-filename"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/493238?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 18:16:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d91bcc53-4bdb-4dab-9847-b1b5c31fad9f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Then, your audio DK should support coded phy now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is your other target, phone or another&amp;nbsp;&lt;span&gt;Audio DK? Do you also set&amp;nbsp;coded phy on another board?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How do you measure the distance? Outdoor without building?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/493069?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 07:35:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4705a158-ed80-4258-b944-004029b97d62</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;Hello, yes all the 5 options are included in the file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/493037?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 18:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f363af95-e211-4d15-8df4-94186867f96c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you build the unmodified audio application for&amp;nbsp;nrf5340_audio_dk_nrf5340_cpuapp and check the values included in the .config under&amp;nbsp;nrf5340_audio/build/hci_ipc/zephyr?&lt;/p&gt;
&lt;p&gt;CONFIG_BT_EXT_ADV=y&lt;br /&gt;CONFIG_BT_CTLR_ADV_EXT=y&lt;br /&gt;CONFIG_BT_CTLR_PHY_CODED=y&lt;/p&gt;
&lt;p&gt;You also should see the relevant configs are set.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;CONFIG_BT_CTLR_ADV_EXT_SUPPORT=y&lt;/li&gt;
&lt;li&gt;CONFIG_BT_CTLR_PHY_CODED_SUPPORT=y&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/493016?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 15:32:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50f4b24e-491e-4108-8e93-30e4afe129de</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;I experimented with the central_hr_coded sample. It builds with nfr52480dk_nrf52840 board. But when I switch to nfr5340dk_nrf5340_cpuapp&amp;nbsp;if also reports missing dependencies.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/492946?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 11:40:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3df5578d-55ae-49dc-9496-7244a69222d8</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;I can not do that. The phy member does not exist. This means CONFIG_BT_USER_PHY_UPDATE is not defined although i have it in the hci_ipc.conf as you advised.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;I do not understand why the missing dependencies messages are sometimes there and sometimes not.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;Could you please just try to build the audio application with coded phy on your size? I got stuck and need to move forward with this.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;Thank you&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&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/pastedimage1720524668141v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/492767?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 14:44:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:650af549-0dbd-4f50-989c-d8b1ec3b58f1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Do you print phy info as &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.6.1/samples/bluetooth/central_hr_coded/src/main.c#L212"&gt;this line&lt;/a&gt;&amp;nbsp;on both sides to check?&lt;/p&gt;
&lt;p&gt;You can refer to the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/samples/bluetooth/central_hr_coded/README.html"&gt;Central Heart Rate Monitor with Coded PHY&lt;/a&gt;&amp;nbsp;and the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/samples/bluetooth/peripheral_hr_coded/README.html"&gt;Peripheral Heart Rate Monitor with Coded PHY&lt;/a&gt;&amp;nbsp;samples.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/492684?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 12:04:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f3db6d0-04c4-4cf8-89a2-f3528e41122e</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;Hello, yes, this build correctly. But there&amp;nbsp;it nothing in the log to on TX/RX side to confirm the correct settings. Tried &amp;quot;Project default&amp;quot; and &amp;quot;Optimize for debugging&amp;quot;.&lt;br /&gt;Also could you please give some insight regarding the other settings for maximum range?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/492534?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 19:45:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd067d4d-1185-4a9b-80ca-5d5485024034</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You should add the configs as this&amp;nbsp;&lt;a title="hci_ipc.conf" href="https://github.com/nrfconnect/sdk-nrf/blob/v2.6.1/samples/bluetooth/peripheral_hr_coded/child_image/hci_ipc.conf"&gt;hci_ipc.conf&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;CONFIG_BT_EXT_ADV=y&lt;br /&gt;CONFIG_BT_CTLR_ADV_EXT=y&lt;br /&gt;CONFIG_BT_CTLR_PHY_CODED=y&lt;/p&gt;
&lt;p&gt;Make sure you add the coded&amp;nbsp;&lt;span&gt;PHY settings on both devices.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/492493?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 14:28:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93476508-68e7-4886-b04f-7666fd45b3e5</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;To be sure i have just created new build configuration. I left all the options untouched.&lt;/p&gt;
&lt;p&gt;This is strange because i can now see the message with dependencies again.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I can see some information about the audio stream for example but nothing about PHY settings.&lt;/p&gt;
&lt;p&gt;I also quickly tested the range and it seems about the same as before adding the options.&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1720189594577v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/492480?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 13:51:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c49f4a5-3c84-4172-af30-920e81849fdf</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How/What command do you build the application? The default&amp;nbsp;&lt;span&gt;prj.conf would provide full logging capabilities and debug optimizations to ease development.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/492472?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 13:24:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f9b43bb-cf26-4bb7-b4ba-e62d40d9b142</guid><dc:creator>JeraDrson</dc:creator><description>&lt;p&gt;&lt;span&gt;v 2.6.1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I moved the option to hci_ipc.conf (i tried it before).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I cleared the project, restarted to visual studio and i no longer see the dependencies issues. Is there a way to know ir is really working? Maybe some debug prints?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: optimizing nRF5340 Audio application for maximum range</title><link>https://devzone.nordicsemi.com/thread/492463?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 12:47:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f15fd22b-2fc1-48a1-b634-43568aab6ff3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which NCS version are you using?&lt;/p&gt;
[quote user=""]&lt;p&gt;I added&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;CONFIG_BT_CTLR_PHY_CODED=y&lt;/div&gt;
&lt;div&gt;CONFIG_BT_EXT_ADV=y&lt;/div&gt;
&lt;div&gt;CONFIG_BT_USER_PHY_UPDATE=y&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;to the prj.conf&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;Please try to add those configs to&amp;nbsp;hci_ipc.conf.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>