<?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>Problems with I2S nordic drivers</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104550/problems-with-i2s-nordic-drivers</link><description>Hi, we are not able to find the problem in the code, which apparently is related with wrong buffering. Terminal doesn&amp;#39;t show any log or printk ouput, we just get this error while debugging: 
 cmd-param-changed,param=&amp;quot;pagination&amp;quot;,value=&amp;quot;off&amp;quot; idx_inc (buffer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Oct 2023 08:19:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104550/problems-with-i2s-nordic-drivers" /><item><title>RE: Problems with I2S nordic drivers</title><link>https://devzone.nordicsemi.com/thread/450227?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 08:19:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56d0453c-65f7-4bbd-967c-8fb7fa011875</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;That is excellent news. I will consider the ticket resolved then &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with I2S nordic drivers</title><link>https://devzone.nordicsemi.com/thread/450050?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 12:24:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5644d836-f4f1-4a7c-a45f-5fd4f5dadbfb</guid><dc:creator>Rafael Vidal</dc:creator><description>&lt;p&gt;thanks very much, this solved the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with I2S nordic drivers</title><link>https://devzone.nordicsemi.com/thread/449955?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 06:26:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67c76937-fec0-42f1-9ac9-c95bb64d6d3f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You don&amp;#39;t really need an overlay file when using the nrfx drivers, since these drivers don&amp;#39;t follow the standard Zephyr driver model. Setting the pins using the NRFX_I2S_DEFAULT_CONFIG macro should be sufficient.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To declare a pin on port 1 you just need to set bit 5 in the pin number, which is equivalent to adding 32.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As an example P1.04 would be 32 + 4 = 36&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with I2S nordic drivers</title><link>https://devzone.nordicsemi.com/thread/449915?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 18:50:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb985925-022a-48cf-a9b2-0710d2beca4e</guid><dc:creator>Joe Kane</dc:creator><description>&lt;p&gt;Add this to your config:&lt;/p&gt;
&lt;div style="background-color:#1f1f1f;color:#cccccc;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_I2S_LOG_LEVEL_DBG=y&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with I2S nordic drivers</title><link>https://devzone.nordicsemi.com/thread/449908?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 17:23:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78789582-c7c7-4b4a-bddd-db61b0150ca0</guid><dc:creator>Rafael Vidal</dc:creator><description>&lt;p&gt;Hi Ovrebekk, now the program does log and printk (which is a big step),and there are no errors, but no signal on pins. There is no Overlay file (it was when using non nordic I2S driver, and even the same result if they are included), and the lines of conf.prj are just attached, (SDK V2.4.2). By the way, how do you specify the port for the pins?&lt;/p&gt;
&lt;p&gt;thank you very much.&lt;/p&gt;
&lt;div style="background-color:#1f1f1f;color:#cccccc;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#6a9955;"&gt;#CONFIG_I2S=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_NRFX_I2S&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_PRINTK&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_FPU&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_NEWLIB_LIBC&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_NEWLIB_LIBC_FLOAT_PRINTF&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_CMSIS_DSP&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_CMSIS_DSP_COMPLEXMATH&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_LOG&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with I2S nordic drivers</title><link>https://devzone.nordicsemi.com/thread/449795?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 11:50:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13cf79b0-18d7-4c9b-802e-e515c3ebdf1a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Rafael&lt;/p&gt;
&lt;p&gt;Looking at your while loop in main it seems you never yield, which means other threads will not be able to run (such as the thread handling log output).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to add a sleep function to the end of your while loop and see if it works better?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For instance, just add:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;k_msleep(100);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with I2S nordic drivers</title><link>https://devzone.nordicsemi.com/thread/449733?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 08:51:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dc674f2-dc80-4251-a0ab-89136dbc9475</guid><dc:creator>Rafael Vidal</dc:creator><description>&lt;p&gt;Question: Is required to do something related Non Secure mode when working with I2S nordic drivers? we are working with nrf5340&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>