background image

TVP5158 Evaluation Module

User's Guide

Literature Number: SLEU108

November 2009

Summary of Contents for TVP5158

Page 1: ...TVP5158 Evaluation Module User s Guide Literature Number SLEU108 November 2009 ...

Page 2: ...2 SLEU108 November 2009 Submit Documentation Feedback Copyright 2009 Texas Instruments Incorporated ...

Page 3: ...Setup for TVP5158EVM with DaVinci HD EVM 11 6 Software Installation 14 7 TVP5158EVM Evaluation Procedures 17 7 1 Stand Alone Operation Non Interleaved Digital Video Output Modes 17 7 2 Evaluation Using the DaVinci HD EVM 19 7 3 Evaluation of Pixel Interleaved Digital Video Output Modes 24 8 VCC Software in Depth 25 8 1 VCC Main Window 25 8 2 Register Map Editor 25 8 3 Property Sheets 26 8 4 Video ...

Page 4: ...xel Interleave Modes 24 18 TVP5158 Register Map Editor 25 19 VCC Main Window Configured for Broadcast Write Access default 28 20 VCC Main Window Configured for Single Video Decoder Write Access 28 21 TVP5158 Output Formatter Property Page With Decoder 1 Selected 30 22 TVP5158 Output Formatter Property Page With Decoder 4 Selected 31 23 TVP5158 Noise Reduction and Auto Contrast Property Page 32 24 ...

Page 5: ...ended DM6467 Clock Frequencies 19 8 VCC Main Menu Summary 25 9 VCC Register Map Editor Controls 26 10 Property Sheet Controls 26 11 Property Sheet Button Controls 27 12 Editing Tools vs Video Decoder Write Enables 28 13 Troubleshooting Setup and General Issues 34 14 Troubleshooting with THS8200 and CompositeVideo Output 34 15 Troubleshooting with DM6467 DaVinci HD EVM 35 16 Troubleshooting I2C Con...

Page 6: ...the DaVinci HD EVM in a single or dual ITU R BT 656 configuration or in ITU R BT 601 16 Bit configuration for evaluation of line interleaved modes The TVP5158EVM uses one PC USB port to provide I2C communication with the TVP5158 THS8200 Video Graphics Triple DAC and the TLV320DAC32 Stereo Audio DAC devices on the TVP5158EVM The Video Control Center VCC application software is provided for control ...

Page 7: ...A jacks 2 2 Analog Video Audio Outputs The TVP5158EVM has a THS8200 Video PC Graphics Triple DAC and a TLV320DAC32 audio DAC on the board so that the user can evaluate video and audio performance using a single EVM setup The THS8200 Video Graphics Triple DAC takes the video output from DVO port A of TVP5158 and outputs analog YPbPr video signals to component output connector J4 The TLV320DAC32 Ste...

Page 8: ... are available on the TVP5158EVM for the user This includes the various power supplies as well as a few GND test points The user can also use J2 J3 for primary test point headers to access video audio data video audio clocks I2C and GND There are several jumpers available on the TVP5158EVM that configure I2C address select I2C control configuration clock source selection and I2S source select Each...

Page 9: ...re 2 provides an example of how the TVP5158EVM may be used for evaluation Typically the analog video audio input is provided by a video source such as a pattern generator or a DVD player running a test DVD The TVP5158EVM is configured with the 5 V supply and the USB cable provided The TVP5158EVM analog video output is standard definition component video YPbPr These outputs are then fed into a high...

Page 10: ...onfiguration For evaluation of video quality comb filter noise reduction auto contrast and other features the TVP5158EVM can be setup in a stand alone configuration Analog video and audio sources are input to TVP5158 TVP5158 outputs digital video as ITU R BT 656 or ITU R BT 601 non interleaved video to the THS8200 PC Graphics Video Triple DAC Component Video YPbPr from the THS8200 is output in 480...

