<?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>5340 audio change to right channel</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91839/5340-audio-change-to-right-channel</link><description>Hello 
 nRF5340-audio-DK, NCS2.0.2, VScode 
 
 press BUTTON_VOLUME_UP then button reset,can&amp;#39;t change to channel right. 
 
 
 if (CONFIG_AUDIO_DEV == HEADSET) { 
 ret=channel_assignment_set(AUDIO_CHANNEL_RIGHT); 
 if(ret)printk(&amp;quot;set channel right err:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Sep 2022 01:17:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91839/5340-audio-change-to-right-channel" /><item><title>RE: 5340 audio change to right channel</title><link>https://devzone.nordicsemi.com/thread/388443?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 01:17:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7570d744-210d-400c-8f5f-6ec673fb4199</guid><dc:creator>jettoo</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;thanks,i&amp;#39;ve got,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 audio change to right channel</title><link>https://devzone.nordicsemi.com/thread/387971?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 14:46:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ade119ef-8d66-4bbd-bba5-3cacb5202586</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;In order to change between headset and gateway you can set CONFIG_AUDIO_DEV in your prj.conf file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Set it to 1 for headset and 2 for gateway, as described in the Kconfig file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;config AUDIO_DEV
	int &amp;quot;Select which device type to compile for. 1=HEADSET or 2=GATEWAY&amp;quot;
	range 1 2
	default 1
	help
	  Setting this variable to 1 selects that the project is compiled
	  as a HEADSET device.
	  Setting to 2 will compile as a GATEWAY.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 audio change to right channel</title><link>https://devzone.nordicsemi.com/thread/387587?ContentTypeID=1</link><pubDate>Fri, 23 Sep 2022 01:02:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d90b5cd-ec22-40c1-b407-6d5846c88f89</guid><dc:creator>jettoo</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;thanks for reply,&lt;/p&gt;
&lt;p&gt;i&amp;#39;ve update v2.1.0,&amp;nbsp; it can see dfu folder.&lt;/p&gt;
&lt;p&gt;there will no&amp;nbsp;&lt;span style="color:#0000ff;"&gt;overlay-gateway.conf&lt;/span&gt; and&amp;nbsp;&lt;span style="color:#0000ff;"&gt;overlay-headset.conf&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/pastedimage1663893855599v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 audio change to right channel</title><link>https://devzone.nordicsemi.com/thread/387523?ContentTypeID=1</link><pubDate>Thu, 22 Sep 2022 13:30:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88eaafba-0723-4c36-b23e-14f064e12f2c</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
[quote user="jettoo"]1.CIS mode,when is&amp;nbsp;bidirectional communication supported?[/quote]
&lt;p&gt;This is work in progress, yes. There is no schedule for it right now, but hopefully we will have more information about this soon.&amp;nbsp;&lt;/p&gt;
[quote user="jettoo"]2.when LC3&amp;nbsp;support 16bit 16kHZ?[/quote]
&lt;p&gt;The codec supports it already, but currently it is not very easy to change from the application side. There is a pull request in the works to simplify this process, you can check it out &lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/8614"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 audio change to right channel</title><link>https://devzone.nordicsemi.com/thread/387377?ContentTypeID=1</link><pubDate>Thu, 22 Sep 2022 00:41:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:521c1819-124a-4538-88f0-e0b1a0ef3bc7</guid><dc:creator>jettoo</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks for reply, i will got it.&lt;/p&gt;
&lt;p&gt;the last queston:&lt;/p&gt;
&lt;p&gt;1.CIS mode,when is&amp;nbsp;bidirectional communication supported?&lt;/p&gt;
&lt;p&gt;2.when LC3&amp;nbsp;support 16bit 16kHZ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 audio change to right channel</title><link>https://devzone.nordicsemi.com/thread/387290?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2022 12:14:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bfeda9f-0799-48ae-83ae-c2b53bc350da</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Fortunately proper DFU support was added in version 2.1.0 of the nRF Connect SDK. You can read more about this &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf5340_audio/README.html?highlight=audio#configuring-fota-upgrades"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 audio change to right channel</title><link>https://devzone.nordicsemi.com/thread/387187?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2022 01:23:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c7e4a0b-c883-462b-b003-50d0fb0d47c4</guid><dc:creator>jettoo</dc:creator><description>&lt;p&gt;HI&lt;/p&gt;
&lt;p&gt;ok, i&amp;#39;m waiting&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 audio change to right channel</title><link>https://devzone.nordicsemi.com/thread/386933?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2022 14:16:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14ececa1-dc18-4fb4-a92c-45d063034e23</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) The reason you can&amp;#39;t change the channel assignment at run time is that this is statically configured through the UICR. In order for the run time selection to work you need to clear the UICR configuration.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The easiest way to change this if you are flashing new kits is to change it in nrf5340_audio_dk_devices.json in nrf5340_audio\tools\buildprog&lt;/p&gt;
&lt;p&gt;2) I don&amp;#39;t think we have a complete example showing how to do DFU with LE Audio, no, but I will double check this and get back to you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 audio change to right channel</title><link>https://devzone.nordicsemi.com/thread/386070?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2022 01:31:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d89241e5-3fb2-4545-98f4-9ed5d388be55</guid><dc:creator>jettoo</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks for reply,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1.not&amp;nbsp;change the sample code,&amp;nbsp;only to know how to change&amp;nbsp;channels&amp;nbsp;dynamicy in code.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2.form the link,i don&amp;#39; konw how to add DFU, is there&amp;nbsp;have examples for it?&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/pastedimage1663115630848v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#008000;"&gt;i konw hello_world project add DFU like follow:&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;#include &amp;lt;mgmt/mcumgr/smp_bt.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;#include &amp;quot;os_mgmt/os_mgmt.h&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;#include &amp;quot;img_mgmt/img_mgmt.h&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&lt;/span&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;void ota()&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; os_mgmt_register_group();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; img_mgmt_register_group();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; smp_bt_register();&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; int err = bt_enable(NULL);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; if (err) {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printk(&amp;quot;Bluetooth init failed (err %d)\n&amp;quot;, err);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; if (IS_ENABLED(CONFIG_SETTINGS)) {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; settings_load();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; err = bt_le_adv_start(BT_LE_ADV_CONN, upad, ARRAY_SIZE(upad),upsd, ARRAY_SIZE(upsd));&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; if (err) {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printk(&amp;quot;Advertising failed to start (err %d)\n&amp;quot;, err);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 audio change to right channel</title><link>https://devzone.nordicsemi.com/thread/385986?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 13:20:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebb09652-42ea-4884-b5ea-6485ff94a499</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you make any changes to the sample, or are you experiencing issues straight out of the box?&lt;/p&gt;
&lt;p&gt;Are you sure that both the left and right channels are being sent from somewhere?&lt;/p&gt;
[quote user=""]another question,&amp;nbsp; 5340-audio can DFU?[/quote]
&lt;p&gt;Yes, this is possible. You can read more about the DFU support &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/releases/release-notes-changelog.html#nrf5340-audio"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 audio change to right channel</title><link>https://devzone.nordicsemi.com/thread/385616?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 01:51:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd07aa48-29d0-439e-9353-20d959f37d39</guid><dc:creator>jettoo</dc:creator><description>&lt;p&gt;i konw set in prj.conf&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_AUDIO_HEADSET_CHANNEL_COMPILE_TIME&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_AUDIO_HEADSET_CHANNEL&lt;/span&gt;&lt;span&gt;=1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;it can&amp;#39;t set by&amp;nbsp;&lt;/span&gt;&lt;/span&gt;channel_assignment_set()&amp;nbsp;dynamic in code?&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
Best regards&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>