<?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中的主题 Flex Timer use with Comparators</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-Timer-use-with-Comparators/m-p/215544#M3729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to implement a current controlled chopper using the internal comparator and FlexTimer module for stepper motor control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll explain a simplified version of what I need in order to keep the response focused.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I need two independent PWM channels operating 99% duty cycle.&amp;nbsp; When an internal comparator output goes active, I need the PWM channel to go to the inactive state for the remainder of the present period, returning to the active state at the zero point.&amp;nbsp; I initially thought I could do this by using the Fault signals - however, upon closer inspection it appears that any enabled fault condition will affect both channels. Do I understand this correctly?&amp;nbsp; Is there a way for each channel to be affected by a specific fault signal independently?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can't use fault signals, is there some sort of synchronization method I can use?&amp;nbsp; Perhaps using the comparator outputs as hardware triggers to affect a change of the output mask, and then calling an ISR before the zero point in order to restore the output mask synchronously at the zero point?&amp;nbsp; However, I would prefer a hardware solution to this instead of using ISRs.&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;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2012 17:26:20 GMT</pubDate>
    <dc:creator>ivekengineer</dc:creator>
    <dc:date>2012-10-11T17:26:20Z</dc:date>
    <item>
      <title>Flex Timer use with Comparators</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-Timer-use-with-Comparators/m-p/215544#M3729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to implement a current controlled chopper using the internal comparator and FlexTimer module for stepper motor control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll explain a simplified version of what I need in order to keep the response focused.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I need two independent PWM channels operating 99% duty cycle.&amp;nbsp; When an internal comparator output goes active, I need the PWM channel to go to the inactive state for the remainder of the present period, returning to the active state at the zero point.&amp;nbsp; I initially thought I could do this by using the Fault signals - however, upon closer inspection it appears that any enabled fault condition will affect both channels. Do I understand this correctly?&amp;nbsp; Is there a way for each channel to be affected by a specific fault signal independently?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can't use fault signals, is there some sort of synchronization method I can use?&amp;nbsp; Perhaps using the comparator outputs as hardware triggers to affect a change of the output mask, and then calling an ISR before the zero point in order to restore the output mask synchronously at the zero point?&amp;nbsp; However, I would prefer a hardware solution to this instead of using ISRs.&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;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 17:26:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-Timer-use-with-Comparators/m-p/215544#M3729</guid>
      <dc:creator>ivekengineer</dc:creator>
      <dc:date>2012-10-11T17:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Timer use with Comparators</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-Timer-use-with-Comparators/m-p/215545#M3730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me see if I can ask this in a different way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to implement Current-Limit PWM per 3.1.7 in App Note AN4485 - which is "Using eFlexPWM with MC56F82xx DSC".&amp;nbsp; It appears to me that the PWM module of the Kinetis does not have all the features of the eFlexPWM?&amp;nbsp; Specifically, it seems to be lacking independant fault control of individual PWM channels.&amp;nbsp; For example, I want the FAULT0 signal to disable PWM channels 0 &amp;amp; 1, FAULT1 signal to disable PWM channels 2 &amp;amp; 3, etc., but I don't see how to configure the FlexTimer to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 14:32:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-Timer-use-with-Comparators/m-p/215545#M3730</guid>
      <dc:creator>ivekengineer</dc:creator>
      <dc:date>2012-10-16T14:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Timer use with Comparators</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-Timer-use-with-Comparators/m-p/215546#M3731</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;If you are using the same FTMx for two or more channels you will find that these channels have the same frequency (MOD field register) but you can change duty cycle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can check others Application Notes or RM:&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/ref_manual/DRM128.pdf?fsrch=1&amp;amp;sr=1" title="http://cache.freescale.com/files/microcontrollers/doc/ref_manual/DRM128.pdf?fsrch=1&amp;amp;sr=1"&gt;http://cache.freescale.com/files/microcontrollers/doc/ref_manual/DRM128.pdf?fsrch=1&amp;amp;sr=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4381.pdf" style="font-size: 10pt; line-height: 1.5em;" title="http://cache.freescale.com/files/32bit/doc/app_note/AN4381.pdf"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN4381.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 19:12:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-Timer-use-with-Comparators/m-p/215546#M3731</guid>
      <dc:creator>adriansc</dc:creator>
      <dc:date>2013-02-12T19:12:56Z</dc:date>
    </item>
  </channel>
</rss>

