<?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 can&amp;#39;t use the I2S in nRF52840 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112410/i-can-t-use-the-i2s-in-nrf52840-dk</link><description>I can&amp;#39;t use the I2S api and I2S function in code the compiler says undefined Module , and when i checked the devicetree file there in no definition for the i2s devices</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Jun 2024 12:21:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112410/i-can-t-use-the-i2s-in-nrf52840-dk" /><item><title>RE: I can't use the I2S in nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/490273?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 12:21:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:658f689b-ec40-48f5-acec-1c0e46df513f</guid><dc:creator>AHaug</dc:creator><description>&lt;div&gt;Please have a look at either of these.&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;The&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/drivers/i2s/output/README.html#overview" rel="noopener noreferrer" target="_blank"&gt;I2S Output Sample&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;demonstrates how to use an I2S driver to send an output stream of audio data. The sample sends a short burst of audio data, consisting of a sine wave.&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;The&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/boards/96b_argonkey/microphone/README.html#overview" rel="noopener noreferrer" target="_blank"&gt;ArgonKey Board Microphone Sample&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;provides an example of how to acquire audio through the on-board MP34DT05 microphone. The microphone generates a PDM stream which is acquired through I2S.&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;The&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/drivers/i2s/echo/README.html#overview" rel="noopener noreferrer" target="_blank"&gt;I2S Echo Sample&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;demonstrates how to use an I2S driver in a simple processing of an audio stream. It configures and starts both the RX and TX streams and then mixes the original signal with its delayed form that is buffered, providing a simple echo effect.&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;The&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/shields/x_nucleo_iks02a1/microphone/README.html#overview" rel="noopener noreferrer" target="_blank"&gt;X-NUCLEO-IKS02A1 Shield - MEMS Microphone Sample&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;provides an example of how to acquire audio through the digital MEMS microphone on X-NUCLEO-IKS02A1 shield. The microphone generates a PDM stream which is acquired through I2S.&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;Please refer to the respective links for more detailed information on each sample.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Kind regards,&lt;br /&gt;Andreas&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can't use the I2S in nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/490202?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 09:22:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed26e697-2813-49d4-b7d5-4a1069fe700f</guid><dc:creator>RaviPaswan</dc:creator><description>&lt;p&gt;I understand but still&amp;nbsp;&lt;em&gt;I can&amp;#39;t use the I2S device, if you have simple application which taken the data from an I2S mic and Store it in a buffer Please give me the link , I&amp;#39;d be so thankful to you&amp;nbsp;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can't use the I2S in nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/490172?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 08:39:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e87f03d-83f5-4dc3-a4d1-9dd754c85542</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I see from your previous case that you have already found the academy course, but here&amp;#39;s some information anyways:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a couple of getting started resources that I recommend everyone who&amp;#39;s getting started with NCS and Zephyr to go through:&lt;/p&gt;
&lt;p&gt;The Academy pages has a fundamentals course and an intermediate course which are great for understanding and familiarizing yourself with various topics:&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/&lt;/a&gt;.&amp;nbsp;Specially go through lesson 2 and 3 in the fundamentals course which targets Devicetree, overlays and how to add your own nodes.&lt;/p&gt;
&lt;p&gt;All of the courses and lessons contains theory, links to our official documentation and samples/hands on exercises you can go through and use for learning.&lt;/p&gt;
[quote user=""]I can&amp;#39;t use the I2S api and I2S function in code the compiler says undefined Module , and when i checked the devicetree file there in no definition for the i2s devices[/quote]
&lt;p&gt;As you&amp;#39;ve already stated, you need to create and initialize this device for you to be able to use it. Please go&amp;nbsp;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;&lt;em&gt;thoroughly&lt;/em&gt; &lt;/strong&gt;&lt;/span&gt;through the courses I linked you.&lt;/p&gt;
&lt;p&gt;Another tips for you for later queries is also to give more information regarding your issue, such as&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;What SDK and version of SDK are you using&lt;/li&gt;
&lt;li&gt;What boards you&amp;#39;re using&lt;/li&gt;
&lt;li&gt;Build error logs (use insert -&amp;gt; Code to upload &lt;span&gt;them to the ticket&lt;/span&gt;)&lt;/li&gt;
&lt;li&gt;Device logs&amp;nbsp;&lt;span&gt;(use insert -&amp;gt; Code to upload them to the ticket)&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>