<?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のトピックFree running timer on K82</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Free-running-timer-on-K82/m-p/794459#M48383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For FreeRTOS profiling I need 32bit timer what is increment with clock 10-100kHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LPTIMERx resolution is not so good and timers used for other purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From other side it is not so visible on K82 spec other simply timers. Only FTM/PTM like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you suggest what kind of peripheral timer can be programmed&amp;nbsp; as simply running 32bit timer counter ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2018 07:30:10 GMT</pubDate>
    <dc:creator>EugeneHiihtaja</dc:creator>
    <dc:date>2018-08-16T07:30:10Z</dc:date>
    <item>
      <title>Free running timer on K82</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Free-running-timer-on-K82/m-p/794459#M48383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For FreeRTOS profiling I need 32bit timer what is increment with clock 10-100kHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LPTIMERx resolution is not so good and timers used for other purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From other side it is not so visible on K82 spec other simply timers. Only FTM/PTM like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you suggest what kind of peripheral timer can be programmed&amp;nbsp; as simply running 32bit timer counter ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 07:30:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Free-running-timer-on-K82/m-p/794459#M48383</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2018-08-16T07:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Free running timer on K82</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Free-running-timer-on-K82/m-p/794460#M48384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugene,&lt;/P&gt;&lt;P&gt;PIT(periodic interrupt timer) is a good choice. Details please find in rm. There is also examples in SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 09:57:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Free-running-timer-on-K82/m-p/794460#M48384</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-08-16T09:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Free running timer on K82</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Free-running-timer-on-K82/m-p/794461#M48385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jing !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PIT timer has resolution 32 bit and BusClock is only clock source for it.&lt;/P&gt;&lt;P&gt;If bus clock 48Mhz, it count full loop in ~ 89s.&lt;/P&gt;&lt;P&gt;What should be enough for short term measurements. FreeRTOS supports only 32bit counter only for keep track of task execution time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be have sense to use chained timer and use high 32bit and reload low timer every 10 us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 12:58:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Free-running-timer-on-K82/m-p/794461#M48385</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2018-08-16T12:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Free running timer on K82</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Free-running-timer-on-K82/m-p/794462#M48386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, you can use chain mode.&amp;nbsp; There is examples in the reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 03:05:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Free-running-timer-on-K82/m-p/794462#M48386</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-08-17T03:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Free running timer on K82</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Free-running-timer-on-K82/m-p/794463#M48387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jing !&lt;/P&gt;&lt;P&gt;Yes it work as expected. I have chained Timer1 and Timer 0. And 1 count resolution - 100 Khz is enough for by used inside FreeRTOS fro profiling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to configure PIT timers via embedded ConfigTools and even chaining is mentioned, it can't be set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 07:39:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Free-running-timer-on-K82/m-p/794463#M48387</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2018-08-17T07:39:17Z</dc:date>
    </item>
  </channel>
</rss>

