<?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>Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119129/cis-mode---mic-issues</link><description>Hi, With this setup in , I successfully built a CIS mode using my nRF5340 DKs , enabling stereo sound while the microphone is active . 
 However, I am currently experiencing several issues: 
 
 The recorded microphone signal is accelerated , playing back</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 May 2025 10:14:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119129/cis-mode---mic-issues" /><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/534251?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 10:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26419f36-f049-4032-879f-9fa2dbdb47d7</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Abdulmohaimen,&lt;/p&gt;
[quote user="Abdulmohaimen"]Is it possible to reduce the frequency of the &lt;strong&gt;source&lt;/strong&gt; in the &lt;code&gt;uncast_client.c&lt;/code&gt; file,[/quote][quote user="Abdulmohaimen"]similar to how it was reduced to 16 kHz on the &lt;strong&gt;sink&lt;/strong&gt; side?[/quote]
&lt;p&gt;Could this&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/118107/nrf5340-audio-stream-bidirectional-problem"&gt;discussion&lt;/a&gt;&amp;nbsp;be helpful?&lt;/p&gt;
[quote user="Abdulmohaimen"]Would reducing the frequency on the source side help reduce CPU load and possibly improve signal quality?[/quote]
&lt;p&gt;CPU rate is directly impacted by the sampling rate. USB audio interface and bidirectional communication require CPU resources. To avoid getting CPU overloaded and having bad audio quality, you should consider using either 16 KHz sampling rate or mono channel instead of stereo.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/534131?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 13:43:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a8901bb-c2e0-4fa4-821e-5abf5cb0c347</guid><dc:creator>Abdulmohaimen</dc:creator><description>&lt;p class="" data-start="72" data-end="75"&gt;Hi &lt;span&gt;Dejan&lt;/span&gt;,&lt;/p&gt;
&lt;p class="" data-start="77" data-end="277"&gt;Thank you very much for all the support you provided in this ticket. I&amp;rsquo;ve decided to continue using I&amp;sup2;S as the source for my signal, where the USB configuration still shows the accelerated mic signal.&lt;/p&gt;
&lt;p class="" data-start="279" data-end="646"&gt;I do have one remaining question:&lt;br data-start="312" data-end="315" /&gt; Is it possible to reduce the frequency of the &lt;strong data-start="361" data-end="371"&gt;source&lt;/strong&gt; in the &lt;code data-start="379" data-end="396"&gt;uncast_client.c&lt;/code&gt; file, &lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;
#define BT_BAP_LC3_UNICAST_PRESET_STEREO_16_2_1(_loc, _stream_context)                                    \
 	BT_BAP_LC3_PRESET(BT_AUDIO_CODEC_LC3_CONFIG(BT_AUDIO_CODEC_CFG_FREQ_24KHZ,                 \
 						    BT_AUDIO_CODEC_CFG_DURATION_10, _loc, 40U, 1,  \
 						    _stream_context),                              \
 			  BT_AUDIO_CODEC_QOS_UNFRAMED(10000u, 80u, 2u, 10u, 40000u))
 

static struct bt_bap_lc3_preset lc3_preset_sink = BT_BAP_LC3_UNICAST_PRESET_NRF5340_AUDIO_SINK;
static struct bt_bap_lc3_preset lc3_preset_sink_48_4_1 = BT_BAP_LC3_UNICAST_PRESET_48_4_1(
	BT_AUDIO_LOCATION_ANY, (BT_AUDIO_CONTEXT_TYPE_UNSPECIFIED));
static struct bt_bap_lc3_preset lc3_preset_sink_24_2_1 = BT_BAP_LC3_UNICAST_PRESET_24_2_1(
	BT_AUDIO_LOCATION_ANY, (BT_AUDIO_CONTEXT_TYPE_UNSPECIFIED));
static struct bt_bap_lc3_preset lc3_preset_sink_16_2_1 = BT_BAP_LC3_UNICAST_PRESET_STEREO_16_2_1(
	BT_AUDIO_LOCATION_ANY, (BT_AUDIO_CONTEXT_TYPE_UNSPECIFIED));

static struct bt_bap_lc3_preset lc3_preset_source = BT_BAP_LC3_UNICAST_PRESET_NRF5340_AUDIO_SOURCE;
static struct bt_bap_lc3_preset lc3_preset_source_48_4_1 =
	BT_BAP_LC3_UNICAST_PRESET_48_4_1(BT_AUDIO_LOCATION_ANY, BT_AUDIO_CONTEXT_TYPE_UNSPECIFIED);
static struct bt_bap_lc3_preset lc3_preset_source_24_2_1 =
	BT_BAP_LC3_UNICAST_PRESET_24_2_1(BT_AUDIO_LOCATION_ANY, BT_AUDIO_CONTEXT_TYPE_UNSPECIFIED);
static struct bt_bap_lc3_preset lc3_preset_source_16_2_1 =
	BT_BAP_LC3_UNICAST_PRESET_16_2_1(BT_AUDIO_LOCATION_ANY, BT_AUDIO_CONTEXT_TYPE_UNSPECIFIED);
