<?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: Why does the standard code provided for input capture mode of K66 doesn't work out of the box? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Why-does-the-standard-code-provided-for-input-capture-mode-of/m-p/700508#M43067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Samer,&lt;/P&gt;&lt;P&gt;Sorry for the inconvenience! This section may lack the NVIC setting of FTM0.&lt;/P&gt;&lt;P&gt;Please refer the method descripted in '3.1.2.1 Configuring the NVIC' of &lt;A href="https://www.nxp.com/docs/en/quick-reference-guide/KQRUG.pdf"&gt;KQRUG&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.1.2.1 Configuring the NVIC.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13554i8D5CFBE6847DB726/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.1.2.1 Configuring the NVIC.png" alt="3.1.2.1 Configuring the NVIC.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Interrupt vector assignments.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13738i2D40E6102DADAA18/image-size/large?v=v2&amp;amp;px=999" role="button" title="Interrupt vector assignments.png" alt="Interrupt vector assignments.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Tue, 10 Oct 2017 02:54:39 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2017-10-10T02:54:39Z</dc:date>
    <item>
      <title>Why does the standard code provided for input capture mode of K66 doesn't work out of the box?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Why-does-the-standard-code-provided-for-input-capture-mode-of/m-p/700507#M43066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This nice document:&amp;nbsp;&lt;A class="link-titled" href="https://cache.nxp.com/docs/en/application-note/AN5142.pdf" title="https://cache.nxp.com/docs/en/application-note/AN5142.pdf"&gt;https://cache.nxp.com/docs/en/application-note/AN5142.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;provides many code examples on how to program K66 chips&amp;nbsp;with FTM. On my Teensy 3.6 (which uses K66), the code for "Phase-shift PWM signal" from section 3.4 works perfectly well. However, the code from "Single-edge capture mode" in section 3.8 doesn't work. Both use FTM0, and both should be using the same ports. For capture mode, I expect to input a signal at FTM0_CH0, and then get the interrupt triggered to modify the value of diff. But I noticed that the interrupt is never called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing? Please assist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Oct 2017 01:14:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Why-does-the-standard-code-provided-for-input-capture-mode-of/m-p/700507#M43066</guid>
      <dc:creator>thequantumphysi</dc:creator>
      <dc:date>2017-10-07T01:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the standard code provided for input capture mode of K66 doesn't work out of the box?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Why-does-the-standard-code-provided-for-input-capture-mode-of/m-p/700508#M43067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Samer,&lt;/P&gt;&lt;P&gt;Sorry for the inconvenience! This section may lack the NVIC setting of FTM0.&lt;/P&gt;&lt;P&gt;Please refer the method descripted in '3.1.2.1 Configuring the NVIC' of &lt;A href="https://www.nxp.com/docs/en/quick-reference-guide/KQRUG.pdf"&gt;KQRUG&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.1.2.1 Configuring the NVIC.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13554i8D5CFBE6847DB726/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.1.2.1 Configuring the NVIC.png" alt="3.1.2.1 Configuring the NVIC.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Interrupt vector assignments.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13738i2D40E6102DADAA18/image-size/large?v=v2&amp;amp;px=999" role="button" title="Interrupt vector assignments.png" alt="Interrupt vector assignments.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Tue, 10 Oct 2017 02:54:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Why-does-the-standard-code-provided-for-input-capture-mode-of/m-p/700508#M43067</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-10-10T02:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the standard code provided for input capture mode of K66 doesn't work out of the box?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Why-does-the-standard-code-provided-for-input-capture-mode-of/m-p/700509#M43068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response. Actually I tried adding this before asking the question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;NVIC_ENABLE_IRQ(IRQ_FTM0);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;But it didn't help. Would it be asking too much to provide a minimal working example?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 04:02:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Why-does-the-standard-code-provided-for-input-capture-mode-of/m-p/700509#M43068</guid>
      <dc:creator>thequantumphysi</dc:creator>
      <dc:date>2017-10-10T04:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the standard code provided for input capture mode of K66 doesn't work out of the box?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Why-does-the-standard-code-provided-for-input-capture-mode-of/m-p/700510#M43069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;Please download the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A data-content-finding="Community" href="https://mcuxpresso.nxp.com/en/welcome" rel="nofollow" style="margin: 0px; padding: 0px calc(12px + 0.35ex) 0px 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 15px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; color: #5e89c1; fill: #5e89c1; text-decoration: none; transition: color 0.1s linear; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;" target="_blank"&gt;SDK_2.2_FRDM-K66F&lt;/A&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;package refer&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="11554" data-containertype="14" data-content-finding="Community" data-objectid="333304" data-objecttype="102" href="https://community.nxp.com/docs/DOC-333304"&gt;Generating a downloadable MCUXpresso SDK v.2 package&lt;/A&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;And then you can find the input_capture example in it's folder. (For example: C:\SDK_2.2_FRDM-K66F\boards\frdmk66f\driver_examples\ftm\input_capture)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FTM input_capture SDK_2.2_FRDM-K66F.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13438iB3D6EA75CA0E52A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="FTM input_capture SDK_2.2_FRDM-K66F.png" alt="FTM input_capture SDK_2.2_FRDM-K66F.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FTM input_capture.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13484i45CD4D306143F2FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="FTM input_capture.png" alt="FTM input_capture.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Tue, 10 Oct 2017 06:01:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Why-does-the-standard-code-provided-for-input-capture-mode-of/m-p/700510#M43069</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-10-10T06:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the standard code provided for input capture mode of K66 doesn't work out of the box?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Why-does-the-standard-code-provided-for-input-capture-mode-of/m-p/700511#M43070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I'll research and try this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 08:05:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Why-does-the-standard-code-provided-for-input-capture-mode-of/m-p/700511#M43070</guid>
      <dc:creator>thequantumphysi</dc:creator>
      <dc:date>2017-10-10T08:05:27Z</dc:date>
    </item>
  </channel>
</rss>

