OK8MP-C camera Image missing line

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

OK8MP-C camera Image missing line

1,035件の閲覧回数
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 件の賞賛
返信
4 返答(返信)

988件の閲覧回数
zhichao_hu
Contributor I

Thanks, I have solved this problem

0 件の賞賛
返信

1,031件の閲覧回数
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 件の賞賛
返信

1,028件の閲覧回数
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 件の賞賛
返信

994件の閲覧回数
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 件の賞賛
返信