<?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>zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124720/zephyr-3-5-0-i2s-on-nrf52840</link><description>Hi. I have a new project using zephyr 3.5.0 and ZMK, so I don&amp;#39;t think NCS SDK is an option. I am using pca10056/nrf52840dk 
 I am trying to configure I2S, and the examples I&amp;#39;m seeing for the above toolchain are inconsistent. For starters I just want to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Oct 2025 22:28:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124720/zephyr-3-5-0-i2s-on-nrf52840" /><item><title>RE: zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/thread/551496?ContentTypeID=1</link><pubDate>Tue, 14 Oct 2025 22:28:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a85465c7-5167-4b81-a560-60254d4747bc</guid><dc:creator>ms360</dc:creator><description>&lt;p&gt;Elfving, My Salae logic analyzer was damaged.&amp;nbsp;&lt;br /&gt;The hexfiles are working and all 4 i2s lines are working.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/thread/551470?ContentTypeID=1</link><pubDate>Tue, 14 Oct 2025 15:03:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fff2782-46c9-4f80-a476-f718b9acd87c</guid><dc:creator>ms360</dc:creator><description>&lt;p&gt;&lt;span style="font-family:inherit;"&gt;1817.zephyr.hex only shows me LRCLK and SDOUT. Same failure mode.&amp;nbsp;&lt;br /&gt;What are the chances I have 2 faulty PCA10056 PCBS?&amp;nbsp;&lt;br /&gt;The blinky test proved those pins are working.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;I&amp;#39;ll send him my hex file. good call.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/thread/551380?ContentTypeID=1</link><pubDate>Tue, 14 Oct 2025 09:19:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e67ddfbf-b7c0-4699-a6cd-c458f0679ecb</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1817.zephyr.hex"&gt;devzone.nordicsemi.com/.../1817.zephyr.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Have you tried sending him your hex file? The only thing I can imagine being wrong then is the sw on your side/build environment.&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: zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/thread/551296?ContentTypeID=1</link><pubDate>Mon, 13 Oct 2025 14:10:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:971e2b7b-8d8c-4a7d-9177-40b451ceef0d</guid><dc:creator>ms360</dc:creator><description>&lt;p&gt;you mentioned you had an i2s build with some pins wiggling.&lt;br /&gt;The aforementioned build from a colleague is working for him, but he sent me the same hexfile and it does NOT work for me.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/thread/551159?ContentTypeID=1</link><pubDate>Fri, 10 Oct 2025 15:51:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a16cdd62-57c3-489a-98bc-7c9d10e3f15c</guid><dc:creator>ms360</dc:creator><description>&lt;p&gt;looking good.&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/pastedimage1760111493511v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;can I try your i2s build?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/thread/551103?ContentTypeID=1</link><pubDate>Fri, 10 Oct 2025 11:08:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baba2f27-b8a1-4cff-93df-a12bc4c7f0e8</guid><dc:creator>Elfving</dc:creator><description>[quote user="ms360"]&lt;p&gt;Thanks Elfving. That didn&amp;#39;t make a difference.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Hahah alright. Sorry about that.&lt;/p&gt;