&lt;/pre&gt;&lt;br /&gt;similar to how it was reduced to 16 kHz on the &lt;strong data-start="450" data-end="458"&gt;sink&lt;/strong&gt; side? I attempted to configure this myself, but I wasn&amp;rsquo;t able to do it correctly. Would reducing the frequency on the source side help reduce CPU load and possibly improve signal quality?&lt;/p&gt;
&lt;p class="" data-start="648" data-end="772"&gt;Otherwise, I&amp;rsquo;ll go ahead and close this ticket and open a new one regarding the use of dual microphones in different setups.&lt;/p&gt;
&lt;p class="" data-start="774" data-end="804"&gt;Thanks again for your support!&lt;/p&gt;
&lt;p class="" data-start="806" data-end="833"&gt;Best regards,&lt;/p&gt;
&lt;p class="" data-start="806" data-end="833"&gt;&lt;br /&gt;Abdulmohaimen Algamoudi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/532262?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 07:15:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7c687a0-4717-47f0-b656-3d9271cbc75e</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Abdulmohaimen,&lt;br /&gt;&lt;br /&gt;MCLK value should be close to 6.144 MHz. With currently used ratio of 128 and&amp;nbsp;&lt;span&gt;ratio * LRCK = MCLK (see &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/i2s.html#ariaid-title4"&gt;LRCK&lt;/a&gt;&amp;nbsp;in the documentation), MCLK is expected to be 6.144 MHz.&amp;nbsp;You could try to check on the oscilloscope using higher sampling rate (more than twice of 6.144 MHz).&lt;br /&gt;&lt;br /&gt;As for bypass mode, it is expected for MCLK to be 12.288 MHz. It might be that your codec is not configured properly. You can check your codec settings.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/532016?ContentTypeID=1</link><pubDate>Wed, 16 Apr 2025 12:36:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c18caf3f-278e-44bd-9ddd-5c179caac12e</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Abdulmohaimen,&lt;br /&gt;&lt;br /&gt;You could try to check settings on the codec side.&lt;br /&gt;&lt;br /&gt;I expect to get back to you with additional information by the end of next week.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/531869?ContentTypeID=1</link><pubDate>Tue, 15 Apr 2025 14:40:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7db2911-db62-4891-98a1-f069e36ed13e</guid><dc:creator>Abdulmohaimen</dc:creator><description>&lt;p&gt;Hey Dejan,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;is there ny news? Looking foewaed for your support.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Thanks in advance!&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Abdulmohaimen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/531607?ContentTypeID=1</link><pubDate>Sun, 13 Apr 2025 21:35:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06258e9c-546c-4f4b-b9cc-d4d2c90a9c00</guid><dc:creator>Abdulmohaimen</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Dejan,&lt;/span&gt;&lt;br /&gt;Since the latest edit you provided works better with the initial conditiond of nrf5340audio dk, and before continuing with the other potentials. I&amp;#39;d first like to confirm everything with my MCLK before proceeding further.&lt;/p&gt;
[quote userid="111786" url="~/f/nordic-q-a/119129/cis-mode---mic-issues/530665"]Did you configure nRF5340 as I2S slave? Do you want to ignore MCLK from nRF5340 and use another clock source?&amp;nbsp;&lt;br /&gt;Since it is nrf5340 that needs to tune I2S clock speed to sync with BLE activity, it is important to use nrf5340 as I2S master and let nrf5340 handle the clock system.[/quote]
&lt;p&gt;I&amp;#39;m using the &lt;strong data-start="161" data-end="187"&gt;nRF5340 in master mode&lt;/strong&gt;, where it provides the MCLK to my external hardware codec. I tried measuring the MCLK using two different oscilloscopes, but I got &lt;strong data-start="319" data-end="343"&gt;two different values&lt;/strong&gt;: &lt;strong data-start="345" data-end="358"&gt;3.471 MHz&lt;/strong&gt; and &lt;strong data-start="363" data-end="378" data-is-only-node=""&gt;6.14386 MHz&lt;/strong&gt;. And for both:&lt;/p&gt;
&lt;ul data-start="518" data-end="589"&gt;
&lt;li data-start="542" data-end="565"&gt;&lt;strong data-start="544" data-end="553"&gt;BCLK:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;1.536 MHz&lt;/li&gt;
&lt;li data-start="566" data-end="589"&gt;&lt;strong data-start="568" data-end="577"&gt;WCLK:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;48,000 Hz&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p class="" data-start="73" data-end="233"&gt;&lt;strong data-start="73" data-end="233"&gt;What are the actual frequencies of the Master Clock (MCLK), Bit Clock (BCLK), and Word Clock (WCLK) generated by the nRF5340 Audio DK via the I&amp;sup2;S interface?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;I also tried enabling the&amp;nbsp;Bypass&amp;nbsp;mode in &lt;code data-start="142" data-end="155"&gt;audio_i2s.c&lt;/code&gt; to generate a 12.288 MHz MCLK.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;static nrfx_i2s_config_t cfg = {
	/* Pins are configured by pinctrl. */
	.skip_gpio_cfg = true,
	.skip_psel_cfg = true,
	.irq_priority = DT_IRQ(I2S_NL, priority),
	.mode = NRF_I2S_MODE_MASTER,
	.format = NRF_I2S_FORMAT_I2S,
	.alignment = NRF_I2S_ALIGN_LEFT,
	.ratio = CONFIG_AUDIO_RATIO,
	.mck_setup = 0x66666000,
#if (CONFIG_AUDIO_BIT_DEPTH_16)
	.sample_width = NRF_I2S_SWIDTH_16BIT,
#elif (CONFIG_AUDIO_BIT_DEPTH_32)
	.sample_width = NRF_I2S_SWIDTH_32BIT,
#else
#error Invalid bit depth selected
#endif /* (CONFIG_AUDIO_BIT_DEPTH_16) */
	.channels = NRF_I2S_CHANNELS_STEREO,
	.clksrc = NRF_I2S_CLKSRC_ACLK,
	.enable_bypass = true,
};&lt;/pre&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;However, after doing this, the boards no longer synchronize&amp;mdash;the synchronization LED remains off, and no audio can be heard. i find in the log files the following:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Headset:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;
HL [00:11:00.798,736] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 657816
--- 13 messages dropped ---
HL [00:11:00.851,440] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 13 messages dropped ---
HL [00:11:00.917,785] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 11 messages dropped ---
HL [00:11:00.968,292] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 11 messages dropped ---
HL [00:11:01.018,768] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 658036
--- 13 messages dropped ---
HL [00:11:01.069,274] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 11 messages dropped ---
HL [00:11:01.119,781] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 11 messages dropped ---
HL [00:11:01.170,288] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 10 messages dropped ---
HL [00:11:01.220,794] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 10 messages dropped ---
HL [00:11:01.271,270] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 11 messages dropped ---
HL [00:11:01.318,756] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 658336
--- 12 messages dropped ---
HL [00:11:01.371,520] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 14 messages dropped ---
HL [00:11:01.438,781] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 658456
--- 12 messages dropped ---
HL [00:11:01.491,546] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 16 messages dropped ---
HL [00:11:01.558,776] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 658576
--- 12 messages dropped ---
HL [00:11:01.611,450] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 14 messages dropped ---
HL [00:11:01.671,447] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 12 messages dropped ---
HL [00:11:01.738,769] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 658756
--- 13 messages dropped ---
HL [00:11:01.798,767] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 658816
--- 13 messages dropped ---
HL [00:11:01.851,470] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 15 messages dropped ---
HL [00:11:01.918,792] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 658936
--- 13 messages dropped ---
HL [00:11:01.971,466] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 13 messages dropped ---
HL [00:11:02.029,327] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 11 messages dropped ---
HL [00:11:02.079,803] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 11 messages dropped ---
HL [00:11:02.130,310] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 12 messages dropped ---
HL [00:11:02.180,816] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 11 messages dropped ---
HL [00:11:02.231,628] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 14 messages dropped ---
HL [00:11:02.298,797] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 659316
--- 15 messages dropped ---
HL [00:11:02.361,572] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 14 messages dropped ---
HL [00:11:02.428,802] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 659446
--- 13 messages dropped ---
HL [00:11:02.481,475] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 14 messages dropped ---
HL [00:11:02.551,483] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 13 messages dropped ---
HL [00:11:02.618,804] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 659636
--- 15 messages dropped ---
HL [00:11:02.671,569] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 13 messages dropped ---
HL [00:11:02.735,839] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 11 messages dropped ---
HL [00:11:02.781,585] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 14 messages dropped ---
HL [00:11:02.838,806] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 659856
--- 12 messages dropped ---
HL [00:11:02.908,813] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 659926
--- 12 messages dropped ---
HL [00:11:02.961,517] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 17 messages dropped ---
HL [00:11:03.018,829] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 660036
--- 12 messages dropped ---
HL [00:11:03.078,826] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 660096
--- 12 messages dropped ---
HL [00:11:03.138,824] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 660156
--- 13 messages dropped ---
HL [00:11:03.188,842] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 660206
--- 13 messages dropped ---
HL [00:11:03.241,363] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 9 messages dropped ---
HL [00:11:03.291,534] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 14 messages dropped ---
HL [00:11:03.358,825] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 660376
--- 15 messages dropped ---
HL [00:11:03.418,334] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 660435
--- 12 messages dropped ---
HL [00:11:03.471,527] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 13 messages dropped ---
HL [00:11:03.538,330] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 660555
--- 13 messages dropped ---
HL [00:11:03.591,522] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 13 messages dropped ---
HL [00:11:03.658,355] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 660675
--- 13 messages dropped ---
HL [00:11:03.711,547] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 15 messages dropped ---
HL [00:11:03.778,839] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 660796
--- 13 messages dropped ---
HL [00:11:03.831,604] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 14 messages dropped ---
HL [00:11:03.897,399] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 10 messages dropped ---
HL [00:11:03.947,875] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 11 messages dropped ---
HL [00:11:03.991,577] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 13 messages dropped ---
HL [00:11:04.049,377] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 12 messages dropped ---
HL [00:11:04.099,884] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 11 messages dropped ---
HL [00:11:04.150,390] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 11 messages dropped ---
HL [00:11:04.200,897] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 10 messages dropped ---
HL [00:11:04.251,373] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 10 messages dropped ---
HL [00:11:04.301,391] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 11 messages dropped ---
HL [00:11:04.351,684] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 14 messages dropped ---
HL [00:11:04.402,893] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 11 messages dropped ---
HL [00:11:04.453,399] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 10 messages dropped ---
HL [00:11:04.503,906] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 12 messages dropped ---
HL [00:11:04.553,924] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 11 messages dropped ---
HL [00:11:04.604,431] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 11 messages dropped ---
HL [00:11:04.654,907] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 11 messages dropped ---
HL [00:11:04.705,413] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 11 messages dropped ---
HL [00:11:04.755,920] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 10 messages dropped ---
HL [00:11:04.801,605] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 13 messages dropped ---
HL [00:11:04.858,886] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 661876
--- 13 messages dropped ---
HL [00:11:04.928,375] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 661945
--- 12 messages dropped ---
HL [00:11:04.988,403] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 662005
--- 14 messages dropped ---
HL [00:11:05.041,625] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 14 messages dropped ---
HL [00:11:05.101,623] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 14 messages dropped ---
HL [00:11:05.160,430] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 11 messages dropped ---
HL [00:11:05.210,418] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 11 messages dropped ---
HL [00:11:05.260,925] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 10 messages dropped ---
HL [00:11:05.311,431] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 11 messages dropped ---
HL [00:11:05.361,694] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 13 messages dropped ---
HL [00:11:05.421,691] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 14 messages dropped ---
HL [00:11:05.488,403] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 662505
--- 15 messages dropped ---
HL [00:11:05.541,625] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 14 messages dropped ---
HL [00:11:05.608,428] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 662625
--- 12 messages dropped ---
HL [00:11:05.664,947] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT
--- 10 messages dropped ---
HL [00:11:05.711,700] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 14 messages dropped ---
HL [00:11:05.778,411] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 662795
--- 12 messages dropped ---
HL [00:11:05.831,726] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 16 messages dropped ---
HL [00:11:05.898,437] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 662915
--- 12 messages dropped ---
HL [00:11:05.951,721] &amp;lt;wrn&amp;gt; bt_le_audio_tx: HCI ISO TX overrun on stream 0x20010ebc - Single print
--- 14 messages dropped ---
HL [00:11:06.018,432] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 663035
--- 12 messages dropped ---
HL [00:11:06.069,458] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 11 messages dropped ---
HL [00:11:06.119,964] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 12 messages dropped ---
HL [00:11:06.170,440] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
--- 11 messages dropped ---
HL [00:11:06.220,458] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: INIT&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;gateway:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Using Zephyr OS v3.7.99-0bc3393fb112 ***
GW [00:00:00.383,789] &amp;lt;inf&amp;gt; board_version: Compatible board/HW version found: 1.0.0
GW [00:00:00.416,229] &amp;lt;inf&amp;gt; fw_info: 
         nRF5340 Audio nRF5340 Audio DK cpuapp                      
         NCS base version: 2.8.0                            
         Cmake run : Sat Apr 12 17:32:22 2025
GW [00:00:00.416,229] &amp;lt;inf&amp;gt; fw_info: ------- DEBUG BUILD -------
GW [00:00:00.416,229] &amp;lt;inf&amp;gt; fw_info: Compiled for GATEWAY device
GW [00:00:00.487,091] &amp;lt;inf&amp;gt; bt_mgmt_ctlr_cfg: Controller: SoftDevice: Version 6.0 (0x0e), Revision 8270
GW [00:00:00.487,335] &amp;lt;inf&amp;gt; bt_mgmt: Local identity addr: D3:C8:9D:D1:BE:66 (random)
GW [00:00:00.487,457] &amp;lt;inf&amp;gt; audio_usb: Ready for USB host to send/receive.
GW [00:00:00.490,814] &amp;lt;inf&amp;gt; bt_mgmt_scan: Local addr: 52:23:FB:F5:FA:C2 (random). May time out. Updates not printed
GW [00:00:00.490,814] &amp;lt;inf&amp;gt; bt_mgmt_scan: Scanning successfully started
GW [00:00:00.928,436] &amp;lt;inf&amp;gt; bt_mgmt_scan: Creating connection to device: 4E:F1:C7:BD:7C:33 (random)
GW [00:00:01.138,488] &amp;lt;inf&amp;gt; bt_mgmt: Connected: 4E:F1:C7:BD:7C:33 (random)
GW [00:00:01.138,519] &amp;lt;inf&amp;gt; main: Connection event. Num connections: 1
GW [00:00:01.381,072] &amp;lt;inf&amp;gt; main: Security changed
GW [00:00:01.571,136] &amp;lt;inf&amp;gt; bt_vol_ctlr: VCS discover finished
GW [00:00:01.941,284] &amp;lt;inf&amp;gt; main: Set members found: 1 of 2
GW [00:00:01.942,474] &amp;lt;inf&amp;gt; bt_mgmt_scan: Local addr: 52:23:FB:F5:FA:C2 (random). May time out. Updates not printed
GW [00:00:01.942,474] &amp;lt;inf&amp;gt; bt_mgmt_scan: Scanning successfully started
GW [00:00:02.241,027] &amp;lt;inf&amp;gt; unicast_client: Discovered 1 sink endpoint(s) for device 0
GW [00:00:02.642,120] &amp;lt;inf&amp;gt; unicast_client: Discovered 1 source endpoint(s) for device 0
GW [00:00:02.662,139] &amp;lt;inf&amp;gt; unicast_client: LEFT sink stream configured
GW [00:00:02.662,170] &amp;lt;inf&amp;gt; le_audio: LC3 codec config for sink:
GW [00:00:02.662,170] &amp;lt;inf&amp;gt; le_audio:   Frequency: 24000 Hz
GW [00:00:02.662,170] &amp;lt;inf&amp;gt; le_audio:   Duration: 10000 us
GW [00:00:02.662,170] &amp;lt;inf&amp;gt; le_audio:   Channel allocation: 0x1
GW [00:00:02.662,170] &amp;lt;inf&amp;gt; le_audio:   Octets per frame: 40 (32000 bps)
GW [00:00:02.662,170] &amp;lt;inf&amp;gt; le_audio:   Frames per SDU: 1
GW [00:00:02.701,110] &amp;lt;inf&amp;gt; unicast_client: LEFT source stream configured
GW [00:00:02.701,141] &amp;lt;inf&amp;gt; le_audio: LC3 codec config for source:
GW [00:00:02.701,171] &amp;lt;inf&amp;gt; le_audio:   Frequency: 16000 Hz
GW [00:00:02.701,171] &amp;lt;inf&amp;gt; le_audio:   Duration: 10000 us
GW [00:00:02.701,171] &amp;lt;inf&amp;gt; le_audio:   Channel allocation: 0x1
GW [00:00:02.701,171] &amp;lt;inf&amp;gt; le_audio:   Octets per frame: 40 (32000 bps)
GW [00:00:02.701,171] &amp;lt;inf&amp;gt; le_audio:   Frames per SDU: 1
GW [00:00:03.461,059] &amp;lt;inf&amp;gt; unicast_client: Stream 0x200121c4 started
GW [00:00:03.468,017] &amp;lt;inf&amp;gt; audio_usb: USB RX first data received.
GW [00:00:03.641,418] &amp;lt;inf&amp;gt; unicast_client: Stream 0x200122c4 started
GW [00:02:28.181,335] &amp;lt;inf&amp;gt; bt_mgmt: Disconnected: F5:FD:57:29:5F:67 (random), reason 0x08 
GW [00:02:28.181,365] &amp;lt;inf&amp;gt; main: Disconnection event. Num connections: 0
GW [00:02:28.185,211] &amp;lt;inf&amp;gt; bt_mgmt_scan: Local addr: 52:23:FB:F5:FA:C2 (random). May time out. Updates not printed
GW [00:02:28.185,211] &amp;lt;inf&amp;gt; bt_mgmt_scan: Scanning successfully started
GW [00:02:28.185,211] &amp;lt;inf&amp;gt; unicast_client: Stream 0x200121c4 stopped. Reason 8
GW [00:02:28.185,241] &amp;lt;inf&amp;gt; unicast_client: Stream 0x200122c4 stopped. Reason 8
GW [00:02:28.189,208] &amp;lt;wrn&amp;gt; unicast_client: No active streams
GW [00:02:28.189,208] &amp;lt;wrn&amp;gt; main: Sending operation cancelled
*** Booting nRF Connect SDK v2.8.0-a2386bfc8401 ***
*** Using Zephyr OS v3.7.99-0bc3393fb112 ***
GW [00:00:00.385,955] &amp;lt;inf&amp;gt; board_version: Compatible board/HW version found: 1.0.0
GW [00:00:00.418,334] &amp;lt;inf&amp;gt; fw_info: 
         nRF5340 Audio nRF5340 Audio DK cpuapp                      
         NCS base version: 2.8.0                            
         Cmake run : Sun Apr 13 23:16:11 2025
GW [00:00:00.418,334] &amp;lt;inf&amp;gt; fw_info: ------- DEBUG BUILD -------
GW [00:00:00.418,334] &amp;lt;inf&amp;gt; fw_info: Compiled for GATEWAY device
GW [00:00:00.489,166] &amp;lt;inf&amp;gt; bt_mgmt_ctlr_cfg: Controller: SoftDevice: Version 6.0 (0x0e), Revision 8270
GW [00:00:00.489,379] &amp;lt;inf&amp;gt; bt_mgmt: Local identity addr: D3:C8:9D:D1:BE:66 (random)
GW [00:00:00.489,501] &amp;lt;inf&amp;gt; audio_usb: Ready for USB host to send/receive.
GW [00:00:00.492,736] &amp;lt;inf&amp;gt; bt_mgmt_scan: Local addr: 77:B5:09:96:97:D9 (random). May time out. Updates not printed
GW [00:00:00.492,767] &amp;lt;inf&amp;gt; bt_mgmt_scan: Scanning successfully started
GW [00:00:00.921,936] &amp;lt;inf&amp;gt; bt_mgmt_scan: Creating connection to device: 40:DC:AC:77:E4:D3 (random)
GW [00:00:01.030,395] &amp;lt;inf&amp;gt; bt_mgmt: Connected: 40:DC:AC:77:E4:D3 (random)
GW [00:00:01.030,426] &amp;lt;inf&amp;gt; main: Connection event. Num connections: 1
GW [00:00:01.272,857] &amp;lt;inf&amp;gt; main: Security changed
GW [00:00:01.462,951] &amp;lt;inf&amp;gt; bt_vol_ctlr: VCS discover finished
GW [00:00:01.843,017] &amp;lt;inf&amp;gt; main: Set members found: 1 of 2
GW [00:00:01.844,268] &amp;lt;inf&amp;gt; bt_mgmt_scan: Local addr: 77:B5:09:96:97:D9 (random). May time out. Updates not printed
GW [00:00:01.844,299] &amp;lt;inf&amp;gt; bt_mgmt_scan: Scanning successfully started
GW [00:00:02.142,822] &amp;lt;inf&amp;gt; unicast_client: Discovered 1 sink endpoint(s) for device 0
GW [00:00:02.543,975] &amp;lt;inf&amp;gt; unicast_client: Discovered 1 source endpoint(s) for device 0
GW [00:00:02.563,964] &amp;lt;inf&amp;gt; unicast_client: LEFT sink stream configured
GW [00:00:02.563,995] &amp;lt;inf&amp;gt; le_audio: LC3 codec config for sink:
GW [00:00:02.563,995] &amp;lt;inf&amp;gt; le_audio:   Frequency: 24000 Hz
GW [00:00:02.563,995] &amp;lt;inf&amp;gt; le_audio:   Duration: 10000 us
GW [00:00:02.564,025] &amp;lt;inf&amp;gt; le_audio:   Channel allocation: 0x1
GW [00:00:02.564,025] &amp;lt;inf&amp;gt; le_audio:   Octets per frame: 40 (32000 bps)
GW [00:00:02.564,025] &amp;lt;inf&amp;gt; le_audio:   Frames per SDU: 1
GW [00:00:02.602,935] &amp;lt;inf&amp;gt; unicast_client: LEFT source stream configured
GW [00:00:02.602,966] &amp;lt;inf&amp;gt; le_audio: LC3 codec config for source:
GW [00:00:02.602,966] &amp;lt;inf&amp;gt; le_audio:   Frequency: 16000 Hz
GW [00:00:02.602,966] &amp;lt;inf&amp;gt; le_audio:   Duration: 10000 us
GW [00:00:02.602,996] &amp;lt;inf&amp;gt; le_audio:   Channel allocation: 0x1
GW [00:00:02.602,996] &amp;lt;inf&amp;gt; le_audio:   Octets per frame: 40 (32000 bps)
GW [00:00:02.602,996] &amp;lt;inf&amp;gt; le_audio:   Frames per SDU: 1
GW [00:00:03.362,792] &amp;lt;inf&amp;gt; unicast_client: Stream 0x200121ec started
GW [00:00:03.369,689] &amp;lt;inf&amp;gt; audio_usb: USB RX first data received.
GW [00:00:03.543,304] &amp;lt;inf&amp;gt; unicast_client: Stream 0x200122ec started&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;how is it possible to solve this?&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Thanks in advance!&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Abdulmohaimen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/530665?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 16:05:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dd4989c-776d-46ed-9104-07c65f80d8d5</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Abdulmohaimen,&lt;/p&gt;
[quote user="Abdulmohaimen"]&lt;h3&gt;1. Audio Output Issues in CIS Mode&lt;/h3&gt;
&lt;p&gt;Sometimes when using CIS mode, even though the headset and gateway appear to be connected and synchronized, I can&amp;#39;t hear any audio output. I’ve noticed that pressing the reset button on both devices—sometimes once, sometimes multiple times—resolves the issue. Do you have any insight into what might be causing this behavior? Is there a known fix or workaround?&lt;/p&gt;[/quote]
&lt;p&gt;We are not able to see this situation on our end. Can this issue be replicated using nrf5340_audio-dk? Could you please share the log and point out the timing when the issue appears?&lt;/p&gt;
[quote user="Abdulmohaimen"]&lt;h3&gt;2. Dual Microphone Setup on NRF5340 Audio DK&lt;/h3&gt;
&lt;p&gt;Is it possible to use two different microphones with a single NRF5340 Audio DK headset? For my case, I need one microphone for the left channel and another for the right. As far as I know, my hardware codec supports this setup—can you confirm whether this configuration is supported?&lt;/p&gt;[/quote]
&lt;p&gt;In our demo branch, we only send single MIC stream and decode one MIC stream on the gateway side. Current audio project does not support what you try to achieve, but you can try to further study application and modify it yourself.&lt;/p&gt;
[quote user="Abdulmohaimen"]&lt;h3&gt;[EXTRA ]3. MCLK Frequency and Synchronization Issues&lt;/h3&gt;
&lt;p&gt;What is the exact MCLK frequency that the chip provides over I²S? I tested this with two different operating systems and observed two different values. Additionally, I attempted to bypass the default MCLK and provide an external &lt;strong&gt;12.288 MHz&lt;/strong&gt; MCLK (as suggested in other DevZone tickets). However, this led to synchronization issues—one board&amp;#39;s LED remained off and no audio was output. Could you clarify the expected MCLK configuration and whether external clocking is supported and stable?&lt;br /&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Did you configure nRF5340 as I2S slave? Do you want to ignore MCLK from nRF5340 and use another clock source?&amp;nbsp;&lt;br /&gt;Since it is nrf5340 that needs to tune I2S clock speed to sync with BLE activity, it is important to use nrf5340 as I2S master and let nrf5340 handle the clock system.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/530325?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 20:43:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa4d14c2-b681-4e41-a38e-a75088a203ec</guid><dc:creator>Abdulmohaimen</dc:creator><description>&lt;p class="" data-start="245" data-end="254"&gt;Hi Dejan,&lt;/p&gt;
&lt;p class="" data-start="256" data-end="562"&gt;I&amp;rsquo;ve tested the demo in both scenarios, and I believe it demonstrates improved performance (especially with the initial configuration scenario, where i think that i have problem with the codec configration or maybe because of the I2S, almost because of the i2S because i tried that with Pixel Google phone and was all fine). Since I&amp;rsquo;m currently out of the office, I&amp;rsquo;ll test it again using a different headset with a digital microphone once I&amp;rsquo;m back. I plan to be there at the beginning of next week and will update you as soon as possible.&lt;/p&gt;
&lt;p class="" data-start="564" data-end="653"&gt;In the meantime, I still have three remaining technical questions regarding this project:&lt;/p&gt;
&lt;h3 id="mcetoc_1ins2oofr0" class="" data-start="1551" data-end="1591"&gt;1. Audio Output Issues in CIS Mode&lt;/h3&gt;
&lt;p class="" data-start="1592" data-end="1953"&gt;Sometimes when using CIS mode, even though the headset and gateway appear to be connected and synchronized, I can&amp;#39;t hear any audio output. I&amp;rsquo;ve noticed that pressing the reset button on both devices&amp;mdash;sometimes once, sometimes multiple times&amp;mdash;resolves the issue. Do you have any insight into what might be causing this behavior? Is there a known fix or workaround?&lt;/p&gt;
&lt;p class="" data-start="1960" data-end="2141"&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1ins2oofr1" class="" data-start="660" data-end="710"&gt;2. Dual Microphone Setup on NRF5340 Audio DK&lt;/h3&gt;
&lt;p class="" data-start="711" data-end="994"&gt;Is it possible to use two different microphones with a single NRF5340 Audio DK headset? For my case, I need one microphone for the left channel and another for the right. As far as I know, my hardware codec supports this setup&amp;mdash;can you confirm whether this configuration is supported?&lt;/p&gt;
&lt;h3 id="mcetoc_1ins2oofr2" class="" data-start="1001" data-end="1051"&gt;&lt;br /&gt;[EXTRA ]3. MCLK Frequency and Synchronization Issues&lt;/h3&gt;
&lt;p class="" data-start="1052" data-end="1544"&gt;What is the exact MCLK frequency that the chip provides over I&amp;sup2;S? I tested this with two different operating systems and observed two different values. Additionally, I attempted to bypass the default MCLK and provide an external &lt;strong data-start="1281" data-end="1295"&gt;12.288 MHz&lt;/strong&gt; MCLK (as suggested in other DevZone tickets). However, this led to synchronization issues&amp;mdash;one board&amp;#39;s LED remained off and no audio was output. Could you clarify the expected MCLK configuration and whether external clocking is supported and stable?&lt;br /&gt;&lt;br /&gt;Once again, I want to sincerely thank you for your time, effort, and support. We&amp;rsquo;re getting very close to resolving all potential issues, and I truly appreciate your continued &lt;span&gt;support&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Abdulmohaimen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/529997?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 12:38:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9acd94b-7e65-4490-b9c4-52a5b3661ce3</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Abdulmohaimen,&lt;br /&gt;&lt;br /&gt;The issue might be related to CPU. Bidirectional communication with USB can stress CPU too much on a gateway side so that it cannot handle MIC return properly. This can lead to some packets being dropped which causes audio stream to become distorted. Potential solution could be switching to 16 KHz as default for bidirectional communication. You could try to test (make a trial) using the following latest branch&lt;br /&gt;&lt;a href="https://github.com/rick1082/sdk-nrf/commits/cis_stereo_audio_sink_pre280/"&gt;https://github.com/rick1082/sdk-nrf/commits/cis_stereo_audio_sink_pre280/&lt;/a&gt;&lt;br /&gt;Please not that this is a demo branch and therefore there is no warranty or support guarantee. The code in this demo branch is provided as-is. You should do your own testing to check and verify desired functionality.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/529535?ContentTypeID=1</link><pubDate>Fri, 28 Mar 2025 13:32:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60d01bff-7cf3-4784-abf2-be4657bbc133</guid><dc:creator>Abdulmohaimen</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Dejan,&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="111786" url="~/f/nordic-q-a/119129/cis-mode---mic-issues/529462"]Is scenario the same as shown in the picture previously, just with one headset instead of two? Which code changes (specified in your second ticket) are now relevant to gateway and headset?[/quote]
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;Yes, it&amp;#39;s the same, with the same changes applied. However, as I mentioned earlier, the issue with the accelerated mic signal also occurs with the default configuration of the nRF5340 Audio DK and its original SDK code. Both scenarios are shown in the figure below.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Gateway-_2800_3_2900_.png" /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Abdulmohaimen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/529462?ContentTypeID=1</link><pubDate>Fri, 28 Mar 2025 09:14:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3225906-8d1c-4657-8267-28d12cea6869</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Abdulmohaimen,&lt;/p&gt;
[quote user="Abdulmohaimen"]However, the issue with the accelerated microphone signal persists even when using a single headset board connected to the gateway, running the initial code from the nRF SDK (without no modification with on board codec and using the jack onboard nrf5340 by pluginng headphone with mic to it). [/quote]
&lt;p&gt;Is scenario the same as shown in the picture previously, just with one headset instead of two? Which code changes (specified in your second ticket) are now relevant to gateway and headset? Please provide details about the setup and code changes in this case. If you want to keep your code changes private, you can specify changes in your second ticket. If you do so, please let me know here.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/529359?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2025 16:19:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:884f4f75-f39d-40bf-980d-5adaa920c87e</guid><dc:creator>Abdulmohaimen</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;Thank you for your feedback.&lt;/p&gt;
&lt;p&gt;However, the issue with the accelerated microphone signal persists even when using a single headset board connected to the gateway, running the initial code from the nRF SDK (without no modification with on board codec and using the jack onboard nrf5340 by pluginng headphone with mic to it). You might want to try the initial setup pf the sdk yourself&amp;mdash;by enabling:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CONFIG_STREAM_BIDIRECTIONAL=y
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;in the &lt;code&gt;prj.conf&lt;/code&gt; file, you should be able to hear the &lt;span&gt;accelerated&amp;nbsp;&amp;nbsp;&lt;/span&gt;recorded microphone signal.&lt;/p&gt;
&lt;p&gt;The main problem for me right now is the accelerated &lt;span&gt;microphone&amp;nbsp;&lt;/span&gt;signal. Ideally, I can like to use just one headset board and still achieve a proper CIS mode that handles both left and right channels.&lt;/p&gt;
&lt;p&gt;Could you advise how to fix this microphone issue? It occurs even with the initial configuration of the nrf SDK, or using only one headset board and the extarnal hardware codec.&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;&lt;span&gt;Abdulmohaimen&amp;nbsp;&lt;/span&gt;&lt;/p&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: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/529356?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2025 16:06:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98f4d9a7-388d-4881-8993-bcaf790d3f3d</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Abdulmohaimen,&lt;br /&gt;&lt;br /&gt;Previous demo worked for combining L and R into one frame and sending it to a single headset. I have checked internally the requirements which could be supported by the CPU.&amp;nbsp;&lt;br /&gt;Scenario of having CIS gateway sending stereo channel stream (combined left and right into a frame) to 2 headsets and having USB as interface to collect MIC from both headsets, will probably (i.e. can be expected to) overload available bandwidth. Unfortunately, it cannot be expected that gateway side will be able to handle&lt;br /&gt;- encoding 2 streams for 2 headsets&lt;br /&gt;- decoding 2 streams from MIC in both headsets&lt;br /&gt;- use USB as audio interface&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/529068?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 13:19:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ade643ba-4e01-4753-96b4-07e0aa3bd9f0</guid><dc:creator>Abdulmohaimen</dc:creator><description>&lt;p data-start="1328" data-end="1363"&gt;&lt;span&gt;Hi Dejan,&lt;/span&gt;&lt;br /&gt;Thank you so much&amp;mdash;Looking forward to your feedback.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I truly appreciate your time and support.&lt;/p&gt;
&lt;p data-start="1365" data-end="1394"&gt;Best regards&amp;nbsp;&lt;br /&gt;&lt;span&gt;Abdulmohaimen&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/528992?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 09:07:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10cb1c9f-1bd5-45fa-84f1-2ff1a5e98bf9</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Abdulmohaimen,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thank you for additional information.&lt;/p&gt;
[quote user="Abdulmohaimen"]Sure. can you see it know?[/quote]
&lt;p&gt;I can see it now.&amp;nbsp;I will look into this. I expect to get back to you by the end of the week.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/528807?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 11:00:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:229586c0-4a8b-43cf-9834-0fb2291eabf3</guid><dc:creator>Abdulmohaimen</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Dejan,&lt;/span&gt;&lt;br /&gt;Sure. can you see it know?&lt;br /&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Dejan&lt;/span&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/headsetsetup.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/528781?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 09:32:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92c1efae-1ad3-4c88-9cf5-b1cbd3105d37</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Abdulmohaimen,&lt;br /&gt;&lt;br /&gt;I am not able to open your picture/diagram for point 6. Which format is you picture/diagram in? Can you please try to upload it again by first zipping the file and then upload it using&amp;nbsp;&lt;em&gt;&lt;/em&gt;Insert-&amp;gt;Image/video/file-&amp;gt;Upload?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/528658?ContentTypeID=1</link><pubDate>Mon, 24 Mar 2025 14:26:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20afe48a-7745-45c9-a115-ff8bf197f6d6</guid><dc:creator>Abdulmohaimen</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Dejan,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;1. Yes, 2 channels in CIS mode are used to provide stereo sound while also supporting on-device microphone input.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p class="" data-start="196" data-end="303"&gt;2. The microphones are connected to the DA7212 evaluation board, which is connected to the nRF5340 DK via I&amp;sup2;S.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p class="" data-start="308" data-end="445"&gt;3. There are 3 nRF5340 Audio DKs in the setup (2 headsets and 1 gateway), with each gateway connected to a DA7212 evaluation board over I&amp;sup2;S.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p class="" data-start="450" data-end="491"&gt;4.The gateway is connected to the computer via USB.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p class="" data-start="496" data-end="615"&gt;5. Audio is recorded from the microphones using the DA7212, then sent over I&amp;sup2;S to the headset and over BLE to the gateway.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;6&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-components-multipleuploadfilemanager/e300393f_2D00_7d77_2D00_4299_2D00_a725_2D00_33e68bc0f834-130048-complete/pastedimage1742571224713v2.png" alt=" " /&gt;&lt;br /&gt;7 as far as i know yes.&lt;br /&gt;8&amp;nbsp;yes&amp;nbsp;&lt;br /&gt;9 the gateway is connected to the computer via usb.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p class="" data-start="122" data-end="332"&gt;I believe the issue may be related to the USB interface. I tested recording an input signal using the unmodified configuration of the nRF5340 Audio DK from the SDK. I used the on-board codec in two scenarios:&lt;/p&gt;
&lt;ol data-start="333" data-end="475"&gt;
&lt;li class="" data-start="333" data-end="385"&gt;
&lt;p class="" data-start="336" data-end="385"&gt;Connecting the gateway to the computer via USB.&lt;/p&gt;
&lt;/li&gt;
&lt;li class="" data-start="386" data-end="475"&gt;
&lt;p class="" data-start="389" data-end="475"&gt;Using the I&amp;sup2;S source in &lt;code data-start="413" data-end="423"&gt;prj.conf&lt;/code&gt; and feeding the signal through the line-in input.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class="" data-start="477" data-end="637"&gt;I noticed that the signal recorded via USB was accelerated. Is it possible to change the data format or sampling rate of the USB configuration?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Thank you in advance&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Dejan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/528076?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2025 17:21:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34ce8c90-c4ea-47ed-adf2-22741f2c0ed2</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Abdulmohaimen,&lt;br /&gt;&lt;br /&gt;Thank you for showing your code changes in another ticket.&lt;br /&gt;&lt;br /&gt;Before looking into it, I have some questions related to your previous reply where you provided additional details about microphones. I also need some clarifications and additional information.&lt;br /&gt;1. For two DKs that you use for left and right channel (described as headsets), do you want to use them as earbuds, one channel per ear with a single channel to each?&lt;br /&gt;2. It looks like you have 2 microphones. Are these 2 microphones connected to the same DK or to different DKs?&lt;br /&gt;3. How many DKs do you use in total?&lt;br /&gt;4. Which kit do you have connected to the computer - headset kit or microphone kit?&lt;br /&gt;5.&amp;nbsp;&lt;span&gt;Is the recorded signal audio that has been sent over LE Audio and then recorded, or is it tapped directly from the microphone DK?&lt;/span&gt;&lt;br /&gt;6. Can you provide picture/diagram of all devices involved, how they are connected, and which signals are transferred between them? Please label&amp;nbsp;&lt;span&gt;external HW codec, the microphone kits, the headset kits, the computer used for the recording, any other devices involved and the connections/signals going between them.&lt;/span&gt;&lt;br /&gt;7. Do you want to have stereo bidirectional communication?&lt;br /&gt;8. Did you try to use demo branch provided in the previous ticket which you linked in your initial post?&lt;br /&gt;9. Are you trying to use USB (not I2S) as audio interface?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/527737?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2025 00:01:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b5e52dc-c468-48ec-b9c8-fc780f8333e9</guid><dc:creator>Abdulmohaimen</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Dejan, i have showed them to this privat&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/support/342416"&gt;artical&lt;/a&gt;.&lt;br /&gt;Can you check it?&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Thank you in advance&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/527423?ContentTypeID=1</link><pubDate>Fri, 14 Mar 2025 16:32:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:753a218f-a5b2-4cb4-a3f9-4d484132dc0f</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Abdulmohaimen,&lt;/p&gt;
[quote user="Abdulmohaimen"]I have applied the modifications from the GitHub link and made changes to the hardware codec file to configure the codec. Additionally, I enabled the I2S configuration to utilize the external HW codec.[/quote]
&lt;p&gt;Can you show all your modifications/changes and provide GitHub link?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/527340?ContentTypeID=1</link><pubDate>Fri, 14 Mar 2025 09:54:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee573757-117c-4e8b-a54d-23e4e6a51df3</guid><dc:creator>Abdulmohaimen</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;When I use the microphone to record a voice signal on my computer, the playback (of the microphone recorded signal) sounds faster than the original recording. This affects the signal quality, making it appear accelerated&amp;mdash;roughly by a factor of 1.25 to 1.3 (an estimation).&lt;/p&gt;
&lt;p&gt;The microphone is connected to the DA7212 hardware codec. I haven&amp;rsquo;t modified the sample rate, so I assume it&amp;#39;s the same for both recording and playback.&lt;/p&gt;
&lt;p&gt;Additionally, I measured the clock signal from the NRF DK and noticed:&lt;/p&gt;
&lt;ul data-start="518" data-end="589"&gt;
&lt;li data-start="518" data-end="541"&gt;&lt;strong data-start="520" data-end="529"&gt;MCLK:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;3.471 MHz&lt;/li&gt;
&lt;li data-start="542" data-end="565"&gt;&lt;strong data-start="544" data-end="553"&gt;BCLK:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;1.536 MHz&lt;/li&gt;
&lt;li data-start="566" data-end="589"&gt;&lt;strong data-start="568" data-end="577"&gt;WCLK:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;48,000 Hz&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This is the set up i am using for the HW codec as salve setup:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;  ret = da7212_write_reg(DA7212_PLL_CTRL, DA7212_PLL_EN_MASK | DA7212_PLL_SRM_EN_MASK |  DA7212_PLL_INDIV_2_10MHZ); 
     if(ret &amp;lt; 0)
     printk(&amp;quot;da7212 write operation failed\n&amp;quot;);
       // Set the frame length to 32.
     ret = da7212_write_reg(DA7212_DAI_CLK_MODE, DA7212_DAI_BCLKS_PER_WCLK_BCLK32 ); 
     if(ret &amp;lt; 0)
     printk(&amp;quot;da7212 write operation failed\n&amp;quot;);   
 
 
     // Enable Digital Audio Interface (DAI)
     ret = da7212_write_reg(DA7212_DAI_CTRL, DA7212_DAI_EN_MASK | DA7212_DAI_OE_MASK); 
     if(ret &amp;lt; 0)
     printk(&amp;quot;da7212 write operation failed\n&amp;quot;);
 
     
     ret = da7212_write_reg(DA7212_SR, DA7212_SR_48KHZ);
     if (ret &amp;lt; 0) printk(&amp;quot;Sample rate configuration failed\n&amp;quot;);&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Abdulmohaimen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/527330?ContentTypeID=1</link><pubDate>Fri, 14 Mar 2025 08:43:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bdecade-a994-4b5f-a74e-55cf0c132b23</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Abdulmohaimen,&lt;/p&gt;
[quote user="Abdulmohaimen"]Currently, when using the accelerated microphone signal while the headset is streaming sound, the microphone volume is too low. (Current setup i have CIS mode with some limitions - &lt;span&gt;&amp;nbsp;accelerated microphone signal&amp;nbsp; and Channel disconncating as well as the LOW mic when the sound on headphones)&lt;/span&gt;[/quote]
&lt;p&gt;Can you provide details about accelerated microphone signal?&amp;nbsp;&lt;br /&gt;Is recorded microphone signal on the same or on the other device?&lt;br /&gt;How much is the signal accelerated?&lt;br /&gt;Do you use the same sample rate for recording and playback?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/527280?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 22:15:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2e3304b-291d-4ca7-83bb-f3029bd0e588</guid><dc:creator>Abdulmohaimen</dc:creator><description>&lt;p data-start="129" data-end="140"&gt;Hi Dejan,&lt;/p&gt;
&lt;p data-start="142" data-end="214"&gt;Sorry for the late response&amp;mdash;I was on vacation over the past few weeks.&lt;/p&gt;
&lt;p data-start="216" data-end="244"&gt;Yes, I am still using USB.&lt;/p&gt;
&lt;p data-start="246" data-end="560"&gt;I am switching between the analog and digital microphone using an external HW codec (DA7212 evaluation board). I have applied the modifications from the GitHub link and made changes to the hardware codec file to configure the codec. Additionally, I enabled the I2S configuration to utilize the external HW codec.&lt;/p&gt;
&lt;p data-start="562" data-end="607"&gt;I will attach the log files to this ticket.&lt;/p&gt;
&lt;p data-start="609" data-end="856"&gt;I want to mention that with the current configuration, the audio streaming does not remain stable for long (when 2 nrf5340 audio dk as headset r and L at the same time used). After a couple of minutes, the right channel (mostly) disconnects from streaming. Before that, I notice audio cutting out intermittently. (when i use just one it works prefactly&amp;nbsp; &lt;span&gt; in this regard&lt;/span&gt;))&lt;/p&gt;
&lt;p data-start="858" data-end="1127"&gt;I would like to emphasize that the main goal is to establish a CIS connection with two microphones (left and right) operating simultaneously. Currently, when using the accelerated microphone signal while the headset is streaming sound, the microphone volume is too low. (Current setup i have CIS mode with some limitions - &lt;span&gt;&amp;nbsp;accelerated microphone signal&amp;nbsp; and Channel disconncating as well as the LOW mic when the sound on headphones)&lt;/span&gt;&lt;/p&gt;
&lt;p data-start="1129" data-end="1326"&gt;Additionally, I have another question: If I want to use &lt;code data-start="1185" data-end="1212"&gt;CONFIG_AUDIO_SOURCE_I2S=y&lt;/code&gt;, can I connect it directly via the LINE plug on the nRF5340 Audio DK, or do I need to use an external HW codec? may it solve those problems?&lt;/p&gt;
&lt;p data-start="1328" data-end="1363"&gt;Looking forward to your feedback.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you in advance&amp;mdash;I truly appreciate your time and support.&lt;/p&gt;
&lt;p data-start="1365" data-end="1394"&gt;Best regards&amp;nbsp;&lt;br /&gt;&lt;span&gt;Abdulmohaimen&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p data-start="1365" data-end="1394"&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v2.8.0-a2386bfc8401 ***
*** Using Zephyr OS v3.7.99-0bc3393fb112 ***
HL [00:00:00.279,052] &amp;lt;inf&amp;gt; board_version: Compatible board/HW version found: 1.0.0
HL [00:00:00.311,431] &amp;lt;inf&amp;gt; fw_info: 
         nRF5340 Audio nRF5340 Audio DK cpuapp                      
         NCS base version: 2.8.0                            
         Cmake run : Fri Jan 03 19:31:25 2025
