Hi,
i am using micron progressive cmos sensor MT9M131 with 1280x1024 resolution,
and modify driver of tvp5146 for MT9M131.
So i config VPFE as follow:
.ccdc_params = {
.pix_fmt = CCDC_PIXFMT_YCBCR_8BIT,
.frm_fmt = CCDC_FRMFMT_PROGRESSIVE,
.win = VPFE_WIN_SXVGA,
.fid_pol = CCDC_PINPOL_POSITIVE,
.vd_pol = CCDC_PINPOL_POSITIVE,
.hd_pol = CCDC_PINPOL_POSITIVE,
.bt656_enable = TRUE,
.pix_order = CCDC_PIXORDER_CBYCRY,
.buf_type = CCDC_BUFTYPE_FLD_SEPARATED
},
The vales of registers as follow:
Reading 0x0 to ALAW...
Reading 0x0 to CLAMP...
Reading 0x0 to DCSUB...
Reading 0x0 to BLKCMP...
Reading 0x0 to FPC_ADDR...
Reading 0x0 to FPC...
Reading 0x0 to FMTCFG...
Reading 0x0 to COLPTN...
Reading 0x0 to FMT_HORZ...
Reading 0x3 to FMT_VERT...
Reading 0x5a0 to HSIZE_OFF...
Reading 0x249 to SDOFST...
Reading 0x0 to VP_OUT...
Reading 0x32f04 to SYN_MODE...
Reading 0x59f to HORZ_INFO...
Reading 0x0 to VERT_START...
Reading 0x23f to VERT_LINES...
Reading 0x0 to VDINT...
Reading 0x59f to HORZ_INFO...
I face problems in capture one frame from sdram, and i'm confuse that
when i config VPFE as BT.656 mode, can the progressive data be accessed
correctly???
At least, i only can capture a 1280*1024 frame which only include 640*512
valid data in upper left part in one image.
PS: the same MT9M131 register settings are work find in another platform.
Any help will be highly appreciated.
--
Best Regards,
Goung.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source