<?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: Input Capture and output compare in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Input-Capture-and-output-compare/m-p/778551#M15487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harshitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right partly, the input capture is used to capture a timer value (the timer runs continuously). So, in the interrupt service routine is not need a counter. The output&amp;nbsp;compare is used to compare the selected time base value and&amp;nbsp;it also can be used&amp;nbsp;for generating pulses at a set time and a specified length. The most common use can be generating PWM pulses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is necessary to mention the input capture channels are composed of four standard input capture registers and four buffered input capture channels, see the reference manual chapter 14.4.1 Enhanced Capture Timer Modes of Operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The input capture is used mainly for the period measurements and pulse measurements. If you need just generate the interrupt an event on an input pin, is not need to use input capture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2018 12:39:59 GMT</pubDate>
    <dc:creator>dianabatrlova</dc:creator>
    <dc:date>2018-06-13T12:39:59Z</dc:date>
    <item>
      <title>Input Capture and output compare</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Input-Capture-and-output-compare/m-p/778550#M15486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;#What does Input capture and output compare means in the actual world.&lt;/P&gt;&lt;P&gt;In the manual S12XEP100 it was said that -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Input capture function is to detect the transition edge and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;output compare is to generate output signal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I understood was for input capture means generating an interrupt and when entering into the ISR counter is incremented and the data transfer takes place. When the counter reaches the described value it will come out of ISR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me weather my assumption is right or wrong? And explain it if possible!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 03:58:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Input-Capture-and-output-compare/m-p/778550#M15486</guid>
      <dc:creator>harshitha_chiga</dc:creator>
      <dc:date>2018-06-13T03:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Input Capture and output compare</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Input-Capture-and-output-compare/m-p/778551#M15487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harshitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right partly, the input capture is used to capture a timer value (the timer runs continuously). So, in the interrupt service routine is not need a counter. The output&amp;nbsp;compare is used to compare the selected time base value and&amp;nbsp;it also can be used&amp;nbsp;for generating pulses at a set time and a specified length. The most common use can be generating PWM pulses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is necessary to mention the input capture channels are composed of four standard input capture registers and four buffered input capture channels, see the reference manual chapter 14.4.1 Enhanced Capture Timer Modes of Operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The input capture is used mainly for the period measurements and pulse measurements. If you need just generate the interrupt an event on an input pin, is not need to use input capture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 12:39:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Input-Capture-and-output-compare/m-p/778551#M15487</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2018-06-13T12:39:59Z</dc:date>
    </item>
  </channel>
</rss>

