<?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: phy_rxclk_activehs bit is not set and MIPI_CSI2_PHY_STATE is 0x210 and 0x200 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/phy-rxclk-activehs-bit-is-not-set-and-MIPI-CSI2-PHY-STATE-is/m-p/597819#M89709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Titus,&lt;/P&gt;&lt;P&gt;Were you able to resolve your problem?&amp;nbsp; I have a similar situation where I am streaming a 1366x768 video (4-CSI-2 lanes) at 60fps, but cannot get above 30.&amp;nbsp; Started with the OV5440 Driver and modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John D.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2016 20:40:05 GMT</pubDate>
    <dc:creator>johndusing</dc:creator>
    <dc:date>2016-12-13T20:40:05Z</dc:date>
    <item>
      <title>phy_rxclk_activehs bit is not set and MIPI_CSI2_PHY_STATE is 0x210 and 0x200</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/phy-rxclk-activehs-bit-is-not-set-and-MIPI-CSI2-PHY-STATE-is/m-p/597815#M89705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I have the following custom camera, want to get a frame from camera using iMX6 sabrelite EVM board.&lt;/P&gt;&lt;P&gt;At power ON, our camera will generate the frames continuously at &lt;STRONG&gt;800x600&lt;/STRONG&gt; &lt;STRONG&gt;45fps&lt;/STRONG&gt; in &lt;STRONG&gt;RGB565&lt;/STRONG&gt; format (data type is 22)&lt;/P&gt;&lt;P&gt;Camera sensor bit clock is &lt;STRONG&gt;48MHz&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Byte clock is &lt;STRONG&gt;187.5MHz&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Camera MIPI TX is configured for &lt;STRONG&gt;1.5Gbps&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; (187.5 * 8bit data)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1 Lane&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Not sure about the &lt;STRONG&gt;virtual channel&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Board name:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am using Sabrelite iMX6 EVM board from boundary devices (J16 MIPI port)&lt;/P&gt;&lt;P&gt;I have also tried to connect the OV5640 MIPI camera to the board and able to get the frames.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my custom sensor, I have created the driver based on the ov5640_mipi.c driver and did the following as per my camera sensor.&lt;/P&gt;&lt;P&gt;1) Set data lane to 1&lt;/P&gt;&lt;P&gt;2) Set &lt;STRONG&gt;0x44&lt;/STRONG&gt; in &lt;STRONG&gt;&lt;EM&gt;MIPI_CSI2_PHY_TST_CTRL1 &lt;/EM&gt;&lt;/STRONG&gt;register as I have differential clock is 187.5MHz (Not sure, please suggest me if anything.)&lt;/P&gt;&lt;P&gt;3) I think, we don't have virtual channel in our camera so I set "virtual channel" as 0 (default) so I used IPU0 and CSI0.&lt;/P&gt;&lt;P&gt;4)&amp;nbsp; Here is the MIPI CSI register dump:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MIPI_CSI2_VERSION &lt;STRONG&gt;3130302a&lt;/STRONG&gt;&lt;BR /&gt;MIPI_CSI2_N_LANES &lt;STRONG&gt;1&lt;/STRONG&gt;&lt;BR /&gt;MIPI_CSI2_PHY_SHUTDOWNZ &lt;STRONG&gt;1&lt;/STRONG&gt;&lt;BR /&gt;MIPI_CSI2_DPHY_RSTZ &lt;STRONG&gt;1&lt;/STRONG&gt;&lt;BR /&gt;MIPI_CSI2_CSI2_RESETN &lt;STRONG&gt;1&lt;/STRONG&gt;&lt;BR /&gt;MIPI_CSI2_PHY_STATE &lt;STRONG&gt;210&lt;/STRONG&gt;&lt;BR /&gt;MIPI_CSI2_DATA_IDS_1 &lt;STRONG&gt;0&lt;/STRONG&gt;&lt;BR /&gt;MIPI_CSI2_DATA_IDS_2 &lt;STRONG&gt;0&lt;/STRONG&gt;&lt;BR /&gt;MIPI_CSI2_ERR1 &lt;STRONG&gt;0&lt;/STRONG&gt;&lt;BR /&gt;MIPI_CSI2_ERR2 &lt;STRONG&gt;0&lt;/STRONG&gt;&lt;BR /&gt;MIPI_CSI2_MASK1 &lt;STRONG&gt;0&lt;/STRONG&gt;&lt;BR /&gt;MIPI_CSI2_MASK2 &lt;STRONG&gt;0&lt;/STRONG&gt;&lt;BR /&gt;MIPI_CSI2_PHY_TST_CTRL0 &lt;STRONG&gt;0&lt;/STRONG&gt;&lt;BR /&gt;MIPI_CSI2_PHY_TST_CTRL1 &lt;STRONG&gt;4444&lt;/STRONG&gt;&lt;BR /&gt;MIPI_CSI2_SFT_RESET &lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can you please anyone provide the support please ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 10:04:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/phy-rxclk-activehs-bit-is-not-set-and-MIPI-CSI2-PHY-STATE-is/m-p/597815#M89705</guid>
      <dc:creator>titusstalin</dc:creator>
      <dc:date>2016-10-25T10:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: phy_rxclk_activehs bit is not set and MIPI_CSI2_PHY_STATE is 0x210 and 0x200</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/phy-rxclk-activehs-bit-is-not-set-and-MIPI-CSI2-PHY-STATE-is/m-p/597816#M89706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Titus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are not able to reproduce your issue and run tests as we don´t have the board you are using. But probably&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/gary_bisson"&gt;gary_bisson&lt;/A&gt; from Boundary devices may comment something on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 16:58:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/phy-rxclk-activehs-bit-is-not-set-and-MIPI-CSI2-PHY-STATE-is/m-p/597816#M89706</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2016-11-01T16:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: phy_rxclk_activehs bit is not set and MIPI_CSI2_PHY_STATE is 0x210 and 0x200</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/phy-rxclk-activehs-bit-is-not-set-and-MIPI-CSI2-PHY-STATE-is/m-p/597817#M89707</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;Since it is a custom camera I won't be able to reproduce either. Can you reproduce the problem with the standard OV5640 MIPI camera?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 17:01:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/phy-rxclk-activehs-bit-is-not-set-and-MIPI-CSI2-PHY-STATE-is/m-p/597817#M89707</guid>
      <dc:creator>gary_bisson</dc:creator>
      <dc:date>2016-11-01T17:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: phy_rxclk_activehs bit is not set and MIPI_CSI2_PHY_STATE is 0x210 and 0x200</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/phy-rxclk-activehs-bit-is-not-set-and-MIPI-CSI2-PHY-STATE-is/m-p/597818#M89708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the delay in responding.&lt;/P&gt;&lt;P&gt;Thanks Carlos and Gary for your replies.&lt;/P&gt;&lt;P&gt;Yes, I'm able to reproduce with OV5640 MIPI camera when I change the camera frame speed 30fps to 45fps.&lt;/P&gt;&lt;P&gt;But that could not help to resolve the problem.&lt;/P&gt;&lt;P&gt;I found one post that we should stop the streaming when we set the MIPI&amp;nbsp; DPHY clock setting (mipi reset function)&lt;/P&gt;&lt;P&gt;As I said earlier, my custom camera&amp;nbsp;would start stream the image when I power ON the camera.&lt;/P&gt;&lt;P&gt;I disabled the stream when&amp;nbsp;MIPI PHY reset and then able to get the frames now.&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Titus S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 06:41:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/phy-rxclk-activehs-bit-is-not-set-and-MIPI-CSI2-PHY-STATE-is/m-p/597818#M89708</guid>
      <dc:creator>titusstalin</dc:creator>
      <dc:date>2016-11-14T06:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: phy_rxclk_activehs bit is not set and MIPI_CSI2_PHY_STATE is 0x210 and 0x200</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/phy-rxclk-activehs-bit-is-not-set-and-MIPI-CSI2-PHY-STATE-is/m-p/597819#M89709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Titus,&lt;/P&gt;&lt;P&gt;Were you able to resolve your problem?&amp;nbsp; I have a similar situation where I am streaming a 1366x768 video (4-CSI-2 lanes) at 60fps, but cannot get above 30.&amp;nbsp; Started with the OV5440 Driver and modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John D.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 20:40:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/phy-rxclk-activehs-bit-is-not-set-and-MIPI-CSI2-PHY-STATE-is/m-p/597819#M89709</guid>
      <dc:creator>johndusing</dc:creator>
      <dc:date>2016-12-13T20:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: phy_rxclk_activehs bit is not set and MIPI_CSI2_PHY_STATE is 0x210 and 0x200</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/phy-rxclk-activehs-bit-is-not-set-and-MIPI-CSI2-PHY-STATE-is/m-p/597820#M89710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I'm able to fix the problem.&lt;/P&gt;&lt;P&gt;But my problem is different than yours.&lt;/P&gt;&lt;P&gt;I'm not able to get the frames even with 30fps but for you, not working more than 30fps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try 720Px60fps (1280x720 60fps) settings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 10:55:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/phy-rxclk-activehs-bit-is-not-set-and-MIPI-CSI2-PHY-STATE-is/m-p/597820#M89710</guid>
      <dc:creator>titusstalin</dc:creator>
      <dc:date>2016-12-14T10:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: phy_rxclk_activehs bit is not set and MIPI_CSI2_PHY_STATE is 0x210 and 0x200</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/phy-rxclk-activehs-bit-is-not-set-and-MIPI-CSI2-PHY-STATE-is/m-p/597821#M89711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;My frame rate is fixed a 60fps. I will look into the registers to see if there is some way I can time the EOF packets from the CSI2 stream.&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 13:20:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/phy-rxclk-activehs-bit-is-not-set-and-MIPI-CSI2-PHY-STATE-is/m-p/597821#M89711</guid>
      <dc:creator>johndusing</dc:creator>
      <dc:date>2016-12-14T13:20:57Z</dc:date>
    </item>
  </channel>
</rss>

