<?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: FTM input clock source limitation</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-input-clock-source-limitation/m-p/225888#M4458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One external clock source can be used as input clock source for all flextimer modules. It depends only on setting on the register SOPT4. There are two external FTM_CLKINx pins that can be selected by any FTM module via the SOPT4 register in the SIM module.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope that help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Sep 2013 12:00:08 GMT</pubDate>
    <dc:creator>pavel_krenek</dc:creator>
    <dc:date>2013-09-11T12:00:08Z</dc:date>
    <item>
      <title>FTM input clock source limitation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-input-clock-source-limitation/m-p/225887#M4457</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;I have a K60 and I used until now the internal bus clock for my timing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed to use the FTM_CLKIN1 input as clock source and it works for my timer FTM1.&amp;nbsp; I have a 10Mhz 0.1ppm clock to generates a 10khz. =&amp;gt; OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to enable the FTM0 also with the same input clock source but PE doesn't allow me to do that. It says the clock source is already in use.&amp;nbsp; But I need it as it is the accurate clock source.&lt;/P&gt;&lt;P&gt;I supposed that this clock source can be use by any FTM flex timer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone help with that?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wasn't able to find any limitation about that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;-stéphan-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 09:23:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-input-clock-source-limitation/m-p/225887#M4457</guid>
      <dc:creator>aroste</dc:creator>
      <dc:date>2013-09-11T09:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: FTM input clock source limitation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-input-clock-source-limitation/m-p/225888#M4458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One external clock source can be used as input clock source for all flextimer modules. It depends only on setting on the register SOPT4. There are two external FTM_CLKINx pins that can be selected by any FTM module via the SOPT4 register in the SIM module.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope that help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 12:00:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-input-clock-source-limitation/m-p/225888#M4458</guid>
      <dc:creator>pavel_krenek</dc:creator>
      <dc:date>2013-09-11T12:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: FTM input clock source limitation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-input-clock-source-limitation/m-p/225889#M4459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Pavel, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&amp;nbsp; So it means it is an error in PE that causes this error?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is annoying since for those timers I use PE to generate my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can maybe set another input, generates the files and correct them manually after that.&amp;nbsp; It's tricky since I will need to restore my update in case I modify a setting with PE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;stéphan-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 13:07:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-input-clock-source-limitation/m-p/225889#M4459</guid>
      <dc:creator>aroste</dc:creator>
      <dc:date>2013-09-11T13:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: FTM input clock source limitation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-input-clock-source-limitation/m-p/225890#M4460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I did not tested in PE but I think you have to set the SIM module via PE and after that should be available the external clock for any of flex timer module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 13:56:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-input-clock-source-limitation/m-p/225890#M4460</guid>
      <dc:creator>pavel_krenek</dc:creator>
      <dc:date>2013-09-11T13:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: FTM input clock source limitation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-input-clock-source-limitation/m-p/225891#M4461</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;I come late with an answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I finally found the workaround.&amp;nbsp; I created the timer with PE, and just after the init call I have to set manually the SIM_SOPT4 because PE doesn't handle it properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;if (EventStruct.Out10Khz_UserDatas.DeviceDatas == NULL)&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;{&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("FAILED to setup 10khz output!");&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;_task_block();&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;}&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;else&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;{&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;// Missing from PE code generation !!!&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;/* SIM_SOPT4: FTM1CLKSEL=1 */&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;SIM_SOPT4 |= SIM_SOPT4_FTM1CLKSEL_MASK;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;}&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 09:42:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-input-clock-source-limitation/m-p/225891#M4461</guid>
      <dc:creator>aroste</dc:creator>
      <dc:date>2014-03-25T09:42:54Z</dc:date>
    </item>
  </channel>
</rss>

