<?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: IMX6 custom MIPI sensor mxc_v4l_dqueue timeout enc_counter 0 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512245#M83547</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;Check attached document.&lt;/P&gt;&lt;P&gt;This will help to debug MIPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 May 2016 09:15:23 GMT</pubDate>
    <dc:creator>saurabh206</dc:creator>
    <dc:date>2016-05-10T09:15:23Z</dc:date>
    <item>
      <title>IMX6 custom MIPI sensor mxc_v4l_dqueue timeout enc_counter 0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512244#M83546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to use v4l2 to capture video/photo.&lt;/P&gt;&lt;P&gt;My linux kernel is 3.0.35 and the board I am using is SabreLite from Boundary Device.&lt;/P&gt;&lt;P&gt;I am adding an Sony IMX camera which also support MIPI.&lt;/P&gt;&lt;P&gt;I checked the clock signals through oscilloscope and found that 24MHz mclk is present.&lt;/P&gt;&lt;P&gt;Applied Sony provided register settings, the process passed the MIPI "no sensor clk" and "cannot receive data" check.&lt;/P&gt;&lt;P&gt;When I test by running &lt;EM&gt;&lt;STRONG&gt;/unit_tests/mxc_v4l2_capture.out -c 1 -iw 2104 -ih 1560 image.raw&lt;/STRONG&gt;&lt;/EM&gt;, it fail at:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VIDIOC_DQBUF failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already matched the MIPI D-PHY clock by &lt;STRONG&gt;&lt;EM&gt;mipi_csi2_write(info, 0x00000010, CSI2_PHY_TST_CTRL1);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I tried to set this to a different value but all situations failed at this mxc_v4l_dqueue timeout enc_counter 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give me some advice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 08:12:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512244#M83546</guid>
      <dc:creator>motting</dc:creator>
      <dc:date>2016-05-10T08:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 custom MIPI sensor mxc_v4l_dqueue timeout enc_counter 0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512245#M83547</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;Check attached document.&lt;/P&gt;&lt;P&gt;This will help to debug MIPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 09:15:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512245#M83547</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2016-05-10T09:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 custom MIPI sensor mxc_v4l_dqueue timeout enc_counter 0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512246#M83548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The MIPI D-phy state I received is jumping 0x200 and 0x2b0 and error1 = error 2 = 0.&lt;/P&gt;&lt;P&gt;Which is different from the debug guide.&lt;/P&gt;&lt;P&gt;Is this the root cause?&lt;/P&gt;&lt;P&gt;What is the meaning of 0x200 / 0x2b0 in MIPI D-phy state?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 10:45:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512246#M83548</guid>
      <dc:creator>motting</dc:creator>
      <dc:date>2016-05-10T10:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 custom MIPI sensor mxc_v4l_dqueue timeout enc_counter 0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512247#M83549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;also one can check IOMUXC_GPR register,&amp;nbsp; if the CSI input &lt;/P&gt;&lt;P&gt;is from the parallel pins or from the MIPI pins:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-thread-small" data-containerid="2004" data-containertype="14" data-objectid="390183" data-objecttype="1" href="https://community.freescale.com/thread/390183"&gt;https://community.freescale.com/thread/390183&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 11:45:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512247#M83549</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-05-10T11:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 custom MIPI sensor mxc_v4l_dqueue timeout enc_counter 0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512248#M83550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my driver I have already set "CSI input from the MIPI pins" by setting bit 19/20 of IOMUXC_GPR register 1.&lt;/P&gt;&lt;P&gt;My driver is modified from another existing MIPI driver so the CSI setting is likely correct.&lt;/P&gt;&lt;P&gt;But still I am getting no frame buffer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 03:14:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512248#M83550</guid>
      <dc:creator>motting</dc:creator>
      <dc:date>2016-05-11T03:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 custom MIPI sensor mxc_v4l_dqueue timeout enc_counter 0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512249#M83551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having checked the RM, MIPI D-phy state defines as below.&lt;/P&gt;&lt;P&gt;32-12: Reserved&lt;/P&gt;&lt;P&gt;11-0:&lt;/P&gt;&lt;P&gt;bypass_2ecc_tst&lt;/P&gt;&lt;P&gt;phy_stopstateclk&lt;/P&gt;&lt;P&gt;phy_rxulpsclknot&lt;/P&gt;&lt;P&gt;phy_rxclkactivehs&lt;/P&gt;&lt;P&gt;phy_stopstatedata_3&lt;/P&gt;&lt;P&gt;phy_stopstatedata_2&lt;/P&gt;&lt;P&gt;phy_stopstatedata_1&lt;/P&gt;&lt;P&gt;phy_stopstatedata_0&lt;/P&gt;&lt;P&gt;phy_rxulpsesc_3&lt;/P&gt;&lt;P&gt;phy_rxulpsesc_2&lt;/P&gt;&lt;P&gt;phy_rxulpsesc_1&lt;/P&gt;&lt;P&gt;phy_rxulpsesc_0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For MIPI D-phy state=0x2b0 that I received, phy_rxclkactivehs = 1, which indicates that the clock lane is actively receiving a DDR clock.&lt;/P&gt;&lt;P&gt;That means MIPI clock can be received to my board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 03:33:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512249#M83551</guid>
      <dc:creator>motting</dc:creator>
      <dc:date>2016-05-11T03:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 custom MIPI sensor mxc_v4l_dqueue timeout enc_counter 0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512250#M83552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the debug guide till the end.&lt;/P&gt;&lt;P&gt;All the settings are correct.&lt;/P&gt;&lt;P&gt;Could you give me some advice what else I should check?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Motti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 08:16:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512250#M83552</guid>
      <dc:creator>motting</dc:creator>
      <dc:date>2016-05-11T08:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 custom MIPI sensor mxc_v4l_dqueue timeout enc_counter 0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512251#M83553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Motti,&lt;/P&gt;&lt;P&gt;Were you able to get the Sony IMX mipi sensor to work. Questions:&lt;/P&gt;&lt;P&gt;1) Which sensor are you using? (I am working with IMX278 and IMX230)&lt;/P&gt;&lt;P&gt;2) Could you post a zip file with the driver source you are using?&lt;/P&gt;&lt;P&gt;3) Does your module include a VCM driver?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Don&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 16:30:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512251#M83553</guid>
      <dc:creator>donfreiling</dc:creator>
      <dc:date>2016-10-24T16:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 custom MIPI sensor mxc_v4l_dqueue timeout enc_counter 0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512252#M83554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can you please share your information on how to program the IMX278 ? I'm trying to find the drivers for Linux, with no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Francois&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 22:10:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512252#M83554</guid>
      <dc:creator>belf26012</dc:creator>
      <dc:date>2017-02-07T22:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 custom MIPI sensor mxc_v4l_dqueue timeout enc_counter 0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512253#M83555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi did you receive an answers for this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 22:12:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-custom-MIPI-sensor-mxc-v4l-dqueue-timeout-enc-counter-0/m-p/512253#M83555</guid>
      <dc:creator>belf26012</dc:creator>
      <dc:date>2017-02-07T22:12:35Z</dc:date>
    </item>
  </channel>
</rss>

