<?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: Using FTM3 with Internal Oscillator (KV31f512) in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FTM3-with-Internal-Oscillator-KV31f512/m-p/890916#M52637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem Fixed - When timer was enabled was the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Apr 2019 18:32:24 GMT</pubDate>
    <dc:creator>p_hedlund</dc:creator>
    <dc:date>2019-04-10T18:32:24Z</dc:date>
    <item>
      <title>Using FTM3 with Internal Oscillator (KV31f512)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FTM3-with-Internal-Oscillator-KV31f512/m-p/890915#M52636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the internal oscillator with the KV31F512 Processor.&lt;/P&gt;&lt;P&gt;Our application is a Brushless DC motor controller. (phase u Hi, low, phase v hi, low and phase w hi and low)&lt;/P&gt;&lt;P&gt;I was given a board design that already existed but was never tested.&lt;/P&gt;&lt;P&gt;All 3 of the lo phases are just on and off, All 3 of the hi phases are gated PWM's&amp;nbsp;&lt;/P&gt;&lt;P&gt;Phase U is PortA13 FTM1-CH1&lt;/P&gt;&lt;P&gt;Phase V is PortE25 FTM0-CH1&lt;/P&gt;&lt;P&gt;Phase W is PortE6&amp;nbsp; FTM3-CH1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the FRDM-kv31f and subbing PortC2 for PortE25 The software runs and i get the expected signals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our Target board however does not an external crystal and we must use the internal oscillator.&lt;/P&gt;&lt;P&gt;I have an UART2 working at 115200 without issue.&lt;/P&gt;&lt;P&gt;I have a timer running to control the start/stop of the 3 phases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PhaseW does not work.&lt;/P&gt;&lt;P&gt;Further testing has found that if i comment out code for Phase U and Phase V, and only have Phase W enabled, I get pulses on Phase U.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since this worked on the FRDM-KV31F board and not our target I am wondering if there is some interaction i am unaware of when using the internal oscillator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to I can send code snippets to show what i am doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know the preferred method is to use ONE FTM for a motor but the layout was already done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter Hedlund&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 15:15:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FTM3-with-Internal-Oscillator-KV31f512/m-p/890915#M52636</guid>
      <dc:creator>p_hedlund</dc:creator>
      <dc:date>2019-04-10T15:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using FTM3 with Internal Oscillator (KV31f512)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FTM3-with-Internal-Oscillator-KV31f512/m-p/890916#M52637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem Fixed - When timer was enabled was the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 18:32:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-FTM3-with-Internal-Oscillator-KV31f512/m-p/890916#M52637</guid>
      <dc:creator>p_hedlund</dc:creator>
      <dc:date>2019-04-10T18:32:24Z</dc:date>
    </item>
  </channel>
</rss>

