<?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>nrf9160 I2S setting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72253/nrf9160-i2s-setting</link><description>I want to use I2S on nrf9160. I found some code on the its user manual and try to run in my project. But when the device is running, it always reboots. What other configuration I need to do? 
 This is my code. The code can be biult successfully but it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Mar 2021 14:03:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72253/nrf9160-i2s-setting" /><item><title>RE: nrf9160 I2S setting</title><link>https://devzone.nordicsemi.com/thread/297838?ContentTypeID=1</link><pubDate>Thu, 04 Mar 2021 14:03:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7895c162-a329-4d54-9e90-6ccc7d0d649e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Sorry, I meant spm.c, as linked in the reply I shared:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/60256/i2s-on-nrf9160/245191#245191"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/60256/i2s-on-nrf9160/245191#245191&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 I2S setting</title><link>https://devzone.nordicsemi.com/thread/297750?ContentTypeID=1</link><pubDate>Thu, 04 Mar 2021 11:01:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:715af634-45d6-4c90-856c-27b0c4577bfe</guid><dc:creator>xiao0528</dc:creator><description>&lt;p&gt;There is no spim.c file in the project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 I2S setting</title><link>https://devzone.nordicsemi.com/thread/297607?ContentTypeID=1</link><pubDate>Wed, 03 Mar 2021 17:12:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f9bdf62-b2f0-4981-8468-10d092b89531</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;But are you sure that you have added&amp;nbsp;the following to spim.c?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#ifdef NRF_I2S
		PERIPH(&amp;quot;NRF_I2S&amp;quot;, NRF_I2S, 1),
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This code is required to ensure that the I2S is accessible in the non-secure application, else it will only be accessible in the secure domain.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Btw, you are using a very old NCS release, the latest is v1.5. I recommend to update if possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 I2S setting</title><link>https://devzone.nordicsemi.com/thread/297570?ContentTypeID=1</link><pubDate>Wed, 03 Mar 2021 14:53:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa44923d-655c-4178-aa7b-56d457d92b83</guid><dc:creator>xiao0528</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;I have looked that case. The condition is different.&amp;nbsp;&lt;span&gt;I don&amp;#39;t use the Zephyr file, I am using the code in the user manual.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I have also tried the code in the Zephyr I2S api, it doesn&amp;#39;t work. I use ncs 1.2.0 and the path of i2s is&amp;nbsp;ncs\zephyr\tests\drivers\i2s. There are two projects i2s_api and i2s_speed. I can run the i2s_speed but the i2s_api doesn&amp;#39;t work rightly. It always has error in this part.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1614783208416v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 I2S setting</title><link>https://devzone.nordicsemi.com/thread/297525?ContentTypeID=1</link><pubDate>Wed, 03 Mar 2021 13:28:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43ed78a8-006c-4576-abf5-07c6cf2e91e9</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Try to take a look at this case:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/60256/i2s-on-nrf9160/245191#245191"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/60256/i2s-on-nrf9160/245191#245191&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I suspect it&amp;#39;s related to either of those comments.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>