<?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>Other NXP ProductsのトピックRe: mipi camera driver</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/mipi-camera-driver/m-p/456024#M3308</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;SPAN class="jive-comment-meta font-color-meta-light"&gt;&lt;SPAN class="j-username-wrap"&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="245503" data-username="ludovicleau-mercier" href="https://community.nxp.com/people/ludovicleau-mercier"&gt;ludovic&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-comment-meta font-color-meta-light"&gt;&lt;SPAN class="j-username-wrap"&gt;What clock and data pin output do you configure the camera to output before you initialize mipi dphy?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-comment-meta font-color-meta-light"&gt;&lt;SPAN class="j-username-wrap"&gt;Do you set the camera output (data and clock) to HI-Z, or 0 (0V), or 1(1.2V)?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 21:36:49 GMT</pubDate>
    <dc:creator>dehuanxin</dc:creator>
    <dc:date>2016-06-16T21:36:49Z</dc:date>
    <item>
      <title>mipi camera driver</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/mipi-camera-driver/m-p/456021#M3305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi freescale community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to create a new mipi driver for a custom mipi camera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some informations :&lt;/P&gt;&lt;P&gt;I use the sabrelite platform&lt;/P&gt;&lt;P&gt;the sensor not use i2c, all configuration are static in camera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the ov5640 driver to create my driver.&lt;/P&gt;&lt;P&gt;I fix IPU=1 CSI=0 and VC=2&lt;/P&gt;&lt;P&gt;i set 4 lanes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First i fix the sensor clock to 999MHz or 198MHz for testing several frequence values. &lt;/P&gt;&lt;P&gt;and i change the reset function in mxc_mipi_csi2.c file :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found in this community the registry value : &lt;/P&gt;&lt;P&gt;by exemple 0x44 =&amp;gt; 198MHz or 0x74 =&amp;gt; 999MHz also i modify :&lt;/P&gt;&lt;P&gt;in mipi_csi2_reset() function the line : &lt;/P&gt;&lt;P&gt;mipi_csi2_write(info, value, MIPI_CSI2_PHY_TST_CTRL1); with value is 0x44 (is the defautl value in original code) or 0x74&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i load driver and start gstreamer for testing :&lt;/P&gt;&lt;P&gt;the debug show :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// information from mipi_csi2_info&lt;/P&gt;&lt;P&gt;cfg clock rate: 27000000&lt;/P&gt;&lt;P&gt;dphy clock rate: 198000000&lt;/P&gt;&lt;P&gt;pixel clock rate: 396000000&lt;/P&gt;&lt;P&gt;mipi_reset() Now Using 4 lanes // i set 4 lane&lt;/P&gt;&lt;P&gt;mipi_csi2_reset_clock() clock = 0044 (hex) // here i force the dphy clock, this function replace the original mipi_csi2_reset() for changing dphy clock&lt;/P&gt;&lt;P&gt;mipi_reset() after reset clock&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// after the reset i get the mipi info struct, (here there are no change when i use 0x74, dphy clock must be 999000000 MHz) &lt;/P&gt;&lt;P&gt;// Also i continue my test with only 198MHz. (0x44)&lt;/P&gt;&lt;P&gt;cfg clock rate: 27000000&lt;/P&gt;&lt;P&gt;dphy clock rate: 198000000&lt;/P&gt;&lt;P&gt;pixel clock rate: 396000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// here i check the mipi_csi2_dphy_status&lt;/P&gt;&lt;P&gt;mipi_wait()&lt;/P&gt;&lt;P&gt;mipi_wait() 0 mipi csi2 dphy status 200&lt;/P&gt;&lt;P&gt;mipi_wait() 1 mipi csi2 dphy status 2f0&lt;/P&gt;&lt;P&gt;mipi_wait() 0 mipi csi2 err1 0&lt;/P&gt;&lt;P&gt;mipi_wait() 0 mipi csi2 err2 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help for understand why my dphy status is 2F0 and there are 0 for CSI_ERR1 and CSI_ERR2 ?&lt;/P&gt;&lt;P&gt;Normally i will found dphy status = 0x300 or 0x330&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 08:57:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/mipi-camera-driver/m-p/456021#M3305</guid>
      <dc:creator>ludovicleau-mer</dc:creator>
      <dc:date>2015-05-22T08:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: mipi camera driver</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/mipi-camera-driver/m-p/456022#M3306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have read in thread : &lt;A href="https://community.nxp.com/message/471462"&gt;Re: imx6q sabre AI board MIPI camera.&lt;/A&gt; that the &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/GaoJianzhong"&gt;GaoJianzhong&lt;/A&gt; said :&lt;/P&gt;&lt;P&gt;You must initialize the i.mx6’s MIPI module firstly,&lt;/P&gt;&lt;P&gt;And then turn on the camera to output the mipi signal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it still true ? because the message is posted in 2013. It is a feature of mipi ?&lt;/P&gt;&lt;P&gt;For information i use the kernel boundary-imx_3.10.17_1.0.2_ga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case camera is autonomous and it is started before i load module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2015 06:41:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/mipi-camera-driver/m-p/456022#M3306</guid>
      <dc:creator>ludovicleau-mer</dc:creator>
      <dc:date>2015-05-23T06:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: mipi camera driver</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/mipi-camera-driver/m-p/456023#M3307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok for this probleme : "You must initialize the i.mx6’s MIPI module firstly," is true. After many change in my code i retriee the dphy stauts 3F0 or 300.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 13:23:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/mipi-camera-driver/m-p/456023#M3307</guid>
      <dc:creator>ludovicleau-mer</dc:creator>
      <dc:date>2015-06-01T13:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: mipi camera driver</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/mipi-camera-driver/m-p/456024#M3308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;SPAN class="jive-comment-meta font-color-meta-light"&gt;&lt;SPAN class="j-username-wrap"&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="245503" data-username="ludovicleau-mercier" href="https://community.nxp.com/people/ludovicleau-mercier"&gt;ludovic&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-comment-meta font-color-meta-light"&gt;&lt;SPAN class="j-username-wrap"&gt;What clock and data pin output do you configure the camera to output before you initialize mipi dphy?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-comment-meta font-color-meta-light"&gt;&lt;SPAN class="j-username-wrap"&gt;Do you set the camera output (data and clock) to HI-Z, or 0 (0V), or 1(1.2V)?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 21:36:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/mipi-camera-driver/m-p/456024#M3308</guid>
      <dc:creator>dehuanxin</dc:creator>
      <dc:date>2016-06-16T21:36:49Z</dc:date>
    </item>
  </channel>
</rss>

