i.mx8mp 5M Capture

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

i.mx8mp 5M Capture

512 Views
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 Kudos
Reply
3 Replies

502 Views
joanxie
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

469 Views
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 Kudos
Reply

458 Views
joanxie
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply