<?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 Want a 32 bit timer but 24 bit will do in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Want-a-32-bit-timer-but-24-bit-will-do/m-p/497725#M31017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking through the data sheets for the K26 it looks like you cannot cascade the FTM timers on Kinetis (although docs I have found on the FTM suggest it was designed with this in mind). Now I really would like a 32 bit input capture feature but 24 bit would do, so I was thing of doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to count accurate time between infrequent pulses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FTM1 clocked at the maximum bus speed, 60MHz&lt;/P&gt;&lt;P&gt;FTM2 clocked at 60MHz via the divide by 128 prescaler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feed my input edge to I/C on both timers then combine the results of both captures to give a 24 bit result, I will only need to service the timer overflow of FTM2 to expand the result up to 32 bits in software and save on the "Timer overflow interrupts" by a factor of 128.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this make sense, or is there a better way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Dec 2015 21:54:53 GMT</pubDate>
    <dc:creator>therealfreegeek</dc:creator>
    <dc:date>2015-12-21T21:54:53Z</dc:date>
    <item>
      <title>Want a 32 bit timer but 24 bit will do</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Want-a-32-bit-timer-but-24-bit-will-do/m-p/497725#M31017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking through the data sheets for the K26 it looks like you cannot cascade the FTM timers on Kinetis (although docs I have found on the FTM suggest it was designed with this in mind). Now I really would like a 32 bit input capture feature but 24 bit would do, so I was thing of doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to count accurate time between infrequent pulses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FTM1 clocked at the maximum bus speed, 60MHz&lt;/P&gt;&lt;P&gt;FTM2 clocked at 60MHz via the divide by 128 prescaler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feed my input edge to I/C on both timers then combine the results of both captures to give a 24 bit result, I will only need to service the timer overflow of FTM2 to expand the result up to 32 bits in software and save on the "Timer overflow interrupts" by a factor of 128.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this make sense, or is there a better way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 21:54:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Want-a-32-bit-timer-but-24-bit-will-do/m-p/497725#M31017</guid>
      <dc:creator>therealfreegeek</dc:creator>
      <dc:date>2015-12-21T21:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Want a 32 bit timer but 24 bit will do</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Want-a-32-bit-timer-but-24-bit-will-do/m-p/497726#M31018</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;The FTM counter is 16-bit, which does not support chained timers.&lt;/P&gt;&lt;P&gt;For customer is using input capture mode, if customer could consider to use PIT timer with external pin interrupt.&lt;/P&gt;&lt;P&gt;PIT timer counter is 32-bit and supports chained mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Ma Hui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 05:38:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Want-a-32-bit-timer-but-24-bit-will-do/m-p/497726#M31018</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2015-12-23T05:38:54Z</dc:date>
    </item>
  </channel>
</rss>

