<?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: IMX8MQ MIPI CSI2 Base address switching change error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1216509#M167970</link>
    <description>&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;Hi jgsandom&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
I asked internaly, below answer:&lt;/DIV&gt;
&lt;DIV class="lia-message-body-content"&gt;---------------------
&lt;P&gt;This is fifo overflow, if fifo overflow there is only reboot way to let csi work.&amp;nbsp; the work round is only preventing fifo overflow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Title:&lt;/U&gt;&lt;/STRONG&gt; MIPI CSI: Receive FIFO Overflow may lead to system hang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Errata Description:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;When receive FIFO data in MIPI CSI can not be written to memory in time if the system is heavily loaded with DDR memory requests, overflow will happen. It may lead to illegal AHB bus access at CSI AHB master port and then causes system hang.&lt;/P&gt;
&lt;P&gt;Note that the possibility of MIPI CSI1 overflow will be lower than MIPI CSI2. MIPI CSI1 can support 4 outstanding write transition, however MIPI CSI2 can support 2 outstanding write transition. So MIPI CSI1 will realize more memory bandwidth.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Errata Workaround&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The recommended workaround for this erratum is to avoid MIPI CSI overflow happen. Two undocumented debug registers can be used to monitor CSI FIFO levels in real time. When FIFO reaches one threshold, disable CSI and restart CSI.&lt;/P&gt;
&lt;P&gt;For example, create one program on M4 core to monitor CSI FIFO level and do as follows:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Read the CSI FIFO debug registers: Register CSI1_CSICR19 (0x30A9_004C) for MIPI CS1 or register CSI2_CSICR19 ( 0x30B8_004C) for MIPI CSI2&lt;/LI&gt;
&lt;LI&gt;If &amp;nbsp;the value of register CSIx_CSICR19 is larger than 192, Set register CSI_PHY_CTL_REG (0x30A7_0104 for MIPI CS1 or 0x30B6_0104 for MIPI CSI2) as 0xff to restart CSI.&lt;/LI&gt;
&lt;LI&gt;Wait for 3us. Jump to step 1).&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="850"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="125"&gt;
&lt;P&gt;STEPS&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="725"&gt;
&lt;P&gt;STEP-BY-STEP DESCRIPTION&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="125"&gt;
&lt;P&gt;step 1&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="725"&gt;
&lt;P&gt;8MQ M4 core waiting monitor request.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="125"&gt;
&lt;P&gt;step 2&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="725"&gt;
&lt;P&gt;Read the CSI FIFO debug register(CSIx_CSICR19) 0x30a9_004c (CS1) or 0x30b8_004c(CS2).&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="125"&gt;
&lt;P&gt;step 3&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="725"&gt;
&lt;P&gt;If the value of CSIx_CSICR19 &amp;gt;= 192；&lt;SPAN&gt;Set CSI_PHY_CTL_REG 0x30A7_0104(CS1) or 0x30b6_0104(CS2) = 0xff, to step1&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="125"&gt;
&lt;P&gt;step 4&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="725"&gt;
&lt;P&gt;Wait little than 3us&amp;nbsp; then to step2.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;---------------------&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 19 Jan 2021 04:16:39 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2021-01-19T04:16:39Z</dc:date>
    <item>
      <title>IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1212816#M167865</link>
      <description>&lt;P&gt;Hi NXP community,&lt;/P&gt;&lt;P&gt;I've been facing an issue integrating an IMX378 image sensor with an IMX8MQ when configured for MIPI-CSI over 2 lanes at 1920x1080p&amp;nbsp;@ 80fps. Note that the IMX378 provides progressive video, not interlaced. The kernel being used is linux-imx-4.14.98 and the IMX8 reference manual being referred to is Rev 3 04/2020:&amp;nbsp;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-processors/i-mx-8-processors/i-mx-8m-family-armcortex-a53-cortex-m4-audio-voice-video:i.MX8M?tab=Documentation_Tab" target="_self"&gt;IMX8M Reference Manual&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The issue seems to occur quite randomly - 50% of the time, I boot and I'm able to stream video successfully with the correct fps. If it works on first boot, then it will continue to work as I stop and start streaming again. However, the other 50% of the time, I am faced with the "Base address switching change error", which persists when attempting to stop and start streaming again. The only way to resolve this is to reboot and hope that it boots in a good state. This is extremely unreliable and I'm in need of a fix!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Attempted fixes;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I've seen that a lot of the community have faced similar issues and have tried various suggestions. See below;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;One suggestion by&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp; was that&amp;nbsp;&lt;STRONG&gt;BASEADDR_SWITCH_EN&amp;nbsp;&lt;/STRONG&gt;is only applicable for interlaced video sources and it can actually be disabled. Is this true? I haven't seen anything in the documentation about this. Following from this&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/104801"&gt;@leolarrel&lt;/a&gt;&amp;nbsp;suggested the following patch;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;if (pix-&amp;gt;field == V4L2_FIELD_INTERLACED)
