<?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: ke02 FlexTimer WPDIS bits in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ke02-FlexTimer-WPDIS-bits/m-p/678866#M41797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kerry.&lt;/P&gt;&lt;P&gt;But, besides that. Can I use the FTM to demodulate an IR signal? The input signal is an 500us burst of a 50% duty cycle on a 38kHz carrier. Here 1s are the mentioned burst followed by 1500us of silence and 0s same burst followed by 500us silence. If I can manage to filter the square wave burst into an constant 1 I can decode the data. I've tried using the dual edge capture mode of FTM but, as the signal is not an constant PWM signal the FTMx_CnV is not updated when duty cycle is 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 May 2017 07:36:22 GMT</pubDate>
    <dc:creator>otavioborges</dc:creator>
    <dc:date>2017-05-16T07:36:22Z</dc:date>
    <item>
      <title>ke02 FlexTimer WPDIS bits</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ke02-FlexTimer-WPDIS-bits/m-p/678864#M41795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to demodulate an Ir input using FTM inputs. I managed to use ACMP I/Os to filter IR receiver hysteresis, nevertheless, when trying to configure FTM1 to filter carrier frequency I get stucked on configuring some FTM registers. When I try:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;FTM1-&amp;gt;SC = 0;&lt;BR /&gt; FTM1-&amp;gt;CONF = 0xC0;&lt;BR /&gt; FTM1-&amp;gt;FMS = 0;&lt;BR /&gt; FTM1-&amp;gt;MODE = FTM_MODE_WPDIS_MASK;&lt;BR /&gt; FTM1-&amp;gt;CONTROLS[0].CnSC = FTM_CnSC_ELSA_MASK;&lt;BR /&gt; FTM1-&amp;gt;CONTROLS[0].CnV = 0x3FFF;&lt;BR /&gt; FTM1-&amp;gt;FLTCTRL = FTM_FLTCTRL_FAULT0EN_MASK;&lt;BR /&gt; FTM1-&amp;gt;FLTPOL = FTM_FLTPOL_FLT0POL_MASK;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;accessing FMS, MODE, FLTCTRL of FLTPOL from FTM1 i get pushed to a WatchdogIRQ (probably an unhandled Default_IRQ).&lt;/P&gt;&lt;P&gt;Using same registers from FTM2 give me no such error! Although FTM0 and FTM1 doesn't allow access to those register. Am I missing any config?&lt;BR /&gt;Also, I'm trying to follow&amp;nbsp;&lt;A href="http://cache.nxp.com/assets/documents/data/en/application-notes/AN5142.pdf"&gt;Features of the FlexTimer&lt;/A&gt;&amp;nbsp;to create an IR demodulator, but any material on the subject would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 May 2017 07:28:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ke02-FlexTimer-WPDIS-bits/m-p/678864#M41795</guid>
      <dc:creator>otavioborges</dc:creator>
      <dc:date>2017-05-13T07:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: ke02 FlexTimer WPDIS bits</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ke02-FlexTimer-WPDIS-bits/m-p/678865#M41796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Otavio Borges,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please take care, FTM0,1 is not the same as FTM2, FTM0,1 is the basic FTM component, more details, you can find it from the KE02 reference manual.pdf&lt;/P&gt;&lt;P&gt;the table 3-33. FTM modules features&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/18103i75F87FF3C2754151/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;So, you can't configure MODE register in FTM1, it is correct, because FTM0,1 don't have this function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&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>Tue, 16 May 2017 06:41:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ke02-FlexTimer-WPDIS-bits/m-p/678865#M41796</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-05-16T06:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: ke02 FlexTimer WPDIS bits</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ke02-FlexTimer-WPDIS-bits/m-p/678866#M41797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kerry.&lt;/P&gt;&lt;P&gt;But, besides that. Can I use the FTM to demodulate an IR signal? The input signal is an 500us burst of a 50% duty cycle on a 38kHz carrier. Here 1s are the mentioned burst followed by 1500us of silence and 0s same burst followed by 500us silence. If I can manage to filter the square wave burst into an constant 1 I can decode the data. I've tried using the dual edge capture mode of FTM but, as the signal is not an constant PWM signal the FTMx_CnV is not updated when duty cycle is 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 07:36:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ke02-FlexTimer-WPDIS-bits/m-p/678866#M41797</guid>
      <dc:creator>otavioborges</dc:creator>
      <dc:date>2017-05-16T07:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: ke02 FlexTimer WPDIS bits</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ke02-FlexTimer-WPDIS-bits/m-p/678867#M41798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Otavio Borges,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; About the KE IR usage, we have some post for your reference:&lt;/P&gt;&lt;P&gt;1. &lt;A href="https://community.nxp.com/docs/DOC-101130"&gt;Implementing infrared functions on UART0 with FRDM-KE02Z platform.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. &lt;A href="https://community.nxp.com/docs/DOC-103784"&gt;IRDA bit banging on FRDM-KE02Z&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer to it at first.&lt;/P&gt;&lt;P&gt;If you still have question after refer to that post, just let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&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>Tue, 16 May 2017 09:26:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ke02-FlexTimer-WPDIS-bits/m-p/678867#M41798</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-05-16T09:26:51Z</dc:date>
    </item>
  </channel>
</rss>

