<?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>i.MX ProcessorsのトピックRe: MX25, GPT Interrupt</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MX25-GPT-Interrupt/m-p/239385#M19654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can refer arch/arm/plat-mxc/time.c for the gpt interrupt setting.&lt;/P&gt;&lt;P&gt;GPTIR should be set to 0x1.&lt;/P&gt;&lt;P&gt;Please also try to use ipg_clk_32k as gpt clock source to test if the issue is still exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jun 2013 03:51:32 GMT</pubDate>
    <dc:creator>shaojun_wang</dc:creator>
    <dc:date>2013-06-17T03:51:32Z</dc:date>
    <item>
      <title>MX25, GPT Interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX25-GPT-Interrupt/m-p/239384#M19653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;Dear Freescale, &lt;BR /&gt;I have a question for GPT Interrupt. &lt;BR /&gt; &lt;BR /&gt;For this, I configured the GPT Interrupt like as below, &lt;BR /&gt; - used GPT : GPT2 &lt;BR /&gt; - Interrupt Period : 100usec &lt;BR /&gt; - Interrupt Pin : MX25_PIN_GPIO_D &lt;BR /&gt; &lt;BR /&gt;So I expected that the interrupt pin will be toggled with 100usec period. &lt;BR /&gt;But the result was strange based on ISR. &lt;BR /&gt; - with ISR : Abnormal Operation &lt;BR /&gt; - without ISR : Normal Operation &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;Could you tell me what's the problem? &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;For your more understanding, I'll attach the modified/added files.&lt;BR /&gt; - Kernel &lt;BR /&gt;&amp;nbsp;&amp;nbsp; . arch/arm/mach-mx25/clock.c &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : add GPT2 clock (survey "Eric" in the code) &lt;BR /&gt; - Driver &lt;BR /&gt;&amp;nbsp;&amp;nbsp; . mx25_gpt_interrupt_driver.c &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : GPT Interrupt Test driver &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : GPT ISR in the code &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #if 1 // GPT Interrupt ISR - No.ISR = Normal / OK.ISR = Ab-normal &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;/* GPT ISR register */ &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;setup_irq(irq, &amp;amp;mxc_timer_irq_kicc); &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;#endif &lt;BR /&gt; - captured Wave &lt;BR /&gt;&amp;nbsp;&amp;nbsp; . Normal : Normal-Without_GPT_ISR.jpg &lt;BR /&gt;&amp;nbsp;&amp;nbsp; . Abnormal : Abnormal-With_GPT_ISR.jpg &lt;BR /&gt;&lt;BR /&gt;Best Regards, &lt;BR /&gt;Eric.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336576"&gt;clock.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336576"&gt;mx25_gpt_interrupt_driver.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 12:25:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX25-GPT-Interrupt/m-p/239384#M19653</guid>
      <dc:creator>erickang</dc:creator>
      <dc:date>2013-05-15T12:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: MX25, GPT Interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX25-GPT-Interrupt/m-p/239385#M19654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can refer arch/arm/plat-mxc/time.c for the gpt interrupt setting.&lt;/P&gt;&lt;P&gt;GPTIR should be set to 0x1.&lt;/P&gt;&lt;P&gt;Please also try to use ipg_clk_32k as gpt clock source to test if the issue is still exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 03:51:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX25-GPT-Interrupt/m-p/239385#M19654</guid>
      <dc:creator>shaojun_wang</dc:creator>
      <dc:date>2013-06-17T03:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: MX25, GPT Interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX25-GPT-Interrupt/m-p/239386#M19655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Shaojun Wang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I applied the gpt interrupt setting of arch/arm/plat-mxc/time.c,&lt;/P&gt;&lt;P&gt;but the result was the same.&lt;/P&gt;&lt;P&gt;And I applied the EPIT, but the result was the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually when I used the GPIO interrupt, the result was Success.&lt;/P&gt;&lt;P&gt;I don't know what's the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give me other guide?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 07:44:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX25-GPT-Interrupt/m-p/239386#M19655</guid>
      <dc:creator>erickang</dc:creator>
      <dc:date>2013-07-04T07:44:23Z</dc:date>
    </item>
  </channel>
</rss>