csi_tvdec_enable(csi_dev, true);
+ else
+ csi_tvdec_enable(csi_dev, false);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;This ensures that all bits associated to &lt;STRONG&gt;BASEADDR&amp;nbsp;&lt;/STRONG&gt;are disabled;&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;(&lt;SPAN&gt;BIT_TVDECODER_IN_EN&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;|&amp;nbsp;&lt;/SPAN&gt;BIT_BASEADDR_SWITCH_EN&lt;SPAN&gt; |&lt;/SPAN&gt;&amp;nbsp;BIT_BASEADDR_SWITCH_SEL |&amp;nbsp;BIT_BASEADDR_CHG_ERR_EN).&amp;nbsp;&lt;/STRONG&gt;This gets rid of the base address switching error because the interrupt is no longer enabled. However, this doesn't solve the issue entirely as in an error state, there's a drop from 80fps to around 50fps and the resulting video feed has significant amounts of noise and almost seems as though multiple frames are mixed together e.g. I'm seeing incomplete frames overlaid with each other.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;Another suggestion is that the clocks may be configured incorrectly. I have set the MIPI core clock, MIPI PHY ref clock and MIPI ESC clock to the maximum values stated in the IMX reference manual (MIPI Core Clock: 266MHz, MIPI PHY Clock: 333MHz, MIPI ESC: 133MHz) See below; (I have also tried variations of this, such as setting the MIPI PHY clock to 250MHz and 125MHz)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;assigned-clock-rates = &amp;lt;266000000&amp;gt;, &amp;lt;333000000&amp;gt;, &amp;lt;133000000&amp;gt;;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Setting the above values didn't solve the base address switching issue. However, it is required to set these values to get any streaming to work at all for my data rate. i.e. setting the above clock values allowed me to stream correctly 50% of the time.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Debug information;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I had a look at the CSI register values to see if anything stood out when starting the stream. Here is the output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[   77.614214] CSI_CSICR1: 0x11f0902
[   77.617538] CSI_CSICR2: 0xc0000000
[   77.621067] CSI_CSICR3: 0x10a0
[   77.624257] CSI_STATFIFO: 0x26b026aa
[   77.627960] CSI_CSIRXFIFO: 0x211a2221
[   77.631922] CSI_CSIRXCNT: 0x9600
[   77.635266] CSI_CSISR: 0x92224001
[   77.638695] CSI_CSIDBG: 0x0
[   77.641487] CSI_CSIDMASA_STATFIFO: 0x0
[   77.645350] CSI_CSIDMATS_STATFIFO: 0x0
[   77.649214] CSI_CSIDMASA_FB1: 0xc4100000
[   77.653311] CSI_CSIDMASA_FB2: 0xc4300000
[   77.657348] CSI_CSIFBUF_PARA: 0x0
[   77.660777] CSI_CSIIMAG_PARA: 0x7800438
[   77.664787] CSI_CSICR18: 0xd44ad030
[   77.668389] CSI_CSICR19: 0x2d&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Here we can see that the RXFIFO does have data present, so not sure what the issue is.&lt;/P&gt;&lt;P&gt;I have also seen suggestions to upgrade to the latest kernel (&lt;STRONG&gt;linux-imx-5.4.47&lt;/STRONG&gt;) - I had a look at the source code for the relevant IMX8MQ drivers (mx6s_capture.c and mxc-mipi-csi2_yav.c). I didn't see any significant register configuration changes so I don't think this will help.&lt;/P&gt;&lt;P&gt;Does anyone have any ideas on how to finally solve this issue? any help would be appreciated! Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2021 22:57:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1212816#M167865</guid>
      <dc:creator>jgsandom</dc:creator>
      <dc:date>2021-01-17T22:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1212952#M167881</link>
      <description>&lt;P&gt;Hi jgsandom&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yes all 3 suggestions are "true" as they were provided from internal team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;Does anyone have any ideas on how to finally solve this issue? any help would be appreciated!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try latest nxp linux from source.codeaurora.org/external/imx/linux-imx repository&lt;/P&gt;
