<?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>MCUXpresso Config ToolsのトピックRe: Peripherals Tool: FTM Prescale Value missing In CLOCK_SOURCE macro</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Peripherals-Tool-FTM-Prescale-Value-missing-In-CLOCK-SOURCE/m-p/737147#M308</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-userid="15128" data-username="steve_n" href="https://community.nxp.com/people/steve_n"&gt;Stephen Noonan&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for highlighting this , I will report it to MUXpressso config tool expert team.&lt;/P&gt;&lt;P&gt;And now the workaround is adding the prescale value by hand like :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31377i235D915464CD72BE/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Dec 2017 03:05:31 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2017-12-21T03:05:31Z</dc:date>
    <item>
      <title>Peripherals Tool: FTM Prescale Value missing In CLOCK_SOURCE macro</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Peripherals-Tool-FTM-Prescale-Value-missing-In-CLOCK-SOURCE/m-p/737146#M307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was using the new Peripheral tools in MCUXpresso IDE v10.1.0 [Build 589] [2017-11-14] to set up a periodic interrupt using the FTM on a MK66F18 chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I set the prescale value to anything other than 1, the periodic interrupt is incorrect, by exactly the ratio of the prescalar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The generated code is apparently missing the division of the clock by the prescale value. In peripherals.h:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define FTM_PERIPHERAL_NAME_CLOCK_SOURCE CLOCK_GetFreq(kCLOCK_BusClk)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe needs to be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define FTM_&lt;SPAN&gt;PERIPHERAL_NAME&lt;/SPAN&gt;&lt;SPAN&gt;_CLOCK_SOURCE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;(CLOCK_GetFreq(kCLOCK_BusClk) /&amp;nbsp; PRESCALE_VAL)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 15:07:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Peripherals-Tool-FTM-Prescale-Value-missing-In-CLOCK-SOURCE/m-p/737146#M307</guid>
      <dc:creator>steve_n</dc:creator>
      <dc:date>2017-12-20T15:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Peripherals Tool: FTM Prescale Value missing In CLOCK_SOURCE macro</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Peripherals-Tool-FTM-Prescale-Value-missing-In-CLOCK-SOURCE/m-p/737147#M308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-userid="15128" data-username="steve_n" href="https://community.nxp.com/people/steve_n"&gt;Stephen Noonan&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for highlighting this , I will report it to MUXpressso config tool expert team.&lt;/P&gt;&lt;P&gt;And now the workaround is adding the prescale value by hand like :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31377i235D915464CD72BE/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 03:05:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Peripherals-Tool-FTM-Prescale-Value-missing-In-CLOCK-SOURCE/m-p/737147#M308</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-12-21T03:05:31Z</dc:date>
    </item>
  </channel>
</rss>

