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.

tvp5151 issue

Other Parts Discussed in Thread: TVP5151

Hello all,

We are using a tvp5151 connected to a CVBS signal generator (PAL).

Vsync/Hsync/DV/CLK  signals are behaving properly at  tvp5151 I/O pads and there are some activities on its YOUT pads.

However, we fail to obtain a decoded image. The display contains only "flashes". These flashes are random and not always present.

Any help is really appreciated.

Best regards,

Sarra

  • Sarra,

    How are you decoding and displaying the image?

    Are you using embedded or discrete syncs?

    Have you configured the TVP5151 for auto-switch? What video mode is the TVP5151 reporting when you read the I2C status registers? Is the status reported stable?

    BR,

    Steve

  • Hi Steve,

    We are using a HDMI receiver to capture video from the tvp5151. This receiver cannot detect the right details of the input signal (Htotal etc). We are using embedded syncs case.

    The tvp5151 is configured for autoswitch mode. Video standard is set on Autoswitch mode  (read 0x28 = 0x00 ). You can find here the dump of all registers:

         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 00 15 00 6f d0 00 10 60 00 80 80 00 80 47 00 0a    .?.o?.?`.??.?G.?
    10: 00 00 00 00 00 25 80 00 00 00 0c 54 00 00 00 00    .....%?...?T....
    20: 00 00 00 00 00 00 00 00 00 00 00 00 c4 8b 0f 01    ............????
    30: 00 0f 00 00 00 00 00 00 00 2e 01 00 4d 4d 5b 00    .?........?.MM[.
    40: 36 00 4d 4d 56 4d 4d 4d 4d 4d 4d 4d 3e 4d 4d 4e    6.MMVMMMMMMM>MMN
    50: 4d e0 4d 4d 4d bd 4d 4d 4d 2d 4d 4d 4d 0d 4d 4d    M?MMM?MMM-MMM?MM
    60: 00 00 00 76 4d 4d 4d 2c 4d 4d 4d d8 4d 4d 4d 6c    ...vMMM,MMM?MMMl
    70: 4d 4d 4d 4d ef 4d 4d 4d 33 4d 4d 4d d3 4d 4d 4d    MMMM?MMM3MMM?MMM
    80: 51 51 01 00 00 02 80 00 10 10 00 00 81 01 0b 01    QQ?..??.??..????
    90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    b0: e4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ?...............
    c0: 40 00 04 c5 20 00 c0 00 80 00 00 4e 00 01 01 00    @.?? .?.?..N.??.
    d0: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
    e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
    f0: ff ff ff ff ff ff ff ff ff ff ff ff 7f 00 00 00    ............?...
    

    Are we missing something ?

    Best regards,

    Sarra

  • Are you sure your HDMI transmitter is configured correctly?

    Try forcing the mode to PAL (register 28h).

    Are you able to share your schematics?

    Are you able to capture the digital 656 stream on a logic analyzer to check it? You can also try enabling the H, V & AVID signal outputs (actually, looks like already enabled from your register dump) and make sure that they are all correct and stable with an oscilloscope (trigger on one edge then zoom in on the other edge to make sure there is no jitter).

    Note: The INTREQ/GPCL/VBLK output (pin 27) must never be left floating. An external 10-kΩ pulldown resistor is required when the INTREQ/GPCL/VBLK output is disabled (bit 5 of I2C register 03h is set to 0).

    Try clearing bit 6 in register 0x0d to disable extended output range.

    Try using a difference ITU656 version specifier by changing register 0x30.

    Was this register dump taken with a video signal attached? The status registers (0x88 & 0x8C) indicates no signal present.

    BR, Steve

  • Hi Steve,

    I tried to force mode to PAL (register 28h to 0x6 or 0x4) its value change momentarily but after a while, it returns to default value (0x0).

    The same is for the output register 0x0d, i disabled the  extended coding range (0x7) but this register returns also to its default value (0x47)

    I attached the dump of registers in two different instants (when they are properly configured and when they turn back to their defaults values). Those registers dumps were taken after applying as input a video signal (PAL).

    Is this behavior considered as normal?

    Thank you in advance !

         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 00 15 00 6f d0 00 10 60 00 80 80 00 80 07 00 0a    .?.o?.?`.??.??.?
    10: 00 00 00 00 00 25 80 00 00 00 0c 54 00 00 00 00    .....%?...?T....
    20: 00 00 00 00 00 00 00 00 04 00 00 00 00 00 0f 01    ........?.....??
    30: 00 0f 00 00 00 00 00 70 61 2e 01 00 7f e1 7d 23    .?.....pa.?.??}#
    40: dc de 58 ea 5f c4 e3 26 f3 f6 4a ab 1f 71 34 21    ??X?_??&??J??q4!
    50: 74 7d 0a 60 65 7e 65 70 a6 c8 8e 9b 99 aa 55 ff    t}?`e~ep??????U.
    60: e3 6a 34 c3 9a 26 aa 6d 2b f3 d0 a3 d9 50 60 90    ?j4??&?m+????P`?
    70: 91 15 35 36 1f 6e c1 9f 4b 2f 2f 2b 79 7f 7f 7f    ??56?n??K//+y???
    80: 51 51 01 00 00 02 80 00 00 10 00 00 81 01 0b 01    QQ?..??..?..????
    90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    b0: c4 00 00 00 5d 00 00 00 00 00 00 00 00 00 00 00    ?...]...........
    c0: 41 00 04 00 20 01 44 00 02 00 00 4e 00 01 01 00    A.?. ?D.?..N.??.
    d0: 00 ff ff ff ff ff ff ff ff ff ff ff 08 ff ff ff    ............?...
    e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
    f0: ff ff ff ff ff ff ff ff 04 ff ff ff 7f 00 00 00    ........?...?...
    
    
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 00 15 00 00 dc 00 10 60 00 80 80 00 80 47 00 00    .?..?.?`.??.?G..
    10: 00 00 00 00 00 01 80 00 00 00 0c 14 00 00 00 00    .....??...??....
    20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0f 01    ..............??
    30: 00 0f 00 00 00 00 00 ab 3c 98 01 00 d6 b9 a1 e1    .?.....?<??.????
    40: ed 59 82 7f a5 24 7a 49 5a 40 c3 db a0 20 ee bf    ?Y???$zIZ@??? ??
    50: 77 4f 7b 27 66 8e 95 7d a6 33 9f 96 51 2d 78 21    wO{'f??}?3??Q-x!
    60: 18 6e 30 bb 68 f5 69 36 1b d3 f0 a9 13 11 a2 f1    ?n0?h?i6????????
    70: 9c 3d 5c 2f 10 b9 0a 66 78 e2 31 be 37 01 01 01    ?=\/???fx?1?7???
    80: 51 51 01 00 00 02 80 00 00 10 00 00 81 01 0b 01    QQ?..??..?..????
    90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    b0: c4 00 00 00 5d 00 00 00 00 00 00 00 00 00 00 00    ?...]...........
    c0: 41 00 04 00 20 01 44 00 02 00 00 4e 00 01 01 00    A.?. ?D.?..N.??.
    d0: 00 ff ff ff ff ff ff ff ff ff ff ff 08 ff ff ff    ............?...
    e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
    f0: ff ff ff ff ff ff ff ff 04 ff ff ff 7f 00 00 00    ........?...?...

    Best regards,

    Sarra


  • Once set these registers should not change.

    Can you check that there are not any spurious resets occurring and that the power supplies are stable and clean ?

    Also please check that your software is not accidentally overwriting registers.

    BR,

    Steve