<?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>Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98944/set-nrf5340-audio-dk-as-i2s-slave-over-external-bus</link><description>Hello! I am attempting to use my nRF5340 Audio DK as a gateway to broadcast audio from an external I2S source. 
 I have added the ` CONFIG_AUDIO_SOURCE_I2S=y ` line to my project .conf file as described in the README for the nrf5340_audio project. 
 I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Jun 2023 16:54:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98944/set-nrf5340-audio-dk-as-i2s-slave-over-external-bus" /><item><title>RE: Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/thread/429638?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 16:54:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:520e9275-3c1a-4cd1-9d85-54d9b5fa19c8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It cannot&amp;nbsp;&lt;span&gt;use the nrf5340dk_nrf5340_cpuapp board target for the&amp;nbsp;nrf5340_audio application&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;span dir="ltr"&gt;since you would miss all the audio DK hardware peripherals. You can create an&amp;nbsp;&lt;/span&gt;&lt;/span&gt;I2S project to run&lt;span&gt;&amp;nbsp;on nRF5340DK. However, I have asked the internal and unfortunately, we don&amp;#39;t have a related sample as your requirement currently. Sorry for the inconvenience.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/thread/429361?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2023 14:38:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:def07cbf-b69e-469f-aae0-78781ce3f2ac</guid><dc:creator>max.proskauer</dc:creator><description>&lt;p&gt;How do I build targeting the non-audio DK? I tried making a new build configuration using the nrf5340dk_nrf5340_cpuapp board target but it had a ton of errors. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/thread/429059?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2023 16:14:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e90a225-650b-42a1-9a22-806b908574b2</guid><dc:creator>max.proskauer</dc:creator><description>&lt;p&gt;That&amp;#39;s what it uses. I&amp;#39;ve verified this with an oscilloscope.&lt;/p&gt;
