<?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: KE04 FTM OUTPUT COMPARE MODE in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927377#M53963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There was not enough explanation.  I don't need output port access and just want to use FTM as a timer interrupt.  I want to use FTM1 channels 0 and 1 for MODBUS T1.5 and T3.5 timers.  Can the output compare mode be used for these two timers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jun&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;/P&gt;&lt;P&gt;（株）中央製作所&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cew.co.jp" target="test_blank"&gt;http://www.cew.co.jp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;技術部 開発設計課 山田 淳&lt;/P&gt;&lt;P&gt;E-Mail jun@cew.co.jp&lt;/P&gt;&lt;P&gt;TEL 022-382-8123&lt;/P&gt;&lt;P&gt;FAX 022-382-8136&lt;/P&gt;&lt;P&gt;〒981-1251&lt;/P&gt;&lt;P&gt;宮城県名取市愛島台7丁目101番地51&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt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c:creator>
    <dc:date>2019-10-16T13:35:02Z</dc:date>
    <item>
      <title>KE04 FTM OUTPUT COMPARE MODE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927374#M53960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your kindness.&lt;/P&gt;&lt;P&gt;I ask a question about the title. A sample source and Waveform screenshot&amp;nbsp;attached.&lt;BR /&gt;(This is a modified version of SDK_2.6.0_MKE04Z128xxx4 \ boards \ frdmke06z \ driver_examples \ ftm \ output_compare)&lt;/P&gt;&lt;P&gt;・ Question&lt;BR /&gt;Modified to not output from the port. I set the FTM output port (PTC0 in this example) to GPIO output and toggle it with an FTM interrupt, but I can't. The neighboring PTC1 toggles, so I think the GPIO settings are correct.&lt;BR /&gt;What is missing?&lt;BR /&gt;According to the manual, if ELSnB: ELSnA = 00, the pin-channel pins not used for FTM are returned to general-purpose I / O or other peripheral device control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 07:57:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927374#M53960</guid>
      <dc:creator>jun1</dc:creator>
      <dc:date>2019-10-16T07:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: KE04 FTM OUTPUT COMPARE MODE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927375#M53961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ss.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91482iB6EE8AE13F9351B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="ss.PNG" alt="ss.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Maybe the parameter is "kFTM_ToggleOnMatch"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 08:36:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927375#M53961</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2019-10-16T08:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: KE04 FTM OUTPUT COMPARE MODE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927376#M53962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for lack of explanation. If it is that parameter, it will toggle output, but all I want is timer interrupt and I don't want FTM port output. I want to do port output at another timing in another task. What should I do in this case? Is it possible to access GPIO corresponding to FTM with software?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;jun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 13:22:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927376#M53962</guid>
      <dc:creator>jun1</dc:creator>
      <dc:date>2019-10-16T13:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: KE04 FTM OUTPUT COMPARE MODE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927377#M53963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There was not enough explanation.  I don't need output port access and just want to use FTM as a timer interrupt.  I want to use FTM1 channels 0 and 1 for MODBUS T1.5 and T3.5 timers.  Can the output compare mode be used for these two timers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jun&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;/P&gt;&lt;P&gt;（株）中央製作所&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cew.co.jp" target="test_blank"&gt;http://www.cew.co.jp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;技術部 開発設計課 山田 淳&lt;/P&gt;&lt;P&gt;E-Mail jun@cew.co.jp&lt;/P&gt;&lt;P&gt;TEL 022-382-8123&lt;/P&gt;&lt;P&gt;FAX 022-382-8136&lt;/P&gt;&lt;P&gt;〒981-1251&lt;/P&gt;&lt;P&gt;宮城県名取市愛島台7丁目101番地51&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="46" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 13:35:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927377#M53963</guid>
      <dc:creator>jun1</dc:creator>
      <dc:date>2019-10-16T13:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: KE04 FTM OUTPUT COMPARE MODE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927378#M53964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In function "BOARD_InitPins"&amp;nbsp; , did you set the PTC0 as a FTM channel? If so, please comment it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 00:49:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927378#M53964</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2019-10-17T00:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: KE04 FTM OUTPUT COMPARE MODE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927379#M53965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Commented out but the same. Can't toggle. Attach the source.&lt;BR /&gt;Can I update GPIO with software even in FTM output compare mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 01:48:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927379#M53965</guid>
      <dc:creator>jun1</dc:creator>
      <dc:date>2019-10-17T01:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: KE04 FTM OUTPUT COMPARE MODE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927380#M53966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="d.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91574iF4A3CB773D18B817/image-size/large?v=v2&amp;amp;px=999" role="button" title="d.PNG" alt="d.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The second parameter is the pin number. PTC0 should set 0 , not 1u&amp;lt;&amp;lt;1. "1&amp;lt;&amp;lt;1" is PTC2&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 03:26:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927380#M53966</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2019-10-17T03:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: KE04 FTM OUTPUT COMPARE MODE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927381#M53967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for pointing out the mistake.&lt;BR /&gt;it is complete.&lt;/P&gt;&lt;P&gt;best regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 03:45:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04-FTM-OUTPUT-COMPARE-MODE/m-p/927381#M53967</guid>
      <dc:creator>jun1</dc:creator>
      <dc:date>2019-10-17T03:45:29Z</dc:date>
    </item>
  </channel>
</rss>

