<?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 iMX6 General Purpose Timer in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-General-Purpose-Timer/m-p/493461#M79299</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 start the clock for the GPT by writing the bits 20-23 in CCM_CCGR1.&lt;/P&gt;&lt;P&gt;Set the prescaler register to 0, reset the GPT, writing 1&amp;lt;&amp;lt;15 to the control register, waiting until (1&amp;lt;&amp;lt;15) is 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Writing 1&amp;lt;&amp;lt;18 + 1&amp;lt;&amp;lt;16 + 1&amp;lt;&amp;lt;9 + 4&amp;lt;&amp;lt;6 + 1&lt;/P&gt;&lt;P&gt;capture on rising edge&lt;/P&gt;&lt;P&gt;restart mode&lt;/P&gt;&lt;P&gt;low frequency clock&lt;/P&gt;&lt;P&gt;enable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The counter register, 0x02098024, stays 0, so the status register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I forgot something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Feb 2016 14:51:15 GMT</pubDate>
    <dc:creator>dirkschäfer</dc:creator>
    <dc:date>2016-02-06T14:51:15Z</dc:date>
    <item>
      <title>iMX6 General Purpose Timer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-General-Purpose-Timer/m-p/493461#M79299</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 start the clock for the GPT by writing the bits 20-23 in CCM_CCGR1.&lt;/P&gt;&lt;P&gt;Set the prescaler register to 0, reset the GPT, writing 1&amp;lt;&amp;lt;15 to the control register, waiting until (1&amp;lt;&amp;lt;15) is 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Writing 1&amp;lt;&amp;lt;18 + 1&amp;lt;&amp;lt;16 + 1&amp;lt;&amp;lt;9 + 4&amp;lt;&amp;lt;6 + 1&lt;/P&gt;&lt;P&gt;capture on rising edge&lt;/P&gt;&lt;P&gt;restart mode&lt;/P&gt;&lt;P&gt;low frequency clock&lt;/P&gt;&lt;P&gt;enable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The counter register, 0x02098024, stays 0, so the status register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I forgot something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Feb 2016 14:51:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-General-Purpose-Timer/m-p/493461#M79299</guid>
      <dc:creator>dirkschäfer</dc:creator>
      <dc:date>2016-02-06T14:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 General Purpose Timer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-General-Purpose-Timer/m-p/493462#M79300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dirk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can verify input signal, it should be stable at least for two low frequency clocks&lt;/P&gt;&lt;P&gt;also check attached example from sdk and its description in chapter14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 11:15:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-General-Purpose-Timer/m-p/493462#M79300</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-02-07T11:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 General Purpose Timer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-General-Purpose-Timer/m-p/493463#M79301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Following IMX6DQRM.PDF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// disable&lt;/P&gt;&lt;P&gt;control= 0;&lt;/P&gt;&lt;P&gt;m_ctlReg.SetValue( control);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// peripheral clock&lt;/P&gt;&lt;P&gt;control |= 1&amp;lt;&amp;lt;6;&lt;/P&gt;&lt;P&gt;m_ctlReg.SetValue( control);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// software reset&lt;/P&gt;&lt;P&gt;control |= (1&amp;lt;&amp;lt;15);&lt;/P&gt;&lt;P&gt;m_ctlReg.SetValue( control);&lt;/P&gt;&lt;P&gt;while( (m_ctlReg.GetValue()&amp;amp;(1&amp;lt;&amp;lt;15)) != 0 );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// remove SWR bit&lt;/P&gt;&lt;P&gt;control &amp;amp;= ~(1&amp;lt;&amp;lt;15);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Status reset&lt;/P&gt;&lt;P&gt;m_statusReg.SetValue(0x0000003F);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// ENMOD, resets counter &amp;amp; prescaler&lt;/P&gt;&lt;P&gt;control |= 2;&lt;/P&gt;&lt;P&gt;m_ctlReg.SetValue(control);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// start&lt;/P&gt;&lt;P&gt;control |= 1;&lt;/P&gt;&lt;P&gt;m_ctlReg.SetValue(control);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Counter counts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 09:15:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-General-Purpose-Timer/m-p/493463#M79301</guid>
      <dc:creator>dirkschäfer</dc:creator>
      <dc:date>2016-02-08T09:15:03Z</dc:date>
    </item>
  </channel>
</rss>