Page 11: ...hannels in D1 Half D1 or CIF resolution Eight channel line interleaved video is also possible if two TVP5158EVM boards are cascaded together Sample video and audio driver code and a demo application are provided to run on the TMS320DM6467 on the Linux O S To setup the TVP5158EVM with DaVinci HD EVM configuration make the following connections 1 Analog video sources to TVP5158EVM composite video in...

Page 12: ... from TVP5158EVM DaVinci Audio connector to DaVinci HD EVM DC_P3 I O Expansion connector 3 DaVinci HD EVM headphone jack to audio amplifier speakers or headphones 5 2 2 1 Hardware Modification for I2S Audio to DM6467 DSP Three 0 Ω resistors must be removed from the TVP5158EVM and three 0 Ω resistors must be removed from the DaVinci HD EVM according to Table 3 Table 3 Hardware Modifcation for I2S A...

Page 13: ...hat sometimes occur when PC USB and DaVinci HD EVM I2C buses are used independently Table 5 Jumper Settings for PC USB Interface as TVP5158 I2C Master Jumper Function Setting Comment Designator TVP5158 I2C address W2 W1 W0 1 2 1 2 1 2 Slave address 0xB0 1011 LLL0 selection W3 W4 I2C master selection 1 2 1 2 PC USB port controls TVP5158 I2C W7 W8 I2C connection to audio DAC ON ON Connected W9 I2S s...

Page 14: ...5 When prompted with Are you sure you want to remove TVP5158EVM Software from your computer click Yes The TVP5158EVM software installation program is contained in a ZIP archive file containing the following two files Setup exe TVP5158EVM_Software msi Unzip these two files to a temporary directory and run setup exe The dialog box in Figure 4 appears Click Next on the dialog boxes shown in Figure 4 ...

Page 15: ...oftware Installation Figure 5 Select Installation Folder Figure 6 Confirm Installation 15 SLEU108 November 2009 TVP5158 Evaluation Module Submit Documentation Feedback Copyright 2009 Texas Instruments Incorporated ...

Page 16: ...Software Installation www ti com Figure 7 Installation Complete 16 TVP5158 Evaluation Module SLEU108 November 2009 Submit Documentation Feedback Copyright 2009 Texas Instruments Incorporated ...

Page 17: ...his example 7 Click the Tools System Initialization menu item The System Initialization dialog box see Figure 13 appears Click once on the following table entry TVP5158 THS8200 NTSC Non Interleaved 1 Ch D1 Quad BT 656 27 MHz Click the PROGRAM button The TVP5158 is now programmed for the NTSC standard using the above video output format The output formatter is bypassed 8 To select a video input a I...

Page 18: ... Figure 9 Specifying Cascaded Devices Figure 10 USB Device Not Found Error Message Figure 11 Real Time Polling Enable 18 TVP5158 Evaluation Module SLEU108 November 2009 Submit Documentation Feedback Copyright 2009 Texas Instruments Incorporated ...

Page 19: ...mory Clock Rates For maximum performance in a system using DM6467 and TVP5158 s in the line interleaved video modes the DM6467 clock frequencies should be set as specified in Table 7 Table 7 Recommended DM6467 Clock Frequencies ARM Clock 675 MHz DDR2 Memory Clock 324 MHz 1 1 DaVinci HD EVM assembly revision F or later is required 19 SLEU108 November 2009 TVP5158 Evaluation Module Submit Documentat...

Page 20: ...Mode Configuration positions 1 3 to ON and position 4 to OFF to select NAND Flash boot mode 7 2 2 Evaluation Procedure for Line Interleaved Video Output Modes The following are the instructions for evaluation of TVP5158 for line interleaved modes The digital video output from TVP5158 is captured using a DM6467 DaVinci HD EVM and is demultiplexed and displayed on a 1080i HD monitor 7 2 2 1 DaVinci ...

