<?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>I want to change the I2S bit width to 24 bits.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113136/i-want-to-change-the-i2s-bit-width-to-24-bits</link><description>Currently, the nRF5340 Audio is set up and running as follows: In CIS mode, the audio source is I2S 
 Gateway side: nRF5340 Audio DK I2S settings are default Headset side: custom board I2S settings are as follows static nrfx_i2s_config_t cfg = { .skip_gpio_cfg</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Jul 2024 14:42:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113136/i-want-to-change-the-i2s-bit-width-to-24-bits" /><item><title>RE: I want to change the I2S bit width to 24 bits.</title><link>https://devzone.nordicsemi.com/thread/494848?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2024 14:42:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1273c63-0aa3-4a82-a1a2-1851e5a2c5d4</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m expanding a little on what Turbo J wrote.&lt;/p&gt;
&lt;p&gt;The I2S configuration is validated with the &lt;a href="https://github.com/zephyrproject-rtos/hal_nordic/blob/master/nrfx/drivers/src/nrfx_i2s.c#L176"&gt;validate_config&lt;/a&gt;() function and will return false if the MCK/LRCK ratio is not a multiple of 2*sample width. Since the sample width is 24 bit, the ratio needs to be 48, 96, 192, or 384.&lt;/p&gt;
&lt;p&gt;For now only &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/applications/nrf5340_audio/src/modules/audio_i2s.c#L53-L59"&gt;bitdepths of 16 and 24&lt;/a&gt; are supported.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to change the I2S bit width to 24 bits.</title><link>https://devzone.nordicsemi.com/thread/494309?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 10:06:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40975722-88f5-49f6-9b2b-576d15d1a643</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Might be PS chapter 7.15.5: &amp;quot;The MCK/LRCK ratio shall be a multiple of 2*CONFIG.SWIDTH&amp;quot;.&lt;/p&gt;
&lt;p&gt;Your 256x ratio is AFAIK not a multiple.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>