<?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 Trigger the DMA by eMIOS periodically in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Trigger-the-DMA-by-eMIOS-periodically/m-p/2185837#M53541</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I’ve been working with the S32K344 and previously used &lt;STRONG&gt;PIT to periodically trigger DMA&lt;/STRONG&gt; transfers — specifically to move data from one buffer to another. This setup worked well.&lt;/P&gt;&lt;P&gt;Now, I’m trying to &lt;STRONG&gt;replace PIT with eMIOS&lt;/STRONG&gt; to periodically trigger the &lt;STRONG&gt;DMAMUX&lt;/STRONG&gt;, but I’m running into issues. I attempted to implement this using eMIOS in OPWMB mode to generate a periodic signal, expecting it to trigger the DMAMUX similarly to how PIT did. However, the DMA transfer doesn’t seem to be happening.&lt;/P&gt;&lt;P&gt;To help clarify my design and get support, I’ve created a &lt;STRONG&gt;minimal example project&lt;/STRONG&gt; that replicates the setup. It includes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;eMIOS configured for periodic output&lt;/LI&gt;&lt;LI&gt;DMAMUX and DMA setup to transfer data on trigger&lt;/LI&gt;&lt;LI&gt;A simple buffer-to-buffer transfer&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I’d really appreciate it if someone could take a look and help me identify what might be going wrong or suggest the correct configuration to make eMIOS trigger DMAMUX reliably.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Oct 2025 13:59:59 GMT</pubDate>
    <dc:creator>Ayaz</dc:creator>
    <dc:date>2025-10-14T13:59:59Z</dc:date>
    <item>
      <title>Trigger the DMA by eMIOS periodically</title>
      <link>https://community.nxp.com/t5/S32K/Trigger-the-DMA-by-eMIOS-periodically/m-p/2185837#M53541</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I’ve been working with the S32K344 and previously used &lt;STRONG&gt;PIT to periodically trigger DMA&lt;/STRONG&gt; transfers — specifically to move data from one buffer to another. This setup worked well.&lt;/P&gt;&lt;P&gt;Now, I’m trying to &lt;STRONG&gt;replace PIT with eMIOS&lt;/STRONG&gt; to periodically trigger the &lt;STRONG&gt;DMAMUX&lt;/STRONG&gt;, but I’m running into issues. I attempted to implement this using eMIOS in OPWMB mode to generate a periodic signal, expecting it to trigger the DMAMUX similarly to how PIT did. However, the DMA transfer doesn’t seem to be happening.&lt;/P&gt;&lt;P&gt;To help clarify my design and get support, I’ve created a &lt;STRONG&gt;minimal example project&lt;/STRONG&gt; that replicates the setup. It includes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;eMIOS configured for periodic output&lt;/LI&gt;&lt;LI&gt;DMAMUX and DMA setup to transfer data on trigger&lt;/LI&gt;&lt;LI&gt;A simple buffer-to-buffer transfer&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I’d really appreciate it if someone could take a look and help me identify what might be going wrong or suggest the correct configuration to make eMIOS trigger DMAMUX reliably.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 13:59:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Trigger-the-DMA-by-eMIOS-periodically/m-p/2185837#M53541</guid>
      <dc:creator>Ayaz</dc:creator>
      <dc:date>2025-10-14T13:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger the DMA by eMIOS periodically</title>
      <link>https://community.nxp.com/t5/S32K/Trigger-the-DMA-by-eMIOS-periodically/m-p/2186412#M53568</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;DMA trigger was not enabled on eMIOS channel completely. Add below code&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_0-1760514820816.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/360851i4AADCEA9000358B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_0-1760514820816.png" alt="PetrS_0-1760514820816.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2025 07:54:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Trigger-the-DMA-by-eMIOS-periodically/m-p/2186412#M53568</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-10-15T07:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger the DMA by eMIOS periodically</title>
      <link>https://community.nxp.com/t5/S32K/Trigger-the-DMA-by-eMIOS-periodically/m-p/2186741#M53584</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;It’s working now—thanks for the info!&lt;/P&gt;&lt;P&gt;I need to trigger DMA periodically using &lt;STRONG&gt;eMIOS PWM&lt;/STRONG&gt;. In my current setup, I’m using &lt;STRONG&gt;OPWMB mode&lt;/STRONG&gt; with a &lt;STRONG&gt;25 µs period&lt;/STRONG&gt;. As I understand it, the DMA request is generated when the &lt;STRONG&gt;flag is set&lt;/STRONG&gt;, which occurs at the &lt;STRONG&gt;end of the PWM period&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Could you please confirm:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In &lt;STRONG&gt;OPWMB mode&lt;/STRONG&gt;, is the DMA request triggered at the &lt;STRONG&gt;trailing edge&lt;/STRONG&gt;, i.e., when the timebase counter reloads at the end of the period?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Also, I’m considering whether &lt;STRONG&gt;OPWMT mode&lt;/STRONG&gt; would be more precise than &lt;STRONG&gt;OPWMB&lt;/STRONG&gt; for periodic DMA triggering.&lt;BR /&gt;For example, if I configure a timebase of &lt;STRONG&gt;25 µs (e.g., 1000 ticks)&lt;/STRONG&gt; and set the &lt;STRONG&gt;TRIGGR&lt;/STRONG&gt; to activate at 1000 ticks, would &lt;STRONG&gt;OPWMT&lt;/STRONG&gt; offer better control or timing accuracy?&lt;/P&gt;&lt;P&gt;I’d appreciate it if you could share some &lt;STRONG&gt;detailed insights or recommendations&lt;/STRONG&gt; on which mode is best suited for periodic DMA triggering.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2025 14:52:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Trigger-the-DMA-by-eMIOS-periodically/m-p/2186741#M53584</guid>
      <dc:creator>Ayaz</dc:creator>
      <dc:date>2025-10-15T14:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger the DMA by eMIOS periodically</title>
      <link>https://community.nxp.com/t5/S32K/Trigger-the-DMA-by-eMIOS-periodically/m-p/2187251#M53607</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;yes, the DMA request is generated when the&amp;nbsp;&lt;/SPAN&gt;flag is set. Flag setting time can vary depending mode used.&lt;BR /&gt;In OPWMB mode this is either on BS1 match (trailing edge) or both AS1/BS1 match (leading/trailing edge).&lt;BR /&gt;In OPWMT mode flag is set only at an AS2 match. An AS1, BS1, or BS2 match has no effect on the flag. So flag generation is independent on edge placement and can be freely set over PWM period.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 07:13:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Trigger-the-DMA-by-eMIOS-periodically/m-p/2187251#M53607</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-10-16T07:13:10Z</dc:date>
    </item>
  </channel>
</rss>