&lt;P&gt;and provide error logs, dts file and other driver source changes for custom camera for reviewing&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.70_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.70_2.3.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 04:59:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1212952#M167881</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-01-18T04:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1213225#M167909</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I did have a look at the latest source code for&amp;nbsp;imx_5.4.70_2.3.0 - to my knowledge, the source files relevant to this issue are&amp;nbsp;&lt;STRONG&gt;mx6s_capture.c&amp;nbsp;&lt;/STRONG&gt;and &lt;STRONG&gt;mxc-mipi-csi2_yav.c&lt;/STRONG&gt;. It doesn't look like there have been any changes relevant to this issue.&lt;/P&gt;&lt;P&gt;The changes I have made to the above files are to support RGGB8 video format, increase clock rates to support higher data rate source (1920x1080p80 over 2 lanes) and increase the max video memory to support a 4 buffers instead of 2.&amp;nbsp; See below;&lt;/P&gt;&lt;P&gt;DTS with clock rate changes;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;amp;csi1_bridge {
	fsl,mipi-mode;
	dma-coherent; 
	status = "okay";

	port {
		csi1_ep: endpoint {
			remote-endpoint = &amp;lt;&amp;amp;csi1_mipi_ep&amp;gt;;
		};
	};
};

&amp;amp;mipi_csi_1 {
	#address-cells = &amp;lt;1&amp;gt;;
	#size-cells = &amp;lt;0&amp;gt;;

    assigned-clock-rates = &amp;lt;266000000&amp;gt;, &amp;lt;333000000&amp;gt;, &amp;lt;66000000&amp;gt;;
	
	status = "okay";
	port {
		mipi1_sensor_ep: endpoint1 {
			remote-endpoint = &amp;lt;&amp;amp;imx378_ep&amp;gt;;
			data-lanes = &amp;lt;1 2&amp;gt;;
		};

		csi1_mipi_ep: endpoint2 {
			remote-endpoint = &amp;lt;&amp;amp;csi1_ep&amp;gt;;
		};
	};
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RGGB8 addition;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;diff --git a/drivers/media/platform/mxc/capture/mx6s_capture.c b/drivers/media/platform/mxc/capture/mx6s_capture.c
index 4efa38fda729..8ce24079374e 100644
--- a/drivers/media/platform/mxc/capture/mx6s_capture.c
+++ b/drivers/media/platform/mxc/capture/mx6s_capture.c
@@ -273,6 +273,12 @@ static struct mx6s_fmt formats[] = {
 		.pixelformat	= V4L2_PIX_FMT_SBGGR8,
 		.mbus_code	= MEDIA_BUS_FMT_SBGGR8_1X8,
 		.bpp		= 1,
+	}, {
+		.name		= "RAWRGB8 (SRGGB8)",
+		.fourcc		= V4L2_PIX_FMT_SRGGB8,
+		.pixelformat	= V4L2_PIX_FMT_SRGGB8,
+		.mbus_code	= MEDIA_BUS_FMT_SRGGB8_1X8,
+		.bpp		= 1,
 	}
 };
 
