hi all:
we use imx6 ipu/csi (no mipi) to capture 16bits yuv data with external hsync/vsync,
( IOMUX = D19~D12=Y, D11~D4=U/V, MCLK+HSYNC+VSYNC)
( input = CSI-MEM, ipr_csi_enc.c )
( size = raw.width*height:858*525, active.width*height:720*480, active.left*top:0*4)
Mr Qiang Li notice us that should use generic data mode, so we modify code (some in bsp).
unfortunately, all viodioc went without err, but still :
ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0
ERROR.VIDIOC_DQBUF failed.
ERROR.VIDIOC_QBUF failed.
the following is regs dump before streamon, which we added in mxc_v4l2_capture: ( CSI-MEM only use IDMAC_ch0, right?)
******** Dump Registers.IPU_CONF
[263_0000]: 000007A1
******** Dump Registers.IPU_INT_CTRL_x
[263_003C]: 80000001
[263_0040]: 00080000 00000000 00000000 BFFEFF2F
[263_0050]: 001FFF02 00000000 00000000 DC000001
[263_0060]: 777F000F 00000000 00000000 00000000
[263_0070]: 00000000 00000000
******** Dump Registers.CSI_SENS_CONF
[263_0000]: 0400CB00 020C0359 01DF02CF 00000004
[263_0010]: 00000000 00000000 00000000 00000000
[263_0020]: FFFFFFFF 00000000 00000000 00000000
******** Dump Registers.CPMEM channel.0
channel.0 word 0[4:0] - 00077C59 E0001800 00000000 00000000 00000000
channel.0 word 1[4:0] - 00000000 000167C0 00CFC000 0088C000 04440000
Does anyone could give us some infor to insure any regs setting err or any possible ressons lead to this timeout err ?
all for thanks.