Advertisement

Quick Links

.....................................................................................................................................................
The TVP5151 video decoder has an internal vertical data processor (VDP) that can be used to slice
various VBI data services such as V-Chip, Teletext (WST, NABTS), closed captioning (CC), wide screen
signaling (WSS), copy generation management system (CGMS), video program system (VPS), electronic
program guide (EPG or Gemstar), program delivery control (PDC) and vertical interval time code (VITC).
This application report provides an introduction to the VBI data slicing capabilities of the TVP5151 and
focuses on configuring the TVP5151 for the more commonly used VBI data services.
..................................................................................................................
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
1
2
3
4
5
6
7
SLEA103 - July 2010
...................................................................................................
........................................................................................................
.......................................................................................................
...................................................................................................
.................................................................................................................
................................................................................................................
............................................................................................................
......................................................................................................
2
.....................................................................................
....................................................................................
2
........................................................................................
....................................................................................
.............................................................................................................
...........................................................................................
..................................................................................................
...........................................................................................
......................................................................................................
................................................................................................
Copyright © 2010, Texas Instruments Incorporated
TVP5151 VBI Quick Start
ABSTRACT
Contents
...................................................................
.....................................................................
List of Figures
.....................................................................
List of Tables
............................................................................
....................................................................
..........................................................................
Application Report
SLEA103 - July 2010
.......................................
TVP5151 VBI Quick Start
2
4
6
7
7
8
9
10
10
12
20
21
22
3
5
6
7
11
11
2
4
6
7
9
10
10
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TVP5151 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Texas Instruments TVP5151

  • Page 1: Table Of Contents

    ..............................ABSTRACT The TVP5151 video decoder has an internal vertical data processor (VDP) that can be used to slice various VBI data services such as V-Chip, Teletext (WST, NABTS), closed captioning (CC), wide screen signaling (WSS), copy generation management system (CGMS), video program system (VPS), electronic program guide (EPG or Gemstar), program delivery control (PDC) and vertical interval time code (VITC).
  • Page 2: Introduction

    Note: This document will focus primarily on the more commonly used dedicated I C data registers. Prior to accessing the VBI sliced data, the TVP5151 must be configured for the desired VBI data service. This includes loading of the VDP Configuration RAM (C-RAM) and the Line Mode registers that are used to enable various data services.
  • Page 3: The Vdp Configuration Ram Is Loaded Prior To Line Mode Register Setup

    Introduction www.ti.com Figure 1. The VDP Configuration RAM is Loaded Prior to Line Mode Register Setup SLEA103 – July 2010 TVP5151 VBI Quick Start Copyright © 2010, Texas Instruments Incorporated...
  • Page 4: Vdp Configuration Ram

    VDP Configuration RAM The first step in configuring the TVP5151 for VBI data slicing is to load the VDP Configuration RAM (C-RAM). The C-RAM defines the data slicing modes for the various data services, with each mode having its own unique RAM address and 16 byte block of memory.
  • Page 5: Example Load Of Wss/Cgms Configuration Ram

    (a) Write 38h to register C3h. Write first byte to C-RAM address 130h. (b) Write 00h to register C3h. Write next byte to C-RAM address 131h. // TVP5151 NTSC WSS/CGMS C-RAM Load Example #define TVP5151 0xB8; // TVP5151 main I2C address byte I2C_Data;...
  • Page 6: Line Mode Registers

    FFh. A detailed description of these registers is shown in Appendix A. The TVP5151 VDP is based on an NTSC line numbering convention, resulting in a 3-line VDP offset relative to actual PAL line numbers. For PAL systems, the Line Mode register for line “N+3” must be used to configure a data service transmitted on line N of the input source.
  • Page 7: Sliced Data Retrieval

    Sliced Data Retrieval www.ti.com Sliced Data Retrieval The TVP5151 provides dedicated I C registers (see Table 4) for the retrieval of sliced data. Due to higher bandwidth requirements, teletext data is stored in a 512-byte FIFO. With all other data services, sliced data can be automatically sent to the dedicated registers or to the FIFO depending on the line mode setup.
  • Page 8: Fifo Access

    FIFO. A VDP FIFO Interrupt threshold register (C8h), FIFO word count register (C7h), and FIFO full/empty status bits (C6h) are available for managing FIFO data flow. TVP5151 VBI Quick Start SLEA103 – July 2010 Copyright © 2010, Texas Instruments Incorporated...
  • Page 9: Ancillary Data

    Fill byte makes a multiple of 4 bytes from byte zero to last fill byte. Note: The number of bytes (m) varies depending on the VBI data service. SLEA103 – July 2010 TVP5151 VBI Quick Start Copyright © 2010, Texas Instruments Incorporated...
  • Page 10: Full-Field Mode

    VBI Raw Data Mode The TVP5151 offers a VBI raw data mode for use in systems where VBI data slicing and processing is handled in the digital backend receiver instead of the video decoder. In this mode of operation, the decoders are configured to output raw 2x over-sampled luma data on the ITU-R BT.656 output during the...
  • Page 11: Line 21 Closed Caption Itu-R Bt.656 Digital Output Capture With Yuv Samples Present Raw Data Mode Disabled

    Figure 6. Line 21 Closed Caption ITU-R BT.656 Digital Output Capture in Raw Data Mode UV (Chroma) Data are Replaced with Y (Luma) Data Note: The full-scale transitions are embedded sync codes. SLEA103 – July 2010 TVP5151 VBI Quick Start Copyright © 2010, Texas Instruments Incorporated...
  • Page 12: Appendix A Subset Of The Tvp5151 Vdp I C Registers

    Appendix A Subset of the TVP5151 VDP I C Registers VDP Closed Caption Data Address 90h-93h Ready only Address Closed Caption Field 1 byte 1 Closed Caption Field 1 byte 2 Closed Caption Field 2 byte 1 Closed Caption Field 2 byte 2 These registers contain the closed caption data arranged in bytes per field.
  • Page 13 Read only Address EPG Frame Code EPG byte 1 EPG byte 2 EPG byte 3 EPG byte 4 Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved SLEA103 – July 2010 TVP5151 VBI Quick Start Copyright © 2010, Texas Instruments Incorporated...
  • Page 14 RAM for only those standards of interest. Registers D0h-FBh must all be programmed with FFh, before writing or reading the configuration RAM. Full field mode (CFh) must be disabled as well. TVP5151 VBI Quick Start SLEA103 – July 2010 Copyright © 2010, Texas Instruments Incorporated...
  • Page 15 WSS/CGMS data is available. VPS/Gemstar 2x available: VPS/Gemstar 2x data is not available. VPS/Gemstar 2x data is available. VITC available: VITC data is not available. VITC data is available. SLEA103 – July 2010 TVP5151 VBI Quick Start Copyright © 2010, Texas Instruments Incorporated...
  • Page 16 VDP, but early enough to allow the new values to be programmed before the current settings are required. TVP5151 VBI Quick Start SLEA103 – July 2010 Copyright © 2010, Texas Instruments Incorporated...
  • Page 17 FFh are sliced with the definition of register FCh. Values other than FFh in the line-mode registers allow a different slice mode for that particular line. SLEA103 – July 2010 TVP5151 VBI Quick Start Copyright © 2010, Texas Instruments Incorporated...
  • Page 18 Line 24 Field 2 Line 25 Field 1 Line 25 Field 2 Line 26 Field 1 Line 26 Field 2 Line 27 Field 1 Line 27 Field 2 TVP5151 VBI Quick Start SLEA103 – July 2010 Copyright © 2010, Texas Instruments Incorporated...
  • Page 19 This allows each VBI line to be programmed independently but have the remaining lines in full-field mode. The full-field mode register has the same bits definition as line-mode registers. (default 7Fh) SLEA103 – July 2010 TVP5151 VBI Quick Start Copyright © 2010, Texas Instruments Incorporated...
  • Page 20: Appendix B Sample Winvcc Cmd File For Vbi Setup

    // Enable FIFO access, disable ANC data WR_REG,VID_DEC,0x01,0xCB,0x4E // Set Pixel Alignment [7:0] to 4Eh WR_REG,VID_DEC,0x01,0xCC,0x00 // Set pixel Alignment [9:8] to 0 END_DATASET ///////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////// TVP5151 VBI Quick Start SLEA103 – July 2010 Copyright © 2010, Texas Instruments Incorporated...
  • Page 21: Appendix C Example Tvp5151 C Code

    Appendix C Example TVP5151 C Code // TVP5151 WSS/CGMS Example #define TVP5151 0xB8; // TVP5151 main I2C address byte I2C_RegAddress,Status; byte I2C_Data; int CRAM_Address, count; // recommended WSS/CGMS settings byte WSS_ARRAY[]={0x38,0,0x3F,0,0,0x71,0x6E,0x43,0x63,0x7C,0x08,0,0,0,0x39,0}; byte WSSData[3]; // data array for WSS/CGMS ////////////////////////////////////////////////////////////////////////////////...
  • Page 22: Appendix Dvbi Raw Data I 2 C Registers

    1011 -4 pixel clocks delay 1000 -1 pixel clocks delay 0000 0 pixel clocks delay (default) 0011 3 pixel clocks delay 0111 7 pixel clocks delay TVP5151 VBI Quick Start SLEA103 – July 2010 Copyright © 2010, Texas Instruments Incorporated...
  • Page 23 GPCL/VBLK signal when it is configured to output vertical blank (see register 03h). The setting in this register also determines the duration of the luma bypass function (see register 07h). SLEA103 – July 2010 TVP5151 VBI Quick Start Copyright © 2010, Texas Instruments Incorporated...
  • Page 24 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.

Table of Contents