<?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中的主题 FTM counter synchronization</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-counter-synchronization/m-p/494690#M30693</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 have an additional question to FTM. I want to use the FTM synchronization (via hardware trigger 2) mode to update the FTM counter value to CNTIN register value on synchronization event. I have set up a FTM3 channel 2 to generate a signal (test signal 1KHz, square wave, 50% duty cycle). There is an input signal that is connected to the pin FTM3_FLT0 (FTM3 hardware trigger 2). This input signal should influence the FTM counter value that the output signal is also influenced and will get another duty cycle.&lt;/P&gt;&lt;P&gt;Unfortunately, it doesn't work! The test input signal is has 1500Hz, 50% duty cycle and square wave.&lt;/P&gt;&lt;P&gt;Is something not complete for the FTM3 setup or &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;is my&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;imagination&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;wrong?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For pin FTM3_FLT0, I have setup the PTC12 and PTD12 with ALT6. The input signal was connected to TWR-K65F180 on extension plug (C43, B77 and B48). But nothing happens.&lt;/P&gt;&lt;P&gt;Here are 2 screenshots that shows the FTM3 configuration:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="141889_141889.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121125i8E549857C6E6321D/image-size/large?v=v2&amp;amp;px=999" role="button" title="141889_141889.png" alt="141889_141889.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TWR-K65F180M_FTM3_part1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55474i78A0EF7F006FD958/image-size/large?v=v2&amp;amp;px=999" role="button" title="TWR-K65F180M_FTM3_part1.png" alt="TWR-K65F180M_FTM3_part1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="141896_141896.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121126i65DD22C3C18709EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="141896_141896.png" alt="141896_141896.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TWR-K65F180M_FTM3_part2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55475i0F4F7AC0907D8BA8/image-size/large?v=v2&amp;amp;px=999" role="button" title="TWR-K65F180M_FTM3_part2.png" alt="TWR-K65F180M_FTM3_part2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Feb 2016 13:46:54 GMT</pubDate>
    <dc:creator>frankschuetz</dc:creator>
    <dc:date>2016-02-29T13:46:54Z</dc:date>
    <item>
      <title>FTM counter synchronization</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-counter-synchronization/m-p/494690#M30693</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 have an additional question to FTM. I want to use the FTM synchronization (via hardware trigger 2) mode to update the FTM counter value to CNTIN register value on synchronization event. I have set up a FTM3 channel 2 to generate a signal (test signal 1KHz, square wave, 50% duty cycle). There is an input signal that is connected to the pin FTM3_FLT0 (FTM3 hardware trigger 2). This input signal should influence the FTM counter value that the output signal is also influenced and will get another duty cycle.&lt;/P&gt;&lt;P&gt;Unfortunately, it doesn't work! The test input signal is has 1500Hz, 50% duty cycle and square wave.&lt;/P&gt;&lt;P&gt;Is something not complete for the FTM3 setup or &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;is my&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;imagination&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;wrong?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For pin FTM3_FLT0, I have setup the PTC12 and PTD12 with ALT6. The input signal was connected to TWR-K65F180 on extension plug (C43, B77 and B48). But nothing happens.&lt;/P&gt;&lt;P&gt;Here are 2 screenshots that shows the FTM3 configuration:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="141889_141889.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121125i8E549857C6E6321D/image-size/large?v=v2&amp;amp;px=999" role="button" title="141889_141889.png" alt="141889_141889.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TWR-K65F180M_FTM3_part1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55474i78A0EF7F006FD958/image-size/large?v=v2&amp;amp;px=999" role="button" title="TWR-K65F180M_FTM3_part1.png" alt="TWR-K65F180M_FTM3_part1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="141896_141896.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121126i65DD22C3C18709EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="141896_141896.png" alt="141896_141896.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TWR-K65F180M_FTM3_part2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55475i0F4F7AC0907D8BA8/image-size/large?v=v2&amp;amp;px=999" role="button" title="TWR-K65F180M_FTM3_part2.png" alt="TWR-K65F180M_FTM3_part2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 13:46:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-counter-synchronization/m-p/494690#M30693</guid>
      <dc:creator>frankschuetz</dc:creator>
      <dc:date>2016-02-29T13:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: FTM counter synchronization</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-counter-synchronization/m-p/494691#M30694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frank Schuetz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; About the FTM synchronization, please follow this application note: PWM Synchronization Using Kinetis Flextimers&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.nxp.com/files/microcontrollers/doc/app_note/AN4560.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1" title="http://cache.nxp.com/files/microcontrollers/doc/app_note/AN4560.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;http://cache.nxp.com/files/microcontrollers/doc/app_note/AN4560.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the application note, there has some sample code about how to do FTM sychronization and it's configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you, if you still have question after you check the reference manual, please let me know!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&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>Tue, 01 Mar 2016 03:36:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-counter-synchronization/m-p/494691#M30694</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-03-01T03:36:33Z</dc:date>
    </item>
  </channel>
</rss>

