<?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 LCDIF vs GPIO interrupt in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/LCDIF-vs-GPIO-interrupt/m-p/254709#M24099</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My design is imx28 + Linux/CE. Recently I find that if LCDIF is not initialized, the gpio interrupts can not work properly. I will continue to trace the problem to figure out what exactly happens to GPIO inteterrupts. I just wonder if anybody met thus a problem before. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheng Shi&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.emtronix.com/"&gt;www.emtronix.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Apr 2013 08:58:51 GMT</pubDate>
    <dc:creator>x10</dc:creator>
    <dc:date>2013-04-07T08:58:51Z</dc:date>
    <item>
      <title>LCDIF vs GPIO interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LCDIF-vs-GPIO-interrupt/m-p/254709#M24099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My design is imx28 + Linux/CE. Recently I find that if LCDIF is not initialized, the gpio interrupts can not work properly. I will continue to trace the problem to figure out what exactly happens to GPIO inteterrupts. I just wonder if anybody met thus a problem before. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheng Shi&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.emtronix.com/"&gt;www.emtronix.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2013 08:58:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LCDIF-vs-GPIO-interrupt/m-p/254709#M24099</guid>
      <dc:creator>x10</dc:creator>
      <dc:date>2013-04-07T08:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: LCDIF vs GPIO interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LCDIF-vs-GPIO-interrupt/m-p/254710#M24100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is found that calling LCDIFDisplayFrameBuffer(..) is critical to gpio interrupts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BOOL LCDIFDisplayFrameBuffer(const void* pData)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hw_lcdif_ctrl_t ctrl_reg;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UINT32 physAddress;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ctrl_reg.U = HW_LCDIF_CTRL_RD();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; physAddress = (UINT32) pData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ctrl_reg.B.DOTCLK_MODE || ctrl_reg.B.DVI_MODE) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HW_LCDIF_NEXT_BUF_WR(physAddress);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ctrl_reg.B.RUN != 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HW_LCDIF_CUR_BUF_WR(physAddress);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ctrl_reg.B.RUN == 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (HW_LCDIF_CTRL.B.RUN == 1) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HW_LCDIF_CUR_BUF_WR(physAddress);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } //if/else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ctrl_reg.B.DATA_SELECT = DATA_MODE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ctrl_reg.B.WAIT_FOR_VSYNC_EDGE = ctrl_reg.B.VSYNC_MODE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ctrl_reg.B.RUN = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HW_LCDIF_CTRL_WR(ctrl_reg.U);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return TRUE;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After calling LCDIFDisplayFrameBuffer(), gpio interrupts works fine.&amp;nbsp; If I just comment all the code in LCDIFDisplayFrameBuffer(), gpio interrupts fail! HW_LCDIF_CTRL register is NOT related with GPIO at all, incredibel!&lt;/P&gt;&lt;P&gt;The behavior of gpio interrupt is like X_CLK is slow down so that interrupt pulse (about 84ns) can not be detected. HW_CLKCTRL_XBUS.DIV is set to 1, therfore the X_CLK should be 24MHz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 02:33:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LCDIF-vs-GPIO-interrupt/m-p/254710#M24100</guid>
      <dc:creator>x10</dc:creator>
      <dc:date>2013-04-08T02:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: LCDIF vs GPIO interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LCDIF-vs-GPIO-interrupt/m-p/254711#M24101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can not figure out which clock ICOLL use in iMX28. Please let me know if anyone have information about those issue. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheng Shi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 13:28:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LCDIF-vs-GPIO-interrupt/m-p/254711#M24101</guid>
      <dc:creator>x10</dc:creator>
      <dc:date>2013-04-10T13:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: LCDIF vs GPIO interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LCDIF-vs-GPIO-interrupt/m-p/254712#M24102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the problem!&lt;/P&gt;&lt;P&gt;The GPIO unit are assumed to use CLK_X which is XTAL = 24MHz, according to reference manual. But my experiment show that lacth of interrupt of GPIO is related with CLK_H instead of CLK_X. Therfore CLK_H's slow mode can not be enabled if the interrupt pulse is very short (about 83ns).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheng Shi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 09:05:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LCDIF-vs-GPIO-interrupt/m-p/254712#M24102</guid>
      <dc:creator>x10</dc:creator>
      <dc:date>2013-04-15T09:05:42Z</dc:date>
    </item>
  </channel>
</rss>

