<?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: screen rolling on a short video source interrupt</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183645#M8223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks your reply.&lt;/P&gt;&lt;P&gt;Is there any method to know it ?&lt;/P&gt;&lt;P&gt;for example,&lt;/P&gt;&lt;P&gt;Can I know CSI is re-syncing or the IDMAC is mixing ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;＊ By resetting the IDMAC when I detect the ADV7180 Lost-Lock bit, 90% of scrolling device can be solved.&lt;/P&gt;&lt;P&gt;but some video device, the interrupt period is so short, the ADV7180 cannot report 'Lost-Lock' corrently.&lt;/P&gt;&lt;P&gt;that's why I need to know it from iMX51.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Charles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;CITE&gt;Qiang Li said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/screen-rolling-on-a-short-video-source-interrupt?commentId=4103961%3AComment%3A43223&amp;amp;xg_source=msg_com_forum#4103961Comment43223"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;After the short interrupt, if the video source will re-start from a new frame, there will be problem. Because the IPU IDMAC is still receiving data for one frame, in this case, the frame data will be mixed. For example, if 1 frame data is 320*240*2 bytes, but when the video source interrupt happens, only 320*240*1 bytes was sent to CSI port, then the next frame's first 320*240*1 bytes will be received and mixed as 1 frame data. Although the CSI can re-sync the frame, but the IDMAC can't empty the internal buffer for a new frame's data.&lt;/P&gt;&lt;P&gt;You have to reset the IDMAC for the video source interrupt to capture a new frame.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Nov 2011 06:49:54 GMT</pubDate>
    <dc:creator>charleschang</dc:creator>
    <dc:date>2011-11-09T06:49:54Z</dc:date>
    <item>
      <title>screen rolling on a short video source interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183643#M8221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my target board is adv7180 + iMX51.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run the mxc_v4l2_tvin to display the video .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when the video source has a short interrupt, the display start rolling for a period.&lt;/P&gt;&lt;P&gt;-- please ref the attached video.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The interrupt is so short, even ADV7180 cannot generate a Lost-Lock signal.&lt;/P&gt;&lt;P&gt;It seems that the camera interface cannot re-sync the input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to fix this problem ?&lt;/P&gt;&lt;P&gt;to detect it or force re-syncing ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Charles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 06:27:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183643#M8221</guid>
      <dc:creator>charleschang</dc:creator>
      <dc:date>2011-11-04T06:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: screen rolling on a short video source interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183644#M8222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After the short interrupt, if the video source will re-start from a new frame, there will be problem. Because the IPU IDMAC is still receiving data for one frame, in this case, the frame data will be mixed. For example, if 1 frame data is 320*240*2 bytes, but when the video source interrupt happens, only 320*240*1 bytes was sent to CSI port, then the next frame's first 320*240*1 bytes will be received and mixed as 1 frame data. Although the CSI can re-sync the frame, but the IDMAC can't empty the internal buffer for a new frame's data.&lt;/P&gt;&lt;P&gt;You have to reset the IDMAC for the video source interrupt to capture a new frame.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 06:22:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183644#M8222</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2011-11-09T06:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: screen rolling on a short video source interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183645#M8223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks your reply.&lt;/P&gt;&lt;P&gt;Is there any method to know it ?&lt;/P&gt;&lt;P&gt;for example,&lt;/P&gt;&lt;P&gt;Can I know CSI is re-syncing or the IDMAC is mixing ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;＊ By resetting the IDMAC when I detect the ADV7180 Lost-Lock bit, 90% of scrolling device can be solved.&lt;/P&gt;&lt;P&gt;but some video device, the interrupt period is so short, the ADV7180 cannot report 'Lost-Lock' corrently.&lt;/P&gt;&lt;P&gt;that's why I need to know it from iMX51.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Charles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;CITE&gt;Qiang Li said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/screen-rolling-on-a-short-video-source-interrupt?commentId=4103961%3AComment%3A43223&amp;amp;xg_source=msg_com_forum#4103961Comment43223"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;After the short interrupt, if the video source will re-start from a new frame, there will be problem. Because the IPU IDMAC is still receiving data for one frame, in this case, the frame data will be mixed. For example, if 1 frame data is 320*240*2 bytes, but when the video source interrupt happens, only 320*240*1 bytes was sent to CSI port, then the next frame's first 320*240*1 bytes will be received and mixed as 1 frame data. Although the CSI can re-sync the frame, but the IDMAC can't empty the internal buffer for a new frame's data.&lt;/P&gt;&lt;P&gt;You have to reset the IDMAC for the video source interrupt to capture a new frame.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 06:49:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183645#M8223</guid>
      <dc:creator>charleschang</dc:creator>
      <dc:date>2011-11-09T06:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: screen rolling on a short video source interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183646#M8224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't tried such method, maybe you can enable the "New Frame before end-of-frame error indication of Channel interrupt" to check if there will be interrupt or not.&lt;/P&gt;&lt;P&gt;And if your hardware design can know such video interrupt, it will be more easy to handle.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 07:24:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183646#M8224</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2011-11-09T07:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: screen rolling on a short video source interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183647#M8225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I check the source : drivers/mxc/ipu3/ipu_common.c&lt;/P&gt;&lt;P&gt;the intial codes set all the IPU_INT_CTRL registers(5.6.9.10) to 0xFFFFFFFF. -- enable the 'new frame before end of frame" in every channel.&lt;/P&gt;&lt;P&gt;and there is a printk( ) in irq_handler, to print out the error message when it found any bit of them was set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but.. there is not message out when the video source is interrupted...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 07:51:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183647#M8225</guid>
      <dc:creator>charleschang</dc:creator>
      <dc:date>2011-11-09T07:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: screen rolling on a short video source interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183648#M8226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem Solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In im53 unit test program, I can get the interrupt on each frame,&lt;/P&gt;&lt;P&gt;read ADV7180 after each frame complete to get the 'frame, scanline lost " status..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;--- the IPU_INT_CTRL seems not work :(&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 02:30:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183648#M8226</guid>
      <dc:creator>charleschang</dc:creator>
      <dc:date>2011-11-14T02:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: screen rolling on a short video source interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183649#M8227</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;CITE&gt;charles chang said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/screen-rolling-on-a-short-video-source-interrupt?xg_source=activity#4103961Comment43226"&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;Thanks your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;＊ By resetting the IDMAC when I detect the ADV7180 Lost-Lock bit, 90% of scrolling device can be solved.&lt;/P&gt;&lt;P&gt;but some video device, the interrupt period is so short, the ADV7180 cannot report 'Lost-Lock' corrently.&lt;/P&gt;&lt;P&gt;that's why I need to know it from iMX51.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Charles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;As I'm facing a similar problem,&amp;nbsp;can you please tell me how you did reset the IDMAC?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 17:11:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183649#M8227</guid>
      <dc:creator>JohnDoe1z</dc:creator>
      <dc:date>2012-05-14T17:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: screen rolling on a short video source interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183650#M8228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;seems..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type = V4L2_BUF_TYPE_VIDEO_OUTPUT;&lt;BR /&gt; ioctl(fd_output_v4l, VIDIOC_STREAMOFF, &amp;amp;type);&lt;/P&gt;&lt;P&gt;type = V4L2_BUF_TYPE_VIDEO_CAPTURE;&lt;BR /&gt; ioctl(fd_capture_v4l, VIDIOC_STREAMOFF, &amp;amp;type);&lt;/P&gt;&lt;P&gt;for (j = 0; j &amp;lt; g_output_num_buffers; j++) {&lt;BR /&gt; munmap(output_buffers[j].start, output_buffers[j].length);&lt;BR /&gt; }&lt;BR /&gt; for (j = 0; j &amp;lt; g_capture_num_buffers; j++) {&lt;BR /&gt; munmap(capture_buffers[j].start, capture_buffers[j].length);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;John Doe said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/screen-rolling-on-a-short-video-source-interrupt#4103961Comment69674"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;CITE&gt;charles chang said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/screen-rolling-on-a-short-video-source-interrupt?xg_source=activity#4103961Comment43226"&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;Thanks your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;＊ By resetting the IDMAC when I detect the ADV7180 Lost-Lock bit, 90% of scrolling device can be solved.&lt;/P&gt;&lt;P&gt;but some video device, the interrupt period is so short, the ADV7180 cannot report 'Lost-Lock' corrently.&lt;/P&gt;&lt;P&gt;that's why I need to know it from iMX51.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Charles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;As I'm facing a similar problem,&amp;nbsp;can you please tell me how you did reset the IDMAC?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 01:03:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183650#M8228</guid>
      <dc:creator>charleschang</dc:creator>
      <dc:date>2012-05-15T01:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: screen rolling on a short video source interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183651#M8229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii, we have successfully integrated &lt;STRONG&gt;tv-in&lt;/STRONG&gt;(&lt;STRONG&gt;adv7180&lt;/STRONG&gt;) in android &lt;STRONG&gt;ICS alpha &lt;/STRONG&gt;release. But the problem we are facing is we are getting continuous &lt;STRONG&gt;rolling image&lt;/STRONG&gt; in the screen. And the upper part of the screen is green coour. Please suggest some solution&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt; Bikash&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 07:13:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183651#M8229</guid>
      <dc:creator>bikash</dc:creator>
      <dc:date>2012-12-07T07:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: screen rolling on a short video source interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183652#M8230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi bikash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try to change the resolution reported by ADV7180 driver, change between raw and active of PAL or NTSC.&lt;/P&gt;&lt;P&gt;In my experience, green colour appeared on the top often caused by incorrect height.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 02:05:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183652#M8230</guid>
      <dc:creator>oliverkuo</dc:creator>
      <dc:date>2013-12-23T02:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: screen rolling on a short video source interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183653#M8231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, could you tell me what is the ADV register to get the 'frame, scanline lost' status ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 08:18:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/screen-rolling-on-a-short-video-source-interrupt/m-p/183653#M8231</guid>
      <dc:creator>anthonymorel</dc:creator>
      <dc:date>2015-04-29T08:18:33Z</dc:date>
    </item>
  </channel>
</rss>

