<?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>S12 / MagniV MicrocontrollersのトピックRe: Input capture very confusing</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Input-capture-very-confusing/m-p/457676#M11650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the description is little bit confusing, what is main timer and what is counter.&lt;/P&gt;&lt;P&gt;There is 16-bit Free Running Main Timer derived from the bus clock via prescaler. So we can say it is a clock.&lt;/P&gt;&lt;P&gt;The timer counter (TCNT) is the part of the module and that is 16-bit register which counts up from 0x0000 to 0xFFFF.&lt;/P&gt;&lt;P&gt;Maybe i'm not exactly correct about this, but at least it's not that confusing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If enabled, Timer Overflow Interrupt (TOI) is triggered each time Timer Overflow Flag (TOF) is set.&lt;/P&gt;&lt;P&gt;Timer Overflow Flag (TOF) is set when the 16-bit timer counter overflows from value FFFF to 0000.&lt;/P&gt;&lt;P&gt;Timer overflow counter can be used to measure periods longer than one timer period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached are some old project demonstrating the frequency measurement on S12XDP512 device.&lt;/P&gt;&lt;P&gt;The CodeWarrior projects are compatible with the latest v5.1 version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;iggi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2015 13:38:56 GMT</pubDate>
    <dc:creator>iggi</dc:creator>
    <dc:date>2015-08-25T13:38:56Z</dc:date>
    <item>
      <title>Input capture very confusing</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Input-capture-very-confusing/m-p/457675#M11649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i want to measure the frequency of a signal. I thoroughly read the s12x ect module. I am very confused with the terms timer and counter in the same module. My requirement is I have to measure three frequency signals, I have given it to channels 0,1,2. I have configured in input capture mode. So when there is a transition I shall get an interrupt in the 3 channels. I take the difference of Tc will give me pulse width am I correct on this? My main doubt is what is the timer overflow interrupt, I don't understand this at all. Should I use it or not especially in input capture mode. Please help. How to measure frequency?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 17:48:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Input-capture-very-confusing/m-p/457675#M11649</guid>
      <dc:creator>rahulkrishna</dc:creator>
      <dc:date>2015-08-21T17:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Input capture very confusing</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Input-capture-very-confusing/m-p/457676#M11650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the description is little bit confusing, what is main timer and what is counter.&lt;/P&gt;&lt;P&gt;There is 16-bit Free Running Main Timer derived from the bus clock via prescaler. So we can say it is a clock.&lt;/P&gt;&lt;P&gt;The timer counter (TCNT) is the part of the module and that is 16-bit register which counts up from 0x0000 to 0xFFFF.&lt;/P&gt;&lt;P&gt;Maybe i'm not exactly correct about this, but at least it's not that confusing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If enabled, Timer Overflow Interrupt (TOI) is triggered each time Timer Overflow Flag (TOF) is set.&lt;/P&gt;&lt;P&gt;Timer Overflow Flag (TOF) is set when the 16-bit timer counter overflows from value FFFF to 0000.&lt;/P&gt;&lt;P&gt;Timer overflow counter can be used to measure periods longer than one timer period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached are some old project demonstrating the frequency measurement on S12XDP512 device.&lt;/P&gt;&lt;P&gt;The CodeWarrior projects are compatible with the latest v5.1 version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;iggi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 13:38:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Input-capture-very-confusing/m-p/457676#M11650</guid>
      <dc:creator>iggi</dc:creator>
      <dc:date>2015-08-25T13:38:56Z</dc:date>
    </item>
  </channel>
</rss>