@@ -843,6 +849,7 @@ static int mx6s_configure_csi(struct mx6s_csi_dev *csi_dev)
 
 	switch (csi_dev-&amp;gt;fmt-&amp;gt;pixelformat) {
 	case V4L2_PIX_FMT_YUV32:
+	case V4L2_PIX_FMT_SRGGB8:
 	case V4L2_PIX_FMT_SBGGR8:
 		width = pix-&amp;gt;width;
 		break;
@@ -874,6 +881,7 @@ static int mx6s_configure_csi(struct mx6s_csi_dev *csi_dev)
 		case V4L2_PIX_FMT_YUYV:
 			cr18 |= BIT_MIPI_DATA_FORMAT_YUV422_8B;
 			break;
+		case V4L2_PIX_FMT_SRGGB8:
 		case V4L2_PIX_FMT_SBGGR8:
 			cr18 |= BIT_MIPI_DATA_FORMAT_RAW8;
 			break;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4 buffers support;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;diff --git a/drivers/media/platform/mxc/capture/mx6s_capture.c b/drivers/media/platform/mxc/capture/mx6s_capture.c
index 8ce24079374e..f1c813d56abf 100644
--- a/drivers/media/platform/mxc/capture/mx6s_capture.c
+++ b/drivers/media/platform/mxc/capture/mx6s_capture.c
@@ -57,7 +57,7 @@
 #define MX6S_CAM_VERSION "0.0.1"
 #define MX6S_CAM_DRIVER_DESCRIPTION "i.MX6S_CSI"
 
-#define MAX_VIDEO_MEM 64
+#define MAX_VIDEO_MEM 128
 
 /* reset values */
 #define CSICR1_RESET_VAL	0x40000800&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 18 Jan 2021 09:35:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1213225#M167909</guid>
      <dc:creator>jgsandom</dc:creator>
      <dc:date>2021-01-18T09:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1213253#M167915</link>
      <description>&lt;P&gt;for "2 lanes" configuration may be useful to check discussion :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/iMX8M-MIPI-CSI-4-lane-configuration/m-p/875755" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/iMX8M-MIPI-CSI-4-lane-configuration/m-p/875755&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please provide full uboot and linux log files for board testing with L&lt;SPAN&gt;5.4.70_2.3.0,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;this is formal requrement for escalation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Are you using uboot/linux from&amp;nbsp;&amp;nbsp;nxp source.codeaurora.org/external/imx/linux-imx repository ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 10:43:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1213253#M167915</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-01-18T10:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1213423#M167947</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the response. I had already looked at the post you've shared and seen the option of using a single lane. The image sensor I'm using only has support for 2 or 4 lanes.&lt;/P&gt;&lt;P&gt;In terms of full uboot and linux log files. We're currently using U-Boot 2018.11 which is based on uboot-imx. This is a vendor specific fork from SolidRun:&amp;nbsp;&lt;A href="https://github.com/SolidRun/u-boot/tree/v2018.11-solidrun" target="_blank"&gt;https://github.com/SolidRun/u-boot/tree/v2018.11-solidrun&lt;/A&gt;&amp;nbsp;. The kernel being used is 4.14.&lt;/P&gt;&lt;P&gt;I understand that you're requesting for me to update to latest u-boot and kernel - L5.4.70_2.3.0. However, it will take a while to port all custom changes from the current versions to the latest.&lt;/P&gt;&lt;P&gt;Could you please give an indication on what was modified that's related to this issue from the versions of u-boot and kernel that I'm currently using? it will be really helpful in understanding whether the port is necessary for now or not.&lt;/P&gt;&lt;P&gt;I have attached boot traces for your info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 14:49:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1213423#M167947</guid>
      <dc:creator>jgsandom</dc:creator>
      <dc:date>2021-01-18T14:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1213433#M167949</link>
      <description>&lt;P&gt;Hi jgsandom&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;We're currently using U-Boot 2018.11 which is based on uboot-imx. This is a vendor &lt;BR /&gt;&amp;gt;specific fork from SolidRun. Could you please give an indication on what was modified&lt;/P&gt;
&lt;P&gt;&amp;gt;that's related to this&amp;nbsp;issue from the versions of u-boot and kernel that I'm currently using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is custom kernel supported by its developer,&amp;nbsp;SolidRun. Unfortunately NXP supports&lt;/P&gt;
&lt;P&gt;only own official NXP uboot/linux from&amp;nbsp;source.codeaurora.org/external/imx/linux-imx repository.&lt;/P&gt;
&lt;P&gt;Support for non-NXP software may be provided by NXP Professional Services:&lt;BR /&gt;&lt;A href="https://contact.nxp.com/new-prof-svcs-sw-tech" target="_blank"&gt;https://contact.nxp.com/new-prof-svcs-sw-tech&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 15:06:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1213433#M167949</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-01-18T15:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1213487#M167953</link>
      <description>&lt;P&gt;I can use linux-imx and uboot-imx from&amp;nbsp;&lt;SPAN&gt;source.codeaurora.org/external/imx/linux-imx but can you please tell me what has changed from 4.14 to 5.4.70 with regard to MIPI-CSI2 drivers?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The source code suggests not much at all has changed in this area. Can you tell me otherwise please?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would rather find this out before committing to the port if that's ok.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 16:32:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1213487#M167953</guid>
      <dc:creator>jgsandom</dc:creator>
      <dc:date>2021-01-18T16:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1216509#M167970</link>
      <description>&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;Hi jgsandom&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
I asked internaly, below answer:&lt;/DIV&gt;
&lt;DIV class="lia-message-body-content"&gt;---------------------
&lt;P&gt;This is fifo overflow, if fifo overflow there is only reboot way to let csi work.&amp;nbsp; the work round is only preventing fifo overflow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Title:&lt;/U&gt;&lt;/STRONG&gt; MIPI CSI: Receive FIFO Overflow may lead to system hang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Errata Description:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;When receive FIFO data in MIPI CSI can not be written to memory in time if the system is heavily loaded with DDR memory requests, overflow will happen. It may lead to illegal AHB bus access at CSI AHB master port and then causes system hang.&lt;/P&gt;
&lt;P&gt;Note that the possibility of MIPI CSI1 overflow will be lower than MIPI CSI2. MIPI CSI1 can support 4 outstanding write transition, however MIPI CSI2 can support 2 outstanding write transition. So MIPI CSI1 will realize more memory bandwidth.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Errata Workaround&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The recommended workaround for this erratum is to avoid MIPI CSI overflow happen. Two undocumented debug registers can be used to monitor CSI FIFO levels in real time. When FIFO reaches one threshold, disable CSI and restart CSI.&lt;/P&gt;
&lt;P&gt;For example, create one program on M4 core to monitor CSI FIFO level and do as follows:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Read the CSI FIFO debug registers: Register CSI1_CSICR19 (0x30A9_004C) for MIPI CS1 or register CSI2_CSICR19 ( 0x30B8_004C) for MIPI CSI2&lt;/LI&gt;
&lt;LI&gt;If &amp;nbsp;the value of register CSIx_CSICR19 is larger than 192, Set register CSI_PHY_CTL_REG (0x30A7_0104 for MIPI CS1 or 0x30B6_0104 for MIPI CSI2) as 0xff to restart CSI.&lt;/LI&gt;
&lt;LI&gt;Wait for 3us. Jump to step 1).&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="850"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="125"&gt;
&lt;P&gt;STEPS&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="725"&gt;
&lt;P&gt;STEP-BY-STEP DESCRIPTION&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="125"&gt;
&lt;P&gt;step 1&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="725"&gt;
&lt;P&gt;8MQ M4 core waiting monitor request.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="125"&gt;
&lt;P&gt;step 2&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="725"&gt;
&lt;P&gt;Read the CSI FIFO debug register(CSIx_CSICR19) 0x30a9_004c (CS1) or 0x30b8_004c(CS2).&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="125"&gt;
&lt;P&gt;step 3&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="725"&gt;
&lt;P&gt;If the value of CSIx_CSICR19 &amp;gt;= 192；&lt;SPAN&gt;Set CSI_PHY_CTL_REG 0x30A7_0104(CS1) or 0x30b6_0104(CS2) = 0xff, to step1&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="125"&gt;
&lt;P&gt;step 4&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="725"&gt;
&lt;P&gt;Wait little than 3us&amp;nbsp; then to step2.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;---------------------&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Jan 2021 04:16:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1216509#M167970</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-01-19T04:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1216782#M168001</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;If it were FIFO overflow, wouldn't we reach this condition in&amp;nbsp;&lt;STRONG&gt;mx6s_csi_irq_handler&lt;/STRONG&gt;;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;	if (status &amp;amp; BIT_RFF_OR_INT) {
		dev_warn(csi_dev-&amp;gt;dev, "%s Rx fifo overflow\n", __func__);
		if (csi_dev-&amp;gt;soc-&amp;gt;rx_fifo_rst)
			csi_error_recovery(csi_dev);
	}&lt;/LI-CODE&gt;&lt;P&gt;For my issue, I haven't encountered this problem. Is it still possible that the FIFO may be overflowing?&lt;/P&gt;&lt;P&gt;On another note, I tried my sensor on MIPI_CSI_2 yesterday instead of MIPI_CSI_1 and it worked without any issues. Do you have any idea on why the issue occurs on MIPI_CSI_1 and NOT MIPI_CSI_2?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 10:00:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1216782#M168001</guid>
      <dc:creator>jgsandom</dc:creator>
      <dc:date>2021-01-19T10:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1216797#M168006</link>
      <description>&lt;P&gt;I will ask internally about this. Are you willing anything to share, may be&lt;/P&gt;
