<?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: S12X:PIT timeout calculation in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12X-PIT-timeout-calculation/m-p/174619#M6066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hi,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;In S12X family if we take the example of MC9S12XEP100 datasheet, under the section 17.4.1 it is mentioned. According to that for the condition PITMTLD =0 and PITLD =0, PITCNT will be 0(zero). But this&amp;nbsp;should hold for a bus clock amount of time. After time out interrupt should occur. For the condition PITMTLD =0 and PITLD =1,&amp;nbsp;PITCNT should downcount from 1 to 0. When PITCNT = 1 should hold&amp;nbsp;for one bus clock and similarly&amp;nbsp;&amp;nbsp;PITCNT =&amp;nbsp;0 also should hold&amp;nbsp;for one bus clock. So in that case it will take two bus clock for time out and interrupt occur.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Xzidax&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Dec 2007 20:54:50 GMT</pubDate>
    <dc:creator>Xzidax</dc:creator>
    <dc:date>2007-12-21T20:54:50Z</dc:date>
    <item>
      <title>S12X:PIT timeout calculation</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12X-PIT-timeout-calculation/m-p/174618#M6065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;As per S12X datasheet, for PIT channels, &amp;nbsp;&lt;SPAN style="font-family: TimesNewRomanPSMT;"&gt;time-out period = (PITMTLD + 1) * (PITLD + 1) / f&lt;/SPAN&gt;&lt;SPAN style="font-family: TimesNewRomanPSMT; font-size: 2;"&gt;BUS.&lt;/SPAN&gt;&lt;P align="left"&gt;For f&lt;SPAN style="font-family: TimesNewRomanPSMT; font-size: 2;"&gt;BUS=2MHz, if PITMTLD =0 and PITLD =0, expected timeout period is 0.5 microseconds.&lt;/SPAN&gt;&lt;SPAN style="font-size: 2;"&gt;if PITMTLD =0 and PITLD =1, expected timeout period is&amp;nbsp;1 microseconds.&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN style="font-size: 2;"&gt;It is not clear how will PITCNT will count down for PITMTLD =0 and PITLD =0 values, how does count down differ when PITMTLD =0 and PITLD =1?&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN style="font-size: 2;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN style="font-size: 2;"&gt;&amp;nbsp;Ajay&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 19:04:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12X-PIT-timeout-calculation/m-p/174618#M6065</guid>
      <dc:creator>JadhavAj</dc:creator>
      <dc:date>2007-12-20T19:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: S12X:PIT timeout calculation</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12X-PIT-timeout-calculation/m-p/174619#M6066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hi,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;In S12X family if we take the example of MC9S12XEP100 datasheet, under the section 17.4.1 it is mentioned. According to that for the condition PITMTLD =0 and PITLD =0, PITCNT will be 0(zero). But this&amp;nbsp;should hold for a bus clock amount of time. After time out interrupt should occur. For the condition PITMTLD =0 and PITLD =1,&amp;nbsp;PITCNT should downcount from 1 to 0. When PITCNT = 1 should hold&amp;nbsp;for one bus clock and similarly&amp;nbsp;&amp;nbsp;PITCNT =&amp;nbsp;0 also should hold&amp;nbsp;for one bus clock. So in that case it will take two bus clock for time out and interrupt occur.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Xzidax&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2007 20:54:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12X-PIT-timeout-calculation/m-p/174619#M6066</guid>
      <dc:creator>Xzidax</dc:creator>
      <dc:date>2007-12-21T20:54:50Z</dc:date>
    </item>
  </channel>
</rss>

