i.mx8mp 5M Capture

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.mx8mp 5M Capture

513 次查看
kiyoung
Contributor III

5M(2616*1940) camera does not work well.
The ISP disables it and I want raw capture.
There is a size limit in ISI, so it operates normally up to 2048 width, but beyond that, incorrect video is captured.
As follow the code in imx8-isi-hw.c, bypass mode is used, and chain buffer is used when the width is greater than 2048.
The final goal is to operate 5M and 13M Cameras simultaneously on i.mx8mp, but I want to check 5M single first.
5M Camera is connected to CSI1, and CSI0 is not in use yet (disabled).
Where should I review?

OK8MP-C.dts
&mipi_csi_0 {
   status = "disable";
};

&mipi_csi_1 {
   status = "okay";

   port@1 {
    reg = <1>;
    mipi_csi1_ep: endpoint {
     remote-endpoint = <&imx335_mipi_1_ep>;
     data-lanes = <4>;
     csis-hs-settle = <26>;
     csis-clk-settle = <4>;
     csis-wclk;
    };
   };
};

&isi_0 {
   status = "disabled";
};

&isi_1 {
   status = "okay";
   cap_device {
    status = "okay";
   };
   m2m_device {
    status = "disabled";
   };
};

0 项奖励
回复
3 回复数

503 次查看
joanxie
NXP TechSupport
NXP TechSupport
0 项奖励
回复

470 次查看
kiyoung
Contributor III

5M Camera is connected to CSI1, and CSI0 is not in use yet (disabled).
It is currently configured as single, and the 2048 width is normal, but the 2616 width is not normal.
It cannot be any size smaller than the single 4K you mentioned in the link.

2048_2616.png

0 项奖励
回复

459 次查看
joanxie
NXP TechSupport
NXP TechSupport

try the CSI0, the CSI1 should be set 266M as default

0 项奖励
回复