Page 21: ...og box appears see Figure 8 Set THS8200 device family to NOT USED Click OK to continue 3 The Cascaded Devices dialog box appears see Figure 9 Click OK to continue If a message appears indicating that the USB device was not found see Figure 10 disconnect the USB cable wait three seconds and reconnect the USB cable NOTE If a second TVP5158EVM is used for cascade operation select 2 Devices Cascaded a...

Page 22: ...luation Procedures www ti com Figure 15 System Initialization for Line Interleaved Modes 22 TVP5158 Evaluation Module SLEU108 November 2009 Submit Documentation Feedback Copyright 2009 Texas Instruments Incorporated ...

Page 23: ...the video output format only if using VCC GUI Software In the VCC System Initialization window click on the video output format same format as chosen in step 3 and click the PROGRAM button 3 Select the video capture format for the DaVinci HD EVM In terminal window type video format menu option 00 1b and then Enter The video output should now be displayed on the HD video monitor using 1080i format ...

Page 24: ...ars Double click the following file TVP5158EVM_Pixel_Interleave_Setup CMD 2 The dataset descriptions table should now appear as shown in Figure 17 Click once on the following table entry Multi Standard Pixel Interleave 2 Ch D1 8 bit 54MHz OCLK_P OCLK_N 27MHz Opposite Phase Click the PROGRAM button The TVP5158 is now programmed to automatically detect the video standard received at the input and ou...

Page 25: ...occurs USB LPT I2C Options Set 100 or 400 kHz I2C Window Allows selection of the active window Help Displays program version 8 2 Register Map Editor The register map editor see Figure 18 allows the display and editing of the entire used register space of the TVP5158 within a simple scrolling text box To open this click on the following menu item Edit Register Map TVP5158 Table 9 describes how to u...

Page 26: ... address and data edit boxes to hexadecimal Dec Button Converts all values in the register window and address and data edit boxes to decimal 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 read or read all operations to be performed N times N is entered as a Loop Count de...

Page 27: ...P5158 The buttons under Selected Video Decoder Core are mutually exclusive Four sets of the various editing tools Register Map Edit and Property Sheets exist in memory but only the data for the selected video decoder can be seen Any or all of the write enable buttons can be enabled These control which of the video decoders will accept I2C writes 8 4 1 Broadcast Write Access This is the default con...

Page 28: ...Property Sheets Selected Decoder Write Enabled decoders Bit fields that changed on the selected decoder 8 5 Example TVP5158 Property Pages Example property pages are shown in Figure 21 through Figure 24 Some of the controls for the Output Formatter OFM page only exist for video decoder 1 Figure 21 shows the OFM page when Decoder 1 is the selected decoder Figure 22 shows the OFM page when Decoder 4...

Page 29: ...Software in Depth Figure 21 TVP5158 Output Formatter Property Page With Decoder 1 Selected 29 SLEU108 November 2009 TVP5158 Evaluation Module Submit Documentation Feedback Copyright 2009 Texas Instruments Incorporated ...

Page 30: ... Depth www ti com Figure 22 TVP5158 Output Formatter Property Page With Decoder 4 Selected 30 TVP5158 Evaluation Module SLEU108 November 2009 Submit Documentation Feedback Copyright 2009 Texas Instruments Incorporated ...

Page 31: ...CC Software in Depth Figure 23 TVP5158 Noise Reduction and Auto Contrast Property Page 31 SLEU108 November 2009 TVP5158 Evaluation Module Submit Documentation Feedback Copyright 2009 Texas Instruments Incorporated ...

Page 32: ...Depth www ti com Figure 24 TVP5158 Audio Property Page Seen Only When Decoder 1 is Selected 32 TVP5158 Evaluation Module SLEU108 November 2009 Submit Documentation Feedback Copyright 2009 Texas Instruments Incorporated ...

Page 33: ... can be configured Jumper W9 can be used to select the SD_R default or SD_M I2S output to the audio DAC Figure 25 TDM I2S Audio Data Configuration 33 SLEU108 November 2009 TVP5158 Evaluation Module Submit Documentation Feedback Copyright 2009 Texas Instruments Incorporated ...

