<?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>Underruns with LE aduio application for nRF5340 with I2S and GPIOTE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107308/underruns-with-le-aduio-application-for-nrf5340-with-i2s-and-gpiote</link><description>Hello, 
 I&amp;#39;m trying to setup a GPIO signal to be toggled by the GPIOTE on I2S frame start event. 
 So, I added the following code to do such setup 
 
 The signal is toggled which is good, but it seems that it causing some sort of delays that causes underruns</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Jan 2024 14:00:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107308/underruns-with-le-aduio-application-for-nrf5340-with-i2s-and-gpiote" /><item><title>RE: Underruns with LE aduio application for nRF5340 with I2S and GPIOTE</title><link>https://devzone.nordicsemi.com/thread/464412?ContentTypeID=1</link><pubDate>Tue, 16 Jan 2024 14:00:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82fce2e9-b11a-449b-9898-3975974b3400</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Based on my discussion with developers, this does not seem to be a driver issue. The only concern expressed is your choice to use default NRFx priority. Maybe you do something there which could cause underruns.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Underruns with LE aduio application for nRF5340 with I2S and GPIOTE</title><link>https://devzone.nordicsemi.com/thread/464205?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2024 13:54:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b895fc9a-a17a-43d6-b7ea-e0a07a311585</guid><dc:creator>Ahmed Moheb</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;First of all, I appreciate your co-operation while trying to help with this, but I don&amp;#39;t see this helping.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not trying to avoid the underruns, so even if it doesn&amp;#39;t exist with the latest SDK, I won&amp;#39;t consider it solved as I&amp;#39;ve a complete application built arround SDK 2.4.0 and I&amp;#39;m not willing to migrate to another SDK version.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to find out what makes the GPIOTE module affects the runtime behavior of the application.&lt;/p&gt;
&lt;p&gt;Assigning a task to toggle an LED using the GPIOTE should not infulence the application behavior as it&amp;#39;s a H/W module that runs in the background independent of the CPU.&lt;/p&gt;
&lt;p&gt;So, I&amp;#39;m trying to figure out whether I&amp;#39;m using it in a wrong way, Is there a driver issue or what else.&lt;/p&gt;
&lt;p&gt;I hope you got my point and feel free to express what you think.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Underruns with LE aduio application for nRF5340 with I2S and GPIOTE</title><link>https://devzone.nordicsemi.com/thread/464187?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2024 13:20:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fc402b3-db47-40ec-ae09-326e9fc0aa63</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Thank you for providing the logs.&lt;br /&gt;&lt;br /&gt;Could you try your application using NCS v2.5.1 and provide the logs?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Underruns with LE aduio application for nRF5340 with I2S and GPIOTE</title><link>https://devzone.nordicsemi.com/thread/464053?ContentTypeID=1</link><pubDate>Sun, 14 Jan 2024 14:54:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27f04e50-cf24-4f0e-b284-5349f4a646aa</guid><dc:creator>Ahmed Moheb</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please find the&amp;nbsp;&lt;a href="https://1drv.ms/f/s!AhqYD_d089swywsi1bXYiEuWAo2U?e=if6WJx"&gt;Logs&lt;/a&gt;&amp;nbsp;demonstrating the issue&amp;nbsp;generated using SDK 2.4.0 and nRF5340 Audio DK.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Underruns with LE aduio application for nRF5340 with I2S and GPIOTE</title><link>https://devzone.nordicsemi.com/thread/463935?ContentTypeID=1</link><pubDate>Fri, 12 Jan 2024 09:23:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9b5b5d9-ce7d-4691-bdd6-932438583bda</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you share the application log?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Underruns with LE aduio application for nRF5340 with I2S and GPIOTE</title><link>https://devzone.nordicsemi.com/thread/463801?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2024 14:48:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3679586b-9e3b-4dc2-8892-ae2bcfee587c</guid><dc:creator>Ahmed Moheb</dc:creator><description>&lt;p&gt;I&amp;#39;m using the LE audio application sample included with the nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve inserted the code above in&amp;nbsp;src/modules/audio_sync_timer.c to hook the output pin to I2S start event using the GPIOTE to be able to monitor the pin using a logic analyzer.&lt;/p&gt;
&lt;p&gt;Actually, I wasn&amp;#39;t expecting any changes to the application performance as the GPIOTE module shouldn&amp;#39;t infulence the CPU but that wasn&amp;#39;t the case and I found some logs with underruns.&lt;/p&gt;
&lt;p&gt;Sorry, but I don&amp;#39;t have extra information to share about the underruns itself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Underruns with LE aduio application for nRF5340 with I2S and GPIOTE</title><link>https://devzone.nordicsemi.com/thread/463792?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2024 14:30:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32aadb46-9e76-4518-b7bb-fa2a2a8d0c2a</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you provide more information about the issue that you have? Getting more information about the underruns might be helpful.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>