&lt;P&gt;working patches ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 10:16:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1216797#M168006</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-01-19T10:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1216944#M168020</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In terms of patches, it's the same as I outlined before - just that it seems to consistently work with MIPI CSI 2. MIPI CSI 1 has a 50% success rate.&lt;/P&gt;&lt;P&gt;I'm trying to rule out if it's actually a hardware issue with the carrier board at the moment. It doesn't seem like there is any difference in terms of routing between CSI 2 and CSI 1. If you can think of any reason in software why this might be the case then please let me know!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 14:27:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1216944#M168020</guid>
      <dc:creator>jgsandom</dc:creator>
      <dc:date>2021-01-19T14:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1217855#M168076</link>
      <description>&lt;P&gt;internal feedback :&lt;/P&gt;
&lt;P&gt;-------------------------------&lt;/P&gt;
&lt;P&gt;sometime the fifo overflow , it also will report "Base address switching change err". that case will reboot to recovery.&lt;/P&gt;
&lt;P&gt;others , sensor mipi timing is mismatch cause the this error report, but it can be recovery without reboot.&lt;/P&gt;
&lt;P&gt;-------------------------------&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 10:15:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1217855#M168076</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-01-20T10:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1218063#M168092</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;In terms of MIPI timings, this doesn't make sense to me because I have set MIPI CSI port 1 and port 2 exactly the same way. They both have the same CSI core clock, CSI phy clock and CSI esc clock.&lt;/P&gt;&lt;P&gt;I tried my image sensor on firstly port 1 and it worked 50% of the time, then I tried on port 2 and it worked 100% of the time.&lt;/P&gt;&lt;P&gt;Is there any difference between these two ports in terms of resource allocation and setup?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 16:06:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1218063#M168092</guid>
      <dc:creator>jgsandom</dc:creator>
      <dc:date>2021-01-20T16:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1218314#M168109</link>
      <description>&lt;P&gt;&amp;gt;&lt;SPAN&gt;Is there any difference between these two ports in terms of resource allocation and setup?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-------------------------------&lt;/P&gt;
