<?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>Help Needed: Resolving I2S RX Overrun Issue with nRF5340 Audio Application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110365/help-needed-resolving-i2s-rx-overrun-issue-with-nrf5340-audio-application</link><description>Hello, 
 I am dealing with a persistent I2S RX overrun issue in the nRF5340 audio application that is impacting data reception and disrupting communications between the gateway and headsets. I have provided logs below that illustrate the problem, and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Apr 2024 12:39:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110365/help-needed-resolving-i2s-rx-overrun-issue-with-nrf5340-audio-application" /><item><title>RE: Help Needed: Resolving I2S RX Overrun Issue with nRF5340 Audio Application</title><link>https://devzone.nordicsemi.com/thread/480209?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 12:39:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5dbb556-b3ab-4ead-8e19-79e66c5c1712</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Runqi,&lt;br /&gt;&lt;br /&gt;Thank you for your patience with this.&lt;/p&gt;
[quote user=""]&lt;p&gt;&lt;strong&gt;Modifications Made:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Adjustments have been made to the &lt;code&gt;sw_codec_select.c&lt;/code&gt; and &lt;code&gt;audio_system.c&lt;/code&gt; files.&lt;/li&gt;&lt;/ul&gt;[/quote]
&lt;p&gt;Which modifications have you made to these files, could you elaborate on the modifications themselves and the intentions behind them?&lt;/p&gt;
[quote user=""]&lt;strong&gt;Questions and Insights:&lt;/strong&gt; Is the I2S RX overrun issue potentially caused by the &lt;code&gt;sw_codec_encode&lt;/code&gt; function processing PCM data slower than I2S reads it? Could a mismatch in the data processing speed of the software codec and the I2S data read rate be the root cause of these overruns? I welcome any insights or experiences related to similar issues, especially any adjustments or configurations that have been effective in preventing I2S RX overrun.[/quote]
&lt;p&gt;A mismatch in the reading and encoder speed could indeed cause I2S over- and underruns.&lt;br /&gt;Are you working with the nRF5340 LE Audio DK, or custom hardware? In either case, which hardware codec are you using on your board, and have you made sure that your I2S configuration matches the hardware codec&amp;#39;s?&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></channel></rss>