OK8MP-C camera Image missing line

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

OK8MP-C camera Image missing line

1,036 Views
zhichao_hu
Contributor I
I can use imx8 to obtain the image successfully, but the original image(yuv422-8bit) has problems such as missing lines and wrong line positions. Has anyone encountered similar problems?
 
This camera is ti964, and the camera register configuration is normal. I can read from the 964 chip that the output rows and columns are consistent with those of the camera.
 

Is there any way to help me locate this problem? I don't know what caused the error of the original data line of the image

0 Kudos
Reply
4 Replies

989 Views
zhichao_hu
Contributor I

Thanks, I have solved this problem

0 Kudos
Reply

1,032 Views
joanxie
NXP TechSupport
NXP TechSupport

did you use 8QM board? and which dts file do you use? how did you change it? pls send the patch to check

0 Kudos
Reply

1,029 Views
zhichao_hu
Contributor I

I use forlinx imx8MP OKMX8MP-C.

I change dts i2c2 part ov5645 to :

&i2c2 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c2>;
status = "okay";

jh1mp_0: jh1mp_mipi1@32 {
compatible = "ti,jh1mp";
reg = <0x32>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_csi0_pwn>, <&pinctrl_csi0_rst>;
clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
clock-names = "xclk";
assigned-clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_200M>;
assigned-clock-rates = <20000000>;
csi_id = <0>;
enable-gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
clock-frequency = <20000000>;
mclk = <20000000>;
mclk_source = <0>;
mipi_csi;
virtual-channel;
status = "okay";

port {
jh1mp_mipi_0_ep: endpoint {
remote-endpoint = <&mipi_csi0_ep>;
data-lanes = <1 2 3 4>;
clock-lanes = <0>;
link-frequencies = /bits/ 64 <336000000>;
};
};
};
};
0 Kudos
Reply

995 Views
joanxie
NXP TechSupport
NXP TechSupport

what do you mean "I can use imx8 to obtain the image successfull"? this isn't nxp board, what bsp version do you use? did you have any logfile to share?

0 Kudos
Reply