<?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: Data streaming issue and Frame Rate Problem in IMX8</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1833380#M21771</link>
    <description>&lt;P&gt;why I ask for other dts files, I need to know how you set clock for mipi csi, I don't know what you change, but for imx8qm, I checked current bsp already supports 4 data lane, &lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx8qm-mek.dts" target="_blank" rel="noopener"&gt;https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx8qm-mek.dts&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;amp;mipi_csi_0 {&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;virtual-channel;&lt;BR /&gt;status = "okay";&lt;/P&gt;
&lt;P&gt;/* Camera 0 MIPI CSI-2 (CSIS0) */&lt;BR /&gt;port@0 {&lt;BR /&gt;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;mipi_csi0_ep: endpoint {&lt;BR /&gt;remote-endpoint = &amp;lt;&amp;amp;max9286_0_ep&amp;gt;;&lt;BR /&gt;&lt;STRONG&gt;data-lanes = &amp;lt;1 2 3 4&amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;
&lt;P&gt;for imx8qm mipi csi clock,&amp;nbsp; only set core clock and esc clock, since current bsp can support 4 data lane, you can refer to the setting as below&lt;/P&gt;
&lt;P&gt;mipi_csi_0: csi@58227000 {&lt;BR /&gt;compatible = "fsl,mxc-mipi-csi2";&lt;BR /&gt;reg = &amp;lt;0x58227000 0x1000&amp;gt;,&lt;BR /&gt;&amp;lt;0x58221000 0x1000&amp;gt;;&lt;BR /&gt;clocks = &amp;lt;&amp;amp;csi0_core_lpcg 0&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;csi0_esc_lpcg 0&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;csi0_pxl_lpcg 0&amp;gt;;&lt;BR /&gt;clock-names = "clk_core", "clk_esc", "clk_pxl";&lt;BR /&gt;assigned-clocks = &amp;lt;&amp;amp;csi0_core_lpcg 0&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;csi0_esc_lpcg 0&amp;gt;;&lt;BR /&gt;assigned-clock-rates = &amp;lt;360000000&amp;gt;, &amp;lt;72000000&amp;gt;;&lt;BR /&gt;power-domains = &amp;lt;&amp;amp;pd IMX_SC_R_CSI_0&amp;gt;, &amp;lt;&amp;amp;pd IMX_SC_R_ISI_CH0&amp;gt;;&lt;BR /&gt;power-domain-names = "pd_csi", "pd_isi_ch0";&lt;BR /&gt;status = "disabled";&lt;BR /&gt;};&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2024 04:03:55 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2024-03-22T04:03:55Z</dc:date>
    <item>
      <title>Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1831118#M21693</link>
      <description>&lt;DIV&gt;I have developed the custom driver for MIPI CSI2 FPGA IP support. MIPI CSI2 FPGA IP send the data to MIPI RX.&lt;/DIV&gt;&lt;DIV&gt;I have configured 4 data lanes for mipi and below configuration defined in device-tree&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;/* FPGA MIPI configuration */&lt;/DIV&gt;&lt;DIV&gt;&amp;amp;mipi_csi_0 { /* MIPI_CSI0: FPGA L MIPI TX */&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;status = "okay";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;port@0 {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;reg = &amp;lt;0&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;mipi_csi0_ep: endpoint {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;remote-endpoint = &amp;lt;&amp;amp;fpga_L_mipi_ep&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;data-lanes = &amp;lt;1 2 3 4&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;bus-type = &amp;lt;4&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;};&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;amp;i2c_mipi_csi0 { /* MIPI_CSI0: FPGA L TX */&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;pinctrl-names = "default";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_i2c_mipi_csi0&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;clock-frequency = &amp;lt;400000&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;status = "okay";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;fpga_L_mipi: fpga_L_mipi@3c {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;compatible = "mipi,custom_mipi";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;reg = &amp;lt;0x3c&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;mipi_csi;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;status = "okay";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;port {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;fpga_L_mipi_ep: endpoint {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;remote-endpoint = &amp;lt;&amp;amp;mipi_csi0_ep&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;data-lanes = &amp;lt;1 2 3 4&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;clocks-lanes = &amp;lt;0&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;};&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I enabled 4 lanes it will stuck during streaming&lt;/DIV&gt;&lt;DIV&gt;root@host:~# gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! video/x-raw,format=RGB,width=1920,height=1080,framerate=10/1 ! filesink location=test2.raw&lt;/DIV&gt;&lt;DIV&gt;[&amp;nbsp; 424.947801] bypass csc&lt;/DIV&gt;&lt;DIV&gt;[&amp;nbsp; 424.950169] input fmt RGB4&lt;/DIV&gt;&lt;DIV&gt;[&amp;nbsp; 424.952909] output fmt RGB3&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Later I enabled 2 lines in device-tree. With 2lanes, some times we are able to get the data, but this is not stable. I used the FPGA MIPI TX IP which supports RGB24 format. we configured the FPGA MIPI TX at 125MHZ mipi clock for 1980x1080@30fps but we received less than 10fps in imx8.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;root@host:~# v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RGB3 --stream-mmap&lt;/DIV&gt;&lt;DIV&gt;[ 140.157118] bypass csc&lt;/DIV&gt;&lt;DIV&gt;[ 140.159501] input fmt RGB4&lt;/DIV&gt;&lt;DIV&gt;[ 140.162205] output fmt RGB3&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 8.73 fps&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 7.53 fps&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 7.53 fps&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 6.66 fps&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can you please tell us what I am missing? How to configure clock in imx side?&lt;/DIV&gt;&lt;DIV&gt;Please help me to solve this problem.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you.&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Mar 2024 11:09:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1831118#M21693</guid>
      <dc:creator>shrithi</dc:creator>
      <dc:date>2024-03-19T11:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1831785#M21713</link>
      <description>&lt;P&gt;do you use imx8qm? and pls share dtsi files your current dts includes, I need check how you set mipi csi&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 08:16:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1831785#M21713</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-03-20T08:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1831815#M21714</link>
      <description>&lt;DIV&gt;yes. I am using i.MX8 QM processor.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can you explain about clock configuration?&amp;nbsp; How to calculate clk_core and clk_esc?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;clock-names = "clk_core", "clk_esc", "clk_pxl";&lt;/DIV&gt;&lt;DIV&gt;When I set clock configuration as below I am getting data with 4 data lanes and fps it showing 180fps.&lt;/DIV&gt;&lt;DIV&gt;assigned-clock-rates = &amp;lt;266000000&amp;gt;, &amp;lt;333000000&amp;gt;, &amp;lt;66000000&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Device-tree mentioned as below&lt;/DIV&gt;&lt;DIV&gt;/* FPGA MIPI configuration */&lt;/DIV&gt;&lt;DIV&gt;&amp;amp;mipi_csi_0 { /* MIPI_CSI0: FPGA L MIPI TX */&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;status = "okay";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;port@0 {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;reg = &amp;lt;0&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;mipi_csi0_ep: endpoint {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;remote-endpoint = &amp;lt;&amp;amp;fpga_L_mipi_ep&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;data-lanes = &amp;lt;1 2 3 4&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;bus-type = &amp;lt;4&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;};&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;amp;i2c_mipi_csi0 { /* MIPI_CSI0: FPGA L TX */&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;pinctrl-names = "default";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_i2c_mipi_csi0&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;clock-frequency = &amp;lt;400000&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;status = "okay";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;fpga_L_mipi: fpga_L_mipi@3c {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;compatible = "mipi,custom_mipi";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;reg = &amp;lt;0x3c&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;mipi_csi;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;status = "okay";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;port {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;fpga_L_mipi_ep: endpoint {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;remote-endpoint = &amp;lt;&amp;amp;mipi_csi0_ep&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;data-lanes = &amp;lt;1 2 3 4&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;clocks-lanes = &amp;lt;0&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;};&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Mar 2024 08:33:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1831815#M21714</guid>
      <dc:creator>shrithi</dc:creator>
      <dc:date>2024-03-20T08:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1833380#M21771</link>
      <description>&lt;P&gt;why I ask for other dts files, I need to know how you set clock for mipi csi, I don't know what you change, but for imx8qm, I checked current bsp already supports 4 data lane, &lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx8qm-mek.dts" target="_blank" rel="noopener"&gt;https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx8qm-mek.dts&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;amp;mipi_csi_0 {&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;virtual-channel;&lt;BR /&gt;status = "okay";&lt;/P&gt;
&lt;P&gt;/* Camera 0 MIPI CSI-2 (CSIS0) */&lt;BR /&gt;port@0 {&lt;BR /&gt;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;mipi_csi0_ep: endpoint {&lt;BR /&gt;remote-endpoint = &amp;lt;&amp;amp;max9286_0_ep&amp;gt;;&lt;BR /&gt;&lt;STRONG&gt;data-lanes = &amp;lt;1 2 3 4&amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;
&lt;P&gt;for imx8qm mipi csi clock,&amp;nbsp; only set core clock and esc clock, since current bsp can support 4 data lane, you can refer to the setting as below&lt;/P&gt;
&lt;P&gt;mipi_csi_0: csi@58227000 {&lt;BR /&gt;compatible = "fsl,mxc-mipi-csi2";&lt;BR /&gt;reg = &amp;lt;0x58227000 0x1000&amp;gt;,&lt;BR /&gt;&amp;lt;0x58221000 0x1000&amp;gt;;&lt;BR /&gt;clocks = &amp;lt;&amp;amp;csi0_core_lpcg 0&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;csi0_esc_lpcg 0&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;csi0_pxl_lpcg 0&amp;gt;;&lt;BR /&gt;clock-names = "clk_core", "clk_esc", "clk_pxl";&lt;BR /&gt;assigned-clocks = &amp;lt;&amp;amp;csi0_core_lpcg 0&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;csi0_esc_lpcg 0&amp;gt;;&lt;BR /&gt;assigned-clock-rates = &amp;lt;360000000&amp;gt;, &amp;lt;72000000&amp;gt;;&lt;BR /&gt;power-domains = &amp;lt;&amp;amp;pd IMX_SC_R_CSI_0&amp;gt;, &amp;lt;&amp;amp;pd IMX_SC_R_ISI_CH0&amp;gt;;&lt;BR /&gt;power-domain-names = "pd_csi", "pd_isi_ch0";&lt;BR /&gt;status = "disabled";&lt;BR /&gt;};&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 04:03:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1833380#M21771</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-03-22T04:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1833385#M21772</link>
      <description>&lt;P&gt;With this&amp;nbsp;&lt;SPAN&gt;assigned-clock-rates = &amp;lt;360000000&amp;gt;, &amp;lt;72000000&amp;gt;; I am not able to stream the data. So I changed to&amp;nbsp; assigned-clock-rates = &amp;lt;200000000&amp;gt;, &amp;lt;333000000&amp;gt;; Is this proper?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Based on documents I assigned core clock as 200MHz. But I am not sure about esc clock.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2024-03-22 09-52-13.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/269885i32EAE3ED31DA6A90/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2024-03-22 09-52-13.png" alt="Screenshot from 2024-03-22 09-52-13.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 04:28:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1833385#M21772</guid>
      <dc:creator>shrithi</dc:creator>
      <dc:date>2024-03-22T04:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1833436#M21777</link>
      <description>&lt;P&gt;I seen below hs setting value in&amp;nbsp;drivers/staging/media/imx/imx8-mipi-csi2.c driver. How hs_setting value calculated based on width, height and framerate? Example: width=3056 height=3056 framerate=10 , in this case what is the hs_setting value?&lt;/P&gt;&lt;P&gt;static struct mxc_hs_info hs_setting[] = {&lt;BR /&gt;{2592, 1944, 30, 0x0B},&lt;BR /&gt;{2592, 1944, 15, 0x10},&lt;/P&gt;&lt;P&gt;{1920, 1080, 30, 0x0B},&lt;BR /&gt;{1920, 1080, 15, 0x10},&lt;BR /&gt;{1920, 1080, 25, 0x0C},&lt;/P&gt;&lt;P&gt;{1280, 720, 30, 0x11},&lt;BR /&gt;{1280, 720, 15, 0x16},&lt;/P&gt;&lt;P&gt;{1024, 768, 30, 0x11},&lt;BR /&gt;{1024, 768, 15, 0x23},&lt;/P&gt;&lt;P&gt;{720, 576, 30, 0x1E},&lt;BR /&gt;{720, 576, 15, 0x23},&lt;/P&gt;&lt;P&gt;{720, 480, 30, 0x1E},&lt;BR /&gt;{720, 480, 15, 0x23},&lt;/P&gt;&lt;P&gt;{640, 480, 30, 0x1E},&lt;BR /&gt;{640, 480, 15, 0x23},&lt;/P&gt;&lt;P&gt;{320, 240, 30, 0x1E},&lt;BR /&gt;{320, 240, 15, 0x23},&lt;/P&gt;&lt;P&gt;{176, 144, 30, 0x1E},&lt;BR /&gt;{176, 144, 15, 0x23},&lt;BR /&gt;};&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 06:20:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1833436#M21777</guid>
      <dc:creator>shrithi</dc:creator>
      <dc:date>2024-03-22T06:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834207#M21803</link>
      <description>&lt;P&gt;escape clock is for low power, normally customer doesn't need to change it, do you mean you can boot up 2 data lane with assigned-clock-rates = &amp;lt;360000000&amp;gt;, &amp;lt;72000000&amp;gt;; but failed with 4 data lane, then you change it to &amp;lt;200000000&amp;gt;, &amp;lt;333000000&amp;gt;; the 4 data lane setting works, right? you don't change anything else?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 04:14:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834207#M21803</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-03-25T04:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834209#M21804</link>
      <description>&lt;P&gt;We are able to get the data using 2 lanes with &amp;lt;&lt;SPAN&gt;360000000&amp;gt;, &amp;lt;72000000&amp;gt; (inconsistent). With&amp;nbsp;&amp;lt;200000000&amp;gt;, &amp;lt;333000000&amp;gt; setting I am able to stream the data with 4 lanes. No other software changes done, TX mipi pixel clock changed to&amp;nbsp;74.25MHz, output clock is&amp;nbsp;222.75MHz and data rate is 445.5. Resolution is 1920*1080@30fps.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 04:32:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834209#M21804</guid>
      <dc:creator>shrithi</dc:creator>
      <dc:date>2024-03-25T04:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834233#M21807</link>
      <description>&lt;P&gt;current imx8qm bsp already supports 4 data lane, I shared the default code with you before, you should check your own driver, total data rate= pixel clock * Bits-per-pixel, if your pixel clock is 74.25, the data rate shouldn't be 445.5, you need set the correct clock for the MIPI CSI2, then MIPI CSI2 would change it's register to meet your request, so your root cause isn't escape clock in the dts, should check your own driver if your driver set correct clock or not, for example, current bsp supports 4 data lane for &lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;max9286&lt;/SPAN&gt;&lt;/SPAN&gt;, in the &lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;max9286 driver, you can find&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;  /*&lt;BR /&gt;   * Pass mipi phy clock rate Mbps&lt;BR /&gt;   * fcsi2 = PCLk * WIDTH * CHANNELS / LANES&lt;BR /&gt;   * fsci2 = 72MPCLK * 8 bit * 4 channels / 4 lanes&lt;BR /&gt;   */&lt;BR /&gt;  max9286_data-&amp;gt;format.reserved[0] = 72 * 8;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;the max9286 uses 288M mipi clock, so pls check your FPGA driver if set this correct or not,&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 05:58:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834233#M21807</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-03-25T05:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834257#M21808</link>
      <description>&lt;P&gt;We used below equations to calculate the clock and data rate&lt;BR /&gt;Pixel Clock Hz = HTOT*VTOT*FPS&lt;BR /&gt;Bandwidth bps = Pixel Clock * Bits Per Pixel&lt;BR /&gt;Data Rate Per Lane bps = Bandwidth / number of data lanes&lt;BR /&gt;MIPI D − PHY Clock Rate Hz = Data Rate Per Lane / 2&lt;/P&gt;&lt;P&gt;Pixel Clock = 2200×1125×30 = 74250000 Hz&lt;BR /&gt;Bandwidth = 74250000 * 24 = 1782000000 bps&lt;BR /&gt;Data Rate Per Lane = 1782000000/4 = 445500000 bps = 445.5 Mbps&lt;BR /&gt;MIPI Bit clock = 445500000 / 2 = 222750000 = 222.75 MHz&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 06:26:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834257#M21808</guid>
      <dc:creator>shrithi</dc:creator>
      <dc:date>2024-03-25T06:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834369#M21814</link>
      <description>&lt;P&gt;bit_clk =&amp;nbsp;Pixel clock * Bits per pixel / Number of lanes=74.25*24/4=445.5&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 08:04:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834369#M21814</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-03-25T08:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834417#M21818</link>
      <description>&lt;P&gt;I have gone through the below mentioned document&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN13573.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN13573.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="equation.png" style="width: 749px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/270149i6F8A65F9833922E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="equation.png" alt="equation.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you please reconfirm the calculation once?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 08:32:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834417#M21818</guid>
      <dc:creator>shrithi</dc:creator>
      <dc:date>2024-03-25T08:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834436#M21819</link>
      <description>&lt;P&gt;the equation 16 is for mipi clock, bit clock is another clock, you mentions mipi bit clock, I thought you mean bit clock&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 08:42:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834436#M21819</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-03-25T08:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834608#M21821</link>
      <description>&lt;P&gt;How 1 pixel per clock and 4 pixel per clock vary in below equation for RGB888 format of data?&lt;/P&gt;&lt;P&gt;Bandwidth bps = Pixel Clock * Bits Per Pixel&lt;/P&gt;&lt;P&gt;Can you explain this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 11:47:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1834608#M21821</guid>
      <dc:creator>shrithi</dc:creator>
      <dc:date>2024-03-25T11:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1836880#M21889</link>
      <description>&lt;P&gt;for example, rgb888 send over 8bits, then needs&amp;nbsp;3 cycles/pixel, the depth is 24bpp&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 03:07:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1836880#M21889</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-03-28T03:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1837118#M21895</link>
      <description>&lt;P&gt;&lt;SPAN&gt;How to calculate esc clock? I am suspecting clock configured by imx8 also. What maximum escape clock supported by imx8?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Currently I assigned 333MHz clock for esc clock.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I stream data with 30fps, I am getting framerates in the range of 15 to 20.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RGB3 --set-parm=30 --stream-mmap&lt;BR /&gt;Frame rate set to 30.000 fps&lt;BR /&gt;[ 201.417005] bypass csc&lt;BR /&gt;[ 201.419426] input fmt RGB4&lt;BR /&gt;[ 201.422509] output fmt RGB3&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 21.37 fps&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 21.29 fps&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 19.50 fps&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 19.60 fps&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 20.03 fps&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 19.76 fps&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 19.72 fps&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 19.00 fps&lt;/P&gt;&lt;P&gt;The data will not be streamed if I set fps to 15fps. It will hang while streaming the data.&lt;BR /&gt;v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RGB3 --set-parm=15 --stream-mmap&lt;BR /&gt;Frame rate set to 15.000 fps&lt;BR /&gt;[ 292.933426] bypass csc&lt;BR /&gt;[ 292.935842] input fmt RGB4&lt;BR /&gt;[ 292.938783] output fmt RGB3&lt;/P&gt;&lt;P&gt;By setting it to 60fps, I will achieve a framerate of 50.&lt;BR /&gt;v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RGB3 --set-parm=60 --stream-mmap&lt;BR /&gt;Frame rate set to 60.000 fps&lt;BR /&gt;[ 341.047806] bypass csc&lt;BR /&gt;[ 341.050182] input fmt RGB4&lt;BR /&gt;[ 341.052936] output fmt RGB3&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 50.51 fps&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 50.51 fps&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 50.51 fps&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 50.51 fps&lt;/P&gt;&lt;P&gt;The data on the TX side is set to 1920x1080 at 15 frames per second.&lt;BR /&gt;What caused the FPS to change every time? Does the hs_settle value cause the problem? The following values were given as hs_settle values in the driver.&lt;/P&gt;&lt;P&gt;drivers/staging/media/imx/imx8-mipi-csi2.c&lt;BR /&gt;static u8 rxhs_settle[3] = {0xD, 0xA, 0x7};&lt;BR /&gt;static struct mxc_hs_info hs_setting[] = {&lt;BR /&gt;{2592, 1944, 30, 0x0B},&lt;BR /&gt;{2592, 1944, 15, 0x10},&lt;/P&gt;&lt;P&gt;{1920, 1080, 30, 0x0B},&lt;BR /&gt;{1920, 1080, 15, 0x10},&lt;/P&gt;&lt;P&gt;{1280, 720, 30, 0x11},&lt;BR /&gt;{1280, 720, 15, 0x16},&lt;/P&gt;&lt;P&gt;{1024, 768, 30, 0x11},&lt;BR /&gt;{1024, 768, 15, 0x23},&lt;/P&gt;&lt;P&gt;{720, 576, 30, 0x1E},&lt;BR /&gt;{720, 576, 15, 0x23},&lt;/P&gt;&lt;P&gt;{720, 480, 30, 0x1E},&lt;BR /&gt;{720, 480, 15, 0x23},&lt;/P&gt;&lt;P&gt;{640, 480, 30, 0x1E},&lt;BR /&gt;{640, 480, 15, 0x23},&lt;/P&gt;&lt;P&gt;{320, 240, 30, 0x1E},&lt;BR /&gt;{320, 240, 15, 0x23},&lt;/P&gt;&lt;P&gt;{176, 144, 30, 0x1E},&lt;BR /&gt;{176, 144, 15, 0x23},&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Can you please provide the more information?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2024 13:07:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1837118#M21895</guid>
      <dc:creator>shrithi</dc:creator>
      <dc:date>2024-03-29T13:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1838542#M21939</link>
      <description>&lt;P&gt;you don't need change escape clock, as I mentioned before, you need check your FPGA side clock, if could, pls measure the mipi&amp;nbsp; clock&amp;nbsp; by oscilloscope to check if correct or not I also attached the mipi guide to reference&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 10:44:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1838542#M21939</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-04-01T10:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1838565#M21940</link>
      <description>&lt;P&gt;When we measured clock using CRO(oscilloscope) and clock is 500MHz for FPGA with double data rate.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 14:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1838565#M21940</guid>
      <dc:creator>shrithi</dc:creator>
      <dc:date>2024-04-01T14:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1838919#M21946</link>
      <description>&lt;P&gt;In our case FPGA is the TX for MIPI, When we did probe clock using oscilloscope, the clock observed is 500MHz.&lt;BR /&gt;&lt;BR /&gt;The below clock configuration done in device-tree&lt;BR /&gt;&amp;nbsp;assigned-clocks = &amp;lt;&amp;amp;csi0_core_lpcg 0&amp;gt;,&lt;BR /&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&amp;amp;csi0_esc_lpcg 0&amp;gt;;&lt;BR /&gt;&amp;nbsp;assigned-clock-rates = &amp;lt;200000000&amp;gt;, &amp;lt;360000000&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;Tested with below configuration&lt;BR /&gt;number of data lanes - 4&lt;BR /&gt;resolution - 1920x1080@30fps&lt;BR /&gt;Data format - RGB888&lt;BR /&gt;1 pixel per clock&lt;BR /&gt;double data rate&lt;/P&gt;&lt;P&gt;FPGA Mipi TX IP configured with 1 pixel per clock will operate with a esc clock frequency of 180MHz and above.&lt;BR /&gt;FPGA Mipi TX IP configuration with 4 pixels per clock will operate with a esc clock frequency of 360MHz.&lt;BR /&gt;Can you provide an explanation for how this is changing?&lt;/P&gt;&lt;P&gt;We tested ov5640 camera with default configuration using 2 lanes and its working.&amp;nbsp;When we did probe clock using oscilloscope, the clock observed is 24MHz. Here everything is working fine.&lt;BR /&gt;&lt;BR /&gt;One more observation is streaming is happening with 15fps hs_setting value, i.e, 0x10. If I give below command the it is showing 30fps&lt;BR /&gt;v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RGB3 --set-parm=15 --stream-mmap&lt;BR /&gt;Frame rate set to 15.000 fps&lt;BR /&gt;[ 201.417005] bypass csc&lt;BR /&gt;[ 201.419426] input fmt RGB4&lt;BR /&gt;[ 201.422509] output fmt RGB3&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 30.03 fps&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; 30.03 fps&lt;BR /&gt;&lt;BR /&gt;I have confusion about esc clock and hs_setting value. So can you please provide us more information?&lt;BR /&gt;The severity of this case is high. Can you provide me with the solution as soon as possible?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 04:43:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1838919#M21946</guid>
      <dc:creator>shrithi</dc:creator>
      <dc:date>2024-04-02T04:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Data streaming issue and Frame Rate Problem in IMX8</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1839365#M21960</link>
      <description>&lt;P&gt;After correcting the FPGA clock, I am able to get the data with the following configuration.&lt;/P&gt;&lt;P&gt;assigned-clock-rates = &amp;lt;360000000&amp;gt;, &amp;lt;72000000&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can the resolution of 3056x3056 be supported by imx8 mipi-csi2 and ISI?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 12:55:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Data-streaming-issue-and-Frame-Rate-Problem-in-IMX8/m-p/1839365#M21960</guid>
      <dc:creator>shrithi</dc:creator>
      <dc:date>2024-04-02T12:55:37Z</dc:date>
    </item>
  </channel>
</rss>

