Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Video Suite and a TI TVP5150

Has anyone had any success getting the clocked video input block to process bt656 from a TI TVP5150? I'm not having much luck with this. I was told by Altera that the 5150 doesn't work correctly with their ip. Why is the 5150 so different from the 5154 they use on the Bitec video card?

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    What problem are you having with it? I've looked over the datasheet and I can't see anything on the surface that would indicate it wouldn't work with the clocked video input block. It does look like the picture data itself is swapped from what the Video IP protocol calls for but that wouldn't cause any problems with the input block.

    One thing I've never tried is feeding an embedded sync signal to the input block with the two color planes interleaved. In the case of SD-SDI data, I separate the luma/chroma into two parallel channels and present them to the input block that way. This requires duplicating the TRS sequence into both data streams.

    Jake
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'm not sure what the problem is. Altera recommended that we change the AVID signal coming out of the 5150 to include the EAV along with the SAV. We did that and it still won't process the bt656 data.

    I'm not familiar with the inner workings of the clocked video input block, so I'm not sure what it expects to see that we're not providing. I've attached a few signal_tap runs with some of the more interesting signals. Any chance you could take a look and let me know if you see anything we are doing wrong?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    A little more information. It appears the the input data is stable and the correct format is detected. Yet, the fifo isn't being used and we are overflowing. Here are the cvi registers:

    0x5000000 : 0x5000000 <Hex>

    Address 0 - 3 4 - 7 8 - B C - F

    05000000 01000000 F9030000 00000000 D0020000

    05000010 F4000000 D0020000 F3000000 01000000

    Control: 0x0001

    Status: 0x03F9

    UsedW: 0x0000

    F0SampleCount: 0x02D0 ( 720 )

    F0LineCount: 0x00F4 ( 244 )

    F1SampleCount: 0x02D0 ( 720 )

    F1LineCount: 0x00F3 ( 243 )
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Found my problem. It turns out that my default parameter for the input image height needed to be bumped up from 244 to 252. I also increased the fifo size, for good measure. The video is now streaming through as it should.