HL [00:00:00.311,431] &amp;lt;inf&amp;gt; fw_info: ------- DEBUG BUILD -------
HL [00:00:00.311,431] &amp;lt;inf&amp;gt; fw_info: HEADSET left device
HL [00:00:00.381,134] &amp;lt;inf&amp;gt; bt_keys: SC LTK: 0xa752d2df8dcdae6a3827ee0019f6d8e1
HL [00:00:00.383,209] &amp;lt;inf&amp;gt; bt_mgmt_ctlr_cfg: Controller: SoftDevice: Version 6.0 (0x0e), Revision 8270
HL [00:00:00.383,422] &amp;lt;inf&amp;gt; bt_mgmt: Local identity addr: F5:FD:57:29:5F:67 (random)
HL [00:00:00.389,129] &amp;lt;inf&amp;gt; bt_mgmt_adv: Local addr: 4B:76:FD:D8:DB:30 (random)
HL [00:00:00.389,190] &amp;lt;inf&amp;gt; bt_mgmt_adv: Adv directed to: D3:C8:9D:D1:BE:66 (random).
HL [00:00:00.389,801] &amp;lt;inf&amp;gt; bt_mgmt_adv: Advertising successfully started
HL [00:00:01.667,388] &amp;lt;inf&amp;gt; bt_mgmt: Connected: D3:C8:9D:D1:BE:66 (random)
HL [00:00:01.667,419] &amp;lt;inf&amp;gt; main: Connection event. Num connections: 1
HL [00:00:01.667,572] &amp;lt;inf&amp;gt; bt_mgmt_adv: RPA (Resolvable Private Address) expired.
HL [00:00:01.667,663] &amp;lt;inf&amp;gt; bt_mgmt_adv: Local addr: 4B:76:FD:D8:DB:30 (random)
HL [00:00:01.748,382] &amp;lt;inf&amp;gt; main: Security changed
HL [00:00:01.748,565] &amp;lt;wrn&amp;gt; bt_gatt: Device is not subscribed to characteristic
HL [00:00:01.748,596] &amp;lt;wrn&amp;gt; bt_pacs: PACS notify failed: -22
HL [00:00:01.748,626] &amp;lt;wrn&amp;gt; bt_gatt: Device is not subscribed to characteristic
HL [00:00:01.748,626] &amp;lt;wrn&amp;gt; bt_pacs: PACS notify failed: -22
HL [00:00:02.318,267] &amp;lt;inf&amp;gt; bt_content_ctrl_media: Discovery of MCS finished
HL [00:00:03.429,138] &amp;lt;inf&amp;gt; le_audio: LC3 codec config for sink:
HL [00:00:03.429,168] &amp;lt;inf&amp;gt; le_audio:   Frequency: 24000 Hz
HL [00:00:03.429,168] &amp;lt;inf&amp;gt; le_audio:   Duration: 10000 us
HL [00:00:03.429,168] &amp;lt;inf&amp;gt; le_audio:   Channel allocation: 0x3
HL [00:00:03.429,168] &amp;lt;inf&amp;gt; le_audio:   Octets per frame: 60 (48000 bps)
HL [00:00:03.429,168] &amp;lt;inf&amp;gt; le_audio:   Frames per SDU: 1
HL [00:00:03.469,146] &amp;lt;inf&amp;gt; le_audio: LC3 codec config for source:
HL [00:00:03.469,146] &amp;lt;inf&amp;gt; le_audio:   Frequency: 24000 Hz
HL [00:00:03.469,146] &amp;lt;inf&amp;gt; le_audio:   Duration: 10000 us
HL [00:00:03.469,177] &amp;lt;inf&amp;gt; le_audio:   Channel allocation: 0x1
HL [00:00:03.469,177] &amp;lt;inf&amp;gt; le_audio:   Octets per frame: 60 (48000 bps)
HL [00:00:03.469,177] &amp;lt;inf&amp;gt; le_audio:   Frames per SDU: 1
HL [00:00:03.549,713] &amp;lt;inf&amp;gt; main: Presentation delay 5000 us is set by initiator
HL [00:00:03.549,743] &amp;lt;inf&amp;gt; main: Presentation delay 5000 us is set by initiator
HL [00:00:04.454,864] &amp;lt;inf&amp;gt; unicast_server: Stream 0x200105f4 started
HL [00:00:04.456,512] &amp;lt;wrn&amp;gt; le_audio_rx: Not in streaming state (1), thrown 1 packet(s)
DAC L gain 112   
ADC L gain 112   
DAC R gain 112   
ADC R gain 112   
HL [00:00:04.486,633] &amp;lt;wrn&amp;gt; audio_datapath: I2S RX overrun. Single msg
HL [00:00:04.490,600] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 11
HL [00:00:04.565,643] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
HL [00:00:04.628,631] &amp;lt;inf&amp;gt; unicast_server: Stream 0x2001061c started
HL [00:00:04.629,638] &amp;lt;wrn&amp;gt; audio_datapath: I2S RX continuing stream
HL [00:00:04.665,649] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: OFFSET
HL [00:00:05.166,015] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: LOCKED
HL [00:00:05.174,957] &amp;lt;inf&amp;gt; audio_datapath: Pres comp state: MEAS
HL [00:00:05.284,759] &amp;lt;inf&amp;gt; audio_datapath: Pres comp state: LOCKED
HL [00:00:05.714,996] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 15
&lt;/pre&gt;&lt;/p&gt;
&lt;p data-start="1365" data-end="1394"&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Using Zephyr OS v3.7.99-0bc3393fb112 ***
GW [00:00:00.268,615] &amp;lt;inf&amp;gt; board_version: Compatible board/HW version found: 1.0.0
GW [00:00:00.301,055] &amp;lt;inf&amp;gt; fw_info: 
         nRF5340 Audio nRF5340 Audio DK cpuapp                      
         NCS base version: 2.8.0                            
         Cmake run : Thu Jan 02 22:56:22 2025
