<?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>MPC5xxx中的主题 PIT Timers reliability : How can PIT timers shift over time?</title>
    <link>https://community.nxp.com/t5/MPC5xxx/PIT-Timers-reliability-How-can-PIT-timers-shift-over-time/m-p/440118#M1208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a MPC5604P and have implemented some real time sequencer managing 2 tasks using Periodic Interrupt Timer (PIT) interrupts.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How could each PIT timer deviate over time?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am initializing PIT0 interrupt as a 200ms task and PIT1 as 1sec task without further reconfiguration once tasks are scheduled.&lt;/P&gt;&lt;P&gt;I'm checking against each task interrupt re-entrance.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see the initial start delay between PIT interrupts as minor but wonder how this delay can vary over time.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message was edited by: xplosiv Readability edit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2015 18:58:25 GMT</pubDate>
    <dc:creator>xplosiv</dc:creator>
    <dc:date>2015-07-23T18:58:25Z</dc:date>
    <item>
      <title>PIT Timers reliability : How can PIT timers shift over time?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-Timers-reliability-How-can-PIT-timers-shift-over-time/m-p/440118#M1208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a MPC5604P and have implemented some real time sequencer managing 2 tasks using Periodic Interrupt Timer (PIT) interrupts.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How could each PIT timer deviate over time?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am initializing PIT0 interrupt as a 200ms task and PIT1 as 1sec task without further reconfiguration once tasks are scheduled.&lt;/P&gt;&lt;P&gt;I'm checking against each task interrupt re-entrance.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see the initial start delay between PIT interrupts as minor but wonder how this delay can vary over time.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message was edited by: xplosiv Readability edit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 18:58:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-Timers-reliability-How-can-PIT-timers-shift-over-time/m-p/440118#M1208</guid>
      <dc:creator>xplosiv</dc:creator>
      <dc:date>2015-07-23T18:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: PIT Timers reliability : How can PIT timers shift over time?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-Timers-reliability-How-can-PIT-timers-shift-over-time/m-p/440119#M1209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the PIT is as precise as the source clock is. Interrupt flag will be set exactly at the same period each time. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;The variation you can see is caused by software – that’s because current instruction must be finished (so it depends when the interrupt occurred), maybe interrupt with higher priority is being executed…&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Lukas&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 07:17:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-Timers-reliability-How-can-PIT-timers-shift-over-time/m-p/440119#M1209</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2015-07-27T07:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: PIT Timers reliability : How can PIT timers shift over time?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-Timers-reliability-How-can-PIT-timers-shift-over-time/m-p/440120#M1210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lukas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not experiencing such shift, but wonder if PIT interrupts, being served through dedicated timers, could come to some loss of synchronisation, by the PIT timers themselves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interrupt servicing by software may introduce processing delay (context switch + actual application processing), and since PIT timers are all using the same clock source, I expect the PIT timers to be always "synchronized" once configured and scheduled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanted to ensure myself with this assumption: once started, PIT0 and PIT1 interrupts will always trigger with the same timing over time (triggering), whatever the actual processing associated with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stéphane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 19:28:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-Timers-reliability-How-can-PIT-timers-shift-over-time/m-p/440120#M1210</guid>
      <dc:creator>xplosiv</dc:creator>
      <dc:date>2015-07-30T19:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: PIT Timers reliability : How can PIT timers shift over time?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-Timers-reliability-How-can-PIT-timers-shift-over-time/m-p/440121#M1211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if we do not talk about processing delay and about execution of interrupt handlers then the answer is yes, the timing over time will be still the same. The interrupts will be triggered at the same time. Or we should rather say that the interrupt flags will be set at the same time - everything else is matter of software.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 08:51:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-Timers-reliability-How-can-PIT-timers-shift-over-time/m-p/440121#M1211</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2015-07-31T08:51:23Z</dc:date>
    </item>
  </channel>
</rss>

