<?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: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332566#M44994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi yuri,&lt;/P&gt;&lt;P&gt;thanks for the response.&lt;/P&gt;&lt;P&gt;My camera (analog to digital decoder in my case) gets it's clock from an 28,63 MHz oscillator. I believe this generates internally a 27 MHz clock. My decoder outputs a MIPI clock of 108 MHz to the imx6. Summing up, this means I should just do the following change:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;mipi_csi2_write(info, 0x00000044, CSI2_PHY_TST_CTRL1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;without other changes in mxc_mipi_csi2.c file, right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;And from my driver, I should also call set_mclk_rate() to set mclk to 27000000 ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thank you.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jan 2015 09:11:32 GMT</pubDate>
    <dc:creator>meflo</dc:creator>
    <dc:date>2015-01-19T09:11:32Z</dc:date>
    <item>
      <title>Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332545#M44973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on a device driver for a Sony IMX208 MIPI Image Sensor for the iMX6 on Linux 3.0.35.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My MIPI is set up as follows:&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;mipi_csi2_info:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;&amp;nbsp;&amp;nbsp; mipi_csi2_info.mipi_en&amp;nbsp;&amp;nbsp; = 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;&amp;nbsp;&amp;nbsp; mipi_csi2_info.ipu_id&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;&amp;nbsp;&amp;nbsp; mipi_csi2_info.csi_id&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;&amp;nbsp;&amp;nbsp; mipi_csi2_info.v_channel = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;&amp;nbsp;&amp;nbsp; mipi_csi2_info.lanes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;&amp;nbsp;&amp;nbsp; mipi_csi2_info.datatype&amp;nbsp; = 0x2b&amp;nbsp; (RAW10)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to communicate with the sensor over I2C and everything seems to be working. However, starting the stream and waiting for buffers (using select()), no buffers are available. I have 'DEBUG' enabled for the drivers; the log I get is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;In MVC:mxc_streamon&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;YUYV&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;In MVC:mxc_poll&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;In MVC:mxc_v4l_ioctl&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;In MVC: mxc_v4l_do_ioctl c0445611&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_DQBUF&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;In MVC:mxc_v4l_dqueue&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;ERROR: v4l2 capture: mxc_v4l_dqueue() interrupt received&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-family: 'courier new', monospace;"&gt;fps=In MVC:mxc_v4l_ioctl&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I check the CSI-MIPI Error registers, I see an &lt;STRONG&gt;err_id_vc0&lt;/STRONG&gt; in MIPI_CSI_ERR2 ("Unrecognized or unimplemented data type detected in Virtual Channel 0"). I tried both RAW8 and RAW10 formats, and I get the same error. According to MIPI-CSI2 Specs, this would be an "&lt;SPAN style="color: #333333; font-family: arial, helvetica, clean; font-size: 12px;"&gt;Unrecognized ID, caused by the presence of an unimplemented or unrecognized ID in the header", and the proposed receiver behavior "to indicate that the data packet is unidentified and cannot be unpacked by the receiver".&amp;nbsp; So, m&lt;/SPAN&gt;y guess is that the MIPI-CSI2 hardware detects an error and doesn't forward any data, and that's why dqbuf fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But -- I don't understand &lt;EM&gt;why &lt;/EM&gt;this error is happening!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know of possible reasons for such an error to occur?&lt;/P&gt;&lt;P&gt;Any recommendations how to debug this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Erez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 20:53:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332545#M44973</guid>
      <dc:creator>erezsteinberg</dc:creator>
      <dc:date>2014-11-11T20:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332546#M44974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Erez&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems you set wrong data type of MIPI-CSI2 (something like: mipi_csi2_set_datatype(mipi_csi2_info, MIPI_DT_RGB888);&lt;/P&gt;&lt;P&gt;Please provide a detailed DS &amp;amp; AN of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;IMX208, thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Allen Cao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 07:39:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332546#M44974</guid>
      <dc:creator>allencao</dc:creator>
      <dc:date>2014-11-12T07:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332547#M44975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set MIPI_DT_RAW8 and MIPI_DT_RAW10, and I can see the correct value in &lt;SPAN style="color: #222222; font-family: 'courier new', monospace;"&gt;mipi_csi2_info.datatype&amp;nbsp; = 0x2b&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;Besides, I looked at the source for mipi_csi2_set_datatype(), and it doesn't seem to actually do anything with the type. Also, I couldn't find any registers in iMX6 that can be configured for different data types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot provide DS for IMX208 (It's under NDA).&lt;/P&gt;&lt;P&gt;I will say that:&lt;/P&gt;&lt;P&gt;(1) the IMX208 spec says the 'Data Identifier'&amp;nbsp; is made of 2-bit virtual channel + 6 bits Data types&lt;/P&gt;&lt;P&gt;(2) Virtual Channel is configurable (set to 0 in my case)&lt;/P&gt;&lt;P&gt;(3) Data types generated by IMX208 are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6'h00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FRAME START CODE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6'h01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FRANE END CODE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6'h10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Null (Invalid data / dummy data)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6'h12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Embedded Data (not transmitted by default)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6'h13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPB Data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6'h2a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAW8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6'h2b&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAW10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Erez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 07:51:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332547#M44975</guid>
      <dc:creator>erezsteinberg</dc:creator>
      <dc:date>2014-11-12T07:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332548#M44976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi E,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls dump all the MIPI-CSI2 registers, thanks!&lt;/P&gt;&lt;P&gt;BTW, can you share your driver code, only MIPI-CSI2 part is OK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Allen Cao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 08:26:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332548#M44976</guid>
      <dc:creator>allencao</dc:creator>
      <dc:date>2014-11-12T08:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332549#M44977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for looking into this problem.&lt;/P&gt;&lt;P&gt;I attached the driver source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the registers. PHY_STATE is not stable and changes between&amp;nbsp; values 0x310 0x610 0x300&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root@erez]# devmem 0x21dc000&lt;/P&gt;&lt;P&gt;0x3130302A&lt;/P&gt;&lt;P&gt;[root@erez]# devmem 0x21dc004&lt;/P&gt;&lt;P&gt;0x00000000&lt;/P&gt;&lt;P&gt;[root@erez]# devmem 0x21dc008&lt;/P&gt;&lt;P&gt;0x00000001&lt;/P&gt;&lt;P&gt;[root@erez]# devmem 0x21dc00c&lt;/P&gt;&lt;P&gt;0x00000001&lt;/P&gt;&lt;P&gt;[root@erez]# devmem 0x21dc010&lt;/P&gt;&lt;P&gt;0x00000001&lt;/P&gt;&lt;P&gt;[root@erez]# devmem 0x21dc014&lt;/P&gt;&lt;P&gt;0x00000310&lt;/P&gt;&lt;P&gt;[root@erez]# devmem 0x21dc018&lt;/P&gt;&lt;P&gt;0x00000000&lt;/P&gt;&lt;P&gt;[root@erez]# devmem 0x21dc020&lt;/P&gt;&lt;P&gt;0x00000000&lt;/P&gt;&lt;P&gt;[root@erez]# devmem 0x21dc024&lt;/P&gt;&lt;P&gt;0x00001000&lt;/P&gt;&lt;P&gt;[root@erez]# devmem 0x21dc02c&lt;/P&gt;&lt;P&gt;0x00000000&lt;/P&gt;&lt;P&gt;[root@erez]# devmem 0x21dc030&lt;/P&gt;&lt;P&gt;0x00000000&lt;/P&gt;&lt;P&gt;[root@erez]# devmem 0x21dc034&lt;/P&gt;&lt;P&gt;0x00001414&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 08:35:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332549#M44977</guid>
      <dc:creator>erezsteinberg</dc:creator>
      <dc:date>2014-11-12T08:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332550#M44978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi E,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some errs @ D-PHY Level. Please refer the following link to check your MIPI-CSI2 config:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-94312"&gt;Debug steps for customer MIPI sensor.docx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please pay attention to the "&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Calibri',sans-serif;"&gt;Check the clock setting&lt;/SPAN&gt;&lt;/STRONG&gt;" section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Allen Cao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 08:52:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332550#M44978</guid>
      <dc:creator>allencao</dc:creator>
      <dc:date>2014-11-12T08:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332551#M44979</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;How do you see there are errs @ D-PHY Level?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The IMX208 sensor for Raw10, MIPI 1 Lane, 30 fps has a Data Rate of 405 Mbps/Lane.&lt;/P&gt;&lt;P&gt;However, I configures the IMX208 MIPI Global Timing to 780 .. 900 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I set MIPI Global Timing to 400 .. 460 I get a lot of errors on the CSI2 error registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I also change mipi_csi2_reset() in mxc_mipi_csi2.c ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently it has:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;mipi_csi2_write(info, 0x00000001, CSI2_PHY_TST_CTRL0);&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;mipi_csi2_write(info, 0x00000000, CSI2_PHY_TST_CTRL1);&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;mipi_csi2_write(info, 0x00000000, CSI2_PHY_TST_CTRL0);&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;mipi_csi2_write(info, 0x00000002, CSI2_PHY_TST_CTRL0);&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;mipi_csi2_write(info, 0x00010044, CSI2_PHY_TST_CTRL1);&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;mipi_csi2_write(info, 0x00000000, CSI2_PHY_TST_CTRL0);&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;mipi_csi2_write(info, 0x00000014, CSI2_PHY_TST_CTRL1);&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;mipi_csi2_write(info, 0x00000002, CSI2_PHY_TST_CTRL0);&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;mipi_csi2_write(info, 0x00000000, CSI2_PHY_TST_CTRL0);&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I just change the 0x00000014 to&amp;nbsp;&amp;nbsp; 0x0000000c ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Erez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 09:12:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332551#M44979</guid>
      <dc:creator>erezsteinberg</dc:creator>
      <dc:date>2014-11-12T09:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332552#M44980</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;Q1:&lt;/P&gt;&lt;P&gt;You are using 2-lane, right?&lt;/P&gt;&lt;P&gt;If so, the MIPI_CSI_PHY_STATE &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;register&lt;/SPAN&gt; should jump between 0x300 &amp;amp; 0x330 !&lt;/P&gt;&lt;P&gt;Q2:&lt;/P&gt;&lt;P&gt;You are right!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Allen Cao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 10:37:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332552#M44980</guid>
      <dc:creator>allencao</dc:creator>
      <dc:date>2014-11-12T10:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332553#M44981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No...&amp;nbsp; I'm using 1-lane ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 11:25:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332553#M44981</guid>
      <dc:creator>erezsteinberg</dc:creator>
      <dc:date>2014-11-12T11:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332554#M44982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To add...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with a 2-lane configuration, and I get the same err_id_vc0&lt;/P&gt;&lt;P&gt;With 2-lanes, I see &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MIPI_CSI_PHY_STATE &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;register&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; jump between 0x300, 0x330, and 0x630&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 13:29:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332554#M44982</guid>
      <dc:creator>erezsteinberg</dc:creator>
      <dc:date>2014-11-12T13:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332555#M44983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please measure the MIPI clock frequency when using 2-lane configuration!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 01:51:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332555#M44983</guid>
      <dc:creator>allencao</dc:creator>
      <dc:date>2014-11-13T01:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332556#M44984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; As for the mentioned &lt;A href="https://community.nxp.com/docs/DOC-94312"&gt;Debug steps for customer MIPI sensor.docx&lt;/A&gt; :&lt;/P&gt;&lt;P&gt;27 MHz clock source is used there,&amp;nbsp;&amp;nbsp; please use the patch below to set mipi-csi2 dphy clock, &lt;BR /&gt;based on the ref_clk out is 24M. &lt;BR /&gt;The patch is intended&amp;nbsp; for "linux-2.6-imx/drivers/mxc/mipi/mxc_mipi_csi2.c"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===========&lt;/P&gt;&lt;P&gt;--- mxc_mipi_csi2.c.orig&lt;/P&gt;&lt;P&gt;+++ mxc_mipi_csi2.c&lt;/P&gt;&lt;P&gt;@@ -272,7 +272,46 @@&lt;/P&gt;&lt;P&gt;&amp;nbsp; * @param&amp;nbsp;&amp;nbsp;&amp;nbsp; info&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi csi2 hander&lt;/P&gt;&lt;P&gt;&amp;nbsp; * @return&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Returns 0 on success or negative error code on fail&lt;/P&gt;&lt;P&gt;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;-int mipi_csi2_reset(struct mipi_csi2_info *info)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;+struct _dphy_calib {&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; u32 low, high, val;&lt;/P&gt;&lt;P&gt;+}; &lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;+static struct _dphy_calib dphy_calib_data[] =&lt;/P&gt;&lt;P&gt;+{&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {80, 90,0x00},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {90,100,0x10},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {100,110,0x20},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {110,125,0x01},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {125,140,0x11},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {140,150,0x21},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {150,160,0x02},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {160,180,0x12},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {180,200,0x22},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {200,210,0x03},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {210,240,0x13},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {240,250,0x23},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {250,270,0x04},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {270,300,0x14},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {300,330,0x04},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {330,360,0x15},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {360,400,0x25},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {400,450,0x06},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {450,500,0x16},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {500,550,0x07},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {550,600,0x17},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {600,650,0x08},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {650,700,0x18},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {700,750,0x09},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {750,800,0x19},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {800,850,0x0a},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {850,900,0x1a},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {900,950,0x2a},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {950,1000,0x3a},&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {0,0,0}&lt;/P&gt;&lt;P&gt;+};&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;+int mipi_csi2_reset(struct mipi_csi2_info *info, u32 freq)&lt;/P&gt;&lt;P&gt; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _mipi_csi2_lock(info);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@@ -286,7 +325,27 @@&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi_csi2_write(info, 0x00000002, CSI2_PHY_TST_CTRL0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi_csi2_write(info, 0x00010044, CSI2_PHY_TST_CTRL1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi_csi2_write(info, 0x00000000, CSI2_PHY_TST_CTRL0);&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi_csi2_write(info, 0x00000014, CSI2_PHY_TST_CTRL1);&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i = 0;&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; freq&amp;lt;&amp;lt;=1;&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(dphy_calib_data[i].low ||&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;&amp;nbsp;&amp;nbsp; dphy_calib_data[i].high ||&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;&amp;nbsp;&amp;nbsp; dphy_calib_data[i].val)&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&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; if(freq &amp;gt;= dphy_calib_data[i].low &amp;amp;&amp;amp;&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;&amp;nbsp;&amp;nbsp; freq &amp;lt;= dphy_calib_data[i].high)&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; {&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi_csi2_write(info, dphy_calib_data[i].val &amp;lt;&amp;lt; 1, CSI2_PHY_TST_CTRL1);//270-300&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printk(KERN_ERR "%s: D-PHY calib for %d: %x", __FUNCTION__, freq, dphy_calib_data[i].val);&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&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; }&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; i++;&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;+//&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi_csi2_write(info, 0x00000014, CSI2_PHY_TST_CTRL1);//800-850&lt;/P&gt;&lt;P&gt;+//&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi_csi2_write(info, 0x00000028, CSI2_PHY_TST_CTRL1);//270-300&lt;/P&gt;&lt;P&gt;+//&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi_csi2_write(info, 0x00000044, CSI2_PHY_TST_CTRL1);//180-200&lt;/P&gt;&lt;P&gt;+//&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi_csi2_write(info, 0x00000022, CSI2_PHY_TST_CTRL1);//125-140&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi_csi2_write(info, 0x00000002, CSI2_PHY_TST_CTRL0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi_csi2_write(info, 0x00000000, CSI2_PHY_TST_CTRL0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=============&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Thu, 13 Nov 2014 05:05:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332556#M44984</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-11-13T05:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332557#M44985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That would require special equipment that I don't have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking--- could I write a program that initializes only the IMX208 Sensor and MIPI-CSI2 block and tries a &lt;EM&gt;many &lt;/EM&gt;combinations of clock settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean:&lt;/P&gt;&lt;P&gt;loop&lt;/P&gt;&lt;P&gt;{ &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; shutdown sensor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; shutdown mipi-csi2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; initialize mipi-cs2 and sensor for Configuration N&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; read status registers (err1, err2, d-phy stat)&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could something like this help me find the correct clock configuration?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Erez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 05:09:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332557#M44985</guid>
      <dc:creator>erezsteinberg</dc:creator>
      <dc:date>2014-11-13T05:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332558#M44986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the additional information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I look at the code, it looks like the values are the same for 24MHz and 27MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used a 24MHz MCLK for the IMX208 coming from CCM_CLKO1 (osc_clk from CCM_CLKO2); &lt;/P&gt;&lt;P&gt;Register CCM_CCOSR(Address 0x20c4060) is set to 0x010E0181.&lt;/P&gt;&lt;P&gt;Using a scope, I can see a 24MHz clock going to the sensor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to change the MCLK to 27MHz by using 'video_27M_clk_root' for CCM_CLKO1&lt;/P&gt;&lt;P&gt;Register CCM_CCOSR(Address 0x20c4060) is set to 0x00000084.&lt;/P&gt;&lt;P&gt;But -- the clock I see is ~21MHz....&amp;nbsp; This means PLL3_PFD1 is ~420MHz instead of 540MHz ... can that be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also checked pll3_sw_clk, and it looks to be running correctly at 480 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Erez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 07:39:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332558#M44986</guid>
      <dc:creator>erezsteinberg</dc:creator>
      <dc:date>2014-11-13T07:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332559#M44987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did a fresh port of my BSP to L3.0.101 today, and I still get the same issue.&lt;/P&gt;&lt;P&gt;So, I wrote a 'scanner' to try all values from 0 to 255 in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CSI2_PHY_TST_CTRL1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The scan starts with resetting the IMX208 sensor, then resetting the MIPI-CSI2, and then reading the error registers and DPHY_STAT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get something like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;------- imx208 D-PHY Scan ---------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 0 - err1 = 0x10000111&amp;nbsp; err2 = 0x1110 (300 / 300 / 310)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 1 - err1 = 0x110&amp;nbsp; err2 = 0x1110 (300 / 300 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 2 - err1 = 0x111&amp;nbsp; err2 = 0x1110 (300 / 300 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 3 - err1 = 0x10000110&amp;nbsp; err2 = 0x1110 (310 / 310 / 310)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 4 - err1 = 0x111&amp;nbsp; err2 = 0x1010 (300 / 300 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 5 - err1 = 0x110&amp;nbsp; err2 = 0x1010 (300 / 300 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 6 - err1 = 0x111&amp;nbsp; err2 = 0x1010 (300 / 300 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 7 - err1 = 0x110&amp;nbsp; err2 = 0x1000 (310 / 310 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 8 - err1 = 0x111&amp;nbsp; err2 = 0x1010 (300 / 300 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 9 - err1 = 0x110&amp;nbsp; err2 = 0x1000 (300 / 300 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 10 - err1 = 0x1&amp;nbsp; err2 = 0x1000 (300 / 300 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 11 - err1 = 0x110&amp;nbsp; err2 = 0x1000 (300 / 300 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 12 - err1 = 0x0&amp;nbsp; err2 = 0x1000 (300 / 300 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 155 - err1 = 0x0&amp;nbsp; err2 = 0x0 (220 / 220 / 220)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 156 - err1 = 0x0&amp;nbsp; err2 = 0x1000 (310 / 310 / 310)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 157 - err1 = 0x0&amp;nbsp; err2 = 0x1000 (310 / 310 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 158 - err1 = 0x0&amp;nbsp; err2 = 0x0 (300 / 300 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 159 - err1 = 0x111&amp;nbsp; err2 = 0x1010 (300 / 300 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 160 - err1 = 0x111&amp;nbsp; err2 = 0x1010 (300 / 300 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;DPHY VAL 161 - err1 = 0x111&amp;nbsp; err2 = 0x1010 (300 / 300 / 300)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;DPHY VAL 162 - err1 = 0x1&amp;nbsp; err2 = 0x1000 (310 / 310 / 310)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got 3 values that did not result in errors during the scan, and with expected D-PHY STAT values (300 / 310)&lt;/P&gt;&lt;P&gt;But, even when I use these values, i eventually see errors on err1/err2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So -- &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;no value gives correct results&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What else could I try?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 21:51:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332559#M44987</guid>
      <dc:creator>erezsteinberg</dc:creator>
      <dc:date>2014-11-13T21:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332560#M44988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; Looks like in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; L3.0.101 the mentioned patch was not applied, at least, I do not see&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;any comments about it. Have You tried the patch ? &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 09:55:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332560#M44988</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-11-14T09:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332561#M44989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I did.&lt;/P&gt;&lt;P&gt;The error is still there.&lt;/P&gt;&lt;P&gt;I also tried changing the MCLK to the sensor from 24Mhz to 27Mhz.&amp;nbsp; No change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 10:08:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332561#M44989</guid>
      <dc:creator>erezsteinberg</dc:creator>
      <dc:date>2014-11-14T10:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332562#M44990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may try to adapt and run the mipi test from the Platform SDK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imx6_platform_sdk_v1.1.0.tar\iMX6_Platform_SDK\sdk\drivers\mipi\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.freescale.com/webapp/Download?colCode=i.MX6_PLATFORM_SDK&amp;amp;location=null&amp;amp;Parent_nodeId=&amp;amp;Parent_pageType=" title="https://www.freescale.com/webapp/Download?colCode=i.MX6_PLATFORM_SDK&amp;amp;location=null&amp;amp;Parent_nodeId=&amp;amp;Parent_pageType="&gt;https://www.freescale.com/webapp/Download?colCode=i.MX6_PLATFORM_SDK&amp;amp;location=null&amp;amp;Parent_nodeId=&amp;amp;Parent_pageType=&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2014 05:38:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332562#M44990</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-11-17T05:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332563#M44991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to close the issue ---&amp;nbsp; the problem was due to a non-standard data-type generated by the Sony Sensor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message from the iMX6 CSI2 was correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After disabling the generation of the datatype by the sensor, the error is now gone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to everyone for all the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 14:45:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332563#M44991</guid>
      <dc:creator>erezsteinberg</dc:creator>
      <dc:date>2014-11-24T14:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an 'err_id_vc0' error on iMX6 MIPI-CSI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332564#M44992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;I have a question about the reference clock (mclk). Is it the clock that that camera sensor is using internally to function?&lt;/P&gt;&lt;P&gt;I am using an analog to digital decoder, so I am trying to understand what this mclk is supposed to be in my case.&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>Mon, 19 Jan 2015 08:18:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-an-err-id-vc0-error-on-iMX6-MIPI-CSI/m-p/332564#M44992</guid>
      <dc:creator>meflo</dc:creator>
      <dc:date>2015-01-19T08:18:03Z</dc:date>
    </item>
  </channel>
</rss>

