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.

problems capturing sd 576i signal through component input in dm6467t dvevm.

Other Parts Discussed in Thread: TVP7002

Hi everyone,

 

I'm trying to capture SD 576i @25 fps signal through component interface, but the result is always the same: the demo

doesn't detect the video input connected.

The demo used is the encode demo found in the dvsdk_demos_3_10_00_10 in the dvsdk_3_10_00_12.

The setup for the experiment is the following:

- HD display connected to component output.

- SD signal connected to the component input.

- kernel running with support for tvp7002.

- dsplink and cmem modules compiled accordingly to the kernel in use, are loaded.

 

The call that fails is the vpif_querystd(), from the kernel drivers; which is executed

within the Capture_detectVideoStd() function of the Dmai's Capture class.

But that's the further point I can reach using gdbserver.

 

I've checked that the video signal arrives to the input, and I can watch the

sync signals derived from it in the test points tp2-tp6.

What can I do? Do you know any trick that could save me from

debugging the kernel?

 

 

  • Hi,

     

    SD resolutions are not supported in tvp7002 driver. This is the reasone why querystd is always failing to detect input video. You will need to add support for 576i mode in tvp7002 driver.

     

    Thanks,

    Brijesh

     

  • Hi Brijesh,

    While working on the drivers, some doubts appeared:

    In the structure tvp7002_format_params, there's a field

    named as "reserved". What is it's purpouse? Is that related with

    byte alignment of the structure?

     

    I've been browsing through the tvp7002 datasheet but I did not find any indications.

    I've seen that the value it's given depends on the format defined.

     

    What I've done is to copy the same values that are given for the

    480P and 576P formats respectively (which is reflected in the tvp7002.h file),

    because I've found that all the parameters

    are common with the 480I and 576P format settings I introduced. It can seem a silly thing,

    but I've preferred to do that instead of duplicating the use of 480P & 576P values. Perhaps some values

    will need to be tuned independently for the 480I and 576I formats.

     

    Any advice will be welcome!

    Gerard.

  • Hi Gerald,

    There was discussion regarding sd mode support on tvp7002. Please find below link for the same. See if it helps to you.

    http://e2e.ti.com/support/embedded/f/354/p/53566/201394.aspx#201394

    I don't remember exactly why we kept some fields reserved. 

    Thanks,

    Brijesh Jadav