<?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>Kinetis MicrocontrollersのトピックRe: FRDM-K22F INPUT CAPTURE</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-INPUT-CAPTURE/m-p/364890#M18741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that helps a lot.&lt;/P&gt;&lt;P&gt;By looking at the reference manual and the interrupt table, I decided to use the FTM1 CH0 as Input Capture Interrupt for detecting any flank at the FTM1 CH0 pin. I see is the alternative 3 for the pin PTA12.&lt;/P&gt;&lt;P&gt;How should I initialize it and how should I use the interrupt function? (FTM1_IRQHandler if I am correct)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Feb 2015 21:18:54 GMT</pubDate>
    <dc:creator>zatzfara</dc:creator>
    <dc:date>2015-02-11T21:18:54Z</dc:date>
    <item>
      <title>FRDM-K22F INPUT CAPTURE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-INPUT-CAPTURE/m-p/364888#M18739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I used to use the HCS12 microcontroller and now I'm starting to use my new FRDM-K22F.&lt;/P&gt;&lt;P&gt;I'd like to use the Input Capture feature. I have the code that worked perfect on the HCS12 and I'm trying to pass it to the new environment.&lt;/P&gt;&lt;P&gt;I'm currently using the CodeWarrior 10.6 Special Edition software.&lt;/P&gt;&lt;P&gt;The problem is that I can't find the registers that make the equivalent.&lt;/P&gt;&lt;P&gt;I just want to make the driver. I mean, the initializer to define the pin as input capture, define the cases that activate the interrupt and where to define the interrupt (the function to call when the condition occurs).&lt;/P&gt;&lt;P&gt;Thank you in advance for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 21:12:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-INPUT-CAPTURE/m-p/364888#M18739</guid>
      <dc:creator>zatzfara</dc:creator>
      <dc:date>2015-02-10T21:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K22F INPUT CAPTURE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-INPUT-CAPTURE/m-p/364889#M18740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In CW10.6, the interrupt vector is in the "kinetis_sysinit.c" file ,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50434iBCCC579C6F6A4930/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the interrupt function name have been there , you can directly use .&lt;/P&gt;&lt;P&gt;And when enable the interrupt, when need write a enable function , like this :&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/50435iAE5A16121600C036/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;BR /&gt;Have a great day,&lt;BR /&gt;Alice&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>Wed, 11 Feb 2015 01:56:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-INPUT-CAPTURE/m-p/364889#M18740</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-02-11T01:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K22F INPUT CAPTURE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-INPUT-CAPTURE/m-p/364890#M18741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that helps a lot.&lt;/P&gt;&lt;P&gt;By looking at the reference manual and the interrupt table, I decided to use the FTM1 CH0 as Input Capture Interrupt for detecting any flank at the FTM1 CH0 pin. I see is the alternative 3 for the pin PTA12.&lt;/P&gt;&lt;P&gt;How should I initialize it and how should I use the interrupt function? (FTM1_IRQHandler if I am correct)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 21:18:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-INPUT-CAPTURE/m-p/364890#M18741</guid>
      <dc:creator>zatzfara</dc:creator>
      <dc:date>2015-02-11T21:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K22F INPUT CAPTURE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-INPUT-CAPTURE/m-p/364891#M18742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend you use the Processer Expert , "Capture_LDD" or "TimerInt_LDD " both are ok&amp;nbsp; .&lt;/P&gt;&lt;P&gt;After configuration the component , then generate code , you can see the init code .&lt;/P&gt;&lt;P&gt;And you can refer to the help on component , there have&amp;nbsp; input capture demo , in the "Typical Usage ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.nxp.com/" style="max-width: 1200px; max-height: 900px;" /&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/50447iA630BB99018823A3/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;IMG alt="" class="jiveImage" src="https://community.nxp.com/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Processor Expert can directly generate code, if you do not want use it , you can refer to the generated code to write your own code.&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;BR /&gt;Have a great day,&lt;BR /&gt;Alice&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, 12 Feb 2015 03:08:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K22F-INPUT-CAPTURE/m-p/364891#M18742</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-02-12T03:08:14Z</dc:date>
    </item>
  </channel>
</rss>