Page 34: ...sed while real time polling or property page auto update is active Click occurred See reported pressed Continue I2C slave address and I2C slave address Check that jumpers W2 W1 and W0 are connected across pins 1 2 L L L sub address jumper setting and to specify slave address 0xB0 Set jumper W0 across pins 2 3 L L H to program setting do not specify slave address 0xB2 for a cascaded 2nd TVP5158EVM ...

Page 35: ... bus master Check that jumpers W3 and W4 are connected across pins 1 2 to select USB error message jumpered incorrectly as I2C master When DSP video audio driver is I2C master for TVP5158 I2C error messages I2C bus master Check that jumpers W3 and W4 are connected across pins 2 3 to select from demo application jumpered incorrectly DaVinci HD EVM as I2C master When cascading two TVP5158EVMs togeth...

Page 36: ...Troubleshooting www ti com Figure 26 TVP5158 Video Format Property Page 36 TVP5158 Evaluation Module SLEU108 November 2009 Submit Documentation Feedback Copyright 2009 Texas Instruments Incorporated ...

Page 37: ... ti com Troubleshooting Figure 27 THS8200 Input Controls Status Property Page 37 SLEU108 November 2009 TVP5158 Evaluation Module Submit Documentation Feedback Copyright 2009 Texas Instruments Incorporated ...

Page 38: ...from 2nd Stage TVP5158 to DaVinci HD GPIO Place R54 R55 R56 and R57 close to J1 TO J2 TO THS8200 TO J9 TO J9 RP3 0 RP3 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 C72 0 1uF C72 0 1uF R47 2 2K R47 2 2K R54 37 4 R54 37 4 R49 0 R49 0 R51 75 R51 75 R59 0 R59 0 C70 0 1uF C70 0 1uF R58 1 8K R58 1 8K RP1 0 RP1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 RP4 0 RP4 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 J1B RC...

Page 39: ...6 MICBIAS0 15 DRVDD1 24 LDO_SELECT 5 WCLK 3 DRVSS0 17 DVDD 32 LINEL2 12 LINEL1 11 LINEL0 10 HPROUT 23 AVSS_DAC4 30 SDA 9 RESET 31 HPLOUT 19 LINER1 14 LINER0 13 DIN 4 MCLK 1 DRVDD0 18 DRVSS1 21 IOVSS 6 AVDD_DAC 25 R61 5 6K R61 5 6K L13 600 100MHz L13 600 100MHz L18 BLM21PG221SN1D L18 BLM21PG221SN1D C1 0 1uF C1 0 1uF C4 0 1uF C4 0 1uF R2 0 R2 0 R62 5 6K R62 5 6K L17 BLM21PG221SN1D L17 BLM21PG221SN1D...

Page 40: ...5 1 2 3 R28 4 7K R28 4 7K C127 27pF C127 27pF R41 2 2K R41 2 2K J8 ARM JTAG HEADER 7X2 J8 ARM JTAG HEADER 7X2 TRST 2 GND 1 4 NC 6 GND 2 8 GND 3 10 GND 4 12 EMU1 14 TMS 1 TDI 3 PD 5 TDO 7 TCKRET 9 TCK 11 EMU0 13 R24 4 7K R24 4 7K R34 10K R34 10K W2 W2 1 2 3 W0 W0 1 2 3 R33 0 R33 0 U1C TVP5158 U1C TVP5158 TCK 7 TMS 8 TDI 9 TDO 10 TRSTn 11 SCL 4 SDA 5 RESETBn 3 TESTMODE 82 I2CA0 80 I2CA1 66 I2CA2 48 ...