GW [00:00:00.301,055] &amp;lt;inf&amp;gt; fw_info: ------- DEBUG BUILD -------
GW [00:00:00.301,055] &amp;lt;inf&amp;gt; fw_info: Compiled for GATEWAY device
GW [00:00:00.370,391] &amp;lt;inf&amp;gt; bt_keys: SC LTK: 0xb589a7752caaa3535c4ca66003e0dbde
GW [00:00:00.370,422] &amp;lt;inf&amp;gt; bt_keys: SC LTK: 0xa752d2df8dcdae6a3827ee0019f6d8e1
GW [00:00:00.374,267] &amp;lt;inf&amp;gt; bt_mgmt_ctlr_cfg: Controller: SoftDevice: Version 6.0 (0x0e), Revision 8270
GW [00:00:00.374,450] &amp;lt;inf&amp;gt; bt_mgmt: Local identity addr: D3:C8:9D:D1:BE:66 (random)
GW [00:00:00.374,603] &amp;lt;inf&amp;gt; audio_usb: Ready for USB host to send/receive.
GW [00:00:00.375,732] &amp;lt;inf&amp;gt; bt_mgmt_scan: All bonded slots filled, will not accept new devices
GW [00:00:00.378,112] &amp;lt;inf&amp;gt; bt_mgmt_scan: Local addr: 77:BB:07:16:AE:49 (random). May time out. Updates not printed
GW [00:00:00.378,112] &amp;lt;inf&amp;gt; bt_mgmt_scan: Scanning successfully started
GW [00:00:00.382,476] &amp;lt;inf&amp;gt; bt_mgmt_scan: Creating connection to bonded device: F5:FD:57:29:5F:67 (random)
GW [00:00:00.387,878] &amp;lt;inf&amp;gt; bt_mgmt: Connected: F5:FD:57:29:5F:67 (random)
GW [00:00:00.387,908] &amp;lt;inf&amp;gt; main: Connection event. Num connections: 1
GW [00:00:00.437,774] &amp;lt;wrn&amp;gt; bt_conn: conn 0x20004f08 failed to establish. RF noise?
GW [00:00:00.437,896] &amp;lt;wrn&amp;gt; bt_mgmt: Security failed: level 1 err 9 
GW [00:00:00.437,896] &amp;lt;wrn&amp;gt; bt_mgmt: Failed to disconnect -128
GW [00:00:00.437,957] &amp;lt;wrn&amp;gt; bt_gatt: conn 0x20004f08 err 0x0e
GW [00:00:00.438,171] &amp;lt;inf&amp;gt; bt_mgmt: Disconnected: F5:FD:57:29:5F:67 (random), reason 0x3e 
GW [00:00:00.438,201] &amp;lt;inf&amp;gt; main: Disconnection event. Num connections: 0
GW [00:00:00.438,201] &amp;lt;wrn&amp;gt; unicast_client: Unknown connection disconnected
GW [00:00:00.438,323] &amp;lt;inf&amp;gt; bt_mgmt_scan: All bonded slots filled, will not accept new devices
GW [00:00:00.439,270] &amp;lt;inf&amp;gt; bt_mgmt_scan: Local addr: 77:BB:07:16:AE:49 (random). May time out. Updates not printed
GW [00:00:00.439,270] &amp;lt;inf&amp;gt; bt_mgmt_scan: Scanning successfully started
GW [00:00:00.442,657] &amp;lt;inf&amp;gt; bt_mgmt_scan: Creating connection to bonded device: F5:FD:57:29:5F:67 (random)
GW [00:00:00.448,913] &amp;lt;inf&amp;gt; bt_mgmt: Connected: F5:FD:57:29:5F:67 (random)
GW [00:00:00.448,944] &amp;lt;inf&amp;gt; main: Connection event. Num connections: 1
GW [00:00:00.498,809] &amp;lt;wrn&amp;gt; bt_conn: conn 0x20004f08 failed to establish. RF noise?
GW [00:00:00.498,931] &amp;lt;wrn&amp;gt; bt_mgmt: Security failed: level 1 err 9 
GW [00:00:00.498,962] &amp;lt;wrn&amp;gt; bt_mgmt: Failed to disconnect -128
GW [00:00:00.498,992] &amp;lt;wrn&amp;gt; bt_gatt: conn 0x20004f08 err 0x0e
GW [00:00:00.499,206] &amp;lt;inf&amp;gt; bt_mgmt: Disconnected: F5:FD:57:29:5F:67 (random), reason 0x3e 
GW [00:00:00.499,237] &amp;lt;inf&amp;gt; main: Disconnection event. Num connections: 0
GW [00:00:00.499,237] &amp;lt;wrn&amp;gt; unicast_client: Unknown connection disconnected
GW [00:00:00.499,389] &amp;lt;inf&amp;gt; bt_mgmt_scan: All bonded slots filled, will not accept new devices
GW [00:00:00.500,335] &amp;lt;inf&amp;gt; bt_mgmt_scan: Local addr: 77:BB:07:16:AE:49 (random). May time out. Updates not printed
GW [00:00:00.500,335] &amp;lt;inf&amp;gt; bt_mgmt_scan: Scanning successfully started
GW [00:00:00.504,821] &amp;lt;inf&amp;gt; bt_mgmt_scan: Creating connection to bonded device: F5:FD:57:29:5F:67 (random)
GW [00:00:00.510,192] &amp;lt;inf&amp;gt; bt_mgmt: Connected: F5:FD:57:29:5F:67 (random)
GW [00:00:00.510,223] &amp;lt;inf&amp;gt; main: Connection event. Num connections: 1
GW [00:00:00.560,089] &amp;lt;wrn&amp;gt; bt_conn: conn 0x20004f08 failed to establish. RF noise?
GW [00:00:00.560,211] &amp;lt;wrn&amp;gt; bt_mgmt: Security failed: level 1 err 9 
GW [00:00:00.560,211] &amp;lt;wrn&amp;gt; bt_mgmt: Failed to disconnect -128
GW [00:00:00.560,272] &amp;lt;wrn&amp;gt; bt_gatt: conn 0x20004f08 err 0x0e
GW [00:00:00.560,485] &amp;lt;inf&amp;gt; bt_mgmt: Disconnected: F5:FD:57:29:5F:67 (random), reason 0x3e 
GW [00:00:00.560,516] &amp;lt;inf&amp;gt; main: Disconnection event. Num connections: 0
GW [00:00:00.560,516] &amp;lt;wrn&amp;gt; unicast_client: Unknown connection disconnected
GW [00:00:00.560,638] &amp;lt;inf&amp;gt; bt_mgmt_scan: All bonded slots filled, will not accept new devices
GW [00:00:00.561,584] &amp;lt;inf&amp;gt; bt_mgmt_scan: Local addr: 77:BB:07:16:AE:49 (random). May time out. Updates not printed
GW [00:00:00.561,584] &amp;lt;inf&amp;gt; bt_mgmt_scan: Scanning successfully started
GW [00:00:00.565,185] &amp;lt;inf&amp;gt; bt_mgmt_scan: Creating connection to bonded device: F5:FD:57:29:5F:67 (random)
GW [00:00:00.571,441] &amp;lt;inf&amp;gt; bt_mgmt: Connected: F5:FD:57:29:5F:67 (random)
GW [00:00:00.571,472] &amp;lt;inf&amp;gt; main: Connection event. Num connections: 1
GW [00:00:00.621,307] &amp;lt;wrn&amp;gt; bt_conn: conn 0x20004f08 failed to establish. RF noise?
GW [00:00:00.621,459] &amp;lt;wrn&amp;gt; bt_mgmt: Security failed: level 1 err 9 
GW [00:00:00.621,459] &amp;lt;wrn&amp;gt; bt_mgmt: Failed to disconnect -128
GW [00:00:00.621,490] &amp;lt;wrn&amp;gt; bt_gatt: conn 0x20004f08 err 0x0e
GW [00:00:00.621,704] &amp;lt;inf&amp;gt; bt_mgmt: Disconnected: F5:FD:57:29:5F:67 (random), reason 0x3e 
GW [00:00:00.621,765] &amp;lt;inf&amp;gt; main: Disconnection event. Num connections: 0
GW [00:00:00.621,765] &amp;lt;wrn&amp;gt; unicast_client: Unknown connection disconnected
GW [00:00:00.621,917] &amp;lt;inf&amp;gt; bt_mgmt_scan: All bonded slots filled, will not accept new devices
GW [00:00:00.622,894] &amp;lt;inf&amp;gt; bt_mgmt_scan: Local addr: 77:BB:07:16:AE:49 (random). May time out. Updates not printed
GW [00:00:00.622,924] &amp;lt;inf&amp;gt; bt_mgmt_scan: Scanning successfully started
GW [00:00:00.627,349] &amp;lt;inf&amp;gt; bt_mgmt_scan: Creating connection to bonded device: F5:FD:57:29:5F:67 (random)
GW [00:00:00.632,843] &amp;lt;inf&amp;gt; bt_mgmt: Connected: F5:FD:57:29:5F:67 (random)
GW [00:00:00.632,873] &amp;lt;inf&amp;gt; main: Connection event. Num connections: 1
GW [00:00:00.712,768] &amp;lt;inf&amp;gt; main: Security changed
GW [00:00:00.764,373] &amp;lt;wrn&amp;gt; unicast_client: Got err: -61 from conn: 0x20004f08
GW [00:00:00.764,831] &amp;lt;inf&amp;gt; bt_mgmt_scan: All bonded slots filled, will not accept new devices
GW [00:00:00.766,113] &amp;lt;inf&amp;gt; bt_mgmt_scan: Local addr: 77:BB:07:16:AE:49 (random). May time out. Updates not printed
GW [00:00:00.766,113] &amp;lt;inf&amp;gt; bt_mgmt_scan: Scanning successfully started
GW [00:00:00.893,066] &amp;lt;inf&amp;gt; bt_vol_ctlr: VCS discover finished
GW [00:00:01.050,689] &amp;lt;inf&amp;gt; bt_mgmt_scan: Creating connection to bonded device: F0:D2:8E:F5:33:C2 (random)
GW [00:00:01.460,876] &amp;lt;inf&amp;gt; bt_mgmt: Connected: F0:D2:8E:F5:33:C2 (random)
GW [00:00:01.460,906] &amp;lt;inf&amp;gt; main: Connection event. Num connections: 2
GW [00:00:01.492,889] &amp;lt;inf&amp;gt; unicast_client: Discovered 1 sink endpoint(s) for device 0
GW [00:00:01.602,722] &amp;lt;inf&amp;gt; main: Security changed
GW [00:00:01.723,083] &amp;lt;wrn&amp;gt; unicast_client: Got err: -61 from conn: 0x20004ff0
GW [00:00:01.963,043] &amp;lt;inf&amp;gt; bt_vol_ctlr: VCS discover finished
GW [00:00:02.354,278] &amp;lt;inf&amp;gt; unicast_client: Discovered 1 source endpoint(s) for device 0
GW [00:00:02.414,276] &amp;lt;inf&amp;gt; unicast_client: LEFT sink stream configured
GW [00:00:02.414,306] &amp;lt;inf&amp;gt; le_audio: LC3 codec config for sink:
GW [00:00:02.414,306] &amp;lt;inf&amp;gt; le_audio:   Frequency: 24000 Hz
GW [00:00:02.414,306] &amp;lt;inf&amp;gt; le_audio:   Duration: 10000 us
GW [00:00:02.414,337] &amp;lt;inf&amp;gt; le_audio:   Channel allocation: 0x3
GW [00:00:02.414,337] &amp;lt;inf&amp;gt; le_audio:   Octets per frame: 60 (48000 bps)
GW [00:00:02.414,337] &amp;lt;inf&amp;gt; le_audio:   Frames per SDU: 1
GW [00:00:02.493,103] &amp;lt;inf&amp;gt; unicast_client: LEFT source stream configured
GW [00:00:02.493,133] &amp;lt;inf&amp;gt; le_audio: LC3 codec config for source:
GW [00:00:02.493,133] &amp;lt;inf&amp;gt; le_audio:   Frequency: 24000 Hz
GW [00:00:02.493,164] &amp;lt;inf&amp;gt; le_audio:   Duration: 10000 us
GW [00:00:02.493,164] &amp;lt;inf&amp;gt; le_audio:   Channel allocation: 0x1
GW [00:00:02.493,164] &amp;lt;inf&amp;gt; le_audio:   Octets per frame: 60 (48000 bps)
GW [00:00:02.493,164] &amp;lt;inf&amp;gt; le_audio:   Frames per SDU: 1
GW [00:00:02.722,625] &amp;lt;inf&amp;gt; unicast_client: Discovered 1 sink endpoint(s) for device 1
GW [00:00:03.173,767] &amp;lt;inf&amp;gt; unicast_client: Discovered 1 source endpoint(s) for device 1
GW [00:00:03.502,838] &amp;lt;inf&amp;gt; unicast_client: Stream 0x200121c4 started
GW [00:00:03.510,009] &amp;lt;inf&amp;gt; audio_usb: USB RX first data received.
GW [00:00:03.683,410] &amp;lt;inf&amp;gt; unicast_client: Stream 0x200122c4 started
GW [00:00:03.703,704] &amp;lt;inf&amp;gt; unicast_client: LEFT sink stream configured
GW [00:00:03.703,735] &amp;lt;inf&amp;gt; le_audio: LC3 codec config for sink:
GW [00:00:03.703,735] &amp;lt;inf&amp;gt; le_audio:   Frequency: 24000 Hz
GW [00:00:03.703,735] &amp;lt;inf&amp;gt; le_audio:   Duration: 10000 us
GW [00:00:03.703,735] &amp;lt;inf&amp;gt; le_audio:   Channel allocation: 0x3
GW [00:00:03.703,765] &amp;lt;inf&amp;gt; le_audio:   Octets per frame: 60 (48000 bps)
GW [00:00:03.703,765] &amp;lt;inf&amp;gt; le_audio:   Frames per SDU: 1
GW [00:00:03.703,765] &amp;lt;wrn&amp;gt; unicast_client: Failed to stop streams: -16, use default PD in preset
GW [00:00:03.703,796] &amp;lt;wrn&amp;gt; unicast_client: Presentation delay not set for LEFT device: -16
GW [00:00:03.723,724] &amp;lt;inf&amp;gt; unicast_client: LEFT source stream configured
GW [00:00:03.723,724] &amp;lt;inf&amp;gt; le_audio: LC3 codec config for source:
GW [00:00:03.723,724] &amp;lt;inf&amp;gt; le_audio:   Frequency: 24000 Hz
GW [00:00:03.723,754] &amp;lt;inf&amp;gt; le_audio:   Duration: 10000 us
GW [00:00:03.723,754] &amp;lt;inf&amp;gt; le_audio:   Channel allocation: 0x1
GW [00:00:03.723,754] &amp;lt;inf&amp;gt; le_audio:   Octets per frame: 60 (48000 bps)
GW [00:00:03.723,754] &amp;lt;inf&amp;gt; le_audio:   Frames per SDU: 1
GW [00:00:03.872,680] &amp;lt;inf&amp;gt; unicast_client: Stream 0x200123dc started
GW [00:00:03.893,157] &amp;lt;inf&amp;gt; unicast_client: Stream 0x200124dc started
GW [00:00:03.930,511] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 1
GW [00:00:08.570,495] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 101
GW [00:00:13.349,426] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 201
GW [00:00:18.389,556] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 301
GW [00:00:23.189,392] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 401
GW [00:00:27.589,385] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 501
GW [00:00:32.229,400] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 601
GW [00:00:36.949,401] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 701
GW [00:00:41.679,382] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 801
GW [00:00:46.639,495] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 901
GW [00:00:51.339,416] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 1001
GW [00:00:56.159,393] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 1101
GW [00:01:00.749,389] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 1201
GW [00:01:05.689,392] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 1301
GW [00:01:10.389,404] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 1401
GW [00:01:15.309,539] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 1501
GW [00:01:20.539,672] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 1601
GW [00:01:25.609,405] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 1701
GW [00:01:30.719,696] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 1801
GW [00:01:35.719,665] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 1901
GW [00:01:40.479,400] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 2001
GW [00:01:45.399,719] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 2101
GW [00:01:50.359,619] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 2201
GW [00:01:55.369,750] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 2301
GW [00:02:00.839,782] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 2401
GW [00:02:06.339,447] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 2501
GW [00:02:11.549,377] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 2601
GW [00:02:16.719,451] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 2701
GW [00:02:22.029,479] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 2801
GW [00:02:27.319,396] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 2901
GW [00:02:32.469,390] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 3001
GW [00:02:37.449,401] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 3101
GW [00:02:42.619,384] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 3201
GW [00:02:47.639,465] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 3301
GW [00:02:52.749,481] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 3401
GW [00:02:57.949,401] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 3501
GW [00:03:03.229,400] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 3601
GW [00:03:08.389,404] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 3701
GW [00:03:13.569,396] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 3801
GW [00:03:18.420,501] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 3901
GW [00:03:23.489,471] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 4001
GW [00:03:28.899,383] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 4101
GW [00:03:34.209,381] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 4201
GW [00:03:39.309,387] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 4301
GW [00:03:44.350,524] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 4401
GW [00:03:48.949,432] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 4501
GW [00:03:53.799,560] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 4601
GW [00:03:58.679,382] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 4701
GW [00:04:03.579,406] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 4801
GW [00:04:08.389,373] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 4901
GW [00:04:13.269,378] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 5001
GW [00:04:18.200,500] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 5101
GW [00:04:23.249,542] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 5201
GW [00:04:28.329,376] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 5301
GW [00:04:33.139,404] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 5401
GW [00:04:37.999,389] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 5501
GW [00:04:42.769,378] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 5601
GW [00:04:47.639,404] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 5701
GW [00:04:52.739,532] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 5801
GW [00:04:58.009,399] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 5901
GW [00:05:02.839,385] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 6001
GW [00:05:07.719,390] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 6101
GW [00:05:12.659,393] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 6201
GW [00:05:17.329,376] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 6301
GW [00:05:22.719,543] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 6401
GW [00:05:27.989,379] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 6501
GW [00:05:32.819,396] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 6601
GW [00:05:37.469,390] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 6701
GW [00:05:42.109,375] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 6801
GW [00:05:46.609,405] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 6901
GW [00:05:51.229,522] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 7001
GW [00:05:56.069,396] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 7101
GW [00:06:00.609,375] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 7201
GW [00:06:05.449,401] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 7301
GW [00:06:10.229,461] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 7401
GW [00:06:14.989,379] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 7501
GW [00:06:19.859,710] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 7601
GW [00:06:24.699,676] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 7701
GW [00:06:29.589,843] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 7801
GW [00:06:34.629,699] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 7901
GW [00:06:39.629,638] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 8001
GW [00:06:44.479,553] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 8101
GW [00:06:49.589,660] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 8201
GW [00:06:54.449,401] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 8301
GW [00:06:59.739,776] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 8401
GW [00:07:04.879,455] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 8501
GW [00:07:09.869,415] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 8601
GW [00:07:14.469,451] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 8701
GW [00:07:19.529,479] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 8801
GW [00:07:24.349,395] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 8901
GW [00:07:29.259,399] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 9001
GW [00:07:34.029,388] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 9101
GW [00:07:38.909,423] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 9201
GW [00:07:43.069,427] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 9301
GW [00:07:47.259,552] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 9401
GW [00:07:53.706,573] &amp;lt;inf&amp;gt; audio_usb: USB TX first data sent.
GW [00:08:04.819,396] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 9501
GW [00:08:08.249,389] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 9601
GW [00:08:11.459,442] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 9701
GW [00:08:14.939,514] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 9801
GW [00:08:18.109,405] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 9901
GW [00:08:21.669,403] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 10001
GW [00:08:25.259,399] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 10101
GW [00:08:28.759,399] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 10201
GW [00:08:32.149,383] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 10301
GW [00:08:35.499,389] &amp;lt;wrn&amp;gt; le_audio_rx: BLE ISO RX overrun: Num: 10401
&lt;/pre&gt;&lt;/p&gt;
&lt;p data-start="1365" data-end="1394"&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Using Zephyr OS v3.7.99-0bc3393fb112 ***
HR [00:00:00.276,885] &amp;lt;inf&amp;gt; board_version: Compatible board/HW version found: 1.0.0
HR [00:00:00.309,143] &amp;lt;inf&amp;gt; fw_info: 
         nRF5340 Audio nRF5340 Audio DK cpuapp                      
         NCS base version: 2.8.0                            
         Cmake run : Fri Jan 03 19:31:25 2025
