This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Getting VPIF error interrupt VP_ERRINT when running video acquisition

Other Parts Discussed in Thread: TVP5158

Hi,

My system configuration consists of the following:

DM6467 729 MHz, 128 MB DDR2 400 MHz

TVP5158 configured to send 1 D1 (Non-interleaved, 27M,BT.656 mode) to DM6467.

My issue is that I get occasional errors in my acquired frames which I have debugged with the occurrence of VP_ERRINT (VPIF error interrupt that I have enabled).  Those errors result in false color in some of my video frames .  From the documentation (spruer9d), it says in 2.8.1 that such an error can either be due to:

-          Internal buffer overflow

-          Length of eav2sav or sav2eav is not the same as the configured value

-          Bit error detected on 4th field of TRC

 

I have seen a post in this forum "http://e2e.ti.com/support/embedded/f/354/t/55299.aspx",it says that one can determine the type of error by looking at register address 0x01c12014: if bits 0 or 1 are set it's a CRC error in a TRC; if bits 2 or 3 are set, it's a xAV-xAV distance problem; if bits 4 or 5 are set, it's a buffer overflow problem.
I have verified the value at 0x01c12014 like suggested after the error occurs and it is set to 0x104.so it seems to be a xAV-xAV distance problem。

the register to configure xAV-xAV distance in vpif is  0x01c12014(CH0_HSIZE_CFG),i configured  it as follows:
channel0->regs->HSIZE_CFG   = ( 280 << 16 ) | ( 1440 << 0 );

 the registers that i can find in relate with this problem in TVP5158 is 48h-49h(AVID Start Pixel)、4Ah-4Bh(AVID Pixel Width)、B8h-B9h(OFM H-Blank Duration),I have tried all kind of possibilities of these configures.But the problem can't be solved.
Is there anything else someone would suggest in debugging this issue?