<?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 i.MX6 MIPI Sensor debug in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-MIPI-Sensor-debug/m-p/464313#M73031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This customer is trying to bring up camera sensor interfacing to i.MX6. It is not clear from the description below whether the issue is with the camera driver. Maybe, someone more knowledgeable than I am can provide some suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?&amp;nbsp; I'm working on&lt;BR /&gt;our Linux camera driver and I need some clarification on the behavior of the&lt;BR /&gt;system.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Because we don't have the equipment to analyze the&lt;BR /&gt;MIPI signal (which is currently set to 650Mhz), I'm relying on the i.MX6 MIPI&lt;BR /&gt;PHY status registers to tell me whether there is a good signal coming in, but&lt;BR /&gt;the things I'm observing elsewhere in the system and some comments I've seen on&lt;BR /&gt;the message boards indicate that I may be wrong about how I'm interpreting&lt;BR /&gt;them.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; When I start capture, MIPI_CSI2_PHY_STATE goes to&lt;BR /&gt;the value 0x00000330 and alternates between 0x00000330 and 0x00000300 as I&lt;BR /&gt;sample it while the camera streams.&amp;nbsp; I&lt;BR /&gt;interpret this to mean that the PHY is seeing readable data at the correct&lt;BR /&gt;clock frequency from the sensor, but I'm seeing messages from people in the&lt;BR /&gt;forums suggesting that I can get these readings even if there's no stream.&amp;nbsp; The error registers are both zero, so I'm&lt;BR /&gt;trying to determine whether I can assume the analog stream is good and I should&lt;BR /&gt;look for problems with frame interpretation or if there's still a chance that&lt;BR /&gt;the PHY isn't getting a meaningful stream.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I've had to do more work than the driver porting&lt;BR /&gt;documents describe for this sensor because it is a raw bayer image that needs&lt;BR /&gt;to be interpreted as grayscale and not transformed by the image processing unit&lt;BR /&gt;and the support for that in the kernel is limited/missing, so in order to&lt;BR /&gt;isolate the problem I'd like to be able to at least rule out the analog front-end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Apr 2016 23:09:54 GMT</pubDate>
    <dc:creator>ramansubramania</dc:creator>
    <dc:date>2016-04-20T23:09:54Z</dc:date>
    <item>
      <title>i.MX6 MIPI Sensor debug</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-MIPI-Sensor-debug/m-p/464313#M73031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This customer is trying to bring up camera sensor interfacing to i.MX6. It is not clear from the description below whether the issue is with the camera driver. Maybe, someone more knowledgeable than I am can provide some suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?&amp;nbsp; I'm working on&lt;BR /&gt;our Linux camera driver and I need some clarification on the behavior of the&lt;BR /&gt;system.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Because we don't have the equipment to analyze the&lt;BR /&gt;MIPI signal (which is currently set to 650Mhz), I'm relying on the i.MX6 MIPI&lt;BR /&gt;PHY status registers to tell me whether there is a good signal coming in, but&lt;BR /&gt;the things I'm observing elsewhere in the system and some comments I've seen on&lt;BR /&gt;the message boards indicate that I may be wrong about how I'm interpreting&lt;BR /&gt;them.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; When I start capture, MIPI_CSI2_PHY_STATE goes to&lt;BR /&gt;the value 0x00000330 and alternates between 0x00000330 and 0x00000300 as I&lt;BR /&gt;sample it while the camera streams.&amp;nbsp; I&lt;BR /&gt;interpret this to mean that the PHY is seeing readable data at the correct&lt;BR /&gt;clock frequency from the sensor, but I'm seeing messages from people in the&lt;BR /&gt;forums suggesting that I can get these readings even if there's no stream.&amp;nbsp; The error registers are both zero, so I'm&lt;BR /&gt;trying to determine whether I can assume the analog stream is good and I should&lt;BR /&gt;look for problems with frame interpretation or if there's still a chance that&lt;BR /&gt;the PHY isn't getting a meaningful stream.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I've had to do more work than the driver porting&lt;BR /&gt;documents describe for this sensor because it is a raw bayer image that needs&lt;BR /&gt;to be interpreted as grayscale and not transformed by the image processing unit&lt;BR /&gt;and the support for that in the kernel is limited/missing, so in order to&lt;BR /&gt;isolate the problem I'd like to be able to at least rule out the analog front-end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 23:09:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-MIPI-Sensor-debug/m-p/464313#M73031</guid>
      <dc:creator>ramansubramania</dc:creator>
      <dc:date>2016-04-20T23:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 MIPI Sensor debug</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-MIPI-Sensor-debug/m-p/464314#M73032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems you are right and this behaviour may be interpreted &lt;/P&gt;&lt;P&gt;as PHY is seeing readable data. For raw bayer image usage&lt;/P&gt;&lt;P&gt;one can look at&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-thread-small" data-containerid="2004" data-containertype="14" data-objectid="320618" data-objecttype="1" href="https://community.freescale.com/thread/320618#386809"&gt;https://community.freescale.com/message/386809#386809&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-thread-small" data-containerid="2004" data-containertype="14" data-objectid="310786" data-objecttype="1" href="https://community.freescale.com/thread/310786#344529"&gt;https://community.freescale.com/message/344529#344529&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 04:33:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-MIPI-Sensor-debug/m-p/464314#M73032</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-04-21T04:33:13Z</dc:date>
    </item>
  </channel>
</rss>

