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.

WSS signalling handle by TVP5150am1

Other Parts Discussed in Thread: TVP5150AM1, TVP5150A, TVP5150

Dear Sir/Madam

We are using TI TVP5150am1 chip in our product.

I am trying to configure the chip in order to extract WSS info in PAL system mode.

I am using the configuration flow by the “TVP5150A VBI Quick Start” (SLEU046.pdf Oct 2003) document.

(My configuration code has been added on end of the mail).

When reading the VDP status register I get 0x0. It looks like the chip does not recognize any VBI data.

  1. Is there a problem with my configuration?
  2. Is there any other way to get the WSS feature without using the VDP memory configuration?
  3. How can I use the full field (what registers should I configure) I order to have WSS support.

Best Regards.

Boris Barak.

My configuration code:

AnalogReader:: AnalogReader()

{

      WORD PalWssVal[16] = {0x5B, 0x55, 0xC5, 0xFF, 0x0, 0x71, 0x6E, 0x42, 0xA6, 0xCD, 0x0F, 0x0, 0x0, 0x0, 0x3A, 0x0};

 

      if (!m_FirstConfig)

      {

            // Disable full field mode

            AbTrace("ARReaderAnalog::ARReaderAnalog() Ch=%d WSS: Disable full field mode\n", m_dwChannel);

            val = 0x00;

            ((IAnalogVideoChip*)m_pVideoChip)->WriteWord(0xCF, val);

 

            // Write FFh to LineMode registers

            AbTrace("ARReaderAnalog::ARReaderAnalog() Ch=%d WSS: Write 0xFF to 0xD0-0xFB\n", m_dwChannel);

            for (WORD i = 0xD0; i < 0xFC; i++)

            {

                  val = 0xFF;

                  ((IAnalogVideoChip*)m_pVideoChip)->WriteWord(i, val);

            }

 

            // Load C4h with C-RAM address[7:0]

            // Load C5h with C-RAM address[8]

            AbTrace("ARReaderAnalog::ARReaderAnalog() Ch=%d WSS: Load regs with C-RAM address\n", m_dwChannel);

            val = 0x10;

            ((IAnalogVideoChip*)m_pVideoChip)->WriteWord(0xc4, val);

            val = 0x01;

            ((IAnalogVideoChip*)m_pVideoChip)->WriteWord(0xc5, val);

 

            AbTrace("ARReaderAnalog::ARReaderAnalog() Ch=%d WSS: Write 16 bytes of WSS C-RAM data\n", m_dwChannel);

            // Write 16 bytes of WSS C-RAM data

            for (int count = 0; count < 16; count++)

            {

                  ((IAnalogVideoChip*)m_pVideoChip)->WriteWord(0xc3, PalWssVal[count]);

            }

 

            // PAL WSS Line Mode setup for line 23 (source input) of both fields. PAL line

            // numbering has 3 line offset so the Line 26 line mode registers are used.

            AbTrace("ARReaderAnalog::ARReaderAnalog() Ch=%d WSS: Configure the line register\n", m_dwChannel);

            // line 26 field 1 (0xF8), mode bits = 0x08

            val = 0x08;

            ((IAnalogVideoChip*)m_pVideoChip)->WriteWord(0xF8, val);

            // line 26 field 2 (0xF9), mode bits = 0x08

            ((IAnalogVideoChip*)m_pVideoChip)->WriteWord(0xF9, val);

            // disable ANC data, enable FIFO access.

            val = 0x01;

            ((IAnalogVideoChip*)m_pVideoChip)->WriteWord(0xCD, val);

 

            m_FirstConfig = true;

      }

}

  • Hi,

    Can you take a scope shot of WSS waveform and post it here?

    Regards,

    Hyun

  • Hi Hyun,

     

    Please see attached snapshot of PAL line-23, coming from Rondhe&Schwartz generator source.

    WSS is turn On.

    If you need an additional information please let me know.

     

    Best Regards.

    Boris Barak.3364.WSS_source_signalling_line23_1.TIF4784.WSS_source_signalling_line23_2.TIF

  • Hi,

    1. Is there a problem with my configuration?

    --> I do not find any errors.

    1. Is there any other way to get the WSS feature without using the VDP memory configuration?

    --> No, there is no other way. You must set VDP memroy with correct values.

    1. How can I use the full field (what registers should I configure) I order to have WSS support.

    --> Set CFh to 0x1 and FCh to 0x48 if you want to use FIFO.

    Regards,

    Hyun

  • Hi Hyun,

    Unfortunately we still do not have significant progress in the WSS issue, while using TVP5150.

    We are using two different source of CVBS signal with WSS signalling.

    We are doing TVP5150 chip configuration as above on system int.

    We are polling C6h register just after it, getting 40h value (FIFO empty, WSS is not available).

    While trying to read 94h-96h register we get 00h values.

    Do you have any clue on what can be the root of the problem?

    Best Regards.

    Boris Barak.

  • Hi Hyun,

    Unfortunately we still have a difficulties to extract WSS signaling, while using TVP5150 chip.

    We are doing the registers initialization, as described above, on system init.

    We are performing C6h register polling just after it and get 40h value (FIFO empty, WSS is not available).

    We are using two different CVBS sources with WSS signalling.

    Do you have any clue about the possible root of the problem?

    Best Regards.

    Boris Barak.