<?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>S32K中的主题 DMA half major loop issue</title>
    <link>https://community.nxp.com/t5/S32K/DMA-half-major-loop-issue/m-p/2181292#M53283</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Hi,&lt;/STRONG&gt;&lt;BR /&gt;I’ve designed a setup where the DMA is triggered by a PIT every 25 µs to transfer data from one buffer to another. This happens 10 times per major loop, so the full major loop completes every 250 µs — which I can confirm using a logic analyzer.&lt;BR /&gt;&lt;BR /&gt;PIT--&amp;gt; DMA ---&amp;gt; major loop Interrupts&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I’m trying to configure the DMA to trigger an interrupt at &lt;STRONG&gt;half&lt;/STRONG&gt; the major loop interval (i.e., every 125 µs). However, the interrupt still only fires every 250 µs, as if the half-major loop interrupt feature isn’t working.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ayaz_0-1759849791163.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/359770i5F7127EFEE860872/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ayaz_0-1759849791163.png" alt="Ayaz_0-1759849791163.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To help investigate this, I’ve created an example project that you can look at. I’d appreciate your help in figuring out why the half-major loop interrupt isn’t triggering as expected.&lt;BR /&gt;Also, I have one more question:&lt;BR /&gt;&lt;STRONG&gt;What is the "End of Packet Signal" in the context of DMA, and how is it typically used?&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Oct 2025 15:11:53 GMT</pubDate>
    <dc:creator>Ayaz</dc:creator>
    <dc:date>2025-10-07T15:11:53Z</dc:date>
    <item>
      <title>DMA half major loop issue</title>
      <link>https://community.nxp.com/t5/S32K/DMA-half-major-loop-issue/m-p/2181292#M53283</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi,&lt;/STRONG&gt;&lt;BR /&gt;I’ve designed a setup where the DMA is triggered by a PIT every 25 µs to transfer data from one buffer to another. This happens 10 times per major loop, so the full major loop completes every 250 µs — which I can confirm using a logic analyzer.&lt;BR /&gt;&lt;BR /&gt;PIT--&amp;gt; DMA ---&amp;gt; major loop Interrupts&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I’m trying to configure the DMA to trigger an interrupt at &lt;STRONG&gt;half&lt;/STRONG&gt; the major loop interval (i.e., every 125 µs). However, the interrupt still only fires every 250 µs, as if the half-major loop interrupt feature isn’t working.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ayaz_0-1759849791163.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/359770i5F7127EFEE860872/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ayaz_0-1759849791163.png" alt="Ayaz_0-1759849791163.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To help investigate this, I’ve created an example project that you can look at. I’d appreciate your help in figuring out why the half-major loop interrupt isn’t triggering as expected.&lt;BR /&gt;Also, I have one more question:&lt;BR /&gt;&lt;STRONG&gt;What is the "End of Packet Signal" in the context of DMA, and how is it typically used?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 15:11:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/DMA-half-major-loop-issue/m-p/2181292#M53283</guid>
      <dc:creator>Ayaz</dc:creator>
      <dc:date>2025-10-07T15:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: DMA half major loop issue</title>
      <link>https://community.nxp.com/t5/S32K/DMA-half-major-loop-issue/m-p/2182841#M53347</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;if you have period trigger and enable DMA half major interrupt only, the fist trigger happens after half interval (125us) but subsequent interrupts will be triggered again at 250us rate. Enable both half major and major interrupts and you get interrupt each 125us.&lt;/P&gt;
&lt;P&gt;The "End of Packet Signal"&amp;nbsp;feature should be disabled, I think. Some discussion was done in&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio/Possible-bug-in-DMA-RTD-driver/td-p/1701972" target="_blank"&gt;https://community.nxp.com/t5/S32-Design-Studio/Possible-bug-in-DMA-RTD-driver/td-p/1701972&lt;/A&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 08:03:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/DMA-half-major-loop-issue/m-p/2182841#M53347</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-10-09T08:03:18Z</dc:date>
    </item>
  </channel>
</rss>

