<?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: MIPI CSI2 Can not Receive Sensor Clock (IMX290 Camera) in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-CSI2-Can-not-Receive-Sensor-Clock-IMX290-Camera/m-p/699914#M108698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/igorpadykov"&gt;igorpadykov&lt;/A&gt; Yes I wrote the code depending on this sequence . The all register and etc values are written in the code according to the datasheets. After I got the pozitive&amp;nbsp;return&amp;nbsp; value from the&amp;nbsp;&lt;STRONG&gt;imx290_write_reg&amp;nbsp;&lt;/STRONG&gt; function , "&lt;STRONG&gt;retval=imx290_write_reg(Register address,value); " &lt;/STRONG&gt; I pass the register address and its value from i2c. Everything is look like working good. But I couldnt pass the &lt;STRONG&gt;"mipi csi2 cannot receive the sensor clk! " &lt;/STRONG&gt;error. It would be because of that I used ov5640_mipi.c driver as a referance (like using same functions but changed the value and modified it depending on the&amp;nbsp; IMX290 technical datasheets).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Oct 2017 12:49:13 GMT</pubDate>
    <dc:creator>mustafabakircio</dc:creator>
    <dc:date>2017-10-11T12:49:13Z</dc:date>
    <item>
      <title>MIPI CSI2 Can not Receive Sensor Clock (IMX290 Camera)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-CSI2-Can-not-Receive-Sensor-Clock-IMX290-Camera/m-p/699909#M108693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello;&lt;/P&gt;&lt;P&gt;I have been working on imx290 mipi csi2 camera driver on IMX6Q processor Wandboard Quad. I have faced with a problem. The program can start i2c communication with i2c_master_send(); function in my driver. &lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot from 2017-10-05 14-29-52.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13135iFED955F8BAF67CBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2017-10-05 14-29-52.png" alt="Screenshot from 2017-10-05 14-29-52.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Right now I am getting&amp;nbsp; return value 3 from this function before it I was taking -5 (which is errno ) , so I fixed it. But&amp;nbsp; right now I am getting &lt;STRONG&gt;"mipi csi2 can not receive sensor clk" &lt;/STRONG&gt;problem. I checked the D-PHY Status , it is &lt;STRONG&gt;mipi_reg =&lt;/STRONG&gt;&lt;STRONG&gt;0x6F0 &lt;/STRONG&gt; when we waiting to the mipi clock stabilized , it is not stabilized. When I check the &lt;STRONG&gt;mipi_csi2_get_error1(mipi_csi2_info); is 0x0. &lt;/STRONG&gt;How can I check if the status is wrong or right I dont know how to calculate the value. And what could be the reason of this&amp;nbsp; "&lt;STRONG&gt;mipi csi2 can not receive sensor clock! "&lt;/STRONG&gt; error. &lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot from 2017-10-05 15-16-17.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13175i9FC7147929E7132A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2017-10-05 15-16-17.png" alt="Screenshot from 2017-10-05 15-16-17.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 12:22:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIPI-CSI2-Can-not-Receive-Sensor-Clock-IMX290-Camera/m-p/699909#M108693</guid>
      <dc:creator>mustafabakircio</dc:creator>
      <dc:date>2017-10-05T12:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI CSI2 Can not Receive Sensor Clock (IMX290 Camera)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-CSI2-Can-not-Receive-Sensor-Clock-IMX290-Camera/m-p/699910#M108694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mustafa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check clock presence with oscilloscope and follow&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Debug steps for customer MIPI sensor" for possible clock frequency change&lt;BR /&gt;&lt;A href="https://community.nxp.com/docs/DOC-94312"&gt;Debug steps for customer MIPI sensor.docx&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please also look at AN5305 MIPI-CSI2 Peripheral on i.MX6 MPU&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.nxp.com%2Ffiles%2F32bit%2Fdoc%2Fapp_note%2FAN5305.pdf" rel="nofollow" target="_blank"&gt;http://cache.nxp.com/files/32bit/doc/app_note/AN5305.pdf&lt;/A&gt;&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>Thu, 05 Oct 2017 23:56:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIPI-CSI2-Can-not-Receive-Sensor-Clock-IMX290-Camera/m-p/699910#M108694</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-10-05T23:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI CSI2 Can not Receive Sensor Clock (IMX290 Camera)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-CSI2-Can-not-Receive-Sensor-Clock-IMX290-Camera/m-p/699911#M108695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;hello&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="206296" data-objecttype="3" href="https://community.nxp.com/people/igorpadykov" style="color: #5e89c1; background-color: transparent; border: 0px; font-weight: inherit; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;igorpadykov&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;thanks for your reply;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I checked the AN5305 MIPI-CSI2 Peripheral on i.MX6 MPU datasheet and mipi steps but I couldnt find any solution on these documents . I have question about AN5305 document and d-phy status/ clock.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;1. Why d-phy csi2 phy state is change&amp;nbsp; and what thats mean ? fisrt I got 0x6f0 then I made simple change on code then I got 0x200 . What is the reason ? and what this status value means?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;2. According to the AN5305 document MIPI clock is going from imx6q to mipi camera sensor. I made my calculation and made the &amp;nbsp;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;mipi_csi2_write(info, 0x00000028, MIPI_CSI2_PHY_TST_CTRL1);&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;like this. According to the document sensor clock and d-phy clock should match. So Did I make my calculation wrong or should I change the mipi clock or other things as seen in image below.&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot from 2017-10-07 14-57-25.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13303i73634AB3E515A6E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2017-10-07 14-57-25.png" alt="Screenshot from 2017-10-07 14-57-25.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;I checked the camera sensor clock it generates 37.125 mhz clock inside but I didnt understand what would it be the reason that I can't the clock rate from mipi csi-2 interface&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px;"&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Oct 2017 17:00:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIPI-CSI2-Can-not-Receive-Sensor-Clock-IMX290-Camera/m-p/699911#M108695</guid>
      <dc:creator>mustafabakircio</dc:creator>
      <dc:date>2017-10-07T17:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI CSI2 Can not Receive Sensor Clock (IMX290 Camera)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-CSI2-Can-not-Receive-Sensor-Clock-IMX290-Camera/m-p/699912#M108696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All the things are written at IMX6QDL datasheet ,the meanings of mipi dphy status value and other things .But my 2. question is still valid :smileyhappy:&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2017 01:57:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIPI-CSI2-Can-not-Receive-Sensor-Clock-IMX290-Camera/m-p/699912#M108696</guid>
      <dc:creator>mustafabakircio</dc:creator>
      <dc:date>2017-10-08T01:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI CSI2 Can not Receive Sensor Clock (IMX290 Camera)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-CSI2-Can-not-Receive-Sensor-Clock-IMX290-Camera/m-p/699913#M108697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mustafa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;had you checked that correct power-up sequence was performed&lt;BR /&gt;described on p.6 imx290 datasheet and master clock INCK is present :&lt;BR /&gt;&lt;A href="https://www.leopardimaging.com/uploads/LI-IMX290-MIPI_datasheet.pdf"&gt;https://www.leopardimaging.com/uploads/LI-IMX290-MIPI_datasheet.pdf&lt;/A&gt;&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, 09 Oct 2017 07:21:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIPI-CSI2-Can-not-Receive-Sensor-Clock-IMX290-Camera/m-p/699913#M108697</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-10-09T07:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI CSI2 Can not Receive Sensor Clock (IMX290 Camera)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-CSI2-Can-not-Receive-Sensor-Clock-IMX290-Camera/m-p/699914#M108698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/igorpadykov"&gt;igorpadykov&lt;/A&gt; Yes I wrote the code depending on this sequence . The all register and etc values are written in the code according to the datasheets. After I got the pozitive&amp;nbsp;return&amp;nbsp; value from the&amp;nbsp;&lt;STRONG&gt;imx290_write_reg&amp;nbsp;&lt;/STRONG&gt; function , "&lt;STRONG&gt;retval=imx290_write_reg(Register address,value); " &lt;/STRONG&gt; I pass the register address and its value from i2c. Everything is look like working good. But I couldnt pass the &lt;STRONG&gt;"mipi csi2 cannot receive the sensor clk! " &lt;/STRONG&gt;error. It would be because of that I used ov5640_mipi.c driver as a referance (like using same functions but changed the value and modified it depending on the&amp;nbsp; IMX290 technical datasheets).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 12:49:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIPI-CSI2-Can-not-Receive-Sensor-Clock-IMX290-Camera/m-p/699914#M108698</guid>
      <dc:creator>mustafabakircio</dc:creator>
      <dc:date>2017-10-11T12:49:13Z</dc:date>
    </item>
  </channel>
</rss>