&lt;p&gt;From the vendor&amp;#39;s datasheet:&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/pastedimage1685722475985v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/thread/429049?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2023 14:51:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56fd3fa6-1501-43fc-b8ba-56df00c64eb6</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would also try with:&lt;/p&gt;
&lt;p&gt;NRF_I2S_FORMAT_I2S instead of ALIGNED. 16 bits in 32-bit frame is also very uncommon. That means half the data is &amp;quot;wasted&amp;quot; and I find it hard to believe that the other device has this configuration.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/thread/428846?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 19:39:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39b0171a-12ac-46ef-8026-f0f47e6eeee3</guid><dc:creator>max.proskauer</dc:creator><description>&lt;p&gt;OK I do have a non-audio DK on hand. Should I use the same nrf5340_audio application? Does it require any config changes to switch boards? Thanks!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/thread/428845?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 19:34:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:315fd560-e1f3-4691-a2d9-7ca2f5198425</guid><dc:creator>max.proskauer</dc:creator><description>&lt;p&gt;Cool good to know. Do I have the proper configurations set in that &lt;span style="color:#cccccc;"&gt;&lt;/span&gt;&lt;span style="color:#4ec9b0;"&gt;nrfx_i2s_config_t&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;&lt;/span&gt; struct as listed above? The timings for the device we&amp;#39;re attempting to connect to are below. 32-bit half-frames with 16 bits of left-aligned sample data. I&amp;#39;ll try to get a hold of the non-ADK version of the board&lt;/p&gt;
&lt;div style="direction:ltr;"&gt;
&lt;table style="border:1pt solid #A3A3A3;border-collapse:collapse;direction:ltr;" title="" border="1" cellpadding="0" cellspacing="0" summary=""&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:.6673in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;FS&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:.9486in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;48 kHz&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:.6673in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:2.5812in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;Word Clock / Word Select / Frame Sync&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:.6673in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;SCLK&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:.9486in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;3.072 MHz&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:.6673in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;64* FS&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:2.3659in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;Bit Clock / Serial Clock&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:.6673in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;MCLK&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:.968in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;12.288 MHz&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:.6868in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;256* FS&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border:1pt solid #A3A3A3;padding:4pt 4pt 4pt 4pt;vertical-align:top;width:2.327in;"&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;"&gt;Master Clock&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/thread/428843?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 19:29:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:477118b5-2ccb-42de-b4c1-2d3867d1482b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Yes, that is required. If the nRF is a slave, all three clocks are required.&amp;nbsp;I would suggest to get the I2S input working on a nRF5340 DK (not ADK) first, to start out with lower complexity.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/thread/428837?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 18:42:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fbc7f00-35bf-4204-815d-55e2d48f6910</guid><dc:creator>max.proskauer</dc:creator><description>&lt;p&gt;The external I2S source provided an MCLK signal. Does the nRF need this input when acting as I2S slave? I&amp;#39;ve tried adding some resistor dividers on a breadboard to bring the signals down to 1V8 levels but it&amp;#39;s still not working. It also seems like the DIN line pulls the signal down to 1Vpp when I connect it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/thread/428832?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 18:14:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a5bfc65-e172-4c3f-929b-661779b2638e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nRF5340 on audio DK is using 1.8v, that could be the root cause.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/thread/428826?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 17:13:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97a2cf6a-d884-43d0-b1d8-7b695e160402</guid><dc:creator>max.proskauer</dc:creator><description>&lt;p&gt;I was able to get the application building with the v2.4.0 version of the SDK. I verified that I could send audio from the onboard codec with the nRF still as the I2S master and have it come out on the other board. I also tried disabling the drift compensation features as described with the nRF still as master and the comms still worked. However, once I switched the board over to the external I2S and made it a slave, there was no longer any audio. Any thoughts? The I2S configuration I am using is copied below. I needed to change a couple values based on the I2S format the other device uses (16 bit samples in 32 bit half-frames left aligned, 48kHz sample rate, 256x MCLK, 3V3 signals).&lt;/p&gt;
&lt;p&gt;src/modules/audio_i2s.c:41:&lt;/p&gt;
&lt;div style="background-color:#1f1f1f;color:#cccccc;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;static&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#4ec9b0;"&gt;nrfx_i2s_config_t&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;cfg&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#6a9955;"&gt;&amp;nbsp; &amp;nbsp; /* Pins are configured by pinctrl. */&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;skip_gpio_cfg&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#569cd6;"&gt;true&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;skip_psel_cfg&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#569cd6;"&gt;true&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;irq_priority&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#569cd6;"&gt;DT_IRQ&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;(&lt;/span&gt;&lt;span style="color:#569cd6;"&gt;I2S_NL&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;, priority),&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;mode&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_MODE_SLAVE&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;,&lt;/span&gt;&lt;span style="color:#6a9955;"&gt; &amp;nbsp;// MODIFIED&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;format&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_FORMAT_ALIGNED&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;,&lt;/span&gt;&lt;span style="color:#6a9955;"&gt; &amp;nbsp;// MODIFIED&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;alignment&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_ALIGN_LEFT&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;ratio&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_RATIO_256X&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;,&lt;/span&gt;&lt;span style="color:#6a9955;"&gt; &amp;nbsp;// MODIFIED&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;mck_setup&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_MCK_DISABLED&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;,&lt;/span&gt;&lt;span style="color:#6a9955;"&gt; //0x66666000, MODIFIED&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;sample_width&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_SWIDTH_16BIT_IN32BIT&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;,&lt;/span&gt;&lt;span style="color:#6a9955;"&gt; // MODIFIED&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;channels&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_CHANNELS_STEREO&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;clksrc&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_CLKSRC_ACLK&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;enable_bypass&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#569cd6;"&gt;true&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;,&lt;/span&gt;&lt;span style="color:#6a9955;"&gt; &amp;nbsp; // MODIFIED&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/thread/428779?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 13:48:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8bc5e4b-78d5-4d0d-ba40-51e95c0b1135</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NCS v2.4.0 is released today. Please try it. Thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/thread/428551?ContentTypeID=1</link><pubDate>Wed, 31 May 2023 16:33:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6cdfbfa-1fd7-4eed-89e9-279e00efd14a</guid><dc:creator>max.proskauer</dc:creator><description>&lt;p&gt;What version of the SDK is this using? I&amp;#39;ve cloned that entire repo at the commit SHA you linked, but it&amp;#39;s not building. It appears to be defaulting to my local SDK install (2.3.0)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;PS C:\Projects\sdk-nrf\applications\nrf5340_audio&amp;gt; python .\tools\buildprog\buildprog.py -c both -b debug -d gateway -p
+------------+----------+---------+--------------+---------------------+---------------------+
|    snr     | snr conn |  device | only reboot  | core app programmed | core net programmed |
+------------+----------+---------+--------------+---------------------+---------------------+
| 1050131509 |   True   | gateway | Not selected |     Selected TBD    |     Selected TBD    |
+------------+----------+---------+--------------+---------------------+---------------------+
Invoking build step
Net core uses precompiled hex
Run: west build C:\Projects\sdk-nrf\applications\nrf5340_audio -b nrf5340_audio_dk_nrf5340_cpuapp -d C:\Projects\sdk-nrf\applications\nrf5340_audio\build\dev_gateway\build_debug -DCONFIG_AUDIO_DEV=2
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: C:/Projects/sdk-nrf/applications/nrf5340_audio
-- Using NCS Toolchain 2.3.0 for building. (C:/ncs/toolchains/v2.3.0/cmake)
-- Found Python3: C:/ncs/toolchains/v2.3.0/opt/bin/python.exe (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter 
-- Cache files will be written to: C:/ncs/v2.3.0/zephyr/.cache
-- Zephyr version: 3.2.99 (C:/ncs/v2.3.0/zephyr)
-- Found west (found suitable version &amp;quot;0.14.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf5340_audio_dk_nrf5340_cpuapp
-- Found host-tools: zephyr 0.15.2 (C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.15.2 (C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/v2.3.0/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: C:/ncs/v2.3.0/nrf/boards/arm/nrf5340_audio_dk_nrf5340/nrf5340_audio_dk_nrf5340_cpuapp.dts
-- Generated zephyr.dts: C:/Projects/sdk-nrf/applications/nrf5340_audio/build/dev_gateway/build_debug/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/Projects/sdk-nrf/applications/nrf5340_audio/build/dev_gateway/build_debug/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/Projects/sdk-nrf/applications/nrf5340_audio/build/dev_gateway/build_debug/zephyr/dts.cmake

warning: Experimental symbol NRF5340_AUDIO is enabled.


warning: Experimental symbol BT_AUDIO is enabled.


warning: Experimental symbol BT_VCP_VOL_CTLR is enabled.


warning: Experimental symbol BT_MCS is enabled.


warning: Experimental symbol BT_MPL is enabled.


warning: Experimental symbol MCTL is enabled.


warning: BT_LL_ACS_NRF53 (defined at C:/Projects/sdk-nrf/applications/nrf5340_audio\Kconfig.defaults:145) defined without a type

warning: BT_BAP_UNICAST_SERVER (defined at C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.defaults:84) defined without a type

warning: BT_AUDIO_TX (defined at C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.defaults:134, C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.defaults:201, C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.deParsing C:/Projects/sdk-nrf/applications/nrf5340_audio/Kconfig
Loaded configuration &amp;#39;C:/ncs/v2.3.0/nrf/boards/arm/nrf5340_audio_dk_nrf5340/nrf5340_audio_dk_nrf5340_cpuapp_defconfig&amp;#39;
Merged configuration &amp;#39;C:/Projects/sdk-nrf/applications/nrf5340_audio/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/Projects/sdk-nrf/applications/nrf5340_audio/build/dev_gateway/build_debug/zephyr/misc/generated/extra_kconfig_options.conf&amp;#39;
faults:280) defined without a type

warning: BT_AUDIO_RX (defined at C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.defaults:137, C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.defaults:204, C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.defaults:250) defined without a type       

warning: BT_BAP_UNICAST_CLIENT (defined at C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.defaults:145) defined without a type

warning: BT_BAP_UNICAST_CLIENT_GROUP_STREAM_COUNT (defined at C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.defaults:165) defined without a type  

warning: BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT (defined at C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.defaults:169) defined without a type       

warning: BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT (defined at C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.defaults:172) defined without a type       

warning: BT_BAP_BROADCAST_SINK (defined at C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.defaults:232) defined without a type

warning: BT_BAP_BROADCAST_SNK_STREAM_COUNT (defined at C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.defaults:238) defined without a type

warning: BT_BAP_BROADCAST_SOURCE (defined at C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.defaults:268) defined without a type

warning: BT_BAP_BROADCAST_SRC_STREAM_COUNT (defined at C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.defaults:274) defined without a type

warning: BT_GATT_AUTO_DISCOVER_CCC (defined at C:/ncs/v2.3.0/zephyr/subsys/bluetooth/host\Kconfig.gatt:177, subsys/bluetooth\host\Kconfig.gatt:177) has direct dependencies (BT_GATT_CLIENT &amp;amp;&amp;amp; BT_CONN &amp;amp;&amp;amp; BT_HCI_HOST &amp;amp;&amp;amp; BT_RPC_STACK) || (BT_GATT_CLIENT &amp;amp;&amp;amp; BT_CONN &amp;amp;&amp;amp; BT_HCI_HOST &amp;amp;&amp;amp; BT_HCI &amp;amp;&amp;amp; BT) with value n, but is currently being y-selected by the following symbols:
 - BT_VCP_VOL_CTLR (defined at C:/Projects/sdk-nrf/applications/nrf5340_audio\src/bluetooth\Kconfig.defaults:176, C:/ncs/v2.3.0/zephyr/subsys/bluetooth/host\../audio\Kconfig.vcp:67, subsys/bluetooth\host\../audio\Kconfig.vcp:67), with value y, direct dependencies (AUDIO_DEV = 2 &amp;amp;&amp;amp; TRANSPORT_CIS &amp;amp;&amp;amp; NRF5340_AUDIO) || (BT_AUDIO &amp;amp;&amp;amp; BT_HCI_HOST &amp;amp;&amp;amp; BT_RPC_STACK) || (BT_AUDIO &amp;amp;&amp;amp; BT_HCI_HOST &amp;amp;&amp;amp; BT_HCI &amp;amp;&amp;amp; BT) (value: y), and select condition BT_AUDIO &amp;amp;&amp;amp; BT_HCI_HOST &amp;amp;&amp;amp; BT_HCI &amp;amp;&amp;amp; BT (value: y)

error: Aborting due to Kconfig warnings

CMake Error at C:/ncs/v2.3.0/zephyr/cmake/modules/kconfig.cmake:328 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/ncs/v2.3.0/nrf/cmake/modules/kconfig.cmake:29 (include)
  C:/ncs/v2.3.0/zephyr/cmake/modules/zephyr_default.cmake:108 (include)
  C:/ncs/v2.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:46 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: &amp;#39;c:\ncs\toolchains\v2.3.0\opt\bin\cmake.EXE&amp;#39; &amp;#39;-DWEST_PYTHON=c:\ncs\toolchains\v2.3.0\opt\bin\python.exe&amp;#39; &amp;#39;-BC:\Projects\sdk-nrf\applications\nrf5340_audio\build\dev_gateway\build_debug&amp;#39; -GNinja -DBOARD=nrf5340_audio_dk_nrf5340_cpuapp -DCONFIG_AUDIO_DEV=2 &amp;#39;-SC:\Projects\sdk-nrf\applications\nrf5340_audio&amp;#39;
Traceback (most recent call last):
  File &amp;quot;.\tools\buildprog\buildprog.py&amp;quot;, line 404, in &amp;lt;module&amp;gt;
    __main()
  File &amp;quot;.\tools\buildprog\buildprog.py&amp;quot;, line 387, in __main
    __build_module(build_cfg, options)
  File &amp;quot;.\tools\buildprog\buildprog.py&amp;quot;, line 150, in __build_module
    raise Exception(&amp;quot;cmake error: &amp;quot; + str(ret_val))
Exception: cmake error: 1&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/thread/425379?ContentTypeID=1</link><pubDate>Fri, 12 May 2023 13:54:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ffae8a6-1113-414b-8d79-c411437c0695</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There&amp;#39;s a new feature to disable drift/pres compensation, and now it is merged to NCS main now.&lt;/p&gt;
&lt;p&gt;Please disable the following two configs (drift_comp and pres_comp) for a trial,&amp;nbsp;&lt;a style="font-family:inherit;" title="https://github.com/nrfconnect/sdk-nrf/blob/c9f46d54b472f66596b50dd09c392f5b067243c2/applications/nrf5340_audio/src/audio/audio_datapath.c#l943" href="https://github.com/nrfconnect/sdk-nrf/blob/c9f46d54b472f66596b50dd09c392f5b067243c2/applications/nrf5340_audio/src/audio/audio_datapath.c#L943" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/c9f46d54b472f66596b50dd09c392f5b067243c2/applications/nrf5340_audio/src/audio/audio_datapath.c#L943&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/thread/425173?ContentTypeID=1</link><pubDate>Thu, 11 May 2023 15:31:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:851fa99c-c70f-467b-8d50-c8314dea2fbf</guid><dc:creator>max.proskauer</dc:creator><description>&lt;p&gt;Hi Amanda! We&amp;#39;ve investigated a couple approaches and would like to try running the nRF as a follower. We know that this is not recommended and can result in audio degradation but we think its worth evaluating since the audio degradation may be acceptable for our application. I&amp;#39;ve attempted to implement the changes that you&amp;#39;ve indicated above but it does not appear to be working, I&amp;#39;m sure I&amp;#39;m just missing something.&lt;/p&gt;
&lt;p&gt;in src/modules/audio_i2s.c:41:&lt;/p&gt;
&lt;div style="background-color:#1e1e1e;color:#d4d4d4;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;static&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; &lt;/span&gt;&lt;span style="color:#4ec9b0;"&gt;nrfx_i2s_config_t&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; &lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;cfg&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; = {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#6a9955;"&gt;&amp;nbsp; &amp;nbsp; /* Pins are configured by pinctrl. */&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;skip_gpio_cfg&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; = &lt;/span&gt;&lt;span style="color:#569cd6;"&gt;true&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;skip_psel_cfg&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; = &lt;/span&gt;&lt;span style="color:#569cd6;"&gt;true&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;irq_priority&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; = &lt;/span&gt;&lt;span style="color:#569cd6;"&gt;DT_IRQ&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;(&lt;/span&gt;&lt;span style="color:#569cd6;"&gt;I2S_NL&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;, priority),&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;mode&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; = &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_MODE_SLAVE&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;format&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; = &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_FORMAT_ALIGNED&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;alignment&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; = &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_ALIGN_LEFT&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;ratio&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; = &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_RATIO_256X&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;mck_setup&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; = &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_MCK_DISABLED&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;sample_width&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; = &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_SWIDTH_16BIT_IN32BIT&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;channels&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; = &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_CHANNELS_STEREO&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;clksrc&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; = &lt;/span&gt;&lt;span style="color:#4fc1ff;"&gt;NRF_I2S_CLKSRC_PCLK32M&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;&amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;span style="color:#9cdcfe;"&gt;enable_bypass&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; = &lt;/span&gt;&lt;span style="color:#569cd6;"&gt;true&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The device we&amp;#39;re attempting to link with uses 16bit samples left aligned in 32bit wide frames&lt;/p&gt;
&lt;p&gt;Next, to disable the compensation mechanisms, I&amp;#39;ve commented out the call to&lt;/p&gt;
&lt;div style="background-color:#1e1e1e;color:#d4d4d4;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#dcdcaa;"&gt;audio_datapath_drift_compensation&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;(frame_start_ts);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;within src/audio/audio_datapath.c:699 which is the&lt;/p&gt;
&lt;div style="background-color:#1e1e1e;color:#d4d4d4;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#dcdcaa;"&gt;audio_datapath_i2s_blk_complete&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;function.&lt;/p&gt;
&lt;p&gt;This feels like the area I might be missing something. Any assistance would be greatly appreciated! Thanks!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set nRF5340 Audio DK as I2S slave over external bus</title><link>https://devzone.nordicsemi.com/thread/421855?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 20:23:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c89a7bcb-9e1e-4aff-ab63-f9c4876a8c1e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you set ADK as&amp;nbsp;&lt;span&gt;I2S slave, you may run into the issue as my colleague&amp;#39;s explanation in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/96100/clock-drift-with-gateway-i2s-slave/407155"&gt;this post&lt;/a&gt;.&amp;nbsp;It is strongly recommended to have nRF5340-gateway audio as I2S master, and your custom board can be I2S slave.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;It would be possible to configure the ADK as I2S slave, but we don&amp;#39;t have official support for this feature now. Enabling CONFIG_AUDIO_SOURCE_I2S only switches the audio source interface from USB to I2S since&amp;nbsp;that will break the drift/presentation compensation mechanism in the project. If you really want the nRF5340 gateway to run as the I2S slave (which we won&amp;#39;t recommend). You have&amp;nbsp;to modify the audio_datapath module to bypass all the compensation mechanisms, and also modify the audio_i2s module for turning the I2S from master into slave.&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>