<?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: Custom MIPI image sensor to iMX6 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386802#M56079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Huge apologies for posting to a 2-year-old thread, but our use case is just about precisely the same as yours and we're having trouble with one last facet of capture: We are successfully capturing frames, but the IMX seems to be ignoring SOF and EOF packets. If there is any hiccup in reception, or if the IMX takes too long to begin receiving MIPI data, then it begins part-way through the "first" frame and delivers an un-synchronized stream. Some times we get continuous NFB4EOF errors, and sometimes we don't, but the frame offset remains constant until we stop and restart the entire capture chain. Did you ever encounter this kind of issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example of our capture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="example.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24400i886DD977F0633938/image-size/large?v=v2&amp;amp;px=999" role="button" title="example.png" alt="example.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jun 2017 13:32:22 GMT</pubDate>
    <dc:creator>jwatts</dc:creator>
    <dc:date>2017-06-30T13:32:22Z</dc:date>
    <item>
      <title>Custom MIPI image sensor to iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386795#M56072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a custom board based on i.MX6 (Quadcore). Four analog video inputs need to be fed to the imx6.&lt;/P&gt;&lt;P&gt;As shown in the below diagram, using a Conexant chip we multiplex and convert analog video into a single BT656&amp;nbsp; Digital out.This digital data is converted to MIPI by a&amp;nbsp; lattice semi based FPGA.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MIPI_Video.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50640i89395EE1A95A04C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="MIPI_Video.jpg" alt="MIPI_Video.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Unfortunately we are not receiving the video. &lt;/P&gt;&lt;P&gt;Following registers in the iMX6 MIPI Host controller are checked.&lt;/P&gt;&lt;P&gt;MIPI_CSI_PHY_STATE&amp;nbsp; gives&amp;nbsp; both&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;0x300&amp;nbsp; and&amp;nbsp; 0&lt;/SPAN&gt;x630 ,&amp;nbsp; but 0x300 is frequent.&lt;/P&gt;&lt;P&gt;Both error registers , MIPI_CSI_ERR1 and&amp;nbsp; MIPI_CSI_ERR2 gives a value of 0x00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the above register values say that my MIPI receiving section is receiving data correctly?&lt;/P&gt;&lt;P&gt;Is there anything that we can look in from any other registers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;sonu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 14:18:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386795#M56072</guid>
      <dc:creator>ndsonu</dc:creator>
      <dc:date>2015-02-19T14:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MIPI image sensor to iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386796#M56073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sonu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it may be suggested to look at debug steps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/328301"&gt;Some Experience When Enable MIPI Camera&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 00:16:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386796#M56073</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-02-24T00:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MIPI image sensor to iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386797#M56074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;We looked into the link you mentioned.&lt;/P&gt;&lt;P&gt;Unfortunately we couldn't get our interface working.&lt;/P&gt;&lt;P&gt;Could you please go through the below notes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our System Setting :&lt;/P&gt;&lt;P&gt;++++++++++++++++++++&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set up contains 2 parallel cameras and one MIPI interface.We are using a custom video pipeline driver&lt;/P&gt;&lt;P&gt;Parallel&amp;nbsp; cameras are connected to the iMx6 IPU0-CSIO and IPU1-CSI1 resepectively and this is working fine.&lt;/P&gt;&lt;P&gt;The MIPI imgae source is interfaced to IPU0-CSI1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FPGA ( our MIPI image source)&amp;nbsp; is programmed to send the MIPI video in Virtual Channel - 1.&lt;/P&gt;&lt;P&gt;Also the MIPI- DPHY is emulated in the FPGA with the help resistors. &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(we are using reference design from Lattice Semi : &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.latticesemi.com/~/media/Documents/ReferenceDesigns/NR/ParalleltoMIPIDSITXBridge.pdf?document_id=50570" target="_blank"&gt;http://www.latticesemi.com/~/media/Documents/ReferenceDesigns/NR/ParalleltoMIPIDSITXBridge.pdf?document_id=50570&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Device Tree Configuration: &lt;/P&gt;&lt;P&gt;++++++++++++++++++++++++++++++++++++&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mipi_csi: mipi_csi@021dc000 {&lt;/P&gt;&lt;P&gt;&amp;nbsp; compatible = "fsl,imx6q-mipi-csi2";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ipu_id = &amp;lt;0&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; csi_id = &amp;lt;1&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v_channel =&amp;lt;1&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lanes =&amp;lt;2&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; reg = &amp;lt;0x021dc000 0x4000&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; interrupts = &amp;lt;0 100 0x04&amp;gt;, &amp;lt;0 101 0x04&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; clocks = &amp;lt;&amp;amp;clks 138&amp;gt;, &amp;lt;&amp;amp;clks 53&amp;gt;, &amp;lt;&amp;amp;clks 204&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Note: clks 138 is hsi_tx, however, the dphy_c&lt;/P&gt;&lt;P&gt;&amp;nbsp; * hsi_tx and pll_refclk use the same clk gate.&lt;/P&gt;&lt;P&gt;&amp;nbsp; * In current clk driver, open/close clk gate do&lt;/P&gt;&lt;P&gt;&amp;nbsp; * use hsi_tx for a temporary debug purpose.&lt;/P&gt;&lt;P&gt;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp; clock-names = "dphy_clk", "pixel_clk", "cfg_clk";&lt;/P&gt;&lt;P&gt;&amp;nbsp; status = "okay";&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Board File Configuration : ( for parallel cameras)&lt;/P&gt;&lt;P&gt;++++++++++++++++++++++++++&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regmap_update_bits(gpr, IOMUXC_GPR1, 1 &amp;lt;&amp;lt; 19, 1 &amp;lt;&amp;lt; 19);&lt;/P&gt;&lt;P&gt;regmap_update_bits(gpr, IOMUXC_GPR1, 1 &amp;lt;&amp;lt; 20, 1 &amp;lt;&amp;lt; 20);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MIPI-CSI Host Side Configuration :&lt;/P&gt;&lt;P&gt;+++++++++++++++++++++++++++++++++++++&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mipi_csi2_info:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; mipi_csi2_info.mipi_en&amp;nbsp;&amp;nbsp; = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; mipi_csi2_info.ipu_id&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; mipi_csi2_info.csi_id&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; mipi_csi2_info.v_channel = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; mipi_csi2_info.lanes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; mipi_csi2_info.datatype&amp;nbsp; = 0x1e (YUV422)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Observations : &lt;/P&gt;&lt;P&gt;+++++++++++++++&lt;/P&gt;&lt;P&gt;Start up and execution&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Will keep the MIPI lanes ( CK,D0 and D1) in LP-11 state from FPGA .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The MIPI-HOST controller section of i.MX6 is configured as mentioned in the i.MX6 resource manual chapter 40.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The MIPI_CSI2_DPHY_STATUS at this stage is 0x630.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start the FPGA pump data out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The FPGA clock and data lanes start to switch between LP and HS modes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We see activity on all the lanes in oscilloscope ( CK+,CK-, D0+,D0-,D1+,D1-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The MIPI_CSI2_DPHY_STATUS at this stage switches between 0x300 and 0x630.But we are not receiving any IPU interrupts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also the following registers are monitored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi_csi2_dphy_status = 0x300&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi_csi2 error1 = 0x2000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi_csi2 error2 = 0x0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MIPI_CSI2_DATA_IDS_1 = 0x0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MIPI_CSI2_DATA_IDS_2 = 0x0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MIPI_CSI2_N_LANES = 0x1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise we are get everything similar to what is mentioned in the document&amp;nbsp; "Debug steps for customer MIPI sensor.docx"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From this we understand that there is a checksum error in Virtual Channel -1 in the received data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an experiment we changed the virtual channel to 0 in FPGA.&lt;/P&gt;&lt;P&gt;Then in the iMX6 side the error shifted , mipi_csi2 error1 = 0x1000000. From this can we conclude that Data ID was correctly deteced by MIPI Host controller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to dump the received data to memory ( though there is error)&amp;nbsp; from where we can manually compare it with the transmitted data and see what is happening?&lt;/P&gt;&lt;P&gt;Any help to debug our issue is highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sonu &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 12:04:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386797#M56074</guid>
      <dc:creator>ndsonu</dc:creator>
      <dc:date>2015-03-04T12:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MIPI image sensor to iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386798#M56075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sonu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm reading your post very late. I hope you already solved your issue.&lt;/P&gt;&lt;P&gt;I have a similar configuration but with the difference that for me the video come from an Aptina monochrome CMOS sensor. I also used Lattice MachXO2 to convert flow from parallel to MIPI (2 Lane). I take two months to solve all my problems. During my tests I also had your (and a lot of others!) problem on &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;mipi_csi2 error1. In my case the problem was that my sensor has a particular timing on FV and HV signals. In particular the rising edge of HV is very close to rising edge of FV (6 pixels) and mipi serializer doesn't have time to produce the short packet for the "frame start". For a similar situation also the short packet at the and of the frame ("frame end") was missing. I solved the problem setting the sensor to produce one more line at the beginning of the frame before the first active line. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I don't know if it's could be the same problem for you. Anyway I suggest to you to verify with the scope the presence of the "Frame Start" and "Frame Stop" short packet. I don't have a MIPI analyzer so it was very difficult to read the content of the packet but with the use of math functions it's not impossible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye Bye.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 00:07:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386798#M56075</guid>
      <dc:creator>OmarPighi</dc:creator>
      <dc:date>2015-04-20T00:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MIPI image sensor to iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386799#M56076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Omar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, we solved our problem.&lt;/P&gt;&lt;P&gt;In our&amp;nbsp; case , the problems were mainly in the Lattice reference code we were using. It was inserting wrong "ECC" in the MIPI packets. Also the Wordcount interserted by the code was wrong. With this corrected all our errors were gone and we were able to get the MIPI packets in memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sonu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 05:00:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386799#M56076</guid>
      <dc:creator>ndsonu</dc:creator>
      <dc:date>2015-04-27T05:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MIPI image sensor to iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386800#M56077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One question: what about continuous or non-continuous clock?&lt;/P&gt;&lt;P&gt;I was not able to work with non-continuous clock so i worked with continuous clock. But I needed to do some changes in startup sequence. I introduced a Low Power sequence (LP11 -&amp;gt; LP10 -&amp;gt; LP00) for the clock before to start data stream. Without this sequence the IMX6 &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MIPI_CSI_PHY_STATE gives errors. Unfotunately the Lattice reference I used didn't provide this sequence. In continuous mode FPGA starts to move clock without any Low Power sequence at the beginning of transmission.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Did you encounter the same problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 22:50:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386800#M56077</guid>
      <dc:creator>OmarPighi</dc:creator>
      <dc:date>2015-04-27T22:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MIPI image sensor to iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386801#M56078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Omar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are working with non-continuous clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We&amp;nbsp; edited the FPGA code to introduce the Low power sequence as you have mentioned to get the MIPI register configurations correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sonu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 13:15:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386801#M56078</guid>
      <dc:creator>ndsonu</dc:creator>
      <dc:date>2015-05-06T13:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MIPI image sensor to iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386802#M56079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Huge apologies for posting to a 2-year-old thread, but our use case is just about precisely the same as yours and we're having trouble with one last facet of capture: We are successfully capturing frames, but the IMX seems to be ignoring SOF and EOF packets. If there is any hiccup in reception, or if the IMX takes too long to begin receiving MIPI data, then it begins part-way through the "first" frame and delivers an un-synchronized stream. Some times we get continuous NFB4EOF errors, and sometimes we don't, but the frame offset remains constant until we stop and restart the entire capture chain. Did you ever encounter this kind of issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example of our capture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="example.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24400i886DD977F0633938/image-size/large?v=v2&amp;amp;px=999" role="button" title="example.png" alt="example.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 13:32:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386802#M56079</guid>
      <dc:creator>jwatts</dc:creator>
      <dc:date>2017-06-30T13:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MIPI image sensor to iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386803#M56080</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;I am trying to interface the single lane MIPI sensor OV7251 sensor with imx6. &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;MIPI_CSI_PHY_STATE register value is continuously changing between &lt;SPAN&gt;0x0000_0300 and &amp;nbsp;0x0000_0310. &amp;nbsp; MIPI_CSI_ERR1 and MIPI_CSI_ERR2 status registers are also zero. But Frames are not coming to memory.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Q1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;Is the above status registers denotes iMX6 receiving MIPI packets or not?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;Q2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;How should I know weather iMX6 received &amp;nbsp;MIPI packets or not&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;Q3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;we have configured single lane in dts file. Is there other things need to configure &amp;nbsp;at imx6 side for single lane?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;Q4.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&amp;nbsp;anybody interfaced &amp;nbsp;0V7251 single lane MIPI with imx6?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;Tamilarasan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jul 2017 14:08:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-MIPI-image-sensor-to-iMX6/m-p/386803#M56080</guid>
      <dc:creator>tamilarasane</dc:creator>
      <dc:date>2017-07-08T14:08:56Z</dc:date>
    </item>
  </channel>
</rss>

