tvp5151 evaluation module - texas instruments · 2011. 8. 6. · itu-rbt.656 ycbcr digital output...
TRANSCRIPT
-
TVP5151 Evaluation Module
User's Guide
Literature Number: SLEU106
November 2009
-
2 SLEU106–November 2009Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
1 Description ......................................................................................................................... 61.1 Functional Overview .................................................................................................... 6
2 Board-Level Description ...................................................................................................... 72.1 Analog Video Inputs ..................................................................................................... 72.2 Analog Component Video Output ..................................................................................... 72.3 USB Interface and Power .............................................................................................. 82.4 Board Jumpers ........................................................................................................... 82.5 Test Points ............................................................................................................... 82.6 TVP5151 Crystal Requirements ....................................................................................... 9
3 Software Installation .......................................................................................................... 103.1 Uninstalling Previous Version ........................................................................................ 103.2 TVP5151EVM Software Installation ................................................................................. 10
4 Hardware Setup ................................................................................................................. 135 VCC Operation .................................................................................................................. 14
5.1 Getting Started ......................................................................................................... 145.2 Starting the VCC Application Program .............................................................................. 145.3 VCC6 Configuration Dialog Box ..................................................................................... 145.4 USB I2C System Test .................................................................................................. 155.5 Real-Time Polling ...................................................................................................... 155.6 Main Menu .............................................................................................................. 165.7 System Initialization ................................................................................................... 165.8 Command Files ........................................................................................................ 175.9 Register Editing ........................................................................................................ 205.10 Property Sheets ........................................................................................................ 22
6 Troubleshooting the TVP5151EVM ....................................................................................... 266.1 Troubleshooting Guide ................................................................................................ 266.2 Resolving I2C Communication Problems ........................................................................... 27
7 TVP5151EVM Schematics ................................................................................................... 28
3SLEU106–November 2009 Table of ContentsSubmit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
www.ti.com
List of Figures
1 TVP5151EVM Board Layout .............................................................................................. 72 P1 Header Pinout ........................................................................................................... 93 PCB Crystal Footprint..................................................................................................... 104 TVP5151EVM Software Setup Wizard ................................................................................. 115 Select Installation Folder ................................................................................................. 116 Confirm Installation........................................................................................................ 127 Installation Complete...................................................................................................... 128 Typical Hardware Setup .................................................................................................. 139 VCC Configuration Dialog ................................................................................................ 1410 USB Error................................................................................................................... 1511 Real-Time Polling.......................................................................................................... 1512 Main Menu.................................................................................................................. 1613 System Initialization ....................................................................................................... 1714 Example CMD File ........................................................................................................ 1915 TVP5151 Register Map Editor ........................................................................................... 2016 THS8200 Register Map Editor........................................................................................... 2117 Generic I2C Register Map Editor........................................................................................ 2218 TVP5151 Analog Video Property Sheet ................................................................................ 2219 TVP5151 Video Format Property Sheet................................................................................ 2320 TVP5151 Video Decoder Status Property Sheet...................................................................... 2421 THS8200 Input Controls Property Sheet ............................................................................... 2422 TVP5151 I2C Error Report................................................................................................ 2723 THS8200 I2C Error Report................................................................................................ 2724 USB Link Error ............................................................................................................. 2725 Schematic - Power ........................................................................................................ 2926 Schematic - YPbPr Out ................................................................................................... 3027 Schematic - Video In ...................................................................................................... 31
4 List of Figures SLEU106–November 2009Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
www.ti.com
List of Tables
1 Jumper Settings ............................................................................................................. 82 Test Points ................................................................................................................... 83 Main Menu Summary ..................................................................................................... 164 Register Map Editor Controls ............................................................................................ 205 Use of Property Sheet Controls ......................................................................................... 236 Property Sheet Button Controls ......................................................................................... 237 Troubleshooting Guide.................................................................................................... 26
5SLEU106–November 2009 List of TablesSubmit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
User's GuideSLEU106–November 2009
TVP5151 Evaluation Module
1 Description
The TVP5151EVM is a four-layer printed circuit board designed for evaluation of the TVP5151PAL/NTSC/SECAM video decoder. A THS8200 triple DAC is included on the circuit board to convert theITU-R BT.656 YCbCr digital output from the TVP5151 to YPbPr component video. Two composite video(CVBS) input connectors and one YPbPr component video output connector are provided on the board forinput and output connections. I2C communication with the EVM is provided by a host PC USB port and theVCC (Video Control Center) software tool provided with the EVM. All required power for TVP5151EVM issupplied by the USB port. This user's guide outlines the necessary hardware and software setup requiredto provide full evaluation of the TVP5151.
1.1 Functional Overview
The TVP5151EVM uses a host PC USB port to emulate the I2C bus, providing communication with theTVP5151 video decoder and the THS8200 encoder. The VCC application software provided on theTVP5151EVM CR-ROM communicates with the devices via the PC USB port.
The analog video inputs supported by the TVP5151AEVM include two composite video inputs. In general,the video decoder converts the analog video input signal into 8-bit ITU-R BT.656 YCbCr digital componentdata. This data and the associated clock from the video decoder are sent to the THS8200 for conversionto analog YPbPr component video.
To experiment with the programmable features of the TVP5151 video decoder and the THS8200, the USBport of the TVP5151EVM is connected to the USB port of a PC. VCC, a Windows™ compatibleapplication, provides the user interface for performing register-level and high-level control of the TVP5151video decoder and the THS8200 encoder DAC. A PAL or NTSC composite video source and a monitorcapable of displaying YPbPr component video are required for evaluation.
6 TVP5151 Evaluation Module SLEU106–November 2009Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
THS8200
TUSB3210
USB/I2C
USB
TVP5151
CVBS1
YPbPr
Output
RESET
J9
LED
LED
USB Link
5VDC
3.3V
Pb
Y
Pr
CVBS2
1.8V
CH1
CH2
SDA
SCLGND
P1
J6
J1
B8h
BAh
PWD
I2CA
USB 3.3V
NORMAL
J10
TP5
R1
R2
D1
5VDC
TP2
GND
AGND
TP18
TP17
www.ti.com Board-Level Description
2 Board-Level Description
Figure 1 illustrates the primary components on the TVP5151EVM.
Figure 1. TVP5151EVM Board Layout
2.1 Analog Video Inputs
Two RCA video connectors are provided for connecting NTSC or PAL composite video sources to theTVP5151EVM. CH1 is connected to the AIP1A input of the TVP5151, while CH2 is connected to theAIP1B input. Both video inputs pass through anti-alias filters, termination resistors, and AC couplingcapacitors prior to connecting to the TVP5151 input. CH1 is the default channel selected by the TVP5151input MUX and EVM software and is the recommended input when connecting a single video source.S-video can be supported by connecting the Y (luminance) input to CH1 and the C (chrominance) input toCH2.
2.2 Analog Component Video Output
RCA connectors are provided for connecting the YPbPr component video output to a suitable monitor. Thecomponent video outputs are driven by the THS8200 DAC through filters similar to those used for thecomposite video inputs. The THS8200 output and filters are designed for a 75-Ω video load. When viewingthe outputs on an oscilloscope, the component video outputs must be properly terminated with 75 Ω forcorrect output levels. Composite video out is not supported with the TVP5151EVM.
7SLEU106–November 2009 TVP5151 Evaluation ModuleSubmit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
Board-Level Description www.ti.com
2.3 USB Interface and Power
A USB cable must be connected between the host PC and TVP5151EVM. The USB interface cableprovides the I2C communication required to program the TVP5151 and THS8200 and also provides the5-V power required for the TVP5151EVM. An optional power jack (J1) is provided on the board to allowuse of a separate power supply if desired. If a separate 5-V power supply is used, R1 and R2 must beremoved from the TVP5151EVM and D1 installed. The USB interface circuitry remains powered by theUSB interface, if this separate supply is used. Voltage regulators on the EVM are used to generate the1.8-V and 3.3-V levels required for the components on the board. LEDS are included on the board toindicate the presence of 5-V power and USB connectivity.
2.4 Board Jumpers
The TVP5151 provides support for either 1.8-V or 3.3-V I/O levels. The I/O levels used by theTVP5151EVM can be selected by moving the 0-Ω SMT resistor at J2. The EVM is shipped from thefactory with 3.3-V I/O selected. The J2 setting affects all digital I/O levels on the TVP5151EVM, includingthe TVP5151, THS8200, I2C, and RESET.
The J7 power-down jumper can be used to place the TVP5151 in a low-power state. In this power-downstate, the TVP5151 I2C is not functional. See Table 1 for a summary of jumper options.
Table 1. Jumper Settings
Jumper Function Default Setting CommentDesignator
Selects TVP5151, THS8200, and I2C I/O levels, 0-ΩJ2 1.8-V/3.3-V I/O select 3.3-V SMTJ6 TVP5151 I2CA select B8h TVP5151 I2C address, 0-Ω SMT
1-2, normalJ7 TVP5151 power down I2C disabled during power downoperation
J9 Reserved for test Installed Must be installed for USB I2C functionality
J10 Analog/digital GND connection Installed 0-Ω SMTJ11 Analog/digital GND connection Not installed Optional
2.5 Test Points
Test points are provided on the TVP5151EVM to assist in evaluation of the TVP5151. All TVP5151 digitaloutputs are brought out to the P1 dual row header that can be used for testing and external connections.See Table 2 and Figure 2 for available test points.
Table 2. Test Points
Test Point Function CommentDesignator
TP1 3.3 V Main 3.3-V supply for the board
TP2, TP19 DGND Digital ground
TP3 1.8 V Main 1.8-V supply for the board
TP5 AGND Analog ground
TP17 SDA I2C data
TP18 SCL I2C clock
8 TVP5151 Evaluation Module SLEU106–November 2009Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
P11
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
GND
SCLK
GND
GND
GND
INTREQ/GPCL/VBLK
AVID/CLK_IN
HS
VS
FID/GLCO
GND
GND
C62
Y1
Y3
R23 C59
4.5mm
1.35mm
Bottom Side
www.ti.com Board-Level Description
Figure 2. P1 Header Pinout
2.6 TVP5151 Crystal Requirements
The TVP5151EVM is shipped from the factory with a 5.0-mm x 3.2-mm 27-MHz crystal installed. Anadditional footprint is also included on the PCB (see Figure 3) for evaluation of smaller 2.0-mm x 1.6-mmcrystals. This smaller crystal is a 4-pin device and must be oriented correctly on the EVM. C62 and C59are load capacitors for the crystal and must be sized according to the specification of the crystal used. TheTVP5151EVM is shipped from the factory with 33-pF load capacitors installed in support of the crystalused. The frequency stability of the crystal used must be within ±50 ppm.
The TVP5151 also supports the use of a 27-MHz oscillator or clock source via connections to either theXTAL1/OSC or AVID_CLK_IN pins. 1.8-V logic levels must be used when connecting a clock source tothe XTAL1/OSC pin of the TVP5151. Clock sources with 3.3-V output levels are supported by theAVID/CLK_IN pin, but only when jumper J2 is configured for 3.3-V I/O. Additionally, the XTAL1/OSC pinmust be tied to GND to activate AVID/CLK_IN clock functionality. The XTAL1/OSC pin can be groundedby replacing C62 with a 0-Ω resistor.
Figure 3. PCB Crystal Footprint
9SLEU106–November 2009 TVP5151 Evaluation ModuleSubmit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
Software Installation www.ti.com
3 Software Installation
This section summarizes the steps for setup and operation of the TVP5151EVM. If TVP5151EVM softwarehas been previously installed on the PC, you will be prompted to first uninstall the previous version.
3.1 Uninstalling Previous Version
To uninstall a previous version of TVP5151EVM software:
1. Click Start > Control Panel > Add or Remove Programs; wait for the list to populate.2. Find and select "TVP5151EVM Software".3. Click the remove button.4. When prompted with "Are you sure you want to remove the TVP5151EVM Software from your
computer?", click Yes.
3.2 TVP5151EVM Software Installation
The TVP5151EVM Software package includes the Windows Control Center (VCC) application, deviceinitialization files, and documentation. This must be installed from the enclosed CD-ROM onto the PC thatwill be used to control the TVP5151EVM via the PC USB port.
To install the software:
1. Insert the CD-ROM into the computer that will emulate the I2C bus via the USB port.2. Run SETUP.EXE to install TVP5151EVM software and documentation.3. Click Next at all prompts and click Finish to complete the installation process (see Figure 4 through
Figure 7).
Figure 4. TVP5151EVM Software Setup Wizard
10 TVP5151 Evaluation Module SLEU106–November 2009Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
www.ti.com Software Installation
Figure 5. Select Installation Folder
Figure 6. Confirm Installation
11SLEU106–November 2009 TVP5151 Evaluation ModuleSubmit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
Software Installation www.ti.com
Figure 7. Installation Complete
Documentation and a shortcut to the TVP5151EVM VCC application are installed in the Windows Startmenu at:
Start > All Programs > TVP5151EVM > TVP5151EVM User GuideStart > All Programs > TVP5151EVM > TVP5151EVM Software
12 TVP5151 Evaluation Module SLEU106–November 2009Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
THS8200TVP5151
USB
TV
Monitor
ITU BT.656
Host PC
I2C
NTSC/PAL
Video source
Pr
CH1
Y
Pb
CH2
www.ti.com Hardware Setup
4 Hardware Setup
Figure 8 shows a typical TVP5151EVM setup used for evaluation.
Required Equipment
• TVP5151EVM• NTSC or PAL composite video source such as a test generator or DVD• Composite video cable• USB cable• YPbPr component video cable• NTSC or PAL monitor with YPbPr component input• Host PC with TVP5151EVM software installed
To prepare the EVM for evaluation, connect the following:
• USB cable from the host PC to the TVP5151EVM• Analog composite video source to CH1 of the TVP5151EVM• Analog component video output to an NTSC or PAL compatible monitor.
Figure 8. Typical Hardware Setup
13SLEU106–November 2009 TVP5151 Evaluation ModuleSubmit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
VCC Operation www.ti.com
5 VCC Operation
This section describes operation of the TVP5151EVM VCC6 software.
5.1 Getting Started
After software installation (see Section 3) and hardware configuration (see Section 4) have beencompleted, VCC may be started for evaluation of the TVP5151EVM.
5.2 Starting the VCC Application Program
The VCC6 (Windows™ Video Control Center) application program must have been previously installed onthe PC. Run VCC6 from the Windows Start Menu:
Start > Programs > TVP5151EVM > TVP5151EVM Software
5.3 VCC6 Configuration Dialog Box
The VCC Configuration dialog box, as shown in Figure 9, should now be visible. All settings from thisdialog box are stored in the Windows registry and are restored the next time the program is started. Afterinitial installation, VID_DEC should be set to TVP5151 and the THS8200 selected for DAC output.
The I2C slave addresses for each device must match the I2C slave address configured on theTVP5151EVM. This TVP5151EVM is configured by the factory to use I2C address B8h for the TVP5151and 40h for the THS8200.
It is important to select the correct specific device type. TVP5151 and THS8200 must be selected for theTVP5151EVM.
Figure 9. VCC Configuration Dialog
Click on OK to proceed and begin USB I2C communication with the selected devices.
14 TVP5151 Evaluation Module SLEU106–November 2009Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
www.ti.com VCC Operation
5.4 USB I2C System Test
If a message occurs indicating that the USB device was not found (see Figure 10), disconnect the USBcable, wait three seconds, reconnect the USB cable, and click Continue.
Figure 10. USB Error
If the USB device is still not found, see Section 6. If the USB link is functioning properly the Real-TimePolling dialog box shown in Figure 11 appears.
5.5 Real-Time Polling
If the USB link is functioning properly, the Real-Time Polling dialog box in Figure 11 appears. Whenreal-time polling is enabled, VCC monitors the composite input format and automatically programs theTHS8200 when the input format changes.
Figure 11. Real-Time Polling
When enabled, real-time polling provides polling functions that continuously execute in the background.When TVP5151 detects a change in the input video standard, it automatically switches to operation in thedetected standard (which includes all necessary I2C register initialization) for proper decoding of the inputvideo. To enable auto-switch on the TVP5151, the Set Video Standard register must be set to auto-switchmode (register 0x28 = 0x00).
If the VCC auto-switch polling function is enabled, the detected video standard status from the TVP5151 ispolled until a change in the input video standard is detected. When a change is detected, the THS8200 isreprogrammed as needed for the detected standard. Using this feature, the video source can change itsvideo standard and the system displays using the new standard without user intervention.
To enable auto-switch polling (recommended), the video-standard auto-switch polling function must beenabled in the real-time polling dialog (see Figure 11). The real-time polling dialog can also be accessedwhen VCC is running by clicking Real-Time Polling in the Tools menu.
Click on OK to proceed with Real-Time Polling enabled.
15SLEU106–November 2009 TVP5151 Evaluation ModuleSubmit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
VCC Operation www.ti.com
5.6 Main Menu
After closing the real-time polling dialog, the Main Menu is displayed as shown in Figure 12. The menus,which are used to operate VCC, are File, Edit, Tools, Window, and Help. The File menu’s only function isExit, which terminates the program. Table 3 is a summary of the main menu contents.
Figure 12. Main Menu
Table 3. Main Menu Summary
Menu Contents
File Exit VCC6
Edit Register Map Editor
Property Sheets
Tools System Initialization
Real-time Polling
USB/LPT I2C Options
Window Allows selection of the active window. Multiple windows can be open at the same time.Initially the Window menu is empty.
Help About VCC
5.7 System Initialization
Clicking System Initialization in the Tools menu displays the dialog shown in Figure 13. This provides themeans for initializing the video decoder and/or video encoder for a particular video mode. The details ofthe initialization are contained in the command file (with a CMD file extension).
The command file is opened using the Browse... button. Once the command file is opened, a text listdisplays descriptions of the individual "data sets" contained within the command file.
Click once on the desired data set description to select it. Click the Program Device(s) Using SelectedDataset button to run the selected data set, which loads the devices via the I2C bus. When the deviceinitialization has completed, the status indicator reads Ready.
NOTE: If Ready does not display, then the devices are not initialized and the I2C bus is notcommunicating. See Section 6 for a solution.
Click the OK button to close the dialog box.
16 TVP5151 Evaluation Module SLEU106–November 2009Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
www.ti.com VCC Operation
Figure 13. System Initialization
5.8 Command Files
The command file is a text file which can be generated using any common editor; however, it must besaved as plain text. Command files are especially useful for testing and comparing various changes in thedevice setup.
A default command file, which should contain most of the desired setups, has been installed with the EVMsoftware. After installation, when the system initialization tool is opened, the default command file isselected. This command file is located at:
C:\Program Files\Texas Instruments\TVP5151EVM\Initialization\TVP5151EVM_Setup.cmd
A command file can contain up to 250 data sets. A data set is a set of register settings to initialize thevideo decoder and/or video encoder for a particular video mode. Each data set includes a description thatis displayed in one row of the dataset descriptions list. The register settings may be located in thecommand file itself and/or may be stored in separate include file(s) (with an INC file extension) and beincluded into the command file using the INCLUDE statement.
5.8.1 Example Command File
An example of one data set within a command file is shown in Figure 14. Each command file may containindividual write to register (WR_REG) commands or include these commands from a separate INC file orboth. The purpose of the INCLUDE feature is to avoid repeating a long list of register settings many timesin a command file and having to maintain that list.
Command File Syntax1. The comment indicator is the double-slash "//".2. The command file is not case-sensitive and ignores all white-space characters.3. All numbers can be entered as hexadecimal (beginning with 0x) or as decimal.4. Every data set in a command file begins with BEGIN_DATASET and ends with END_DATASET. The
maximum number of data sets is 250.
17SLEU106–November 2009 TVP5151 Evaluation ModuleSubmit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
VCC Operation www.ti.com
5. The data set text description is entered between double quotes using the DATASET_NAME command.The enclosed text can be up to 128 characters in length. This text appears in the system initializationdialog when the command file is opened.
6. The INCLUDE command inserts the contents of an include file (with an INC file extension) in-line inplace of the INCLUDE command. Therefore, the include file should not contain the BEGIN_DATASET,END_DATASET, and DATASET_NAME commands.
7. The write to register command is written as follows:WR_REG, , , , ,…,orWR_REG,,,, ,…,
8. The valid device family mnemonics are:VID_DEC for the video decodersTHS8200 for the THS8200 device
9. VCC6 translates the device family mnemonic to the slave address that was selected on the VCC6configuration dialog upon program startup. This eliminates having to edit command files if the alternateslave address must be used.
10. If the literal slave address method is used, the slave address entered is used directly.11. A delay may be inserted between commands using the WAIT command:
WAIT,
NOTE: All included files must be located in the same directory as the command (CMD) file.
BEGIN_DATASET
DATASET_NAME, "NTSC in, 480i60 YPbPr out"//TVP5151WR_REG,VID_DEC,1,0x03,0x69 // GPCL HIGH, YUV output enableWR_REG,VID_DEC,1,0x07,0x20 // Pestal control on
//THS8200WR_REG,THS8200,0x01,0x03,0x11 // chip_ctlWR_REG,THS8200,0x01,0x1C,0x04 // dman_cntlWR_REG,THS8200,0x01,0x1D,0x00 // dtg_y_sync1WR_REG,THS8200,0x01,0x1E,0x49 // dtg_y_sync2WR_REG,THS8200,0x01,0x1F,0x00 // dtg_y_sync3WR_REG,THS8200,0x01,0x20,0x00 // dtg_cbcr_sync1WR_REG,THS8200,0x01,0x21,0x00 // dtg_cbcr_sync2WR_REG,THS8200,0x01,0x22,0x00 // dtg_cbcr_sync3WR_REG,THS8200,0x01,0x23,0x22 // dtg_y_sync_upperWR_REG,THS8200,0x01,0x24,0x2A // dtg_cbcr_sync_upperWR_REG,THS8200,0x01,0x25,0x3E // dtg_spec_aWR_REG,THS8200,0x01,0x26,0x14 // dtg_spec_bWR_REG,THS8200,0x01,0x27,0x1E // dtg_spec_cWR_REG,THS8200,0x01,0x28,0x79 // dtg_spec_dWR_REG,THS8200,0x01,0x29,0x00 // dtg_spec_d1WR_REG,THS8200,0x01,0x2A,0x00 // dtg_spec_eWR_REG,THS8200,0x01,0x2B,0x01 // dtg_spec_h_msbWR_REG,THS8200,0x01,0x2C,0x6B // dtg_spec_h_lsbWR_REG,THS8200,0x01,0x2D,0x03 // dtg_spec_i_msbWR_REG,THS8200,0x01,0x2E,0x1B // dtg_spec_i_lsbWR_REG,THS8200,0x01,0x2F,0x11 // dtg_spec_k_lsbWR_REG,THS8200,0x01,0x30,0x00 // dtg_spec_k_msbWR_REG,THS8200,0x01,0x31,0x0A // dtg_spec_k1WR_REG,THS8200,0x01,0x32,0xAD // dtg_speg_g_lsbWR_REG,THS8200,0x01,0x33,0x01 // dtg_speg_g_msbWR_REG,THS8200,0x01,0x34,0x03 // dtg_total_pixel_msbWR_REG,THS8200,0x01,0x35,0x5A // dtg_total_pixel_lsb
18 TVP5151 Evaluation Module SLEU106–November 2009Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
www.ti.com VCC Operation
WR_REG,THS8200,0x01,0x36,0x00 // dtg_linecnt_msbWR_REG,THS8200,0x01,0x37,0x01 // dtg_linecnt_lsbWR_REG,THS8200,0x01,0x38,0x84 // dtg_modeWR_REG,THS8200,0x01,0x39,0x21 // dtg_frame_field_msbWR_REG,THS8200,0x01,0x3A,0x0D // dtg_frame_size_lsbWR_REG,THS8200,0x01,0x3B,0x07 // dtg_field_size_lsbWR_REG,THS8200,0x01,0x3C,0x80 // dtg_vesa_cbar_sizeWR_REG,THS8200,0x01,0x41,0x40 // csm_clip_gy_lowWR_REG,THS8200,0x01,0x42,0x40 // csm_clip_bcb_lowWR_REG,THS8200,0x01,0x43,0x40 // csm_clip_rcr_lowWR_REG,THS8200,0x01,0x44,0x53 // csm_clip_gy_highWR_REG,THS8200,0x01,0x45,0x3F // csm_clip_bcb_highWR_REG,THS8200,0x01,0x46,0x3F // csm_clip_rcr_highWR_REG,THS8200,0x01,0x47,0x40 // csm_shift_gyWR_REG,THS8200,0x01,0x48,0x40 // csm_shift_bcbWR_REG,THS8200,0x01,0x49,0x40 // csm_shift_rcrWR_REG,THS8200,0x01,0x4A,0xFC // csm_mult_gy_msbWR_REG,THS8200,0x01,0x4B,0x44 // csm_mult_bcb_rcr_msbWR_REG,THS8200,0x01,0x4C,0xAC // csm_mult_gy_lsbWR_REG,THS8200,0x01,0x4D,0x91 // csm_mult_bcb_lsbWR_REG,THS8200,0x01,0x4E,0x91 // csm_mult_rcr_lsbWR_REG,THS8200,0x01,0x4F,0xFF // csm_modeWR_REG,THS8200,0x01,0x70,0x40 // dtg_hlength_lsbWR_REG,THS8200,0x01,0x71,0x03 // dtg_hdly_msbWR_REG,THS8200,0x01,0x72,0x59 // dtg_hdly_lsbWR_REG,THS8200,0x01,0x73,0x04 // dtg_vlength_lsbWR_REG,THS8200,0x01,0x74,0x00 // dtg_vdly_msbWR_REG,THS8200,0x01,0x75,0x04 // dtg_vdly_lsbWR_REG,THS8200,0x01,0x76,0x04 // dtg_vlength2_lsbWR_REG,THS8200,0x01,0x77,0x01 // dtg_vdly2_msbWR_REG,THS8200,0x01,0x78,0x0B // dtg_vdly2_lsbWR_REG,THS8200,0x01,0x79,0x00 // dtg_hs_in_dly_msbWR_REG,THS8200,0x01,0x7A,0x44 // dtg_hs_in_dly_lsbWR_REG,THS8200,0x01,0x7B,0x00 // dtg_vs_in_dly_msbWR_REG,THS8200,0x01,0x7C,0x00 // dtg_vs_in_dly_lsbWR_REG,THS8200,0x01,0x82,0x27 // pol_cntl
END_DATASET
Figure 14. Example CMD File
5.8.2 Adding a Custom Data Set to a CMD File
To create a custom dataset, program the EVM via the system initialization tool using the factory-suppliedcommand file. Through the property sheets tool or I2C Register Map Editor you can then customize thedevice register settings to suit your needs and save the settings as a new dataset. To save your customsettings:
1. Open the System Initialization dialog via the Tools menu.2. Click Append Current Device Settings to Command File. A dialog requesting a description on the new
data set appears.3. Optionally, click the dropdown box and select one of the existing descriptions.4. Modify the description text or type a new description.5. Click OK. All non-default register values are read from the TVP5151 and THS8200 and are appended
to the current command file as an additional data set.6. Select the custom data set and press the Program button to send.
19SLEU106–November 2009 TVP5151 Evaluation ModuleSubmit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
VCC Operation www.ti.com
5.9 Register Editing
The next sections describe the two available modes of register editing: register map editors and propertysheets. Each of these functions can be selected from the Edit menu.
5.9.1 TVP5151 Register Map Editor
The register map editor, as shown in Figure 15, allows the display and editing of the entire used registerspace of the device within a simple scrolling text box. To open this, click on Edit Register Map in the Editmenu and click on the device type to edit. Table 4 describes how to use each of the controls in theregister map editor.
Figure 15. TVP5151 Register Map Editor
Table 4. Register Map Editor Controls
Control Definition
Register Window Scrolling text box that displays the address and data for the I2C registers that are defined for the device.
This contains the I2C subaddress that is accessed using the Write and Read buttons. Clicking on a rowselects an address, which then appears in the address edit box.NOTE: After clicking on a row, the Data Edit Box contains the data that was in the register window. This datamay not correspond to the actual data in the device (until Read or Read All is clicked).Address Edit Box The address up/down arrows are used to jump to the next/previous subaddress that is defined for thedevice.NOTE: If an address is not defined for the device, it can still be accessed by typing the subaddress in theAddress Edit Box.
This contains the data to be written to or read from the I2C subaddress.Data Edit Box The data up/down arrows increases / decreases the data value by 1.
Writes the byte in the Data Edit Box to the address in the Address Edit box.Write Button The I2C register is written to whether or not the data is different from the last time the register was read.
Read Button Reads the data from the address in the Address Edit Box into the Data Edit box and the register window.
Read All Button Reads all defined readable registers from the device and updates the register window.
Hex Button Displays all values in the register window and address and data edit boxes in hexadecimal format.
Dec Button Displays all values in the register window and address and data edit boxes in decimal format.
Closes the dialog.Close Button NOTE: Multiple edit register map windows can be open at the same time (one for each device). Use the
Window menu to navigate.
Causes subsequent write or read operations to be performed N times. N is entered as a decimal numberLoop Count from 1 to 999.
Opens the indirect register editor of the TVP5151.
20 TVP5151 Evaluation Module SLEU106–November 2009Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
www.ti.com VCC Operation
NOTE: To save current register settings to a file, check the Histogram Enable check box and clickRead All. Click Show to view the saved file.
5.9.2 THS8200 Register Map Editor
The THS8200 register editor, as shown in Figure 16, allows the display and editing of the THS8200registers. This editor works like the TVP5151 editor.
To open this, click on Edit Register Map in the Edit menu and click on THS8200.
Figure 16. THS8200 Register Map Editor
5.9.3 Generic I2C Register Editor
The Generic I2C Editor, as shown in Figure 17, allows the display and editing of any device on the I2Cbus. This editor works like the Register Map Editor, except that the I2C slave address must be entered andthe Read All button is disabled.
To open this, click on Edit Register Map in the Edit menu and then click on Generic I2C.
The Generic I2C Editor can be used to communicate with other devices that can be connected toTVP5151EVM I2C bus.
21SLEU106–November 2009 TVP5151 Evaluation ModuleSubmit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
VCC Operation www.ti.com
Figure 17. Generic I2C Register Map Editor
5.10 Property Sheets
The property sheets represent the register data in a user-friendly format. The data is organized byfunction, with each function having its own page and being selectable via tabs at the top (see Figure 18).
To open this, click on Edit Property Sheets in the Edit menu and select the device type to edit.
When the property sheet function is started, or whenever you tab to a different page, all readable registersin the device are read from hardware to initialize the dialog pages. Values on the page are changed bymanipulating the various dialog controls as described in Table 5.
There are OK, Cancel, and Apply buttons at the bottom of each property page. These are explained inTable 6.
Figure 18. TVP5151 Analog Video Property Sheet
22 TVP5151 Evaluation Module SLEU106–November 2009Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
www.ti.com VCC Operation
Table 5. Use of Property Sheet Controls
Dialog Control What Do I Do With It? When is Hardware Updated?
Read-only edit box Read status information N/A
Check box Toggle a single bit After Apply
Dropdown list Select from a text list After Apply
Edit box Type a number After Apply
Up/Down arrows: ImmediatelyEdit box with up/down arrows Use up/down arrows or type a number Type a number: After Apply
Slider Slide a lever Immediately
Push button Initiate an action Immediately
Table 6. Property Sheet Button Controls
Button DefinitionControl
Writes to all writeable registers whose data has changed. A register is flagged as changed if the value to bewritten is different from the value last read from that address.OKCloses the dialog.
Causes all changes made to the property page since the last Apply to be discarded. Changes made to dialogcontrols with immediate hardware update are not discarded, since they have already been changed in hardware.
Cancel Does not write to hardware.
Closes the dialog.
Writes to all writeable registers whose data has changed. A register is flagged as changed if the value to beApply written is different from the value last read from that address.
To enable multi-standard auto switching, select multi-standard mode and uncheck the formats that youwant to include (see Figure 19).
Figure 19. TVP5151 Video Format Property Sheet
Vertical lock, horizontal lock, color lock, and the detected video standard can all be observed with theTVP5151 Video Decoder Status Property Sheet (see Figure 20).
23SLEU106–November 2009 TVP5151 Evaluation ModuleSubmit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
VCC Operation www.ti.com
Figure 20. TVP5151 Video Decoder Status Property Sheet
The THS8200 Input Controls Property Sheet can be used to check the output format being received fromthe TVP5151 (see Figure 21). Pixel Count and Line Count are the total pixels per line and total lines perframe received from the TVP5151. Clicking on the RESET button followed by Read All ensures a currentFormat Detection Status reading. The THS8200 Digital Input Format must be left set to ITU-R BT.656 andthe Timing Source must be left set to Embedded for proper operation.
Figure 21. THS8200 Input Controls Property Sheet
24 TVP5151 Evaluation Module SLEU106–November 2009Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
www.ti.com VCC Operation
5.10.1 Property Sheet Refresh
The TVP5151 property sheets were designed so that the data displayed is always current. Certain actionscause the entire register map to be read from the device and to update the property sheets. This happenswhen:
• Property sheets are initially opened.• When tabbing from one page to another.• When Read All is clicked.• When making the Property Sheets window the active window (by clicking on it).• When making a register map editor window the active window.
5.10.2 Auto-Update When Activating Windows
When you open both the property sheets and the register map editor at the same time, changes made tothe property sheets (and applied) are updated in the register map window as soon as the register mapwindow is clicked on. It also works the other way; changes made in the register map editor are updated inthe property sheets as soon as the property sheets window is clicked on.
5.10.3 Property Page Auto Update
When the video decoder Video Format page is showing and the property sheets window is the activewindow and the Auto Update button on that page is enabled (default), the TVP5151 register map is readcontinuously and the status controls on that page are continuously updated.
25SLEU106–November 2009 TVP5151 Evaluation ModuleSubmit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
Troubleshooting the TVP5151EVM www.ti.com
6 Troubleshooting the TVP5151EVM
This section discusses ways to troubleshoot the TVP5151EVM.
6.1 Troubleshooting Guide
If you are experiencing problems with the TVP5151EVM hardware or the VCC6 software, see Table 7 foravailable solutions.
Table 7. Troubleshooting Guide
Symptom Cause Solution
Go to Edit>Property Sheets>TVP5151, input selection/AGC page, selectWrong video input is selected. the correct video input(s), and click Apply. (CH1 is selected by default.)
Source is connected to the wrong Connect source to the correct input connector.input connector.
YCbCr outputs or clock output is Go to Edit>Property Sheets>TVP5151, output page, check enable YCbCrdisabled. outputs and enable clock outputs, and click Apply.
Component output cable improperlyBlank screen Check cable with direct video connection to the monitor.connected to the monitor
The monitor being used does not Verify cables and monitor operation by connecting the signal sourcesupport the video format being directly to the display.used.
Auto-switch not functioning See Auto-switch issues below.
Damaged RCA connector or PCB Check signal traces to and from RCA connectors for damage.trace
Incorrect video format selected. See Auto-switch issues below.No color
Color burst input issue Check composite signal input levels.
Go to Edit>Property Sheets>TVP5151, output page, set the YCbCr outputScreen colors are only magenta Wrong YCbCr output format. format to 8-bit 4:2:2 YCbCr w/ITU-R BT.656 embedded sync mode andand green. click Apply. Check THS8200 Input Format setting.
Auto-switch masks are not set Go to Edit>Property Sheets>TVP5151, mode selection, uncheck allcorrectly. standards to be included in auto-switch processing, and click Apply.Video standard auto-switch does
not work on the video decoder side. Video decoder is not in auto-switch Go to Edit>Property Sheets>TVP5151, mode selection page, set themode. drop-down box to multi-standard and click Apply.
Video standard auto-switch does Auto-switch polling is not enabled. Click real-time polling in the Tools menu. Click Enable All and OK.not work on the video encoder side.
TVP5151 I2C slave address is Make sure the TVP5151 I2C slave address selected at start-up is correct.wrong.
THS8200 I2C slave address is Make sure the THS8200 I2C slave address selected at start-up is correct.wrong.
USB cable is not connected from Connect cable and make sure the USB Link LED indicator is lit.TVP5151EVM to the host PC.USB: I2C error code 1 EVM has been modified for use Make sure that the 5V LED indicator is lit indicating the presence of 5Vwith a separate 5V power supply power.that is not connected.
TVP5151 was placed in Place J7 jumper in Normal position.power-down mode.
EVM was configured for an externalReinstall 0-Ω resistors R131 and R132.
I2C master.
J9 jumper not installed. USB cable Install jumper and disconnect/reconnect USB cable. USB Link LED shouldUSB: Device not found is not connected. be on.
USB: Invalid response code receive Multiple instances of VCC are Close all but one VCC instance.form device running.
Multiple instances of VCC areErratic or inconsistent I2C register Close all but one VCC instance.running.read back.
Attach USB cable and exit or use the Windows Task Manager to endCan't exit VCC USB cable has been removed. VCC.
YPbPr output levels are distorted Improper video termination at the Install 75-Ω termination resistor at the oscilloscope input.and too high. oscilloscope.
Bad cable or damaged RCA Check cable with direct connect to the monitorconnectorNo red or blue color displayedBroken PCB trace Check signal path and traces connecting to the YPbPr connector.
26 TVP5151 Evaluation Module SLEU106–November 2009Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
www.ti.com Troubleshooting the TVP5151EVM
6.2 Resolving I2C Communication Problems
When VCC is started, and the VCC Configuration dialog box is closed with OK, a USB I2C functionalitytest is performed. If the I2C system test fails, a dialog box like Figure 22 appears. This figure reports thatan I2C read from the TVP5151 failed, using slave address 0xBA, subaddress 0x00.
Similarly, a dialog box like Figure 23 appears if there are I2C communication problems with the THS8200.If either of these dialog boxes appears, click on Exit Program. Restart VCC and ensure that the I2Caddresses are set to the correct address. The hardware default addresses are 0xB8 and 0x40 for theTVP5151 and THS8200, respectively.
Figure 22. TVP5151 I2C Error Report
Figure 23. THS8200 I2C Error Report
If a dialog box similar to Figure 24 appears, check the USB cable connection and the USB Link LED onthe TVP5151EVM. The USB Link LED is lit if a valid USB link is established. Press the Continue buttonafter the USB link is established.
Figure 24. USB Link Error
27SLEU106–November 2009 TVP5151 Evaluation ModuleSubmit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
5 5
4 4
3 3
2 2
1 1
DD
CC
BB
AA
1.8
V
3.3
V5
V
AV
DD
3.3
V_
DA
C
IOV
DD
RE
SE
TB
DV
DD
1.8
V_
DA
C
VD
LL
1.8
V_
DA
C
AV
DD
1.8
V_
TV
P
DV
DD
1.8
V_
TV
P
5V
_U
SB
PL
L1
.8V
_T
VP
5V
IOV
DD
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
AG
ND
AG
ND
DG
ND
DG
ND
Title
Siz
eD
ocu
me
nt
Nu
mb
er
Re
v
Da
te:
Sh
ee
tof
<D
oc>
2.0
TV
P5
15
0/1
EV
M-
Po
we
r
B
14
We
dn
esd
ay,
Ju
ne
10
,2
00
9
Title
Siz
eD
ocu
me
nt
Nu
mb
er
Re
v
Da
te:
Sh
ee
tof
<D
oc>
2.0
TV
P5
15
0/1
EV
M-
Po
we
r
B
14
We
dn
esd
ay,
Ju
ne
10
,2
00
9
Title
Siz
eD
ocu
me
nt
Nu
mb
er
Re
v
Da
te:
Sh
ee
tof
<D
oc>
2.0
TV
P5
15
0/1
EV
M-
Po
we
r
B
14
We
dn
esd
ay,
Ju
ne
10
,2
00
9
3.3
V
DG
ND
1.8
V
3.3
V
1.8
V
Mounting
Hole
s
3.3
V o
r 1.8
V I/O
opera
tion c
an b
e s
ele
cted
by
inst
alli
ng a
0 o
hm
resi
stor
in the a
ppro
pia
te J
2 p
osi
tion.
3.3
V I/O
must
be u
sed if
the
TV
P5150A
M1 is
use
d o
n this
board
.
R1 a
nd R
2 m
ust
be in
stalle
d if
US
B p
ow
er
is u
sed to p
ow
er
the e
ntir
e b
oard
.
Rem
ove
R1 a
nd R
2 a
nd in
stall
D1 to
pro
vide s
epara
te 5
V p
ow
er
at J1
.
J1PJ-0
02
BH
J1PJ-0
02
BH
231
C69
1u
FC
69
1u
F
C18
22
uF
C18
22
uF
TP
3T
P3
C15
22
uF
C15
22
uF
R5 330
R5 330
D1
DN
P
D1
DN
P
SW
1
EV
Q-P
JX
04
M
SW
1
EV
Q-P
JX
04
M
12
R4
100K
R4
100K
C10
0.1
uF
C10
0.1
uF
+C
16
68
uF
+C
16
68
uF
F1
TR
/32
16
FF
-2A
F1
TR
/32
16
FF
-2A
C3
22
uF
C3
22
uF
L2
50
@1
00
MH
z
L2
50
@1
00
MH
z
L15
60
0@
10
0M
Hz
L15
60
0@
10
0M
Hz
C1
22
uF
C1
22
uF
R1 0
R1 0
C19
1u
FC
19
1u
F
C13
22
uF
C13
22
uF
TP
13
TP
13
1
C17
1u
FC
17
1u
F
C20
22
uF
C20
22
uF
+C
6
68
uF
+C
6
68
uF
L8
60
0@
10
0M
Hz
L8
60
0@
10
0M
Hz
C14
1u
FC
14
1u
F
C5
22
uF
C5
22
uF
L7
50
@1
00
MH
z
L7
50
@1
00
MH
z
C7
22
uF
C7
22
uF
R3
100K
R3
100K
J2
JM
P3
_8
05
J2
JM
P3
_8
05
1 2 3
TP
12
TP
12
1L3
60
0@
10
0M
Hz
L3
60
0@
10
0M
Hz
R6
2.2
K
R6
2.2
K
TP
2T
P2
C8
1u
FC
81
uF
C4
0.1
uF
C4
0.1
uF
TP
15
TP
15
1
C9
22
uF
C9
22
uF
L5
60
0@
10
0M
Hz
L5
60
0@
10
0M
Hz
D2
LTS
T-C
15
0G
KT
D2
LTS
T-C
15
0G
KT
TP
1T
P1
C2
1u
FC
21
uF
L6
60
0@
10
0M
Hz
L6
60
0@
10
0M
Hz
C21
1u
FC
21
1u
F
R2 0
R2 0
L1
50
@1
00
MH
z
L1
50
@1
00
MH
zU
1
TP
S7
08
51
PW
P
U1
TP
S7
08
51
PW
P
VO
UT
119
19
VO
UT
118
18
EN
2/
6
MR
/4
VS
EN
SE
1/F
B1
17
RE
SE
T/
7
NC
11
11
PG
215
PG
116
GN
D8
VIN
210
10
NC
20
20
VIN
13
3V
IN12
2
EN
1/
5
VO
UT
213
13
VS
EN
SE
2/F
B2
14
VO
UT
212
12
VIN
29
9
NC
11
PAD21
TP
14
TP
14
1
TVP5151EVM Schematics www.ti.com
7 TVP5151EVM Schematics
Figure 25. Schematic - Power
28 TVP5151 Evaluation Module SLEU106–November 2009Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
5 5
4 4
3 3
2 2
1 1
DD
CC
BB
AA
YR
7Y
R6
YR
5Y
R4
YR
3Y
R2
YR
1Y
R0
SC
L
SD
A
RE
SE
TB
YR
[7:0
]
SC
LK
IOV
DD
DV
DD
1.8
V_
DA
C
AV
DD
3.3
V_
DA
C
VD
LL
1.8
V_
DA
C
AV
DD
3.3
V_
DA
C
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
Title
Siz
eD
ocu
me
nt
Nu
mb
er
Re
v
Da
te:
Sh
ee
tof
<D
oc>
2.0
TV
P5
15
0/1
-Y
Pb
Pr
Ou
t
B
24
We
dn
esd
ay,
Ju
ne
10
,2
00
9
Title
Siz
eD
ocu
me
nt
Nu
mb
er
Re
v
Da
te:
Sh
ee
tof
<D
oc>
2.0
TV
P5
15
0/1
-Y
Pb
Pr
Ou
t
B
24
We
dn
esd
ay,
Ju
ne
10
,2
00
9
Title
Siz
eD
ocu
me
nt
Nu
mb
er
Re
v
Da
te:
Sh
ee
tof
<D
oc>
2.0
TV
P5
15
0/1
-Y
Pb
Pr
Ou
t
B
24
We
dn
esd
ay,
Ju
ne
10
,2
00
9
R16
2.2
KR
16
2.2
K
C26
0.1
uF
C26
0.1
uF
C37
8.2
pf
C37
8.2
pf
R10
3.0
1K
R10
3.0
1K
C22
0.1
uF
C22
0.1
uF
C40
8.2
pf
C40
8.2
pf
U2
TH
S8200
U2
TH
S8200
DVDD7979
D1C
LK
O71
N.C.8080
DVSS5858
GND_IO4545
GY
948
GY
849
GY
750
GY
651
GND_IO7272
GY
552
GY
453
GY
354
BC
B9
21
GY
255
VDD_IO1919
BC
B8
22
GY
156
AR
PR
17
BC
B7
23
VDD_DLL4
GY
057
BC
B6
24
BC
B5
25
AB
PB
15
N.C.11
BC
B4
26
VDD_IO4646
BC
B3
27
BC
B2
28
BC
B1
29
BC
B0
30
PBKG(VSS)6
VDD_IO7070
GND_DLL2
FID
47
AG
Y13
DVDD3232
RE
SE
TB
60
AVDD1818
DVSS7878
AVDD1414
SD
A63
AVDD1111
FS
AD
J2
8
FS
AD
J1
7
CLK
IN3
RC
R9
33
CO
MP
29
RC
R8
34
CO
MP
110
RC
R7
35
RC
R6
36
RC
R5
37
RC
R4
38
RC
R3
39
RC
R2
40
RC
R1
41
I2C
A5
RC
R0
42
HS
_O
UT
61
DVDD5959
SC
L64
HS
_IN
43
DO
965
DO
866
DO
767
DO
668
DO
569
DO
473
DO
374
DO
275
DO
176
GND_IO2020
DO
077
DVSS3131
VS
_IN
44
AVSS1616
VS
_O
UT
62
AVSS1212
PAD81
R7
2.2
K
R7
2.2
K
C45
33
0p
f
C45
33
0p
f
G RB
J3
G RB
J3
6 4 2
5 3 1
R17
2.2
KR
17
2.2
K
C34
0.4
7u
FC
34
0.4
7u
F
R9
3.0
1K
R9
3.0
1K
R12
2.2
K
R12
2.2
K
C32
0.1
uF
C32
0.1
uF
C39
33
0p
f
C39
33
0p
f
R8
DN
P
R8
DN
P
L11
2.2
uH
L11
2.2
uH
R13
75
R13
75
C28
0.1
uF
C28
0.1
uF
C41
33
0p
f
C41
33
0p
f
R11
2.2
K
R11
2.2
K
R14
75
R14
75
C35
0.4
7u
FC
35
0.4
7u
F
C33
10
uF
C33
10
uF
C36
1u
FC
36
1u
F
C29
0.1
uF
C29
0.1
uF
C42
33
0p
f
C42
33
0p
fR
15
75
R15
75
C27
0.1
uF
C27
0.1
uF
C31
0.1
uF
C31
0.1
uF
C43
8.2
pf
C43
8.2
pf
L9
2.2
uH
L9
2.2
uH
L10
2.2
uH
L10
2.2
uH
C30
0.1
uF
C30
0.1
uF
C23
0.1
uF
C23
0.1
uF
C38
33
0p
f
C38
33
0p
f
C25
0.0
1u
FC
25
0.0
1u
FC
24
0.1
uF
C24
0.1
uF
C44
33
0p
f
C44
33
0p
f
www.ti.com TVP5151EVM Schematics
Figure 26. Schematic - YPbPr Out
29SLEU106–November 2009 TVP5151 Evaluation ModuleSubmit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
5 5
4 4
3 3
2 2
1 1
DD
CC
BB
AA
YR
[7:0
]
Y7
YR
0Y
R1
YR
2Y
R3
YR
4Y
R5
YR
6Y
R7
FID
/GL
CV
SH
SA
VID
INT
R/G
PC
AIN
1
A1
B
A1A
FID
/GL
C
YR
0
YR
1
YR
2
YR
3
YR
4
YR
5
YR
6
YR
7
AIN
2
PD
N
SC
LK
Y7
XTA
L1
XTA
L2
XTA
L1
XTA
L2
SC
L
SD
A
RE
SE
TB
YR
[7:0
]
SC
LK
VS
HS
AV
ID
INT
R/G
PC
AV
DD
1.8
V_
TV
P
DV
DD
1.8
V_
TV
P
IOV
DD
PL
L1
.8V
_T
VP
AG
ND
IOV
DD
IOV
DD
AG
ND
AG
ND
AG
ND
AG
ND
AG
ND
AG
ND
AG
ND
AG
ND
AG
ND
AG
ND
AG
ND
AG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
AG
ND
AG
ND
DG
ND
AG
ND
Title
Siz
eD
ocu
me
nt
Nu
mb
er
Re
v
Da
te:
Sh
ee
tof
<D
oc>
2.0
TV
P5
15
0/1
EV
M-
Vid
eo
In
B
34
Fri
da
y,S
ep
tem
be
r1
8,
20
09
Title
Siz
eD
ocu
me
nt
Nu
mb
er
Re
v
Da
te:
Sh
ee
tof
<D
oc>
2.0
TV
P5
15
0/1
EV
M-
Vid
eo
In
B
34
Fri
da
y,S
ep
tem
be
r1
8,
20
09
Title
Siz
eD
ocu
me
nt
Nu
mb
er
Re
v
Da
te:
Sh
ee
tof
<D
oc>
2.0
TV
P5
15
0/1
EV
M-
Vid
eo
In
B
34
Fri
da
y,S
ep
tem
be
r1
8,
20
09
I2C
AS
ele
ct
BA
h
B8
h
J71-2
N
orm
all
Opera
tion
2-3
P
ow
er
Dow
n
27
MH
z
33
R23
100K
R23
100K
C53
8.2
pf
C53
8.2
pf
U3
TV
P5
15
1P
BS
U3
TV
P5
15
1P
BS
Y7/I2C
SE
L11
Y6
12
Y5
13
Y4
14
Y3
15
Y2
16
Y1
17
Y0
18
PC
LK
/SC
LK
9
HS
YN
C25
FID
/GLC
O23
VS
YN
C/P
ALI
24
AV
ID26
INT
RE
Q/G
PC
L/V
BLK
27
CH_AGND31
RE
SE
TB
8
PD
N28
DGND19
PLL_AGND3
SCL21
SDA22
AGND7
CH_AVDD32
PLL_AVDD4
IO_DVDD10
AIP
1A
1
AIP
1B
2
REFP29
REFM30
XTA
L1
/OS
C5
XTA
L2
6
DVDD20
J4J4
21
R49
2.2
KR
49
2.2
KR
25
10
KR
25
10
KR
26
10
KR
26
10
K
P1
HE
AD
ER
10
X2
P1
HE
AD
ER
10
X2246810
12
14
16
18
1357911
13
15
17
19
20
Y1
XTA
L
Y1
XTA
L
C54
0.1
uF
C54
0.1
uF
J11 J
MP
2_
80
5
J11 J
MP
2_
80
5
C62
33
pF
C62
33
pF
R21
37
.4
R21
37
.4
R20
33
R20
33
C49
0.1
uF
C49
0.1
uF
L13
2.2
uH
L13
2.2
uH
C48
0.1
uF
C48
0.1
uF
TP
5
AG
ND
TP
5
AG
ND
J5J5
21
R18
37
.4
R18
37
.4
C61
33
0p
fC
61
33
0p
f
C59
33
pF
C59
33
pF
J10 J
MP
2_
80
5
J10 J
MP
2_
80
5
R19
37
.4R
19
37
.4
C60
33
0p
fC
60
33
0p
f
C46
1u
F
C46
1u
F
L12
2.2
uH
L12
2.2
uH
R27
10
KR
27
10
K
C50
0.1
uF
C50
0.1
uF
C57
0.1
uF
C57
0.1
uF
C51
1u
F
C51
1u
F
C47
1u
F
C47
1u
F
R22
37
.4R
22
37
.4
C58
8.2
pf
C58
8.2
pf
C56
33
0p
fC
56
33
0p
f
Y3
Alte
rrn
ate
XTA
L
Y3
Alte
rrn
ate
XTA
L
1 234
RP
1
pa
na
so
nic
_e
xb
2h
v
RP
1
pa
na
so
nic
_e
xb
2h
v1 2 3 4 5 6 7 89
10
11
12
13
14
15
16
C55
33
0p
fC
55
33
0p
f
C52
0.1
uF
C52
0.1
uF
J7J71 3
2
J6J6
1 2 3
TVP5151EVM Schematics www.ti.com
Figure 27. Schematic - Video In
30 TVP5151 Evaluation Module SLEU106–November 2009Submit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
5 5
4 4
3 3
2 2
1 1
DD
CC
BB
AA
US
B_
RE
SE
T
E_
SD
A
E_
SC
L
IIC
_S
CL
IIC
_S
DA
D3
.3V
_U
SB
5V
_U
SB
SD
A
SC
L
D3
.3V
_U
SB
D3.3
V_U
SB
D3.3
V_U
SB
IOV
DD
DG
ND
DG
ND
DG
ND
DG
ND D
GN
D
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
DG
ND
Title
Siz
eD
ocu
me
nt
Nu
mb
er
Re
v
Da
te:
Sh
ee
tof
<D
oc>
2.0
TV
P5
15
0/1
EV
M-
US
B/I
2C
B
44
We
dn
esd
ay,
Ju
ne
10
,2
00
9
Title
Siz
eD
ocu
me
nt
Nu
mb
er
Re
v
Da
te:
Sh
ee
tof
<D
oc>
2.0
TV
P5
15
0/1
EV
M-
US
B/I
2C
B
44
We
dn
esd
ay,
Ju
ne
10
,2
00
9
Title
Siz
eD
ocu
me
nt
Nu
mb
er
Re
v
Da
te:
Sh
ee
tof
<D
oc>
2.0
TV
P5
15
0/1
EV
M-
US
B/I
2C
B
44
We
dn
esd
ay,
Ju
ne
10
,2
00
9
MM
D D
20
BA
1-1
2.0
MH
z
US
B 3
.3V
C66
0.1
uF
C66
0.1
uF
R28
0R
28
0
R38
15
K
R38
15
K
R47
1M
R47
1M
R52
2.2
KR
52
2.2
K
R50
200K
R50
200K
C63
22
uF
C63
22
uF
R40
33
R40
33
C71
22
pF
C71
22
pF
TP
20
US
B_
RE
SE
TT
P2
0U
SB
_R
ES
ET
R132
0R
132
0R
130
0R
130
0
D3
B3
40
A
D3
B3
40
A
U7
24LC
64U
7
24LC
64
A0
1
A1
2
A2
3
GN
D4
VC
C8
WP
7
SC
L6
SD
A5
U14
PC
A9
30
6D
CT
T
U14
PC
A9
30
6D
CT
T
SC
L2
6
VR
EF
12
SD
A2
5
EN
8
SD
A1
4
SC
L1
3
VR
EF
27
Gn
d1
TP
17
SD
AT
P1
7S
DA
C73
1u
FC73
1u
F
R129
0R
129
0
C64
0.1
uF
C64
0.1
uF
U5
TU
SB
32
10
PM
U5
TU
SB
32
10
PM
VCC6262
NC6464
RS
T*
13
NC6363
PU
R17
GND4242
SU
SP
16
P3.751
P3.652
P3.553
GND55
P3.454
S3
9
P3.355
S2
8
P3.256
NC2323
RS
V4
4
P2.730
RS
V1
1
P2.629
P2.528
P2.427
P2.326
SD
A11
P2.225
NC77
NC66
P2.022
NC33
P1.7
41
NC22
VR
EN
*38
P3.0/S058
P1.6
40
P1.5
36
P1.4
35
P1.3
34
P1.2
33
P1.1
32
P1.0
31
P0.7
50
P0.6
49
P0.5
48
VCC1010
P0.4
47
SC
L12
P0.3
46
P0.2
45
X2
60
P0.1
44
X1
61
P0.0
43
TE
ST
220
TE
ST
115
TE
ST
014
GND5959
GND2424
SE
LF
/BU
S*
21
VDDOUT37
DP
18
VCC3939
P3.1/S157
DM
19
C70
0.1
uF
C70
0.1
uF
Y2
12
MH
z
Y2
12
MH
z
R54
2.2
K
R54
2.2
K
R53
2.2
KR
53
2.2
K
Q1
MM
BT
22
22
AQ
1M
MB
T2
22
2A
1
2 3
TP
19
DG
ND
TP
19
DG
ND
R43
100K
R43
100K
D4
LTS
T-C
15
0G
KT
D4
LTS
T-C
15
0G
KT
R30
100K
R30
100K
J8
US
B_
B
J8
US
B_
B
SH
LD
15
SH
LD
26
VC
C1
D-
2D
+3
GN
D4
C68
0.1
uF
C68
0.1
uF
R46
2.2
K
R46
2.2
K
TP
18
SC
LT
P1
8S
CL
R31
100K
R31
100K
R45
2.2
K
R45
2.2
K
R48
15
K
R48
15
K
J9J9 1
2
C67
0.1
uF
C67
0.1
uF
R41 200
R41 200
C79
1u
F
C79
1u
F
R131
0R
131
0
C80
DN
P
C80
DN
P
TP
4T
P4
TP
S7
63
33
DB
V
U4
TP
S7
63
33
DB
V
U4
OU
T5
IN1
GN
D2
EN
3N
C/F
B4
R29
100KR29
100K
C72
22
pF
C72
22
pF
R51
2.2
KR
51
2.2
K
C65
22
uF
C65
22
uF
R44
100K
R44
100K
R42
33
R42
33
R35
1.5
K
R35
1.5
K
L14
50
@1
00
MH
z
L14
50
@1
00
MH
z
www.ti.com TVP5151EVM Schematics
Figure 28. Schematic - USB/I2C
31SLEU106–November 2009 TVP5151 Evaluation ModuleSubmit Documentation Feedback
Copyright © 2009, Texas Instruments Incorporated
http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SLEU106
-
IMPORTANT NOTICETexas 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 shouldobtain the latest relevant information before placing orders and should verify that such information is current and complete. All products aresold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standardwarranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except wheremandated by government requirements, testing of all parameters of each product is not necessarily performed.TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products andapplications using TI components. To minimize the risks associated with customer products and applications, customers should provideadequate design and operating safeguards.TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Informationpublished by TI regarding third-party products or services does not constitute a license from TI to use such products or services or awarranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectualproperty of the third party, or a license from TI under the patents or other intellectual property of TI.Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompaniedby all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptivebusiness practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additionalrestrictions.Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids allexpress and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is notresponsible or liable for any such statements.TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonablybe expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governingsuch use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, andacknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their productsand any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may beprovided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products insuch safety-critical applications.TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products arespecifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet militaryspecifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely atthe Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products aredesignated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designatedproducts in automotive applications, TI will not be responsible for any failure to meet such requirements.Following are URLs where you can obtain information on other Texas Instruments products and application solutions:Products ApplicationsAmplifiers amplifier.ti.com Audio www.ti.com/audioData Converters dataconverter.ti.com Automotive www.ti.com/automotiveDLP® Products www.dlp.com Broadband www.ti.com/broadbandDSP dsp.ti.com Digital Control www.ti.com/digitalcontrolClocks and Timers www.ti.com/clocks Medical www.ti.com/medicalInterface interface.ti.com Military www.ti.com/militaryLogic logic.ti.com Optical Networking www.ti.com/opticalnetworkPower Mgmt power.ti.com Security www.ti.com/securityMicrocontrollers microcontroller.ti.com Telephony www.ti.com/telephonyRFID www.ti-rfid.com Video & Imaging www.ti.com/videoRF/IF and ZigBee® Solutions www.ti.com/lprf Wireless www.ti.com/wireless
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265Copyright © 2009, Texas Instruments Incorporated
http://amplifier.ti.comhttp://www.ti.com/audiohttp://dataconverter.ti.comhttp://www.ti.com/automotivehttp://www.dlp.comhttp://www.ti.com/broadbandhttp://dsp.ti.comhttp://www.ti.com/digitalcontrolhttp://www.ti.com/clockshttp://www.ti.com/medicalhttp://interface.ti.comhttp://www.ti.com/militaryhttp://logic.ti.comhttp://www.ti.com/opticalnetworkhttp://power.ti.comhttp://www.ti.com/securityhttp://microcontroller.ti.comhttp://www.ti.com/telephonyhttp://www.ti-rfid.comhttp://www.ti.com/videohttp://www.ti.com/lprfhttp://www.ti.com/wireless
TVP5151 Evaluation ModuleTable of Contents1 Description1.1 Functional Overview
2 Board-Level Description2.1 Analog Video Inputs2.2 Analog Component Video Output2.3 USB Interface and Power2.4 Board Jumpers2.5 Test Points2.6 TVP5151 Crystal Requirements
3 Software Installation3.1 Uninstalling Previous Version3.2 TVP5151EVM Software Installation
4 Hardware Setup5 VCC Operation5.1 Getting Started5.2 Starting the VCC Application Program5.3 VCC6 Configuration Dialog Box5.4 USB I2C System Test5.5 Real-Time Polling5.6 Main Menu5.7 System Initialization5.8 Command Files5.8.1 Example Command File5.8.2 Adding a Custom Data Set to a CMD File
5.9 Register Editing5.9.1 TVP5151 Register Map Editor5.9.2 THS8200 Register Map Editor5.9.3 Generic I2C Register Editor
5.10 Property Sheets5.10.1 Property Sheet Refresh5.10.2 Auto-Update When Activating Windows5.10.3 Property Page Auto Update
6 Troubleshooting the TVP5151EVM6.1 Troubleshooting Guide6.2 Resolving I2C Communication Problems
7 TVP5151EVM Schematics