&lt;P&gt;"When receive FIFO data in MIPI CSI can not be written to memory in time if the system is&lt;/P&gt;
&lt;P&gt;heavily loaded with DDR memory requests, overflow will happen. It may lead to illegal AHB bus&lt;/P&gt;
&lt;P&gt;access at CSI AHB master port and then causes system hang.&lt;/P&gt;
&lt;P&gt;Note that the possibility of MIPI CSI1 overflow will be lower than MIPI CSI2. &lt;BR /&gt;MIPI CSI1 can support 4 outstanding write transition, however MIPI CSI2 &lt;BR /&gt;can support 2 outstanding write transition. &lt;BR /&gt;So MIPI CSI1 will realize more memory bandwidth."&lt;/P&gt;
&lt;P&gt;-------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Sat, 06 Mar 2021 12:18:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1218314#M168109</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-03-06T12:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1222007#M168511</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Just returning to this issue now.&lt;/P&gt;&lt;P&gt;I was wondering if incorrectly configured board files in u-boot might be the cause of this issue? especially relating to&amp;nbsp;&lt;STRONG&gt;lpddr4_timing.c&lt;/STRONG&gt; in u-boot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the IMX8M DDR tool was not properly used, could this be a reason for the inconsistency I'm having with CSI port 1 or is this unrelated?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joe&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 15:04:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1222007#M168511</guid>
      <dc:creator>jgsandom</dc:creator>
      <dc:date>2021-01-27T15:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1222238#M168531</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Joe&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;I was wondering if incorrectly configured board files in u-boot might be the cause &lt;BR /&gt;&amp;gt;of this issue? especially relating to lpddr4_timing.c in u-boot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yes&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;If the IMX8M DDR tool was not properly used, could this be a reason for &lt;BR /&gt;&amp;gt;the inconsistency I'm having with CSI port 1 or is this unrelated?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yes&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 23:24:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1222238#M168531</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-01-27T23:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1224231#M168755</link>
      <description>&lt;P&gt;Hi jgsandom,&lt;/P&gt;&lt;P&gt;We're seeing the exact same issue. Roughly 50% of the time the CSI1 works and the other half it reports "base address switching Change Err.". It took awhile to figure out because we had a patch that disabled csi_tvdec_enable like you state in the your post. We're using zeus (linux 5.4.24) and a &lt;A href="https://www.variscite.com/product/system-on-module-som/cortex-a53-krait/dart-mx8m-nxp-imx-8m/" target="_self"&gt;variscite board&amp;nbsp;&lt;/A&gt;which ddr4 settings should be correct. Our sensor outputs non-interlaced RAW12 data at 640x480 over 4 lanes at the highest speed possible (960 mbps).&lt;/P&gt;&lt;P&gt;With the patch that disables csi_tvdec_enable, we're getting data out, but it's not correct. The &lt;A href="https://www.melexis.com/en/product/MLX75027/Automotive-VGA-Time-Of-Flight-Sensor" target="_self"&gt;mlx75027&lt;/A&gt; sensor that we're using allows us to get a test pattern out, repeating every 1022 bytes. In the base address switching state, the pattern that we're getting is completely wrong, but deterministic and repeating every 1533 bytes (so 1.5x what it should be doing). In the correct state we get out 4 (phase) images in a row before triggering the next series, in the incorrect state only 3 images are being output. My current hypothesis about this is that it might be interpreting the data as RAW16 or something like that which would result in the reduced amount of images we're getting. Furthermore when the CSI1 is in the incorrect state, the overflow bug happens straightaway at 960 mbps while in the correct state we've been able to stream for several hours without running into the overflow bug.&lt;/P&gt;&lt;P&gt;I've not run into this issue on the development board with the &lt;A href="https://www.variscite.com/product/accessories/vcam-5640s-duo/" target="_self"&gt;ov5460&lt;/A&gt; module or the &lt;A href="https://www.baslerweb.com/en/products/cameras/area-scan-cameras/dart/daa4200-30mci-no-mount-tray-40pcs/" target="_self"&gt;basler&lt;/A&gt; module connected to a previous iteration of our own board, so it might have something to do with non interlaced images seeing as that's one of the few common denominators.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;Could you forward this additional information to the internal team and ask if they have any idea how to resolve this?&lt;/P&gt;&lt;P&gt;With kind regards,&lt;BR /&gt;Twan&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 20:54:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1224231#M168755</guid>
      <dc:creator>t_spil</dc:creator>
      <dc:date>2021-02-01T20:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1230194#M169423</link>
      <description>&lt;P&gt;Hi Twan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;Could you forward this additional information to the internal team and ask if they&lt;/P&gt;
