<?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: S32k144 DMA Pulse Counting Interrupt in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32k144-DMA-Pulse-Counting-Interrupt/m-p/1561159#M19120</link>
    <description>&lt;P&gt;Connect PTD0(10kHz PWM) to PTC8 or PTD8 will trigger&amp;nbsp;DMA2_IRQHandler and DMA3_IRQHandler.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DMAMUX_CHCFG_SOURCE.png" style="width: 588px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202051i93820DE7F07B987F/image-size/large?v=v2&amp;amp;px=999" role="button" title="DMAMUX_CHCFG_SOURCE.png" alt="DMAMUX_CHCFG_SOURCE.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 08:19:39 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2022-11-29T08:19:39Z</dc:date>
    <item>
      <title>S32k144 DMA Pulse Counting Interrupt</title>
      <link>https://community.nxp.com/t5/S32K/S32k144-DMA-Pulse-Counting-Interrupt/m-p/1560190#M19098</link>
      <description>&lt;P&gt;Hello i am a student and for my project i needed a 4-CH pulse counter which i used DMA based pulse counting. My code was working without interrupt, now i enabled the interrupt after one major loop and theres no response. KINDLY check what is wrong. I also observed that the MCU has problems in handling multiple interrupt. What should i do in this situation.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2022 16:59:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k144-DMA-Pulse-Counting-Interrupt/m-p/1560190#M19098</guid>
      <dc:creator>Adhi_11</dc:creator>
      <dc:date>2022-11-27T16:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32k144 DMA Pulse Counting Interrupt</title>
      <link>https://community.nxp.com/t5/S32K/S32k144-DMA-Pulse-Counting-Interrupt/m-p/1560436#M19107</link>
      <description>&lt;P&gt;Hi Adhi_11,&lt;/P&gt;
&lt;P&gt;Seems that you are refer to the&amp;nbsp;S32K_Pulse_Count_via_eDMA example in&amp;nbsp;AN5258SW.&lt;BR /&gt;Please set the INTMAJOR bit in the TCDn_CSR register by refer:&lt;BR /&gt;DMA-&amp;gt;TCD[0].CSR |= DMA_TCD_CSR_INTMAJOR_MASK;&lt;/P&gt;
&lt;P&gt;From which pin are you counting the external pulse?(PTA8 or PTB8 or&amp;nbsp;PTC8 or&amp;nbsp;PTD8?)&lt;BR /&gt;Is the number of pulses input through this pin enough for CITER to reach 0?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="INTMAJOR.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201867i751460542DD1FC25/image-size/large?v=v2&amp;amp;px=999" role="button" title="INTMAJOR.png" alt="INTMAJOR.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 08:28:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k144-DMA-Pulse-Counting-Interrupt/m-p/1560436#M19107</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-11-28T08:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32k144 DMA Pulse Counting Interrupt</title>
      <link>https://community.nxp.com/t5/S32K/S32k144-DMA-Pulse-Counting-Interrupt/m-p/1560869#M19115</link>
      <description>&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;Yes, i referred the same documentation. i modified my code like you commented. I used now a 10khz PWM signal generated using PTD0 and used it in PTC8 and then PTD8. But the result is still 0. Im not sure if the number of pulses are enough for CITER to be 0. What needs to be done here to fix this issue. I needed 4xPWM counters implemented to count 4xexternal pulses&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 21:58:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k144-DMA-Pulse-Counting-Interrupt/m-p/1560869#M19115</guid>
      <dc:creator>Adhi_11</dc:creator>
      <dc:date>2022-11-28T21:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: S32k144 DMA Pulse Counting Interrupt</title>
      <link>https://community.nxp.com/t5/S32K/S32k144-DMA-Pulse-Counting-Interrupt/m-p/1561159#M19120</link>
      <description>&lt;P&gt;Connect PTD0(10kHz PWM) to PTC8 or PTD8 will trigger&amp;nbsp;DMA2_IRQHandler and DMA3_IRQHandler.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DMAMUX_CHCFG_SOURCE.png" style="width: 588px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202051i93820DE7F07B987F/image-size/large?v=v2&amp;amp;px=999" role="button" title="DMAMUX_CHCFG_SOURCE.png" alt="DMAMUX_CHCFG_SOURCE.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 08:19:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k144-DMA-Pulse-Counting-Interrupt/m-p/1561159#M19120</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-11-29T08:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: S32k144 DMA Pulse Counting Interrupt</title>
      <link>https://community.nxp.com/t5/S32K/S32k144-DMA-Pulse-Counting-Interrupt/m-p/1561318#M19126</link>
      <description>Yes, the interrupt triggered like you said. But the pulse counting did not occur, the output is still 0</description>
      <pubDate>Tue, 29 Nov 2022 12:02:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k144-DMA-Pulse-Counting-Interrupt/m-p/1561318#M19126</guid>
      <dc:creator>Adhi_11</dc:creator>
      <dc:date>2022-11-29T12:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32k144 DMA Pulse Counting Interrupt</title>
      <link>https://community.nxp.com/t5/S32K/S32k144-DMA-Pulse-Counting-Interrupt/m-p/1561616#M19139</link>
      <description>&lt;P&gt;Why you read the&amp;nbsp;frequency_chx in DMA interrupt handler? The NOTE said: &lt;EM&gt;You can read the eDMA channel counter at any time in your application &lt;STRONG&gt;before&lt;/STRONG&gt; the major iteration count is exhausted (when CITER reaches 0).&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Measured FTM PWM Frequency.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202170iF512BE04ABCE48BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Measured FTM PWM Frequency.png" alt="Measured FTM PWM Frequency.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 01:27:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k144-DMA-Pulse-Counting-Interrupt/m-p/1561616#M19139</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-11-30T01:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: S32k144 DMA Pulse Counting Interrupt</title>
      <link>https://community.nxp.com/t5/S32K/S32k144-DMA-Pulse-Counting-Interrupt/m-p/1590770#M20318</link>
      <description>&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;i needed to adopt this example for my S32k144 64pin self made board. How do i select the trigger source. Example uses PTA8, PTB8, PTC8, PTD8.. etc for channel source 49,50,51,52 what should be channel number if i want to use PTA12, PTE3, PTD2, PTC7. Where do i find this information&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 19:02:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k144-DMA-Pulse-Counting-Interrupt/m-p/1590770#M20318</guid>
      <dc:creator>Adhi_11</dc:creator>
      <dc:date>2023-01-31T19:02:24Z</dc:date>
    </item>
  </channel>
</rss>

