IMX8M mini mipi camera with "Lost Frame End Error"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8M mini mipi camera with "Lost Frame End Error"

1,084 Views
link
Contributor III

Hi everyone,

I try to capture mipi raw12 data from a mipi sensor. When the camera resolution is 640*480, the image is normal and the serial port will not report errors.But when I switch the camera resolution to 640* 960, and the serial port will display the following message: "Lost Frame End Error".

 

 

[   44.464914] mxc_mipi-csi.0: Lost Frame End Error: 559
[   44.469973] mxc_mipi-csi.0: Frame Start: 559
[   44.474242] mxc_mipi-csi.0: Frame End: 558
[   44.478337] mxc_mipi-csi.0: status: 01100100
[   44.531539] mxc_mipi-csi.0: Lost Frame End Error: 560
[   44.536598] mxc_mipi-csi.0: Frame Start: 560
[   44.540865] mxc_mipi-csi.0: Frame End: 559
[   44.544959] mxc_mipi-csi.0: status: 01100100
[   44.599598] mxc_mipi-csi.0: Lost Frame End Error: 561
[   44.604658] mxc_mipi-csi.0: Frame Start: 561
[   44.608927] mxc_mipi-csi.0: Frame End: 560
[   44.613022] mxc_mipi-csi.0: status: 01100100
[   44.664740] mxc_mipi-csi.0: Lost Frame End Error: 562
[   44.669799] mxc_mipi-csi.0: Frame Start: 562
[   44.674067] mxc_mipi-csi.0: Frame End: 561
[   44.678162] mxc_mipi-csi.0: status: 01100100
[   44.731361] mxc_mipi-csi.0: Lost Frame End Error: 563
[   44.736420] mxc_mipi-csi.0: Frame Start: 563
[   44.740687] mxc_mipi-csi.0: Frame End: 562
[   44.744780] mxc_mipi-csi.0: status: 01100100

 

 

规格书.bmp

The left side is the abnormal image when the problem occurs, and the right side is the normal image as contrast.

Snipaste_2021-07-16_15-25-19.bmp

 

May I ask what is the possible cause of this problem?

Labels (1)
Tags (2)
0 Kudos
Reply
2 Replies

1,076 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
Reply

1,064 Views
link
Contributor III

Hi igorpadykov:

    The MIPI rate of my camera is 270M (using 2-lanes mode). Follow the following table to configure HSSETTLE and CLKSETTLECTL  like this:

 

&mipi_csi_1 {
	#address-cells = <1>;
	#size-cells = <0>;
	status = "okay";
	port {
		mipi1_sensor_ep: endpoint@1 {
			remote-endpoint = <&vzense_camera_mipi_csi>;
			data-lanes = <2>;
			csis-hs-settle = <5>;
			csis-clk-settle = <0>;
			csis-wclk;
		};

		csi1_mipi_ep: endpoint@2 {
			remote-endpoint = <&csi1_ep>;
		};
	};
};

 

 

MIPI Serial clock Frequency (MHz)
HSSETTLE[7:0]
CLKSETTLECTL[1:0]
1500
33
0
1490~1450
32
0
1440~1410
31
0
1400~1360
30
0
1350~1320
29
0
1310~1270
28
0
1260~1230
27
0
1220~1180
26
0
1170~1130
25
0
1120~1090
24
0
1080~1040
23
0
1030~1000
22
0
990~950
21
0
940~910
20
0
900~860
19
0
850~820
18
0
810~770
17
0
760~730
16
0
720~680
15
0
670~640
14
0
630~590
13
0
580~550
12
0
540~500
11
0
490~460
10
0
450~410
9
0
400~370
8
0
360~320
7
0
310~280
6
0
270~230
5
0
220~190
4
0
180~140
3
0
130~100
2
0
90~80
1
0

 

     The "Lost Frame End Error" problem still exists. Please help to check if there is any problem with this configuration and what could possibly be the cause of the problem?

Best regards
lin

0 Kudos
Reply