&lt;P&gt;&amp;gt;have any idea how to resolve this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it was already "forwarded" and ideas from internal team are provided in this thread.&lt;/P&gt;
&lt;P&gt;May be recommended to use&amp;nbsp; &lt;A href="https://contact.nxp.com/new-prof-svcs-sw-tech" target="_blank"&gt;https://contact.nxp.com/new-prof-svcs-sw-tech&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;for obtaining additional help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 06:28:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1230194#M169423</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-02-12T06:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1288454#M175131</link>
      <description>&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;We are seeing a similar issue in our setup as seen by&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/182405"&gt;@jgsandom&lt;/a&gt;&amp;nbsp;. Did you get this solved ?&lt;/P&gt;&lt;P&gt;Appreciate if you could help on fixing this&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abdu Samad&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 16:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1288454#M175131</guid>
      <dc:creator>abdu2</dc:creator>
      <dc:date>2021-06-07T16:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MQ MIPI CSI2 Base address switching change error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1288547#M175138</link>
      <description>&lt;P&gt;Hi Abdu,&lt;/P&gt;&lt;P&gt;We haven't managed to solve the issue itself. Our workaround is to check whether we can stream data from the CSI port after booting, if this fails we reboot. This is definitely not great because it can take 5+ reboots before the imx8 is in a state where the CSI port works.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Twan&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 20:51:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MQ-MIPI-CSI2-Base-address-switching-change-error/m-p/1288547#M175138</guid>
      <dc:creator>t_spil</dc:creator>
      <dc:date>2021-06-07T20:51:26Z</dc:date>
    </item>
  </channel>
</rss>

