AnsweredAssumed Answered

IMX6 csi1 16 bit data capture

Question asked by chun xin on Sep 12, 2013
Latest reply on Nov 27, 2014 by Jesse Lin
Branched to a new discussion

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,  PCLK+HSYNC+VSYNC)

but the image like this:

Screenshot from 2013-09-13 13:49:07.png

we have set csi as gade mode to capture 16 bit generic data,

 

 

[INFO]    VPU test program built on Sep 12 2013 17:49:15

[INFO]    Product Info: i.MX6Q/D/S

[INFO]    VPU firmware version: 2.1.9_r36350

[INFO]    VPU library version: 5.4.12

[INFO]    Format: STD_AVC

[INFO]    AVC

[INFO]    Output file "hout.mkv" opened.

[INFO]    chromaInterleave 1, mapType 0, linear2TiledEnable 0

 

ioctl_g_fmt_cap, 0x10 status:0x6b

===IPU_PIX_FMT_GENERIC_16:844451913======ipu_csi_init_interface=======104====

CSI_SENS_CONF = 0x00000B01

CSI_SENS_FRM_SIZE = 0x02FF03FF

CSI_ACT_FRM_SIZE = 0x02FF03FF

    sensor chip is adv7180_decoder

[INFO]mxc_v4l2_s_param, type:0

    sensor frame size is 1024x768

 

ioctl_g_fmt_cap, 0x10 status:0x6b

===FMT:844451913======mxc_v4l2_s_param=======1401====

===IPU_PIX_FMT_GENERIC_16:844451913======ipu_csi_init_interface=======104====

CSI_SENS_CONF = 0x0000CB01

CSI_SENS_FRM_SIZE = 0x02FF03FF

CSI_ACT_FRM_SIZE = 0x02FF03FF

===FMT:842094158===ch:0===_ipu_ch_param_init=======259====

===IPU_PIX_FMT_NV12======_ipu_ch_param_init=======447====

ch 0 word 0 - 00000000 60000000 00000000 E0000000 000BFC7F

ch 0 word 1 - 03340000 00668000 0087C000 0000FFC0 000003FF

PFS 0x4, BPP 0x0, NPB 0x1f, FW 1023, FH 767, scan_order 0

[WARN]    Ctrl-C received

[INFO]    Finished encoding: 136 frames

[INFO]    enc fps = 113.04

[INFO]    total fps= 29.78

Outcomes