What mode have you configured the VPFE in?  This behavior that
you are observing sounds like the VPFE is in BT.656 mode where only the
clock and data lines are used and the VSYNC and HSYNC are encoded in the
data stream.

That's right. I tried to change the registers to use raw mode
(CCDC_SYN_MODE=0x00030F00 and CCDC_REC656IF=0x00000000) but we got the
same result, so we are now trying to use BT.656 mode and transmit EAV
and SAV words as described at SPRUE38A page 20 (ITU-R BT.656
Configuration Protocol and Data Formats) to syncronize our data.

For now, davinci seems to ignore also our EAV or SAV words and capture
frames 'sometimes' depending on wich data is received.

These are my CCDC registers:
CCDC_PID        : 1FE00
CCDC_PCR        : 3
CCDC_SYN_MODE   : 32F84 (8 bits)
CCDC_HD_VD_WID  : 0
CCDC_PIX_LINES  : 0
CCDC_HORZ_INFO  : BC (188 bytes in a line)
CCDC_VERT_START : 0
CCDC_VERT_LINES : 1 (VERT_LINES + 1 = 2 lines)
CCDC_CULLING    : FFFF00FF
CCDC_HSIZE_OFF  : C0
CCDC_SDOFST     : 0
CCDC_SDR_ADDR   : 86800000
CCDC_CLAMP      : 0
CCDC_DCSUB      : 0
CCDC_COLPTN     : 0
CCDC_BLKCMP     : 0
CCDC_VDINT      : 0
CCDC_ALAW       : 0
CCDC_REC656IF   : 1 (BT.656 mode, no FVH error correction)
CCDC_CCDCFG     : 8C00
CCDC_FMTCFG     : 0
CCDC_VP_OUT     : 0

When we want to end a line and start another one, we transmit :
FF 00 00 9D 00 00 00 00 00 00 00 00 FF 00 00 80
Aso, when we want to end a frame and start another one, we transmit:
FF 00 00 B6 00 00 00 00 00 00 00 00 FF 00 00 AB

Any tip?
Many thanks and regards,
Carlos
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to