<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DMA RX Buffer Not switching after PACKETS_PROCESSED parameter rollover. It resulted in Audio Dis in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-RX-Buffer-Not-switching-after-PACKETS-PROCESSED-parameter/m-p/2118508#M67643</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251633"&gt;@Shiva_Bhargav_Yalagonda&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for your post. I've noticed that you have another identical private case. I will focus on resolving your issues within that case. For any updated information, please feel free to reply to me in that private case.&lt;BR /&gt;Thank you for your understanding.&lt;/P&gt;
&lt;P&gt;BRs,&lt;/P&gt;
&lt;P&gt;Celeste&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jun 2025 11:02:07 GMT</pubDate>
    <dc:creator>Celeste_Liu</dc:creator>
    <dc:date>2025-06-18T11:02:07Z</dc:date>
    <item>
      <title>DMA RX Buffer Not switching after PACKETS_PROCESSED parameter rollover. It resulted in Audio Distort</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-RX-Buffer-Not-switching-after-PACKETS-PROCESSED-parameter/m-p/2116954#M67634</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Product/MCU:&lt;/STRONG&gt; MK70FN1M0XXX15&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Toolchain/RTOS:&lt;/STRONG&gt; MQX 4.2 RTOS with I2S (SAI) Driver.Received from Freescale as part of development)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue Summary&lt;/STRONG&gt;&lt;BR /&gt;We are experiencing severe audio distortion during long-duration of system up time when using the I2S (SAI) interface with DMA on MQX RTOS. After 7 days of system uptime, the audio from the device becomes distorted or robotic.&lt;/P&gt;&lt;P&gt;Source file: sai_dma_ksai.c.&lt;/P&gt;&lt;P&gt;Note that DMA used to read the voice sample at every 20ms and the size of the packet is 640 bytes( 160 sample in stereo mode, left side 160 sample and right 160samples)&lt;/P&gt;&lt;P&gt;Other information regarding the configurations used in the Software:&lt;/P&gt;&lt;P&gt;DMA buffer counter:4&lt;/P&gt;&lt;P&gt;Buffer size: 160.&lt;/P&gt;&lt;P&gt;IOCTL request to get the DMA buffer pointer: IO_IOCTL_I2S_GET_RX_STATISTICS&lt;/P&gt;&lt;P&gt;IOCTL request used to update the DMA buffer:IO_IOCTL_I2S_UPDATE_RX_STATUS ( We are doubting the issue could be due to PACKETS_PROCESSED%rx.size conditional check before performing the buffer switch)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;BR /&gt;Can NXP confirm if this is known issue in the current I2S SAI DMA driver in MQX?&lt;BR /&gt;If yes, what is the fix to resolve this issue? If a fix is available, provide the updated source file.&lt;BR /&gt;If not, investigate and provide a way to resolve the issue.&lt;BR /&gt;PFA zip file contains audio sample during the issue&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 12:19:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-RX-Buffer-Not-switching-after-PACKETS-PROCESSED-parameter/m-p/2116954#M67634</guid>
      <dc:creator>Shiva_Bhargav_Yalagonda</dc:creator>
      <dc:date>2025-06-16T12:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: DMA RX Buffer Not switching after PACKETS_PROCESSED parameter rollover. It resulted in Audio Dis</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-RX-Buffer-Not-switching-after-PACKETS-PROCESSED-parameter/m-p/2118508#M67643</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251633"&gt;@Shiva_Bhargav_Yalagonda&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for your post. I've noticed that you have another identical private case. I will focus on resolving your issues within that case. For any updated information, please feel free to reply to me in that private case.&lt;BR /&gt;Thank you for your understanding.&lt;/P&gt;
&lt;P&gt;BRs,&lt;/P&gt;
&lt;P&gt;Celeste&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 11:02:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-RX-Buffer-Not-switching-after-PACKETS-PROCESSED-parameter/m-p/2118508#M67643</guid>
      <dc:creator>Celeste_Liu</dc:creator>
      <dc:date>2025-06-18T11:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: DMA RX Buffer Not switching after PACKETS_PROCESSED parameter rollover. It resulted in Audio Dis</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-RX-Buffer-Not-switching-after-PACKETS-PROCESSED-parameter/m-p/2119391#M67648</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/237877"&gt;@Celeste_Liu&lt;/a&gt;&amp;nbsp; Ok sure&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 12:37:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-RX-Buffer-Not-switching-after-PACKETS-PROCESSED-parameter/m-p/2119391#M67648</guid>
      <dc:creator>Shiva_Bhargav_Yalagonda</dc:creator>
      <dc:date>2025-06-19T12:37:49Z</dc:date>
    </item>
  </channel>
</rss>

