<?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: imx6ul csi problem in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736789#M114671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi igor,&lt;/P&gt;&lt;P&gt;I've been solved this problem, at last I found the mistake is our app dev pass parameter for ioctl(VIDIOC_S_FMT) is wrong. I major work as bsp dev, and not foucs on app develop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Nov 2017 01:37:00 GMT</pubDate>
    <dc:creator>王双</dc:creator>
    <dc:date>2017-11-21T01:37:00Z</dc:date>
    <item>
      <title>imx6ul csi problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736780#M114662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I use imx6ul + yocto-4.1.15-ga to develop &amp;nbsp;product, when debuging csi module + ov9712(parallel) on gated mode, &amp;nbsp;we found image we get sometimes is ok.&lt;/P&gt;&lt;P&gt;But sometimes we can't get anything, at this time I use memtool to check CSI register, I found&amp;nbsp;CSI.CSIDMASA_FB1 is equal to&amp;nbsp;CSI.CSIDMASA_FB2, but if the image is OK, these two registers value is different, and these two registers value is only the difference point between &amp;nbsp;2 situation.&lt;/P&gt;&lt;P&gt;I attach the memtool result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help me to solve it.&lt;/P&gt;&lt;P&gt;this is we get correct image.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="csi_image_ok.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12436iC741120346269686/image-size/large?v=v2&amp;amp;px=999" role="button" title="csi_image_ok.png" alt="csi_image_ok.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this &amp;nbsp;we can't get anything, no data,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="csi_img_nothing.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12525i9D83A7DE57D3E469/image-size/large?v=v2&amp;amp;px=999" role="button" title="csi_img_nothing.png" alt="csi_img_nothing.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 02:33:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736780#M114662</guid>
      <dc:creator>王双</dc:creator>
      <dc:date>2017-11-01T02:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul csi problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736781#M114663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi 王 双&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please try latest Linux 4.9.11_1.0.0 BSP described on link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW"&gt;http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW&lt;/A&gt;&lt;/P&gt;&lt;P&gt;also may be useful to look at CSI_CSISR register for errors. Also one can check if&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB1 is equal to&amp;nbsp;CSI.CSIDMASA_FB2 immediately at application start, this may point&lt;/P&gt;&lt;P&gt;to driver probe errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 08:11:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736781#M114663</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-11-01T08:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul csi problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736782#M114664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;igor&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THX for reply it. About&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;CSI_CSISR register I confirm that there is no errors report, and driver's print info is no error too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Later I will test the new bsp. Thanks again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best regerds&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 01:11:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736782#M114664</guid>
      <dc:creator>王双</dc:creator>
      <dc:date>2017-11-02T01:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul csi problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736783#M114665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already test the lastest bsp 4.9.11-1.0.0, still have the same problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I google it, and found someone set bit25-30 and bit 22 on register CSICR18, I didn't find any info in IMX6ULRM, but I found it in IMX7SRM, looks like some MIPI setting, &amp;nbsp;I tried set bit25-30 as 0x1E(YUV422 8bit) and bit22 as 1(data from MIPI) , and then&amp;nbsp;we can get correct image data&amp;nbsp;everytime, but another problem occured, some data(look like image buffer) is shown on the top half lcd, &amp;nbsp;I didn't understand how to explain it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have anymore advice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards！&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 02:57:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736783#M114665</guid>
      <dc:creator>王双</dc:creator>
      <dc:date>2017-11-06T02:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul csi problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736784#M114666</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;had you checked if CSI.CSIDMASA_FB1 is equal to&amp;nbsp;CSI.CSIDMASA_FB2 immediately at application start&lt;/P&gt;&lt;P&gt;or it worked fine at start and wrong setting become after some time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 03:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736784#M114666</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-11-06T03:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul csi problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736785#M114667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi I check it. &amp;nbsp;when csi driver probed, these two reg value is 0, and &amp;nbsp;app start request it has change like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// csi probe&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB1 Addr:0x021C4028 Value:0x00000000&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB2 Addr:0x021C402C Value:0x00000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these info printed by memtool when I use my custom app to capture&lt;/P&gt;&lt;P&gt;// app start capture&amp;nbsp;&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB1 Addr:0x021C4028 Value:0x90080000&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB2 Addr:0x021C402C Value:0x900C0000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB1 Addr:0x021C4028 Value:0x92100000&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB2 Addr:0x021C402C Value:0x900C0000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB1 Addr:0x021C4028 Value:0x92100000&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB2 Addr:0x021C402C Value:0x92180000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB1 Addr:0x021C4028 Value:0x90080000&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB2 Addr:0x021C402C Value:0x92180000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so much info is correct and then&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB1 Addr:0x021C4028 Value:0x92100000&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB2 Addr:0x021C402C Value:0x900C0000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB1 Addr:0x021C4028 Value:0x92100000&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB2 Addr:0x021C402C Value:0x92180000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB1 Addr:0x021C4028 Value:&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;0x92180000 &amp;nbsp;// &amp;nbsp;fb1 addr is same as fb2 addr, why??&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB2 Addr:0x021C402C Value:0x92180000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB1 Addr:0x021C4028 Value:&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;0x92180000&lt;/STRONG&gt; &lt;/SPAN&gt;// after all the print info is like this&lt;/P&gt;&lt;P&gt;CSI.CSIDMASA_FB2 Addr:0x021C402C Value:&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;0x92180000&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Later I exit my app, these registers value is 0x00000000, I think it's right, csi driver clean it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Could you explain why it happen？&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 03:46:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736785#M114667</guid>
      <dc:creator>王双</dc:creator>
      <dc:date>2017-11-06T03:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul csi problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736786#M114668</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;does issue appear on heavy loading conditions, please try with minimal image,&lt;/P&gt;&lt;P&gt;reduce fps. Also how many boards affected, if just one board one can test memory with ddr test&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-105652"&gt;i.MX6/7 DDR Stress Test Tool V2.70&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 07:00:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736786#M114668</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-11-06T07:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul csi problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736787#M114669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;app‘s cpu usage &amp;nbsp;less than 20%,total cpu usage less than 30%, &amp;nbsp;memory is LPDDR3 512MB(256MB for cma) &amp;nbsp;system use only 100MB , and already use minimal image to make rootfs. We make 5 sets, all the same problem, ddr stress &amp;nbsp;I tested &amp;nbsp;under u-boot, it's ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this problem related to upper I said that &amp;nbsp;"&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I google it, and found someone set bit25-30 and bit 22 on register CSICR18, I didn't find any info in IMX6ULRM, but I found it in IMX7SRM, looks like some MIPI setting, &amp;nbsp;I tried set bit25-30 as 0x1E(YUV422 8bit) and bit22 as 1(data from MIPI) , and then&amp;nbsp;we can get correct image data&amp;nbsp;everytime, but another problem occured, some data(look like image buffer) is shown on the top half lcd, &amp;nbsp;I didn't understand how to explain it .&lt;/SPAN&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 07:25:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736787#M114669</guid>
      <dc:creator>王双</dc:creator>
      <dc:date>2017-11-06T07:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul csi problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736788#M114670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;could you try with mx6s_v4l2_capture.out provided in unit tests (imx-test)&lt;BR /&gt;&lt;A href="https://community.nxp.com/www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz" target="test_blank"&gt;www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;procedure is the same as with i.MX6SL&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/375865"&gt;About preview function in i.MX6SL.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 07:56:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736788#M114670</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-11-06T07:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul csi problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736789#M114671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi igor,&lt;/P&gt;&lt;P&gt;I've been solved this problem, at last I found the mistake is our app dev pass parameter for ioctl(VIDIOC_S_FMT) is wrong. I major work as bsp dev, and not foucs on app develop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 01:37:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-csi-problem/m-p/736789#M114671</guid>
      <dc:creator>王双</dc:creator>
      <dc:date>2017-11-21T01:37:00Z</dc:date>
    </item>
  </channel>
</rss>

