iMX7D MIPI camera ov5640 test cases

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

iMX7D MIPI camera ov5640 test cases

620 Views
shravan201
Contributor I

Hello,

I am using iMX7D based custom board.

using fsl-yocto-L4.1.15 BSP. I have builded the images for fsl-image-gui.

unit test for ov5640 also working mx6s_v4l2_capture, but no proper color image.

how to capture image ..

Please can you share full test cases for camera ov5640 with imx7d.

Thanks,

Shravan.

Labels (1)
0 Kudos
2 Replies

509 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello shravan,

   i.MX7D linux BSP support OV5640, See below , please!

...

&mipi_csi {
    clock-frequency = <240000000>;
    status = "okay";
    port {
        mipi_sensor_ep: endpoint1 {
            remote-endpoint = <&ov5640_mipi_ep>;
            data-lanes = <2>;
            csis-hs-settle = <13>;
            csis-clk-settle = <2>;
            csis-wclk;
        };

        csi_mipi_ep: endpoint2 {
            remote-endpoint = <&csi_ep>;
        };
    };
};

...

So for the issue you encountered, software should be no problem, please check if hardware connections is correct! For example, check if D0_P/D0_N & D1_N/D1_P are reversed.


Have a great day,
TIC   Weidong

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

509 Views
shravan201
Contributor I

Hello Weidong,

I have already done these changes in dts file and my camera detecting properly..

I have cross verified the hardware connections also.

Only i need user space command to capture the image from camera.

Can you please share the command or tool to test the camera used by NXP BSP fsl-yocto-L4.1.15

Thanks,
Shravan.

0 Kudos