[quote user="ms360"]However my colleague was able to get all four lines working in the ZMK tree. [/quote]
&lt;p&gt;I am&amp;nbsp;a bit surprised though because I believe that did get some wiggling on my side. Are you able to get Blinky working on those pins, using eg this&amp;nbsp;hex?&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5466.zephyr.hex"&gt;devzone.nordicsemi.com/.../5466.zephyr.hex&lt;/a&gt;&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: zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/thread/551040?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2025 16:54:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36ba4c33-67cb-4f6e-bbb3-eda941c456c4</guid><dc:creator>ms360</dc:creator><description>&lt;p&gt;Thanks Elfving. That didn&amp;#39;t make a difference.&lt;/p&gt;
&lt;p&gt;However my colleague was able to get all four lines working in the ZMK tree. I pulled that and ran it on my fresh dev kit and still not seeing it wiggle. I have a brand new v3.0.3 PCA10056 and just double checked those pins and don&amp;#39;t see any solder bridges on those pins&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/thread/551022?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2025 13:36:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21c12d51-045a-4aa0-9834-5642845f1862</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Trying this myself now I see that there are seemingly some overlapping assignments, not sure how I didn&amp;#39;t see this earlier. Are you seeing this on your side as well? And could you try either deleting or moving the spi pins?&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/pastedimage1760016716814v1.png" alt=" " /&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/pastedimage1760016759689v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Eg. add this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi1 {
    status = &amp;quot;disabled&amp;quot;;
};&lt;/pre&gt;&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: zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/thread/550945?ContentTypeID=1</link><pubDate>Wed, 08 Oct 2025 18:30:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbb1baf2-765e-4e4c-9579-9f39fe0f631c</guid><dc:creator>ms360</dc:creator><description>&lt;p&gt;I just tried this on a fresh dev kit to rule out any hardware damage, and got the same result.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/thread/550849?ContentTypeID=1</link><pubDate>Tue, 07 Oct 2025 22:22:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10fe6858-0d19-4cd3-a4d3-5888bb5342a7</guid><dc:creator>ms360</dc:creator><description>&lt;p&gt;I thought I saw an i2s loopback example somewhere but that may have been nrf sdk. Do you have any suggestions of something to try that doesn&amp;#39;t require a codec/shield?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/thread/550828?ContentTypeID=1</link><pubDate>Tue, 07 Oct 2025 14:21:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d73e1ef3-0aa6-424c-913b-decce2ecf341</guid><dc:creator>ms360</dc:creator><description>&lt;p&gt;I thought the same things.&amp;nbsp;&lt;br /&gt;I&amp;#39;m using ncs v3.1.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/thread/550768?ContentTypeID=1</link><pubDate>Tue, 07 Oct 2025 07:42:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:344b9d0c-1463-426e-8d13-4c9b34f76068</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;There are two obvious things that could be at fault here that comes to mind. One would be if you chose pins that were assigned to something else in the HW of the DK, and would maybe need to cut a SB to fix that (you can find these pins in the table underneath the DK). Another would be if you assigned another peripheral to the same pins.&amp;nbsp;I am not seeing neither of this being at fault here.&lt;/p&gt;
&lt;p&gt;What NCS version were you using btw?&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: zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/thread/550747?ContentTypeID=1</link><pubDate>Mon, 06 Oct 2025 23:29:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:246a33a5-2368-47d0-a633-8d2ecea81564</guid><dc:creator>ms360</dc:creator><description>&lt;p&gt;yeah I just tried with NCS. same result. Only LRCK and SDOUT are wiggling on the logic analyzer. I attached my project.&amp;nbsp;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ncs_5F00_i2s_5F00_test.zip"&gt;devzone.nordicsemi.com/.../ncs_5F00_i2s_5F00_test.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/thread/550373?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2025 13:44:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32455ed5-a7fc-40b6-b525-d0d07c008579</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Hi. I have a new project using zephyr 3.5.0 and ZMK, so I don&amp;#39;t think NCS SDK is an option.&amp;nbsp;&lt;br /&gt;[/quote]
&lt;p&gt;No if you need that then I guess not. I am not that familiar with ZMK, and since you&amp;#39;re not able to use NCS here either I think you might be able to get more support in &lt;a href="https://discord.com/invite/Ck7jw53nU2"&gt;the Zephyr Discord&lt;/a&gt;&amp;nbsp;group. A quick search &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/80225/integrating-nrf-connect-sdk-and-zmk-zephyr-based-keybaord-app/332368"&gt;here shows me that&lt;/a&gt; people might&amp;#39;ve asked there for help with this before.&lt;/p&gt;
[quote user=""]&lt;p&gt;I am trying to configure I2S, and the examples I&amp;#39;m seeing for the above toolchain are inconsistent.&amp;nbsp;&lt;br /&gt;For starters I just want to see MCK, SCK, LRCK and SDOUT on the logic analyzer before managing buffering.&amp;nbsp;&lt;br /&gt;I am obviously not a zephyr pro, I&amp;#39;ve used it twice before for brief projects.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;I also feel forced to mention that using a supported NCS version, and&amp;nbsp;trying the courses in our DevAcademy is a great starting point if you are somewhat new. Though this doesn&amp;#39;t really get you what you are trying to do here. We do offer other frameworks like &lt;a href="https://www.nordicsemi.com/Products/Reference-designs/nRF-Desktop"&gt;nRF Desktop&lt;/a&gt; and &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/caf/buttons.html"&gt;CAF&lt;/a&gt;, but I guess we haven&amp;#39;t gotten to ZMK yet.&lt;/p&gt;
[quote user=""]&lt;p&gt;&lt;/p&gt;
&lt;p&gt;eg - I try the following, but I only see LRCK and SDOUT on the logic analyzer. &lt;br /&gt;I had MCK working at one point but have lost that configuration with trial and error.&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;code&gt;&lt;span&gt;i2s0_default:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;i2s0_default&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;group1&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;psels&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;/span&gt;&lt;span&gt;NRF_PSEL&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;I2S_MCK&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;28&lt;/span&gt;&lt;span&gt;)&amp;gt;, &lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span&gt;NRF_PSEL&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;I2S_SCK_M&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;30&lt;/span&gt;&lt;span&gt;)&amp;gt;, &lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span&gt;NRF_PSEL&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;I2S_LRCK_M&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;29&lt;/span&gt;&lt;span&gt;)&amp;gt;, &lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span&gt;NRF_PSEL&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;I2S_SDOUT&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;31&lt;/span&gt;&lt;span&gt;)&amp;gt;;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;&amp;nbsp;};&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;When it comes to this problem, are you seeing it on NCS versions as well?&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: zephyr 3.5.0 I2S on nrf52840</title><link>https://devzone.nordicsemi.com/thread/550272?ContentTypeID=1</link><pubDate>Tue, 30 Sep 2025 23:46:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0593fb0b-0fa4-4481-bc44-a6d89681b62e</guid><dc:creator>ms360</dc:creator><description>&lt;p&gt;This is my nrf52840dk_nrf52840.overlay&lt;br /&gt;With the above code, SDOUT and LRCLK_M look great, but I cannot see SCK_M or MCK.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {

};