Page 41: ...1uF C19 0 1uF C19 0 1uF C53 0 1uF C53 0 1uF U1D TVP5158 U1D TVP5158 VSS6 6 VSS12 12 VSS14 14 VSS20 20 VSS26 26 VSS33 33 VSS38 38 VSS47 47 VSS55 55 VSS61 61 VSS65 65 VSS73 73 VSS79 79 VSS87 87 VSS1 1 VSS49 49 VSS90 90 VSSA1 8_96 96 VSSA1 8_98 98 VSSA1 8_100 100 VSSA1 8_110 110 VSSA1 8_111 111 VSSA1 8_117 117 VSSA1 8_123 123 VSSA1 8_124 124 VSSA1 1_104 104 VSSA1 1_105 105 VSSA1 1_118 118 VDD3 3_15 1...

Page 42: ...uF C64 330pf C64 330pf C22 0 1uF C22 0 1uF C78 1uF C78 1uF C56 8 2pf C56 8 2pf U2 THS8200 U2 THS8200 DVDD79 79 D1CLKO 71 N C 80 80 DVSS58 58 GND_IO45 45 GY9 48 GY8 49 GY7 50 GY6 51 GND_IO72 72 GY5 52 GY4 53 GY3 54 BCB9 21 GY2 55 VDD_IO19 19 BCB8 22 GY1 56 ARPR 17 BCB7 23 VDD_DLL 4 GY0 57 BCB6 24 BCB5 25 ABPB 15 N C 1 1 BCB4 26 VDD_IO46 46 BCB3 27 BCB2 28 BCB1 29 BCB0 30 PBKG VSS 6 VDD_IO70 70 GND_...

Page 43: ...68 68 69 69 70 70 71 71 72 72 73 73 74 74 75 75 76 76 77 77 78 78 79 79 80 80 90 90 88 88 86 86 84 84 82 82 81 81 83 83 85 85 87 87 89 89 GND 1 G1 GND 2 G2 GND 3 G3 GND 4 G4 GND 5 G5 GND 6 G6 GND 7 G7 GND 8 G8 91 91 92 92 93 93 94 94 95 95 96 96 97 97 98 98 99 99 100 100 101 101 102 102 103 103 104 104 105 105 106 106 107 107 108 108 109 109 110 110 111 111 112 112 113 113 114 114 115 115 116 116 ...

Page 44: ... U5 TPS71733DCKTG4 U5 OUT 5 IN 1 GND 2 EN 3 NC FB 4 R103 100K R103 100K U11 24LC64 U11 24LC64 A0 1 A1 2 A2 3 GND 4 VCC 8 WP 7 SCL 6 SDA 5 C37 0 1uF C37 0 1uF R82 2 2K R82 2 2K C90 0 1uF C90 0 1uF R71 DNP R71 DNP R81 2 2K R81 2 2K R102 100K R102 100K C89 1 0uF C89 1 0uF R73 100K R73 100K J7 USB_B J7 USB_B SHLD1 5 SHLD2 6 VCC 1 D 2 D 3 GND 4 U4 TUSB3210PM U4 TUSB3210PM VCC62 62 NC64 64 RST 13 NC63 6...

Page 45: ... PJ 002BH 2 3 1 U8 TPS54331D U8 TPS54331D BOOT 1 VIN 2 EN 3 SS 4 VSENSE 5 COMP 6 GND 7 PH 8 C109 47uF C109 47uF R88 115K R88 115K L4 600 100MHz L4 600 100MHz L1 75 100MHz L1 75 100MHz C101 1uF C101 1uF C121 100uF C121 100uF R91 10K R91 10K C93 0 1uF C93 0 1uF C106 01uF C106 01uF C97 01uF C97 01uF C125 1uF C125 1uF R92 26 1K R92 26 1K U10 TPS3808G33DBVTG4 U10 TPS3808G33DBVTG4 RESET 1 GND 2 MR 3 CT ...

Page 46: ...ice TI is not responsible 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 reasonably be expected to cause severe personal injury or death unless officers of the parties have executed an agreement specifically governing such use Buyers represent that they have all necessary expertis...

Reviews: