<?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中的主题 Re: Periodic Interrupt Timer</title>
    <link>https://community.nxp.com/t5/S32K/Periodic-Interrupt-Timer/m-p/2136458#M51081</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;not really sure of your application design. How peripherals are used, where SW or HW triggers are utilized. BCTU can be triggered by HW from eMIOS, so trigger should not be lost. PIT has no input triggers, can be started/stopped by SW. So if you do SW start then same applies for SW latency.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jul 2025 09:25:27 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2025-07-18T09:25:27Z</dc:date>
    <item>
      <title>Periodic Interrupt Timer</title>
      <link>https://community.nxp.com/t5/S32K/Periodic-Interrupt-Timer/m-p/2131379#M50754</link>
      <description>&lt;P&gt;I am Using PIT&amp;nbsp; which has clock frequency of 40MHz and that PIT i am using for triggering some other function abc() which must get trigger at 400kHz, But when i am trying to set the frequency more than 80kHz the call back of PIT is not receiving the trigger and ultimately the function abc() is not receiving trigger.&lt;/P&gt;&lt;P&gt;My question is this,&amp;nbsp; that is there limit that we can not go beyond around 80kHz with PIT or I need to activate something in the microcontroller for going beyond 80khz triggering frequency or something else?&lt;/P&gt;&lt;P&gt;Microcontroller:- S32K344 T-172&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 04:41:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Periodic-Interrupt-Timer/m-p/2131379#M50754</guid>
      <dc:creator>BALRAM1</dc:creator>
      <dc:date>2025-07-10T04:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Periodic Interrupt Timer</title>
      <link>https://community.nxp.com/t5/S32K/Periodic-Interrupt-Timer/m-p/2131654#M50781</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;seems this is likely due to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;CPU or interrupt handling limitations, not the PIT itself. At high frequencies, the CPU may not keep up with the interrupt rate.&amp;nbsp; At 80 kHz, the interrupt period is&amp;nbsp;&lt;SPAN class="katex-display"&gt;&lt;SPAN class="katex"&gt;&lt;SPAN class="katex-html"&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord"&gt;12.5&lt;/SPAN&gt;&lt;SPAN class="mord mathnormal"&gt;μ&lt;/SPAN&gt;&lt;SPAN class="mord text"&gt;&lt;SPAN class="mord"&gt;s.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;This gives the CPU more time to handle the interrupt. At 400 kHz (2.5 µs), the CPU might be&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;overwhelmed, especially if the ISR is not optimized.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here are some suggestions:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;- Optimize the ISR&amp;nbsp;(keep it short).&lt;BR /&gt;- Use hardware triggering&amp;nbsp;(like DMA or timer output) for function, it this is possible.&lt;BR /&gt;- Check interrupt priorities.&lt;BR /&gt;- Try to set higher code optimization level for project&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 10:58:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Periodic-Interrupt-Timer/m-p/2131654#M50781</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-07-10T10:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Periodic Interrupt Timer</title>
      <link>https://community.nxp.com/t5/S32K/Periodic-Interrupt-Timer/m-p/2134956#M50978</link>
      <description>&lt;P&gt;Namste&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961" target="_self"&gt;&lt;SPAN class=""&gt;@PetrS&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks you for your reply and suggestions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here I tried to solve this problem by using Emios_Gpt , Where I am able to trigger the abc() function at higher frequency.&lt;/P&gt;&lt;P&gt;But I am encountering one new problem that is:- When I am triggering Emios_Gpt module at higher frequency the Available BCTU and PIT modules are not receiving the triggers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But When EMIOS_Gpt is at lower frequency that time BCTU and PIT Both are working fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here EMIOS_0 has been used for BCTU and PIT.&lt;/P&gt;&lt;P&gt;EMIOS_1&amp;nbsp; has been used for EMIOS_Gpt module.&lt;/P&gt;&lt;P&gt;Here I Changed Priority but still there no effect of that.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some way which I can follow and short it out?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 11:08:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Periodic-Interrupt-Timer/m-p/2134956#M50978</guid>
      <dc:creator>BALRAM1</dc:creator>
      <dc:date>2025-07-16T11:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Periodic Interrupt Timer</title>
      <link>https://community.nxp.com/t5/S32K/Periodic-Interrupt-Timer/m-p/2136458#M51081</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;not really sure of your application design. How peripherals are used, where SW or HW triggers are utilized. BCTU can be triggered by HW from eMIOS, so trigger should not be lost. PIT has no input triggers, can be started/stopped by SW. So if you do SW start then same applies for SW latency.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 09:25:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Periodic-Interrupt-Timer/m-p/2136458#M51081</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-07-18T09:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Periodic Interrupt Timer</title>
      <link>https://community.nxp.com/t5/S32K/Periodic-Interrupt-Timer/m-p/2136487#M51083</link>
      <description>&lt;P&gt;Namste&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes I understood your point.&lt;/P&gt;&lt;P&gt;But&amp;nbsp;&lt;/P&gt;&lt;P&gt;Okay let me try it again.&lt;/P&gt;&lt;P&gt;I am Using Emios_Gpt for triggering one calculation in my algorithm and BCTU is used for triggering another calculation in same algorithm.&lt;/P&gt;&lt;P&gt;Now when I want to run the BCTU call back trigger at 20kHz frequency (50uSec) which I am able to do but when I am Triggering the Emios_Gpt back at 114kHz or Lesser.&lt;/P&gt;&lt;P&gt;but when I am trying to Trigger the call back of Emios_Gpt at Higher frequency then the BCTU is receiving the trigger at lesser frequency.&lt;/P&gt;&lt;P&gt;Same is happening with PIT when I am increasing the frequency of Emios_Gpt more than 80kHz.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reason I am not able to understanding that when they are individual peripherals why they are interrupting one another.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;petrS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 09:59:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Periodic-Interrupt-Timer/m-p/2136487#M51083</guid>
      <dc:creator>BALRAM1</dc:creator>
      <dc:date>2025-07-18T09:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Periodic Interrupt Timer</title>
      <link>https://community.nxp.com/t5/S32K/Periodic-Interrupt-Timer/m-p/2137018#M51117</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I think I won’t provide any more input at this point. You have two peripherals, both generating interrupts. Within each interrupt callback, you perform some calculations. I suspect that interrupt priority, latency, and duration are contributing to the issues you're observing.&lt;/P&gt;
&lt;P&gt;Try measuring the duration of each interrupt using pin toggling, for example. Also, check the interrupt priorities. If both are set to the same level, keep in mind that eMIOS has a lower IRQ number than BCTU, which gives it a higher priority. Combined with its higher frequency and potentially longer ISR execution time, this could cause the BCTU interrupt to be delayed or even missed.&lt;/P&gt;
&lt;P&gt;BR, Petr&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 05:33:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Periodic-Interrupt-Timer/m-p/2137018#M51117</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-07-21T05:33:33Z</dc:date>
    </item>
  </channel>
</rss>

