<?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: EPIT Timer - LR and CMP but no Event on both? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/EPIT-Timer-LR-and-CMP-but-no-Event-on-both/m-p/397312#M58323</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;&lt;/P&gt;&lt;P&gt;The behavior you are facing is correct:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the RM:&lt;/P&gt;&lt;P&gt;If an interrupt is required at rollover (when the counter value reaches 0x0000_0000 and the new value is loaded) then&lt;/P&gt;&lt;P&gt;the compare register value should be set equal to the load register value in set-and-forget&lt;/P&gt;&lt;P&gt;mode, or equal to 0xFFFF_FFFF in free-running mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2015 23:28:05 GMT</pubDate>
    <dc:creator>alejandrolozan1</dc:creator>
    <dc:date>2015-07-10T23:28:05Z</dc:date>
    <item>
      <title>EPIT Timer - LR and CMP but no Event on both?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EPIT-Timer-LR-and-CMP-but-no-Event-on-both/m-p/397311#M58322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have an iMX6-Solo dev board running Linux 3.10.17.&lt;/P&gt;&lt;P&gt;I'm looking to generate a pulse wave with the EPIT timer and the event output pin. The EPIT has a load register so you can choose an overall time and a compare register so you can choose another point within this time. But it seems you can only generate an event (pin state change) on the compare matching the count, not at the zero/reload point. If you want to have an interrupt at the reload point you have to set the compare to the reload value. So what's the point of having both these registers? Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently it looks like I have to swap reload values and output mode on every interrupt to get a pulse wave. Is this what is expected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The GPT has a 1 clock length pulse option but it is being used as the Linux system timer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 11:00:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EPIT-Timer-LR-and-CMP-but-no-Event-on-both/m-p/397311#M58322</guid>
      <dc:creator>benhenricksen</dc:creator>
      <dc:date>2015-07-09T11:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: EPIT Timer - LR and CMP but no Event on both?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EPIT-Timer-LR-and-CMP-but-no-Event-on-both/m-p/397312#M58323</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;&lt;/P&gt;&lt;P&gt;The behavior you are facing is correct:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the RM:&lt;/P&gt;&lt;P&gt;If an interrupt is required at rollover (when the counter value reaches 0x0000_0000 and the new value is loaded) then&lt;/P&gt;&lt;P&gt;the compare register value should be set equal to the load register value in set-and-forget&lt;/P&gt;&lt;P&gt;mode, or equal to 0xFFFF_FFFF in free-running mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 23:28:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EPIT-Timer-LR-and-CMP-but-no-Event-on-both/m-p/397312#M58323</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-07-10T23:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: EPIT Timer - LR and CMP but no Event on both?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EPIT-Timer-LR-and-CMP-but-no-Event-on-both/m-p/397313#M58324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, thanks for confirming the operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have it working generating the pulse wave by &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;swapping reload values and output mode on every interrupt.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 09:02:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EPIT-Timer-LR-and-CMP-but-no-Event-on-both/m-p/397313#M58324</guid>
      <dc:creator>benhenricksen</dc:creator>
      <dc:date>2015-07-13T09:02:42Z</dc:date>
    </item>
  </channel>
</rss>

