<?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: FlexTimer: FTMEN=0 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexTimer-FTMEN-0/m-p/834729#M50463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xaro Wubas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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/66087iD7711DD3DE62EF31/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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The above description means the FTM in K60 have two functions, one is the basic TPM function(FTMEN=0), which just have the register FTM_SC to FTM_C7V registers, other register can't be controlled; Another is the advanced function(FTMEN=1), which have all the register FTM_SC to FTM_PWMLOAD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, you can treat the FTMEN as a gate control bit, it used to select the TPM basic function or the advanced FTM function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now answer your two question:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;1. For some fields in the second set registers is explicitly mentioned, that they are only usable with FTMEN=1.What is about the others like CNTINIT, ...? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Answer: Just FTMEN is special, FTMEN is a gate control bit. CNTIN is used under FTMEN=1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2. If FTMEN=0 is set, how do they behave, e.g., is it treated like CNTINIT=0, no matter what CNTINIT was set last time FTMEN=1 was true? What is about write protection, is it disabled with FTMEN=0?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Answer: Yes, when FTEMEN=0, the other register from FTM_CNTIN to FTM_PWMLOAD regiser won't function, so it's better don't write it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;If you still have question about, please kindly let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&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>Mon, 23 Jul 2018 02:59:22 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2018-07-23T02:59:22Z</dc:date>
    <item>
      <title>FlexTimer: FTMEN=0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexTimer-FTMEN-0/m-p/834728#M50462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class=""&gt;Reference manual: K60P144M100SF2V2RM &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;From the reference manual of the K60:&lt;/P&gt;&lt;P&gt;" &lt;SPAN class=""&gt;The second set, from FTM_CNTIN to FTM_PWMLOAD registers, has the FTM specific&lt;BR /&gt;registers. Any second set registers, or bits within these registers, that are used by an&lt;BR /&gt;unavailable function in the FTM configuration remain in the memory map and in the&lt;BR /&gt;reset value, so they have no active function."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;" &lt;SPAN class=""&gt;Do not write to the FTM specific registers (second set registers) when FTMEN = 0."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;FTMEN itself is in register MODE, which is a second set register. Hence, FTMEN could never be set to 1 ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;So, I assume the reference is inexact concerning what is writable with FTMEN=0, in general.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;1. For some fields in the second set registers is explicitly mentioned, that they are only usable with FTMEN=1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;What is about the others like CNTINIT, ...? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2. If FTMEN=0 is set, how do they behave, e.g., is it treated like CNTINIT=0, no matter what CNTINIT was set last time FTMEN=1 was true? What is about write protection, is it disabled with FTMEN=0?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 07:35:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexTimer-FTMEN-0/m-p/834728#M50462</guid>
      <dc:creator>xarowubas</dc:creator>
      <dc:date>2018-07-20T07:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: FlexTimer: FTMEN=0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexTimer-FTMEN-0/m-p/834729#M50463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xaro Wubas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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/66087iD7711DD3DE62EF31/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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The above description means the FTM in K60 have two functions, one is the basic TPM function(FTMEN=0), which just have the register FTM_SC to FTM_C7V registers, other register can't be controlled; Another is the advanced function(FTMEN=1), which have all the register FTM_SC to FTM_PWMLOAD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, you can treat the FTMEN as a gate control bit, it used to select the TPM basic function or the advanced FTM function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now answer your two question:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;1. For some fields in the second set registers is explicitly mentioned, that they are only usable with FTMEN=1.What is about the others like CNTINIT, ...? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Answer: Just FTMEN is special, FTMEN is a gate control bit. CNTIN is used under FTMEN=1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2. If FTMEN=0 is set, how do they behave, e.g., is it treated like CNTINIT=0, no matter what CNTINIT was set last time FTMEN=1 was true? What is about write protection, is it disabled with FTMEN=0?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Answer: Yes, when FTEMEN=0, the other register from FTM_CNTIN to FTM_PWMLOAD regiser won't function, so it's better don't write it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;If you still have question about, please kindly let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&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>Mon, 23 Jul 2018 02:59:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexTimer-FTMEN-0/m-p/834729#M50463</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-07-23T02:59:22Z</dc:date>
    </item>
  </channel>
</rss>

