<?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>How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104658/how-to-connect-external-3-3v-i-f-i2s-signal-to-nrf5340-audio-dk</link><description>Hello, devzone.nordicsemi.com/.../set-nrf5340-audio-dk-as-i2s-slave-over-external-bus Based on this post, I changed I2S to SLAVE setting. The external I2S I/F level is 3.3V. When OB/EXT is green, it is noisy when I2S of 3.3V I/F is connected to P5, but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Feb 2024 12:03:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104658/how-to-connect-external-3-3v-i-f-i2s-signal-to-nrf5340-audio-dk" /><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/467553?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2024 12:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1edf273-5f01-4e22-a02c-e5034972bccd</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again, MontBlanc&lt;br /&gt;&lt;br /&gt;Thank you for your&amp;nbsp;&lt;em&gt;extreme&lt;/em&gt; patience with this. An error has occured in our system with this ticket when it was assigned between engineers due to the holiday period, and so the request was incorrectly marked as resolved until I happened upon this ticket again manually. I am terribly sorry for the incredible time it has taken to get back to you about this.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="MontBlanc"]After reviewing the source code again and rewriting it, the sound now plays correctly.[/quote]
&lt;p&gt;I am glad to read that you were able to resolve the issues yourself in the time that has passed since we last spoke.&lt;br /&gt;Do you still require technical support with the remaining questions, or have you already found the answers you were looking for?&lt;br /&gt;Just in case, I reply to the previous questions, and I hope you will raise any other questions you might have encountered in the meantime as well.&lt;/p&gt;
[quote user="MontBlanc"]Referring to the post below, is the bitrate of LC3 default to 96kbps?[/quote]
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/ccafaf81fc0c98f66d5d3dcc4a19b7e7c8f9309d/applications/nrf5340_audio/src/audio/Kconfig#L222"&gt;The bitrate does indeed default to 96 kbps&lt;/a&gt;, you can however overwrite this configuration by setting this kconfig in your prj.conf instead.&lt;/p&gt;
[quote user="MontBlanc"]I would like to check the trade-off between delay and sound quality, but what should I do if I want to change the bitrate after changing to external I2S?[/quote]
&lt;p&gt;Which external hardware codec are you using, and what requirements does it have?&lt;br /&gt;You will likely have to re-configure your hardware codec when you change the parameters of the audio stream.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/461695?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 05:49:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8aa48ba-0e04-4f10-808a-944e9d46215c</guid><dc:creator>MontBlanc</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;After reviewing the source code again and rewriting it, the sound now plays correctly.&lt;br /&gt;Referring to the post below, is the bitrate of LC3 default to 96kbps?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/93934/range-of-config_lc3_bitrate"&gt;devzone.nordicsemi.com/.../range-of-config_lc3_bitrate&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m making the same changes, but the build doesn&amp;#39;t work.&lt;br /&gt;I would like to check the trade-off between delay and sound quality, but what should I do if I want to change the bitrate after changing to external I2S?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/458657?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2023 08:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fb4c5d7-1711-43f7-ad05-91930537a054</guid><dc:creator>MontBlanc</dc:creator><description>&lt;p&gt;In addition, the specifications of I2S are&lt;br /&gt;LRCK=48kHz&lt;br /&gt;BCLK=64Fs&lt;br /&gt;16bit I2S (Left alignment)&lt;br /&gt;is input to nrf5340 on the sending side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/458656?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2023 08:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83bb3cff-4420-4415-8b89-c2245af2df3c</guid><dc:creator>MontBlanc</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;CONFIG_TRANSPORT_BIS=y&amp;nbsp;was set extra.&lt;br /&gt;When this setting was removed, L/R monaural transmission was possible.&lt;br /&gt;The results are below.&lt;/p&gt;
&lt;p&gt;.format = NRF_I2S_FORMAT_I2S&lt;br /&gt;.alignment = NRF_I2S_ALIGN_LEFT&lt;/p&gt;
&lt;p&gt;.sample_wodth = NRF_I2S_SWIDTH_16BIT&lt;br /&gt;Lch Silent, Rch OK, No noise&lt;/p&gt;
&lt;p&gt;.sample_wodth = NRF_I2S_SWIDTH_16BIT_IN32BIT&lt;br /&gt;Lch Silent, Rch OK, No noise&lt;/p&gt;
&lt;p&gt;.sample_wodth = NRF_I2S_SWIDTH_24BIT&lt;br /&gt;Lch OK, Rch Silent, small noise mixed&lt;/p&gt;
&lt;p&gt;.sample_wodth = NRF_I2S_SWIDTH_24BIT_IN32BIT&lt;br /&gt;Lch OK, Rch Silent, small noise mixed&lt;/p&gt;
&lt;p&gt;.sample_wodth = NRF_I2S_SWIDTH_32BIT&lt;br /&gt;Lch OK, Rch Silent, No noise&lt;/p&gt;
&lt;p&gt;I&amp;#39;d like to send and receive in stereo, but it&amp;#39;s not working.&lt;br /&gt;What should I fix?&lt;/p&gt;
&lt;p&gt;Best Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/457764?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 08:57:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed319ea4-2045-450a-bce9-db9c23c326a7</guid><dc:creator>MontBlanc</dc:creator><description>&lt;p&gt;&lt;br /&gt;I made the changes below.&lt;/p&gt;
&lt;p&gt;main.c&lt;br /&gt;#include &amp;lt;hal/nrf_gpio.h&amp;gt;&lt;/p&gt;
&lt;p&gt;and added&lt;br /&gt;nrf_gpio_cfg_output(21);&lt;br /&gt;nrf_gpio_pin_set(21);&lt;br /&gt;inside&lt;br /&gt;int main(void){}&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;audio_system.c&lt;br /&gt;&amp;quot;ret = hw_codec_init();&amp;quot;&lt;br /&gt;delete&lt;/p&gt;
&lt;p&gt;hw_codec.c&lt;br /&gt;Change all &amp;quot;return ret&amp;quot; in to &amp;quot;retuern 0&amp;quot;&lt;/p&gt;
&lt;p&gt;Are there any other changes?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;audio_i2s.c&lt;/p&gt;
&lt;p&gt;.mode = NRF_I2S_MODE_SLAVE, // MODIFIED&lt;br /&gt;.format = NRF_I2S_FORMAT_ALIGNED, // MODIFIED&lt;br /&gt;.alignment = NRF_I2S_ALIGN_LEFT,&lt;br /&gt;.ratio = NRF_I2S_RATIO_256X, // MODIFIED&lt;br /&gt;.mck_setup = NRF_I2S_MCK_DISABLED, //0x66666000, MODIFIED&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/457155?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2023 12:12:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b740214-e592-4d8a-bae5-303b2b9b49f7</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Thank you for your extreme patience with this, and for the clarifications.&lt;/p&gt;
[quote user="MontBlanc"]nrf5340-audio-dk RX(Right) - I2S(Rch audio is Lch packet) - External DAC(I2S MASTER) - Rch audio is output from Lch[/quote]
&lt;p&gt;Is the only issue here that the R channel audio is output from the L channel? Is the audio quality as expected, and equal to the audio output on the nRF5340-audio-dk RX(left) that is acting as the I2S master?&lt;/p&gt;
[quote user="MontBlanc"]I2S(L/R ch packet is incorrect) - External DAC(I2S MASTER) - L/R ch audio is output from L/R ch, However, the sound is mechanical[/quote]
&lt;p&gt;Are you here configuring the headset device to be an I2S slave to the External DAC as the I2S master? In this case, I would assume that the output could be distorted since the nRF5340 is not in control of the I2S interface, and so it can not adjust the frequency of the MCLK to compensate for the drift in the reception timestamp.&lt;br /&gt;Could you share some of your implementation here, so that I can take a look at how you are handling the packet reception and output?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/454802?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2023 23:52:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a886494b-db05-4fa9-8b05-78a3b2258d29</guid><dc:creator>MontBlanc</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;span&gt;The environment I tried is as follows.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Environment of external CODEC without using nrf5340&lt;br /&gt; External HOST(I2S SLAVE) - I2S(L/R) - External DAC(I2S MASTER) - L/R ch audio is output from L/R ch&lt;/p&gt;
&lt;p&gt;Customized nrf5340 software for external CODEC&lt;br /&gt; External HOST(I2S SLAVE) - I2S(L/R) - nrf5340-audio-dk TX - nrf5340-audio-dk RX(Left) - I2S(Lch) - External DAC(I2S MASTER) - Lch audio is output from Lch&lt;br /&gt; |&lt;br /&gt; - nrf5340-audio-dk RX(Right) - I2S(Rch audio is Lch packet) - External DAC(I2S MASTER) - Rch audio is output from Lch&lt;/p&gt;
&lt;p&gt;Environment where I tried to send/receive L/Rch this time&lt;br /&gt; External HOST(I2S SLAVE) - I2S(L/R) - nrf5340-audio-dk TX - nrf5340-audio-dk RX - I2S(L/R ch packet is incorrect) - External DAC(I2S MASTER) - L/R ch audio is output from L/R ch, However, the sound is mechanical&lt;/p&gt;
&lt;p&gt;Best Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/454679?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2023 13:12:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fabe95b-d486-48e6-904c-81d7a1eb8bd9</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="MontBlanc"]Thank you for answering.[/quote]
&lt;p&gt;No problem at all, I am happy to help! :)&lt;/p&gt;
[quote user="MontBlanc"]Confirmed that the sound is played correctly in external I2S SLAVE mode with v2.4.0,&lt;br /&gt;After that, I implemented all the changes you suggested.[/quote]
&lt;p&gt;Does this mean that you verified the audio going into the nRF5340 (i.e verified that your external codec provided the correct audio to the nRF), or does it mean that you were able to hear the stereo audio correctly through the LE Audio link when you used the referenced branch as provided, prior to any changes?&lt;/p&gt;
[quote user="MontBlanc"]The result is an interrupted mechanical sound that is linked to the played sound.[/quote]
&lt;p&gt;If there are glitches on top of the received audio then there is a chance that something has gone wrong in the handling of the received audio frames.&lt;br /&gt;Could you elaborate further on the question above, so that I better can understand the issue you&amp;#39;re seeing?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/454590?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2023 08:23:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37800091-a5da-4c79-8f10-03e7fbba7a7e</guid><dc:creator>MontBlanc</dc:creator><description>&lt;p&gt;Hello, Karl.&lt;/p&gt;
&lt;p&gt;Thank you for answering.&lt;/p&gt;
&lt;p&gt;Confirmed that the sound is played correctly in external I2S SLAVE mode with v2.4.0,&lt;br /&gt;After that, I implemented all the changes you suggested.&lt;/p&gt;
&lt;p&gt;The result is an interrupted mechanical sound that is linked to the played sound.&lt;br /&gt;When there is no sound, there is no sound.&lt;br /&gt;It seems that I2S transmission and reception are not being performed correctly.&lt;/p&gt;
&lt;p&gt;If only prj.conf is restored to the original external I2S settings, the audio will be played in monaural with the correct sound.&lt;/p&gt;
&lt;p&gt;Therefore, we assume that there is a problem somewhere in the processing branched at HEADSET.&lt;br /&gt;Don&amp;#39;t you know what the reason is?&lt;/p&gt;
&lt;p&gt;Best Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/454258?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 14:59:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:162dcb57-1f43-4ac5-9941-5208bbbebd1a</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;br /&gt;&lt;br /&gt;Thank you for your patience with this.&lt;br /&gt;&lt;a href="https://github.com/rick1082/sdk-nrf/commit/705b532c9e16dcc59f68918d4d8eb69c6228749c"&gt;Please have a look at this sample based on v2.4.0 as a reference to see the necessary changes to make it a stereo demo&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/453606?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 02:23:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e5193d2-6732-4b5b-8b44-12d102404ce9</guid><dc:creator>MontBlanc</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;The latest version when I started working on it was v2.4.2.&lt;/span&gt;&lt;/span&gt;&lt;span class="jCAhz"&gt;&lt;span class="ryNqvb"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;Since the current latest version is v2.5.0, I will make the same modifications here and try external I2S connection.&lt;/span&gt;&lt;/span&gt;&lt;span class="jCAhz"&gt;&lt;span class="ryNqvb"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;Please check the modifications to the stereo conversion source code in v2.5.0.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/453507?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2023 12:54:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3836b99b-4406-4e58-84b6-8174dbfff172</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Thank you for your extreme patience with this.&lt;/p&gt;
[quote user="MontBlanc"]Modifying the source code to use external I2S in v2.4.2 worked fine.&lt;br /&gt;I modified the source code to use external I2S in v2.2.0 using the same procedure, but noise is always output to I2S DATA. (At this time, I have not yet modified the source code to make it stereo.)&lt;br /&gt;&lt;br /&gt;I want to send and receive external I2S in stereo with v2.4.2.[/quote]
&lt;p&gt;I understand this to mean that it is working to&amp;nbsp;sending and receiving external I2S stereo audio in v2.4.2, is this correct?&lt;br /&gt;If not, could you elaborate and clarify on the issues you are currently facing with this approach using v2.4.2?&lt;br /&gt;&lt;br /&gt;Is there any reason why you would like to use the nRF Connect SDK v2.2.0 instead of v2.4.2? Many new features and improvements have been added in between these releases, and now the v2.5.0 is also out - I would recommend upgrading to, and using, the latest nRF Connect SDK version whenever possible.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/452385?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 00:14:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfd6c517-7ce9-42c2-b598-6750915ad1d4</guid><dc:creator>MontBlanc</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Modifying the source code to use external I2S in v2.4.2 worked fine.&lt;br /&gt;I modified the source code to use external I2S in v2.2.0 using the same procedure, but noise is always output to I2S DATA. (At this time, I have not yet modified the source code to make it stereo.)&lt;br /&gt;&lt;br /&gt;I want to send and receive external I2S in stereo with v2.4.2.&lt;br /&gt;The link you received is the source code of audio_datapath.c, but are there any other parts that need to be modified?&lt;/p&gt;
&lt;p&gt;Best Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/452316?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 14:21:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50737dc7-abe0-4e80-8289-0c52be3999c4</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="MontBlanc"]Based on the comments I received, I branched with an if statement, built and flashed at the same time, and was able to send and receive beautiful sound between external I2S.&lt;br /&gt;thank you very much.[/quote]
&lt;p&gt;No problem at all - I am glad to hear that the issue was resolved! :)&amp;nbsp;&lt;/p&gt;
[quote user="MontBlanc"]Now, as a next step, I want to send stereo.&lt;br /&gt;The I2S of nrf5340 on the RX side currently only outputs Lch.&lt;br /&gt;Could you please tell me where to modify the source code for stereo transmission?&lt;br /&gt;I&amp;#39;m using v2.4.2.&lt;br /&gt;I tried to refer to the post below, but the version is too old and the corrections are different.[/quote]
&lt;p&gt;Let me take a look at what changes are necessary here and get back to you. My initial guess would be that this&amp;nbsp;primarily would require some changes to &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/applications/nrf5340_audio/src/audio/audio_datapath.c"&gt;the I2S initialization in the audio_datapath&lt;/a&gt;.&lt;/p&gt;
[quote user="MontBlanc"]I also tried to include the same fix for external I2S in this version, but unfortunately the I2S DATA on the RX side had periodic pulses and was full of noise.&lt;br /&gt;Therefore, could you please tell me what has been fixed in the new version?[/quote]
&lt;p&gt;Do I understand you correctly that you upgraded the version to nRF Connect SDK v2.4.2, which broke the external codec/I2S functionality?&lt;br /&gt;If so, could you clarify which nRF Connect SDK version you were working on prior to the upgrade, and whether or not you upgraded your application, or &amp;#39;remade&amp;#39; it entirely in the v2.4.2?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/451907?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 08:37:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74ffdff0-abee-4238-bb48-c6e161d37efc</guid><dc:creator>MontBlanc</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Based on the comments I received, I branched with an if statement, built and flashed at the same time, and was able to send and receive beautiful sound between external I2S.&lt;br /&gt;thank you very much.&lt;br /&gt;At that time, I found out that P5 and P10 can be connected either way, and that the DIN-DOUT is reversed for P5 and P10.&lt;/p&gt;
&lt;p&gt;Now, as a next step, I want to send stereo.&lt;br /&gt;The I2S of nrf5340 on the RX side currently only outputs Lch.&lt;br /&gt;Could you please tell me where to modify the source code for stereo transmission?&lt;br /&gt;I&amp;#39;m using v2.4.2.&lt;br /&gt;I tried to refer to the post below, but the version is too old and the corrections are different.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/92123/nrf5340-stereo-audio/387700"&gt;devzone.nordicsemi.com/.../387700&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I also tried to include the same fix for external I2S in this version, but unfortunately the I2S DATA on the RX side had periodic pulses and was full of noise.&lt;br /&gt;Therefore, could you please tell me what has been fixed in the new version?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/451512?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2023 12:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3fc6419-4d28-4d44-b842-1b86b0575498</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="MontBlanc"]I wrote this because I was not confident in changing the source code and thought there might be something missing.&lt;br /&gt;Does that mean that there are no mistakes in the changes made to the source code?[/quote]
&lt;p&gt;No worries - this is very helpful for me to know! :)&amp;nbsp;&lt;br /&gt;I am not quite sure about the last change you mention - changing all returns in hw_codec_init to 0 since you are not calling the function anymore - but other than that it looks alright to me.&lt;/p&gt;
[quote user="MontBlanc"]Modify the TX side and build and Flash the B source code only on the TX side. →Sound comes out on the RX side.&lt;br /&gt;Modify the TX side, build and Flash the C source code on the TX side. →There is no sound on the RX side because it is unclear whether the source code has been corrected.&lt;br /&gt;Modify the TX side, build and Flash the source code of A to the TX side. →No sound on the RX side (cause unknown)&lt;br /&gt;Build and Flash the source code of A for TX and RX at the same time. →Sound comes out on the RX side.[/quote]
&lt;p&gt;The default behavior of the nRF5340 LE Audio reference application in the headset configuration is to bond with the connected device, and only look for these devices again when it connects the next time. When you reprogram the gateway it will loose its bond information, and so when it attempts to connect to the headset device it will fail the key exchange which will cause the headset to terminate the connection.&lt;br /&gt;&lt;br /&gt;You should see this sequence in the logs from either of the devices.&lt;br /&gt;The easiest fix to this is to either make sure that both devices are flashed when you reprogram one of them, or to modify the application to not use bonding and to accept connections from any gateway device.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/450933?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2023 02:14:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8149d2e-3f1e-48f8-97e7-2986a926750e</guid><dc:creator>MontBlanc</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I wrote this because I was not confident in changing the source code and thought there might be something missing.&lt;br /&gt;Does that mean that there are no mistakes in the changes made to the source code?&lt;/p&gt;
&lt;p&gt;There is one more thing that I am not confident about, but as for the Build and Flash procedures.&lt;br /&gt;Build and Flash the source code of A on the TX(gateway) side and RX(Headset Left) side respectively. In this state, a sound will be heard.&lt;br /&gt;After that, Flash and Build will not be executed on the RX side.&lt;/p&gt;
&lt;p&gt;Modify the TX side and build and Flash the B source code only on the TX side. &amp;rarr;Sound comes out on the RX side.&lt;br /&gt;Modify the TX side, build and Flash the C source code on the TX side. &amp;rarr;There is no sound on the RX side because it is unclear whether the source code has been corrected.&lt;br /&gt;Modify the TX side, build and Flash the source code of A to the TX side. &amp;rarr;No sound on the RX side (cause unknown)&lt;br /&gt;Build and Flash the source code of A for TX and RX at the same time. &amp;rarr;Sound comes out on the RX side.&lt;/p&gt;
&lt;p&gt;In other words, if Flash and Build are repeated only on the TX side, the RX side may also be in an abnormal state.&lt;br /&gt;Are my Build and Flash procedures correct?&lt;br /&gt;Is it necessary to branch TX and RX using an if statement in the source code and build and flash them at the same time?&lt;/p&gt;
&lt;p&gt;Best Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/450910?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2023 18:32:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f180725-f375-4dc6-82ca-ec1be24c77b4</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="MontBlanc"]thank you for your reply.[/quote]
&lt;p&gt;No problem at all, I am happy to help! :)&amp;nbsp;&lt;/p&gt;
[quote user="MontBlanc"]I believe I have followed the steps below, but I may be missing something.[/quote]
&lt;p&gt;Your changes looks alright to me - How does your logs look with these changes, and what is it that goes wrong when you say &amp;#39;may be missing something&amp;#39;?&lt;br /&gt;&lt;br /&gt;Could you confirm which version of the nRF Connect SDK you are working wtih?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/450505?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 10:20:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:577c37f9-5fb9-469d-ac69-f878049bdb70</guid><dc:creator>MontBlanc</dc:creator><description>&lt;p&gt;Hello, thank you for your reply.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I believe I have followed the steps below, but I may be missing something.&lt;/span&gt;&lt;br /&gt;Actually, the LED on OB/EXT has changed to orange.&lt;/p&gt;
&lt;p&gt;Remove hw_codec_init() and all CS47L63 related code from the project&lt;br /&gt;This ay not be done correctly.&lt;/p&gt;
&lt;p&gt;main.c&lt;br /&gt;#include &amp;lt;hal/nrf_gpio.h&amp;gt;&lt;/p&gt;
&lt;p&gt;and added &lt;br /&gt;nrf_gpio_cfg_output(21);&lt;br /&gt;nrf_gpio_pin_set(21);&lt;br /&gt;inside &lt;br /&gt;int main(void){}&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;audio_system.c&lt;br /&gt;&amp;quot;ret = hw_codec_init();&amp;quot; &lt;br /&gt;delete&lt;/p&gt;
&lt;p&gt;hw_codec.c&lt;br /&gt;Change all &amp;quot;return ret&amp;quot; in to &amp;quot;retuern 0&amp;quot;&lt;/p&gt;
&lt;p&gt;Are there any other changes?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/450499?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 09:42:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86cdd9e4-489d-4bc6-91bb-dbd16ed81db1</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Just to aid my understanding so that I may best advice you, is your overall goal to interface the nRF5340 Audio DK with an external hardware codec that outputs I2S at 3.3V?&lt;/p&gt;
[quote user="MontBlanc"]Could you please give me detailed steps to use external hardware codec?[/quote]
&lt;p&gt;Please follow these steps to work with an external hardware codec:&lt;/p&gt;
&lt;p&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/8473.externalCodec.PNG" /&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect external 3.3V I/F I2S signal to nrf5340-audio-dk</title><link>https://devzone.nordicsemi.com/thread/450489?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 09:28:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68cc0916-dd60-49b1-aad9-e8a9911eb1ae</guid><dc:creator>MontBlanc</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;When connected to P5, I found that the output of CIRRUS&amp;#39;s CODEC collided with the external 3.3V I/F, causing the audio to be heard mixed with noise.&lt;br /&gt;With the P5 connection, even if the level shift is correct, noise (output from CIRRUS) will be mixed in the I2S DATA line and no sound will be produced.&lt;/p&gt;
&lt;p&gt;Also, I have connected the P10 to the 1.8V I/F I2S with a software setting that turns OB/EXT orange, but there is no sound.&lt;br /&gt;Could you please give me detailed steps to use external hardware codec?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>