HR [00:00:00.309,143] &amp;lt;inf&amp;gt; fw_info: ------- DEBUG BUILD -------
HR [00:00:00.309,173] &amp;lt;inf&amp;gt; fw_info: HEADSET right device
HR [00:00:00.378,906] &amp;lt;inf&amp;gt; bt_keys: SC LTK: 0xb589a7752caaa3535c4ca66003e0dbde
HR [00:00:00.381,042] &amp;lt;inf&amp;gt; bt_mgmt_ctlr_cfg: Controller: SoftDevice: Version 6.0 (0x0e), Revision 8270
HR [00:00:00.381,256] &amp;lt;inf&amp;gt; bt_mgmt: Local identity addr: F0:D2:8E:F5:33:C2 (random)
HR [00:00:00.386,932] &amp;lt;inf&amp;gt; bt_mgmt_adv: Local addr: 58:9D:62:7D:93:2D (random)
HR [00:00:00.387,023] &amp;lt;inf&amp;gt; bt_mgmt_adv: Adv directed to: D3:C8:9D:D1:BE:66 (random).
HR [00:00:00.387,603] &amp;lt;inf&amp;gt; bt_mgmt_adv: Advertising successfully started
HR [00:00:01.668,121] &amp;lt;inf&amp;gt; bt_mgmt: Directed adv timed out with no connection, reverting to normal adv
HR [00:00:01.671,417] &amp;lt;inf&amp;gt; bt_mgmt_adv: Local addr: 6B:51:7A:41:F2:CA (random)
HR [00:00:01.671,936] &amp;lt;inf&amp;gt; bt_mgmt_adv: Advertising successfully started
HR [00:00:02.517,425] &amp;lt;inf&amp;gt; bt_mgmt: Connected: D3:C8:9D:D1:BE:66 (random)
HR [00:00:02.517,456] &amp;lt;inf&amp;gt; main: Connection event. Num connections: 1
HR [00:00:02.660,308] &amp;lt;inf&amp;gt; main: Security changed
HR [00:00:02.660,522] &amp;lt;wrn&amp;gt; bt_gatt: Device is not subscribed to characteristic
HR [00:00:02.660,522] &amp;lt;wrn&amp;gt; bt_pacs: PACS notify failed: -22
HR [00:00:02.660,552] &amp;lt;wrn&amp;gt; bt_gatt: Device is not subscribed to characteristic
HR [00:00:02.660,552] &amp;lt;wrn&amp;gt; bt_pacs: PACS notify failed: -22
HR [00:00:03.630,645] &amp;lt;inf&amp;gt; bt_content_ctrl_media: Discovery of MCS finished
HR [00:00:04.750,885] &amp;lt;inf&amp;gt; le_audio: LC3 codec config for sink:
HR [00:00:04.750,915] &amp;lt;inf&amp;gt; le_audio:   Frequency: 24000 Hz
HR [00:00:04.750,915] &amp;lt;inf&amp;gt; le_audio:   Duration: 10000 us
HR [00:00:04.750,915] &amp;lt;inf&amp;gt; le_audio:   Channel allocation: 0x3
HR [00:00:04.750,915] &amp;lt;inf&amp;gt; le_audio:   Octets per frame: 60 (48000 bps)
HR [00:00:04.750,915] &amp;lt;inf&amp;gt; le_audio:   Frames per SDU: 1
HR [00:00:04.770,843] &amp;lt;inf&amp;gt; le_audio: LC3 codec config for source:
HR [00:00:04.770,843] &amp;lt;inf&amp;gt; le_audio:   Frequency: 24000 Hz
HR [00:00:04.770,843] &amp;lt;inf&amp;gt; le_audio:   Duration: 10000 us
HR [00:00:04.770,843] &amp;lt;inf&amp;gt; le_audio:   Channel allocation: 0x1
HR [00:00:04.770,874] &amp;lt;inf&amp;gt; le_audio:   Octets per frame: 60 (48000 bps)
HR [00:00:04.770,874] &amp;lt;inf&amp;gt; le_audio:   Frames per SDU: 1
HR [00:00:04.791,412] &amp;lt;inf&amp;gt; main: Presentation delay 5000 us is set by initiator
HR [00:00:04.791,442] &amp;lt;inf&amp;gt; main: Presentation delay 5000 us is set by initiator
HR [00:00:04.903,472] &amp;lt;inf&amp;gt; unicast_server: Stream 0x200105f4 started
HR [00:00:04.905,120] &amp;lt;wrn&amp;gt; le_audio_rx: Not in streaming state (1), thrown 1 packet(s)
DAC L gain 112   
ADC L gain 112   
DAC R gain 112   
ADC R gain 112   
HR [00:00:04.935,211] &amp;lt;wrn&amp;gt; audio_datapath: I2S RX overrun. Single msg
HR [00:00:04.939,178] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 11
HR [00:00:04.940,582] &amp;lt;inf&amp;gt; unicast_server: Stream 0x2001061c started
HR [00:00:04.941,192] &amp;lt;wrn&amp;gt; audio_datapath: I2S RX continuing stream
HR [00:00:04.946,197] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: CALIB
HR [00:00:04.950,195] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 12
HR [00:00:05.046,203] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: OFFSET
HR [00:00:05.421,051] &amp;lt;wrn&amp;gt; audio_datapath: Data received, total under-runs: 13
HR [00:00:05.446,075] &amp;lt;inf&amp;gt; audio_datapath: Drft comp state: LOCKED
HR [00:00:05.455,413] &amp;lt;inf&amp;gt; audio_datapath: Pres comp state: MEAS
HR [00:00:05.565,277] &amp;lt;inf&amp;gt; audio_datapath: Pres comp state: WAIT
HR [00:00:05.705,322] &amp;lt;inf&amp;gt; audio_datapath: Pres comp state: INIT
HR [00:00:05.715,240] &amp;lt;inf&amp;gt; audio_datapath: Pres comp state: MEAS
HR [00:00:05.825,225] &amp;lt;inf&amp;gt; audio_datapath: Pres comp state: LOCKED
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cis mode - Mic issues</title><link>https://devzone.nordicsemi.com/thread/524054?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 10:33:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce776b5c-7b8d-4db4-9055-e9b7898d6878</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;In your previous ticket you mentioned using USB. Is this still the case?&lt;br /&gt;&lt;br /&gt;Are you switching between analog and digital microphone? If yes, how?&lt;br /&gt;&lt;br /&gt;Could you specify all code changes that you made to the audio application?&lt;br /&gt;&lt;br /&gt;Can you provide serial port log?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>