<?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: For OS tick time which is better :-System Timer Module (STM) or Periodic Interrupt Timer (PIT) in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/For-OS-tick-time-which-is-better-System-Timer-Module-STM-or/m-p/659636#M7191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Martin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your valuable help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Goran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Feb 2017 14:51:05 GMT</pubDate>
    <dc:creator>goranivan</dc:creator>
    <dc:date>2017-02-03T14:51:05Z</dc:date>
    <item>
      <title>For OS tick time which is better :-System Timer Module (STM) or Periodic Interrupt Timer (PIT)</title>
      <link>https://community.nxp.com/t5/MPC5xxx/For-OS-tick-time-which-is-better-System-Timer-Module-STM-or/m-p/659632#M7187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using MPC5606B micro , i am using the schedulers, My OS tick time is 1msec , with 32mHz system clock generated by external 8Mhz clock. For every 1msec interrupt i call the scheduler. I want to know which one is better, whether STM or PIT. If you have a example code please share, it will be every helpful for my reference.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Goran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 16:20:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/For-OS-tick-time-which-is-better-System-Timer-Module-STM-or/m-p/659632#M7187</guid>
      <dc:creator>goranivan</dc:creator>
      <dc:date>2017-02-01T16:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: For OS tick time which is better :-System Timer Module (STM) or Periodic Interrupt Timer (PIT)</title>
      <link>https://community.nxp.com/t5/MPC5xxx/For-OS-tick-time-which-is-better-System-Timer-Module-STM-or/m-p/659633#M7188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Goran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from my point of view, PIT is much more better than STM. PIT timer counts down from set value&amp;nbsp;(LDVAL register) to 0. After zero is reached Timer Interrupt Flag is set and timer counter (CVAL register) is reset to original set value (in LDVAL register) and process is repeated. This is pretty simple and it perfectly fits for your task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STM works different. There is compare register you set and timer counts from 0 to FFFFFFFF. After compare register is reached, Timer Interrupt Flag is set, but timer continue with counting up. So in every interrupt, you have to stop counter and reset it's CNT register to 0 and enable counter again. In this case, timing is not as accurate as in case of PIT timer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 13:36:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/For-OS-tick-time-which-is-better-System-Timer-Module-STM-or/m-p/659633#M7188</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-02-02T13:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: For OS tick time which is better :-System Timer Module (STM) or Periodic Interrupt Timer (PIT)</title>
      <link>https://community.nxp.com/t5/MPC5xxx/For-OS-tick-time-which-is-better-System-Timer-Module-STM-or/m-p/659634#M7189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Martin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ya this information was very helpful.&lt;/P&gt;&lt;P&gt;If you have codes(PIT and STM) of same please share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;goran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 05:20:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/For-OS-tick-time-which-is-better-System-Timer-Module-STM-or/m-p/659634#M7189</guid>
      <dc:creator>goranivan</dc:creator>
      <dc:date>2017-02-03T05:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: For OS tick time which is better :-System Timer Module (STM) or Periodic Interrupt Timer (PIT)</title>
      <link>https://community.nxp.com/t5/MPC5xxx/For-OS-tick-time-which-is-better-System-Timer-Module-STM-or/m-p/659635#M7190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for PIT configuration, please see following example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329480"&gt;Example MPC5607B PinToggleStationery CW210&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching simple example for STM (example is created for MPC5604P, but you can use it for MPC5606B) directly to this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 09:52:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/For-OS-tick-time-which-is-better-System-Timer-Module-STM-or/m-p/659635#M7190</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-02-03T09:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: For OS tick time which is better :-System Timer Module (STM) or Periodic Interrupt Timer (PIT)</title>
      <link>https://community.nxp.com/t5/MPC5xxx/For-OS-tick-time-which-is-better-System-Timer-Module-STM-or/m-p/659636#M7191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Martin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your valuable help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Goran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 14:51:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/For-OS-tick-time-which-is-better-System-Timer-Module-STM-or/m-p/659636#M7191</guid>
      <dc:creator>goranivan</dc:creator>
      <dc:date>2017-02-03T14:51:05Z</dc:date>
    </item>
  </channel>
</rss>

