<?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: [IMX8] CSI Fencing Timeout in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1184413#M165013</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586"&gt;@joanxie&lt;/a&gt;&amp;nbsp;I am working with&amp;nbsp;&lt;STRONG&gt;I.MX8 DX&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;processor as mentioned&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2020 09:34:23 GMT</pubDate>
    <dc:creator>khaledbalbaa</dc:creator>
    <dc:date>2020-11-17T09:34:23Z</dc:date>
    <item>
      <title>[IMX8] CSI Fencing Timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1176241#M164340</link>
      <description>&lt;P&gt;In the APIs&amp;nbsp;&lt;STRONG&gt;MIPIDeinit&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;MIPIEnable&lt;/STRONG&gt; I remarked that we are counting from 0 to &lt;STRONG&gt;10,000,000&lt;/STRONG&gt; after&amp;nbsp; setting the register&amp;nbsp;&lt;STRONG&gt;PHY_FENCE_CTRL&lt;/STRONG&gt; waiting for the register&amp;nbsp;&lt;STRONG&gt;PHY_FENCE_STATUS&lt;/STRONG&gt; to be set to the same value as the CTRL register&lt;/P&gt;&lt;P&gt;As we know, this register is responsible for the virtual CSI channels and in our case we would like to not have any virtual channels, so we are setting the CTRL register to 0x0F and waiting for the status register to be also 0x0F, but we are waiting to the end of the timeout and the register still the same (0x00)&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1. Am I using the correct value to set the CSI with no virtual channel?&lt;/P&gt;&lt;P&gt;2. Why am I receiving a timeout?&lt;/P&gt;&lt;P&gt;3. Can the status register take this much time between the CTRL register write and the status register setting? Or this timeout could be reduced?&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 12:47:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1176241#M164340</guid>
      <dc:creator>khaledbalbaa</dc:creator>
      <dc:date>2020-11-01T12:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: [IMX8] CSI Fencing Timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1180449#M164703</link>
      <description>&lt;P&gt;what processor are you talking about? imx8qm?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 04:09:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1180449#M164703</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2020-11-10T04:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: [IMX8] CSI Fencing Timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1180770#M164732</link>
      <description>&lt;P&gt;Sorry forgot to mention it&lt;/P&gt;&lt;P&gt;We are working on &lt;STRONG&gt;IMX8DX&lt;/STRONG&gt; processor&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 12:21:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1180770#M164732</guid>
      <dc:creator>khaledbalbaa</dc:creator>
      <dc:date>2020-11-10T12:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: [IMX8] CSI Fencing Timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1184367#M165000</link>
      <description>&lt;P&gt;what CTRL register do you mean? PHY_FENCE_CTRL?? I couldn't find this register from the reference manual, could you tell me how you decide the value of these registers?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 08:44:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1184367#M165000</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2020-11-17T08:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: [IMX8] CSI Fencing Timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1184413#M165013</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586"&gt;@joanxie&lt;/a&gt;&amp;nbsp;I am working with&amp;nbsp;&lt;STRONG&gt;I.MX8 DX&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;processor as mentioned&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 09:34:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1184413#M165013</guid>
      <dc:creator>khaledbalbaa</dc:creator>
      <dc:date>2020-11-17T09:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: [IMX8] CSI Fencing Timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1219444#M168220</link>
      <description>&lt;P&gt;sorry for missing this message, how about now?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 08:04:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1219444#M168220</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-01-22T08:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: [IMX8] CSI Fencing Timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1219865#M168253</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586"&gt;@joanxie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still having the same question actually&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The register I am asking about is named&amp;nbsp;&lt;STRONG&gt;STREAM_FENCING_CONTROL&lt;/STRONG&gt;, offset 0x48 in CSI registers&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 22:56:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1219865#M168253</guid>
      <dc:creator>khaledbalbaa</dc:creator>
      <dc:date>2021-01-22T22:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: [IMX8] CSI Fencing Timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1251870#M171435</link>
      <description>&lt;P&gt;got the reply from the expert team:&lt;/P&gt;
&lt;P&gt;"The stream_fencing is used to tell the MIPI CSI2 stop data transfer to pixel link.&lt;/P&gt;
&lt;P&gt;For example, software can write "&lt;SPAN style="color: #51626f;"&gt;Fence VC0&lt;/SPAN&gt;" to STREAM_FENCING_CONTROL register, then&amp;nbsp;after MIPI CSI2 stops to transfer VC0 data to pixel link, the status "VC0 is fenced" can be read from STREAM_FENCING_STATUS register.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MIPI CSI2 reset can recover it.&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 06:43:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1251870#M171435</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-03-25T06:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: [IMX8] CSI Fencing Timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1251969#M171447</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586"&gt;@joanxie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply, but I think you have missed some of my question&lt;/P&gt;&lt;P&gt;My question was:&lt;/P&gt;&lt;P&gt;In the APIs&amp;nbsp;&lt;STRONG&gt;MIPIDeinit&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&amp;nbsp;&lt;STRONG&gt;MIPIEnable&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;I remarked that we are counting from 0 to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;10,000,000&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;after&amp;nbsp; setting the register&amp;nbsp;&lt;STRONG&gt;PHY_FENCE_CTRL&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;waiting for the register&amp;nbsp;&lt;STRONG&gt;PHY_FENCE_STATUS&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to be set to the same value as the CTRL register&lt;/P&gt;&lt;P&gt;As we know, this register is responsible for the virtual CSI channels and in our case we would like to not have any virtual channels, so we are setting the CTRL register to 0x0F and waiting for the status register to be also 0x0F, but we are waiting to the end of the timeout and the register still the same (0x00)&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1. Am I using the correct value to set the CSI with no virtual channel?&lt;/P&gt;&lt;P&gt;2. Why am I receiving a timeout?&lt;/P&gt;&lt;P&gt;3. Can the status register take this much time between the CTRL register write and the status register setting? Or this timeout could be reduced?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 08:40:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1251969#M171447</guid>
      <dc:creator>khaledbalbaa</dc:creator>
      <dc:date>2021-03-25T08:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: [IMX8] CSI Fencing Timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1266998#M173083</link>
      <description>&lt;P&gt;I found another register named "Ignore Virtual Channel Register", the default is 0, which mean can accept all of VC, how about setting this to 1 since you don't want o use any VC&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 03:23:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8-CSI-Fencing-Timeout/m-p/1266998#M173083</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-04-23T03:23:10Z</dc:date>
    </item>
  </channel>
</rss>

