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.

How to configure DM6437 VPFE to interface with TVP5158

Other Parts Discussed in Thread: TVP5158

I have a DM6437 EVM board, I want to interface it with TVP5158 to capture 4ch CIF line-interleaved or 2ch D1 line-interleaved video.

TVP5158 datasheet implies that it will add artificial SAV/EAV to the original channel data besides metadata, and interleaved data looks just like progressive video to back-end chip.

I looked into the source code of VPFE driver, the interupt will be trigered each field arives, by detecting SAV/EAV. In ISR function, when it is odd field, the filled buffer will be moved to free queue; when it is even field, new frame buffer address will be writen to VPFE's SDR_ADDR register.

My question is how to configure VPFE registers to correctly trigger interupt if interface with TVP5158, since the SAV/EAV is artificial and do not have odd or even field, and how to manage buffer to store interleaved data from TVP5158.