<?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 add I2S configuration parameters based on Zephyr example?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122647/how-to-add-i2s-configuration-parameters-based-on-zephyr-example</link><description>Hi Friend, 
 I am using nRF54L15-DK,NCS2.9.1 to drive INMP441 to collect voice. I take the I2S_echo Zephyr example as base. I can found the config a s below but it doesn&amp;#39;t contain the like CONFIG.SWIDTH,CONFIG.ALIG which are very important for this deviece</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Jul 2025 11:46:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122647/how-to-add-i2s-configuration-parameters-based-on-zephyr-example" /><item><title>RE: How to add I2S configuration parameters based on Zephyr example?</title><link>https://devzone.nordicsemi.com/thread/541444?ContentTypeID=1</link><pubDate>Fri, 04 Jul 2025 11:46:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f61888e-7961-4af3-85d6-3057c3da6b00</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Unfortunately there doesn&amp;#39;t seem to be any available. We do have &lt;a href="https://github.com/siguhe/NCS_I2S_nrfx_driver_example"&gt;this old sample made by some summer students&lt;/a&gt;, though it is a bit old and there has been some &lt;a href="https://docs.nordicsemi.com/bundle/nrfx_3.12.0/page/md_c_h_a_n_g_e_l_o_g.html#autotoc_md37"&gt;API changes in nrfx that you need to take note of outlined here&lt;/a&gt;. There is also &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/75036/issues-interfacing-i2s-mp34dt05-with-nrf52840/309515"&gt;several discussions&lt;/a&gt; on how to use it available on DevZone. Could you give it a go, either by taking a look this sample, or other&amp;nbsp;posts on DevZone, and let me know if you run into issues?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add I2S configuration parameters based on Zephyr example?</title><link>https://devzone.nordicsemi.com/thread/541244?ContentTypeID=1</link><pubDate>Thu, 03 Jul 2025 03:50:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7786c2cf-4735-4e64-a73e-a89ef96c5c70</guid><dc:creator>hqiu</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;Thank you very much.&lt;/p&gt;
&lt;p&gt;I dig into the i2s_nrfx and found the parameters I need.&lt;/p&gt;
&lt;p&gt;Do you have some examples that could guide me how to use the nrfx driver under Zephyr framework? Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add I2S configuration parameters based on Zephyr example?</title><link>https://devzone.nordicsemi.com/thread/541188?ContentTypeID=1</link><pubDate>Wed, 02 Jul 2025 13:53:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e4b1cf6-f44d-4332-a983-b55f98cdf9fa</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Friend,&lt;/p&gt;
&lt;p&gt;You are right in that the zephyr API for i2s that is being used in this example doesn&amp;#39;t give you all these options. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/107025/technical-inquiry-about-configuring-i2s-mclk"&gt;This case with a coworker&lt;/a&gt; of mine might explain things better than I can, but when you want more control for the i2s peripheral it might be preferable to use the &lt;a href="https://docs.nordicsemi.com/bundle/nrfx-apis-latest/page/group_nrf_i2s.html"&gt;i2s nrfx&lt;/a&gt; driver instead of the standard zephyr one.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There are some &lt;a href="https://docs.nordicsemi.com/bundle/nrfx-apis-latest/page/nrfx_examples_desc.html"&gt;samples for nrfx&lt;/a&gt;, but doesn&amp;#39;t seem to be any for i2s. Having a look at these might still be helpful though, and otherwise ofcourse the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrfx-apis-latest/page/group_nrf_i2s.html"&gt;i2s nrfx&lt;/a&gt;&lt;span&gt;&amp;nbsp;driver documentation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add I2S configuration parameters based on Zephyr example?</title><link>https://devzone.nordicsemi.com/thread/541069?ContentTypeID=1</link><pubDate>Tue, 01 Jul 2025 15:29:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d116845-9fe2-48eb-b672-ada1aaa268bd</guid><dc:creator>hqiu</dc:creator><description>&lt;p&gt;Sorry, not clear for my description. I need use 24bitin32, but can&amp;#39;t use&lt;strong&gt;&lt;em&gt;&amp;nbsp;config.word_size&lt;/em&gt;&lt;/strong&gt; to define.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>