<?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_Init() crashes</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-Init-crashes/m-p/789203#M48024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using MCUXepresso, SDK, and configuration tools with a Kinetis FRDM board project. Everything is for the specific board I'm using. I can get the&amp;nbsp;FTM driver examples to run on the board&amp;nbsp;from the same SDK. However, when I make my own project all my FTM_Init functions crash immediately after the line shown in the attached executes. I've double checked my clock and pin configurations which is really the only thing that might be different from the example projects, but I can't find why it is crashing. When I comment out all my FTM sections, the rest of the application runs fine. The only other modules that I'm using in this project are GPIO on one pin, msCAN, PWT, and PIT. Its on a FRDM-KE06Z. Does anyone have any thoughts on where to look for issues?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Line before fault.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66921iABEDD1D3BC1EAE28/image-size/large?v=v2&amp;amp;px=999" role="button" title="Line before fault.PNG" alt="Line before fault.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Oct 2018 21:28:12 GMT</pubDate>
    <dc:creator>tomolenik</dc:creator>
    <dc:date>2018-10-31T21:28:12Z</dc:date>
    <item>
      <title>FTM_Init() crashes</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-Init-crashes/m-p/789203#M48024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using MCUXepresso, SDK, and configuration tools with a Kinetis FRDM board project. Everything is for the specific board I'm using. I can get the&amp;nbsp;FTM driver examples to run on the board&amp;nbsp;from the same SDK. However, when I make my own project all my FTM_Init functions crash immediately after the line shown in the attached executes. I've double checked my clock and pin configurations which is really the only thing that might be different from the example projects, but I can't find why it is crashing. When I comment out all my FTM sections, the rest of the application runs fine. The only other modules that I'm using in this project are GPIO on one pin, msCAN, PWT, and PIT. Its on a FRDM-KE06Z. Does anyone have any thoughts on where to look for issues?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Line before fault.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66921iABEDD1D3BC1EAE28/image-size/large?v=v2&amp;amp;px=999" role="button" title="Line before fault.PNG" alt="Line before fault.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 21:28:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-Init-crashes/m-p/789203#M48024</guid>
      <dc:creator>tomolenik</dc:creator>
      <dc:date>2018-10-31T21:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: FTM_Init() crashes</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-Init-crashes/m-p/789204#M48025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most likely you have removed some initialisation code that enables clock to the FTM. Any access to an FTM register without the clock gated to it will result in a hard fault.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66841i653ACCFC877C7365/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;BR /&gt;Kinetis KE:&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-KE02Z.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-KE02Z.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-KE02Z40M.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-KE02Z40M.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-KE04Z.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-KE04Z.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-KE06Z.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-KE06Z.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-KE15Z.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-KE15Z.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For less questions and restrictions, and faster, cheaper developments: try uTasker for Kinetis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 23:38:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-Init-crashes/m-p/789204#M48025</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-10-31T23:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: FTM_Init() crashes</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-Init-crashes/m-p/789205#M48026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &amp;nbsp;Thomas Olenik,&lt;/P&gt;&lt;P&gt;Would you please tell us which FTM module are used?&lt;BR /&gt;The FTMx_MODE is not available on FTM0/1.&lt;span class="lia-inline-image-display-wrapper" image-alt="Table 3-33. FTM modules features.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66973i2ECAC80A52B920C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Table 3-33. FTM modules features.png" alt="Table 3-33. FTM modules features.png" /&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>Fri, 02 Nov 2018 07:08:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-Init-crashes/m-p/789205#M48026</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2018-11-02T07:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: FTM_Init() crashes</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-Init-crashes/m-p/789206#M48027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is probably it. I am trying to use FTM0 for input capture to read a hall effect sensor, and FTM1 for combine mode PWM for driving a servo. I will switch to FTM2 and test that tomorrow. I will come back to mark your answer correct if that fixes the problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 12:35:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTM-Init-crashes/m-p/789206#M48027</guid>
      <dc:creator>tomolenik</dc:creator>
      <dc:date>2018-11-05T12:35:31Z</dc:date>
    </item>
  </channel>
</rss>