&amp;amp;i2c1 {
    status = &amp;quot;okay&amp;quot;;
    compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
    pinctrl-0 = &amp;lt;&amp;amp;i2c1_default&amp;gt;;    

    tas2110_i2c: tas2110_i2c@48 {
        compatible = &amp;quot;i2c-device&amp;quot;;
        reg = &amp;lt;0x48&amp;gt;;
        status = &amp;quot;okay&amp;quot;;
    };
};

&amp;amp;i2s0 {
    compatible = &amp;quot;nordic,nrf-i2s&amp;quot;;
    status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;i2s0_default&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;;
};

&amp;amp;pinctrl {
    i2c1_default: i2c1_default {
        group1 {
            psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 26)&amp;gt;, // P0.26 for SDA
                    &amp;lt;NRF_PSEL(TWIM_SCL, 0, 27)&amp;gt;; // P0.27 for SCL
        };
    };
    i2s0_default: i2s0_default {
        group1 {
            psels = &amp;lt;NRF_PSEL(I2S_MCK, 0, 28)&amp;gt;, 
                    &amp;lt;NRF_PSEL(I2S_SCK_M, 0, 30)&amp;gt;, 
                    &amp;lt;NRF_PSEL(I2S_LRCK_M, 0, 29)&amp;gt;, 
                    &amp;lt;NRF_PSEL(I2S_SDOUT, 0, 31)&amp;gt;;
        };
    };
};
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>