AnsweredAssumed Answered

Does imx6solo support porgressive, bt656 ntsc

Question asked by Abhishek Kumar Trivedi on Jun 23, 2020
Latest reply on Jun 23, 2020 by igorpadykov

we are working on Epson S2D13P04 it has four channel input.  we have configured it for fixed, NTSC M and prograssive mode. As we are using only one input out of four.

 

s2d13@p30 {
              compatible = "epson,s2d13p04";
               reg = <0x37>;
               pinctrl-names = "default";
               pinctrl-0 = <&pinctrl_cam0>;
               clocks = <&clks IMX6QDL_CLK_CKO>;
               clock-names = "csi_mclk";
               rst-gpios = <&gpio4 19 0>; 
               csi_id = <0>;
               mclk = <24000000>;
               mclk_source = <0>;
               cvbs = <1>;
               status = "okay";
               port {
                       s2d13p04_1: endpoint {
                       remote-endpoint = <&csi0>;
                       bus-width = <8>;
                       data-shift = <12>; /* Lines 19:12 used */
                       hsync-active = <1>;
                       vsync-active = <1>;
                       };
};

pinctrl_cam0: cam0datagrp {
                      fsl,pins = <
                              MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12  0x100b1                        
                              MX6QDL_PAD_CSI0_DAT13__IPU1_CSI0_DATA13  0x100b1                                                                                     MX6QDL_PAD_CSI0_DAT14__IPU1_CSI0_DATA14  0x100b1                        
                               MX6QDL_PAD_CSI0_DAT15__IPU1_CSI0_DATA15  0x100b1                        
                               MX6QDL_PAD_CSI0_DAT16__IPU1_CSI0_DATA16  0x100b1                        
                               MX6QDL_PAD_CSI0_DAT17__IPU1_CSI0_DATA17  0x100b1                        
                               MX6QDL_PAD_CSI0_DAT18__IPU1_CSI0_DATA18  0x100b1                        
                               MX6QDL_PAD_CSI0_DAT19__IPU1_CSI0_DATA19  0x100b1                        
                               MX6QDL_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK   0x100b1
                               MX6QDL_PAD_CSI0_MCLK__IPU1_CSI0_HSYNC      0x100b1
                               MX6QDL_PAD_CSI0_VSYNC__IPU1_CSI0_VSYNC     0x100b1
                               MX6QDL_PAD_CSI0_DATA_EN__IPU1_CSI0_DATA_EN 0x100b1
                       >;
}

 

we are getting following error as we try to run gst-launch-1.0 imxv4l2src device=/dev/video0 ! imxv4l2sink device=/dev/video16

ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0.

 

I am getting following logs

 

In csi_enc_setup
sensor protocol =2
imx-ipuv3 2400000.ipu: init channel = 15
cam->v2f.fmt.pix.height = 480
cam->v2f.fmt.pix.height = 640
imx-ipuv3 2400000.ipu: initializing idma ch 0 @ 908e0000
imx-ipuv3 2400000.ipu: ch 0 word 0 - 00000000 25800000 00000000 E0000000 00077C4F
imx-ipuv3 2400000.ipu: ch 0 word 1 - 02A10000 00542000 0087C000 00009FC0 0000027F
imx-ipuv3 2400000.ipu: PFS 0x4,
imx-ipuv3 2400000.ipu: BPP 0x0,
imx-ipuv3 2400000.ipu: NPB 0x1f
imx-ipuv3 2400000.ipu: FW 639,
imx-ipuv3 2400000.ipu: FH 479,
imx-ipuv3 2400000.ipu: EBA0 0x15080000
imx-ipuv3 2400000.ipu: EBA1 0x15080000
imx-ipuv3 2400000.ipu: Stride 639
imx-ipuv3 2400000.ipu: scan_order 0
imx-ipuv3 2400000.ipu: uv_stride 639
imx-ipuv3 2400000.ipu: u_offset 0x4b000
imx-ipuv3 2400000.ipu: v_offset 0x0
imx-ipuv3 2400000.ipu: Width0 0+1,
imx-ipuv3 2400000.ipu: Width1 0+1,
imx-ipuv3 2400000.ipu: Width2 0+1,
imx-ipuv3 2400000.ipu: Width3 0+1,
imx-ipuv3 2400000.ipu: Offset0 31,
imx-ipuv3 2400000.ipu: Offset1 19,
imx-ipuv3 2400000.ipu: Offset2 0,
imx-ipuv3 2400000.ipu: Offset3 0

eba 1c400000
eba 14c80000
In MVC:mxc_v4l_ioctl
In MVC: mxc_v4l_do_ioctl c044560f
   case VIDIOC_QBUF
In MVC:mxc_v4l_ioctl
In MVC: mxc_v4l_do_ioctl c0445611
   case VIDIOC_DQBUF
In MVC:mxc_v4l_dqueue

 

May you help me understand what could be the issue? I am attaching the signal from oscilloscope from camera side?

Attachments

Outcomes