<?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中的主题 s32k344 RTA-OS</title>
    <link>https://community.nxp.com/t5/S32K/s32k344-RTA-OS/m-p/1790725#M30798</link>
    <description>&lt;P&gt;We recently used RTA-OS to configure the OS. After integration, it was found that the task would break the counter's software interrupt when running.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/**************************/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/* PIT_1 channel 1 1ms return function */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/**************************/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;void&lt;/SPAN&gt; &lt;SPAN&gt;Gpt_Pit1Notificaiton&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;void&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;gpt_timer_count&lt;/SPAN&gt;&lt;SPAN&gt;++;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;IncrementCounter&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MillisecondCounter&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;We configured a 10ms periodic task. The PIT1 interrupt is interrupted when the task executes time operation 1ms. For example, if the task execution time is 3ms, the PIT1 interrupt will be interrupted twice, causing the task cycle to be stretched to 12ms;&amp;nbsp;if the task execution time is 5ms, the PIT1 interrupt will be interrupted fource, causing the task cycle to be stretched to 14ms. But, if&amp;nbsp;the task execution time is less than 1ms,&amp;nbsp;the task cycle is normal.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;We are using the 2.0.0 SDK package.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Have you encountered any related problems and how to solve them?&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 03:55:25 GMT</pubDate>
    <dc:creator>preh_zhenjiang</dc:creator>
    <dc:date>2024-01-18T03:55:25Z</dc:date>
    <item>
      <title>s32k344 RTA-OS</title>
      <link>https://community.nxp.com/t5/S32K/s32k344-RTA-OS/m-p/1790725#M30798</link>
      <description>&lt;P&gt;We recently used RTA-OS to configure the OS. After integration, it was found that the task would break the counter's software interrupt when running.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/**************************/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/* PIT_1 channel 1 1ms return function */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/**************************/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;void&lt;/SPAN&gt; &lt;SPAN&gt;Gpt_Pit1Notificaiton&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;void&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;gpt_timer_count&lt;/SPAN&gt;&lt;SPAN&gt;++;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;IncrementCounter&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MillisecondCounter&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;We configured a 10ms periodic task. The PIT1 interrupt is interrupted when the task executes time operation 1ms. For example, if the task execution time is 3ms, the PIT1 interrupt will be interrupted twice, causing the task cycle to be stretched to 12ms;&amp;nbsp;if the task execution time is 5ms, the PIT1 interrupt will be interrupted fource, causing the task cycle to be stretched to 14ms. But, if&amp;nbsp;the task execution time is less than 1ms,&amp;nbsp;the task cycle is normal.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;We are using the 2.0.0 SDK package.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Have you encountered any related problems and how to solve them?&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 03:55:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k344-RTA-OS/m-p/1790725#M30798</guid>
      <dc:creator>preh_zhenjiang</dc:creator>
      <dc:date>2024-01-18T03:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: s32k344 RTA-OS</title>
      <link>https://community.nxp.com/t5/S32K/s32k344-RTA-OS/m-p/1791990#M30891</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228327"&gt;@preh_zhenjiang&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I checked the history but I can see nothing related to PIT what could explain similar behavior.&lt;BR /&gt;But anyway, I think some deeper debugging will be necessary. PIT handler should be relatively fast, I don't think that this handler could add such delay. It looks like there's something else what inserts the delays. I'm afraid I can't provide more help without more details. &lt;BR /&gt;Regards,&lt;BR /&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 14:51:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k344-RTA-OS/m-p/1791990#M30891</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-01-19T14:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: s32k344 RTA-OS</title>
      <link>https://community.nxp.com/t5/S32K/s32k344-RTA-OS/m-p/1795241#M31072</link>
      <description>&lt;P&gt;Thanks for your reply. I have solved the problem. Something went wrong &amp;nbsp;with the ISR configuration.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 08:24:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k344-RTA-OS/m-p/1795241#M31072</guid>
      <dc:creator>preh_zhenjiang</dc:creator>
      <dc:date>2024-01-25T08:24:25Z</dc:date>
    </item>
  </channel>
</rss>

