<?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 PIT IRQ Time in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PIT-IRQ-Time/m-p/636352#M8178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using the KL17Z128, KDS 3.1 and KSDK 1.2. &amp;nbsp;We setup the PIT to generate 250 usec interrupt. We toggle a GPIO pin in the interrupt routine. &amp;nbsp;The time between GPIO toggles is about 252.6 usec. &amp;nbsp;To get an IRQ period closer to 250 usec we set the period to 248 usec in the PIT "Bean". &amp;nbsp;Our CPU clock is set for 48MHZ, Bus clock is 24MHZ. &amp;nbsp;Any ideas on what's going on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2017 15:03:51 GMT</pubDate>
    <dc:creator>bkohan</dc:creator>
    <dc:date>2017-02-15T15:03:51Z</dc:date>
    <item>
      <title>PIT IRQ Time</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PIT-IRQ-Time/m-p/636352#M8178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using the KL17Z128, KDS 3.1 and KSDK 1.2. &amp;nbsp;We setup the PIT to generate 250 usec interrupt. We toggle a GPIO pin in the interrupt routine. &amp;nbsp;The time between GPIO toggles is about 252.6 usec. &amp;nbsp;To get an IRQ period closer to 250 usec we set the period to 248 usec in the PIT "Bean". &amp;nbsp;Our CPU clock is set for 48MHZ, Bus clock is 24MHZ. &amp;nbsp;Any ideas on what's going on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 15:03:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PIT-IRQ-Time/m-p/636352#M8178</guid>
      <dc:creator>bkohan</dc:creator>
      <dc:date>2017-02-15T15:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: PIT IRQ Time</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PIT-IRQ-Time/m-p/636353#M8179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bob,&lt;/P&gt;&lt;P&gt;Do you use the Processor Expert of KSDK?&lt;/P&gt;&lt;P&gt;If yes, you can configure the cpu clock and timer directly :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22618i118A38EF815C4F7B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22906i10F8209DFD07BE4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22952iA0A66BA0ACC5475D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice Yang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 06:51:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PIT-IRQ-Time/m-p/636353#M8179</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-02-16T06:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: PIT IRQ Time</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PIT-IRQ-Time/m-p/636354#M8180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked at the code to see what value is being loaded into the Timer Load Value register? For a 24 MHz bus clock, you would want that register to be loaded with the value 5999 ((interrupt interval / peripheral bus clock period) - 1).&lt;/P&gt;&lt;P&gt;If that's the case, then perhaps the system clock is not exactly on frequency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 05:47:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PIT-IRQ-Time/m-p/636354#M8180</guid>
      <dc:creator>jstark</dc:creator>
      <dc:date>2017-02-20T05:47:44Z</dc:date>
    </item>
  </channel>
</rss>

