Hi all,
We are using cm-t3530 processor Camera ISP interface for our application development.
Software Configuration :
=======================
1. Kernel version : linux-3.0.68
2. Driver Name : omap3isp
Hardware Configuration :
=======================
1. Camera Image Sensor : Sony 1CX659ALA
2. AFE (Analog Front End) : AD9824
3. Camera ISP Configuration :
1. 12 bit RAW data
2. SYNC Mode (Camera Parallel Interface)
3. Interlaced Mode (Odd & Even)
Note :
AFE is used for converting the analog signal to digital.
The camera sensor is connected to the AFE chip. The captured Analog signal is converted to Digital signal by AFE. The Signal is directly
connected to the Processor Camera data Lines ( D2 - D13). Now we have followed the CM-T3730 Linux Camera instruction in the following URL,
http://www.compulab.co.il/workspace/mediawiki/index.php5/CM-T3730:_Linux:_Camera.
Procedure :
==========
1. root@cm-t3730:/# media-ctl -r -l '"dps659la 3-005d":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]'
2. root@cm-t3730:/# media-ctl -f '"dps659la 3-005d":0 [Y12 752x582 (15,8)/752x582], "OMAP3 ISP CCDC":1 [Y2 752x582]'
3. root@cm-t3730:/# ./yavta -f Y12 -s 752x582 --capture=1 --file=image /dev/video2
Now we are getting the raw data image. We are converting the raw image to bmp format image using raw2bmp application. But we can able to see the half page image only. We are using the interlaced mode option. Is there any problem to capture the image?. We are doubting the VD0 and VD1 interrupt in driver. VD0 interrupt is comming proberly, but VD1 interrupt is not comming. Below i have mention our CCDC and ISP register configuration,
CCDC Regidter Configuration :
============================
omap3isp omap3isp: -------------CCDC Register dump-------------
omap3isp omap3isp: ###CCDC PCR=0x00000001
omap3isp omap3isp: ###CCDC SYN_MODE=0x00038483
omap3isp omap3isp: ###CCDC HD_VD_WID=0x032b0130
omap3isp omap3isp: ###CCDC PIX_LINES=0x038b0270
omap3isp omap3isp: ###CCDC HORZ_INFO=0x005402ef
omap3isp omap3isp: ###CCDC VERT_START=0x000f000f
omap3isp omap3isp: ###CCDC VERT_LINES=0x00000245
omap3isp omap3isp: ###CCDC CULLING=0xffff00ff
omap3isp omap3isp: ###CCDC HSIZE_OFF=0x000005e0
omap3isp omap3isp: ###CCDC SDOFST=0x00000000
omap3isp omap3isp: ###CCDC SDR_ADDR=0x000d8000
omap3isp omap3isp: ###CCDC CLAMP=0x00000010
omap3isp omap3isp: ###CCDC DCSUB=0x00000000
omap3isp omap3isp: ###CCDC COLPTN=0xbb11bb11
omap3isp omap3isp: ###CCDC BLKCMP=0x00000000
omap3isp omap3isp: ###CCDC FPC=0x00000000
omap3isp omap3isp: ###CCDC FPC_ADDR=0x00000000
omap3isp omap3isp: ###CCDC VDINT=0x013700d0
omap3isp omap3isp: ###CCDC ALAW=0x00000004
omap3isp omap3isp: ###CCDC REC656IF=0x00000000
omap3isp omap3isp: ###CCDC CFG=0x00008000
omap3isp omap3isp: ###CCDC FMTCFG=0x00004000
omap3isp omap3isp: ###CCDC FMT_HORZ=0x000002f0
omap3isp omap3isp: ###CCDC FMT_VERT=0x00000246
omap3isp omap3isp: ###CCDC PRGEVEN0=0x00000000
omap3isp omap3isp: ###CCDC PRGEVEN1=0x00000000
omap3isp omap3isp: ###CCDC PRGODD0=0x00000000
omap3isp omap3isp: ###CCDC PRGODD1=0x00000000
omap3isp omap3isp: ###CCDC VP_OUT=0x048a2f00
omap3isp omap3isp: ###CCDC LSC_CONFIG=0x00006600
omap3isp omap3isp: ###CCDC LSC_INITIAL=0x00000000
omap3isp omap3isp: ###CCDC LSC_TABLE_BASE=0x00000000
omap3isp omap3isp: ###CCDC LSC_TABLE_OFFSET=0x00000000
ISP Regidter Configuration :
============================
omap3isp omap3isp: -------------ISP Register dump--------------
omap3isp omap3isp: ###ISP SYSCONFIG=0x00002000
omap3isp omap3isp: ###ISP SYSSTATUS=0x00000001
omap3isp omap3isp: ###ISP IRQ0ENABLE=0x811b33f9
omap3isp omap3isp: ###ISP IRQ0STATUS=0x80000000
omap3isp omap3isp: ###ISP TCTRL_GRESET_LENGTH=0x00000000
omap3isp omap3isp: ###ISP TCTRL_PSTRB_REPLAY=0x00000000
omap3isp omap3isp: ###ISP CTRL=0x2029c310
omap3isp omap3isp: ###ISP TCTRL_CTRL=0x00000000
omap3isp omap3isp: ###ISP TCTRL_FRAME=0x00000000
omap3isp omap3isp: ###ISP TCTRL_PSTRB_DELAY=0x00000000
omap3isp omap3isp: ###ISP TCTRL_STRB_DELAY=0x00000000
omap3isp omap3isp: ###ISP TCTRL_SHUT_DELAY=0x00000000
omap3isp omap3isp: ###ISP TCTRL_PSTRB_LENGTH=0x00000000
omap3isp omap3isp: ###ISP TCTRL_STRB_LENGTH=0x00000000
omap3isp omap3isp: ###ISP TCTRL_SHUT_LENGTH=0x00000000
omap3isp omap3isp: ###SBL PCR=0x00000000
omap3isp omap3isp: ###SBL SDR_REQ_EXP=0x00000000
Is there any correction?.
Thanks.......