<?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>nRF52840 I2S Zephyr / VS Code Example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83299/nrf52840-i2s-zephyr-vs-code-example</link><description>Hi, 
 I&amp;#39;m trying to find an example of using the I2S audio interface with the Zephyr RTOS on the nRF52840dk_nRF52840 development board or on an nRF52840 device in general. Is there an example somewhere? 
 If I2S is not supported through the Zephyr RTOS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Jan 2022 00:27:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83299/nrf52840-i2s-zephyr-vs-code-example" /><item><title>RE: nRF52840 I2S Zephyr / VS Code Example</title><link>https://devzone.nordicsemi.com/thread/345774?ContentTypeID=1</link><pubDate>Tue, 04 Jan 2022 00:27:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a6f4868-4b4e-416c-a9ed-9a28a3a2e193</guid><dc:creator>bikerglen</dc:creator><description>&lt;p&gt;Ah, perfect! I was using v1.7.1 I&amp;#39;ll install the latest nRF Connect SDK and give it another try! Thanks for the quick answer!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 I2S Zephyr / VS Code Example</title><link>https://devzone.nordicsemi.com/thread/345773?ContentTypeID=1</link><pubDate>Tue, 04 Jan 2022 00:23:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a43d460-57e4-46e9-865c-638eaf2d0d3d</guid><dc:creator>Simon</dc:creator><description>[quote user=""] Is there an example somewhere?[/quote]
&lt;p&gt;Check out these samples (use NCS v1.8.0):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/v2.7.0-ncs1/samples/drivers/i2s"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/v2.7.0-ncs1/samples/drivers/i2s&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As well as the i2s tests:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/v2.7.0-ncs1/tests/drivers/i2s"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/v2.7.0-ncs1/tests/drivers/i2s&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This bare metal sample is also worth taking a look at if you want to understand the i2s from the bottom up:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/andenore/NordicSnippets/blob/master/examples/i2s_master/main.c"&gt;https://github.com/andenore/NordicSnippets/blob/master/examples/i2s_master/main.c&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]If I2S is not supported through the Zephyr RTOS, is there a way to access the legacy I2S drivers for the nRF52840 from within the nRF SDK5 / Zephyr / VS Code development environment while still having access to the rest of the Zephyr OS for other uses?[/quote]
&lt;p&gt;&lt;span&gt;Support for the Nordic i2s using the Zephyr api was just added:&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/34251/commits"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/34251/commits&lt;/a&gt;&lt;span&gt;&amp;nbsp;(NCS v1.8.0), so there is no need to use the NRFX drivers.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 I2S Zephyr / VS Code Example</title><link>https://devzone.nordicsemi.com/thread/345769?ContentTypeID=1</link><pubDate>Mon, 03 Jan 2022 23:51:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80f3d90e-b3c7-4620-bd5b-2bf647312876</guid><dc:creator>bikerglen</dc:creator><description>&lt;p&gt;Make that nRF Connect rather than nRF SDK5.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>