Home
Texas Instruments TVP5146EVM User's Manual
Contents
1. IODULE REV2 0NTVPSIG0EVM MODULE REV 2 0 ddb Texas Instruments Incorporated and its subsidiaries 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 All products are sold subject to Tl s terms and conditions of sale supplied at the time of order acknowledgment Tl warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with Tl s standard warranty Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty Except where mandated by government requirements testing of all parameters of each product is not necessarily performed assumes no liability for applications assistance or customer product
2. ASV 00 eee CU R29 VSYNC VBLK 12k HSYNC CS FID GPIO AVID GPIO DI 2 gt gt ANALOG ANALOG OUT CA RCA C79 C81 C83 C85 C87 C92 C93 2N222 5 C3 C4 4 1 4 4 4 4 4 d 0 22k E C GDR D CIDG ALSV v DLS 3 C 9 ESO CVBS B DLSV RCA 0 pu 2 Y D evs D R2S 3 31 8V lt ol uum 85007 Gm CVBS C94 362 NES T2 TUNER CVBS cos VLI Y SCRT 2 2 B YICVBS VIZ RO 15 YICVBS A_GREEN cos VLA ol PER VLS ST Yd OUT VIG VIG YE E R46 75 ro SCRT 100 vino DATA GLCO RCA A RED E C101 0 SDRAM CS PER mes 5 BR 7 2 Ts VIR Al SV_C SCRTREDI_ 2 2 2 5j C RED CRED C103 0 VIO AD 10 DSR35 A BLUE 2 C104 0 VL 10 SDR M BAI 75 EC ol mes 5 C105 VLI2 C OUT SDRAM_BAO SCRT BLU 106 0 SDRAM_RAS SDRAM_CAS SDRAM_WE Ad ROL AS 10k SCL 6 SDA INTREQ 2 OUT D3 DI E AVID 155 gt i R3 SDRAM CLK 330 A
3. hen ee a ane tede went 15 8 2 WinVCC4 Configuration Dialog BOX 16 BS FO System es Sette cedes 17 8 4 Real Time Polling iir rt t eee 17 AVIBID Merit 4 a Lo Mel 19 85 1 System oco seedy b E tempe ere at 20 8 5 2 Register Edilirig o o a ud aun dre MS ur apu Papius 24 853 Property Sheets c chains tete co o ades dune n tesa tuque du idus eph di 29 TROUBIESNOOUNG m 32 9 1 Troubleshooting boe ed epee 32 9 2 Corrective E wees 34 9 2 1 Setting the PG Mode oett 35 9 2 2 General PC Error Report 36 qe p In 37 SLEU063 Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Figure 22 Table 1 Table 2 Table 3 Table 4 Table 5 Table 6 Table 7 Table 8 Table 9 Table 10 TEXAS INSTRUMENTS Figures TVP5160EVM Block 2 4 TVP5160EVM System Level Block Diagr
4. DATASET 1 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 Ox or as decimal 4 Every data set in a command file begins with BEGIN DATASET and ends with END DATASET The maximum number of datasets is 250 5 The dataset 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 Initialization dialog when the command file is opened 6 The INCLUDE command inserts the contents of an include file with an INC file extension in line in place of the INCLUDE command Therefore the include file should not contain the BEGIN DATASET END DATASET and DATASET NAME commands NOTE All included files must be located in the same directory as the command CMD file 22 TVP5160EVM User s Guide TEXAS INSTRUMENTS SLEU063 7 The write to register command is written as follows WR_REG lt DeviceFamily gt lt Number of data bytes N gt lt subaddress gt Data1 lt DataN gt or WR_REG lt Literal slave address gt lt Number of data bytes N gt lt subaddress gt Data1 lt DataN gt The valid device family mnemonics are VID_DEC for the video decoders VID_ENC for the video encoders THS8200 for the THS8200 device WinVCC4 translates the devic
5. Title ENCODER EVM TESTPOINTS Size Number Revision 5 REV 1 0 Date 16 Feb 2005 Sheet of File CUserdata EVM Design FilesMODULAREAEDBEV MS ADV731 TEVM_MODULE_RH 6 1 0 ADV73 1 1EVM_MODULE_REV1 0 Ddb SCL sv GND GND BCb9 BCb8 mem BCb7 BCb6 BCbS BCb4 BCb3 BCb2 BCbl BCb0 GND GYS GY7 GY6 GYS GY4 Gv2 GYO GND GLCO VSYNC PCLK SCLK Title ENCODER EVM CONNECTOR Size Number Revision 5 1 0 Date 16 Feb 2005 Sheet of File CAUserdataEVM Design Files MODULARIEDBEV MS ADV731 TEVM_MODI RH 6 IVLOADV731IEVM MODULE REVI 0 Ddb
6. Dataset Descriptions 1 TYPSIEO 5015 607311 CVBS in 10 54 110555 YC Enabled C785 2 480p 1 YPbPy480p e 20401 IDNA Enabled TYPSTED 375p 0 204011 TU ES6 3DYC Enabled ot NOTES 1 To accen the facto cunphed browne tec e Progam Flas T eae Instiumanta VPS nali ons 2 IF REPLACE oi APPEND functions vil be used click RELOAD the ideo decoder EVM is powercpcled Figure 12 System Initialization 20 TVP5160EVM User s Guide TEXAS INSTRUMENTS SLEU063 8511 Adding a Custom Data Set After you program the EVM via the System Initialization tool using the factory supplied command file and by using the Property Sheets tool you can customize the device register settings to suit your needs To save your custom settings 1 Reopen the System Initialization dialog via the Tools menu 2 Click the Append Current Device Settings to Command File button A dialog requesting a description of the new data set appears 3 Optionally click the drop down box and select one of the existing descriptions Modify the description text or type your own description 5 Click OK All nondefault register values from the decoder and encoder will be appended to the current command file as an additional data set Now you can select you
7. line count and updates the video output device DISABLED Normal operation ENABLED Vertical stability can be demonstrated with a non standard number of lines Disable All E Enable All Figure 10 Real Time Polling Dialog Box TVP5160EVM User s Guide TEXAS INSTRUMENTS 85 Main Menu After closing the Rea Time Polling dialog the main menu is displayed as shown in Figure 11 SLEU063 The menus which are used to operate WinVCC4 are File Edit Tools Window and Help The File menu s only function is Exit which terminates the program The following table summarizes the main menu contents Windows Video Control Center WinVCC4 v4 56 Menu File Edit Tools Window Help File Edit Tools Window Help Figure 11 Main Screen Table 4 Menu Summary Contents Exit Register Map TVP5160PNP 7311 Encoder Module Editor Generic Editor Property Sheets TVP5160PNP 7311 Encoder Module Editor System Initialization Real time Polling TV Tuner Control FQ12xx series only Multiple Byte Transfers Set Bit Rate Run System Test Run Continuous Test Read VBI FIFO Capture Live VBI Data Allows selection of the active window Multiple windows can be open at the same time Displays program version TVP5160EVM User s Guide 19 TEXAS SLEU063 INSTRUMENTS 8 5 1 System Initialization Clicking System Initialization in the Tools men
8. system test report dialog box the dialog in Figure 19 appears WinVCC4 Is parallel cable connected From the computer s LPT1 port to the evaluation module and power applied to the EVM 2 Figure 19 Corrective Action Dialog Box If the cable is NOT connected from the PC parallel port to the TVP5160EVM or if the EVM power is not on a Click NO b The dialog shown in Figure 20 appears instructing you to correct the problem 34 TVP5160EVM User s Guide x TEXAS INSTRUMENTS SLEU063 c Correct the problem d Click OK to continue The real time polling dialog should appear See Section 3 2 3 WinVCC4 Connect parallel cable From the computer s LPT1 port to the EVM and apply power to the Then click OK Figure 20 Corrective Action Required 2 If the cable is connected from the PC parallel port to the TVP5160EVM AND the EVM power is on a Click Yes b The dialog shown in Figure 21 appears This dialog appears if the PC parallel port mode setting may need to be changed NOTE Only run the PC BIOS setup program if the communication problem cannot be resolved in another way Correct slave address settings reset or power cycle the EVM and or check that the device type selected was TVP5160 c Click OK to continue d The real time polling dialog appears Click OK to close it and get to the main menu e Click Exit in the File menu to exit the program f See troubleshooting
9. amp ADV7311 CVBS in 10 bit ITU 656 3DYC 3DNR Enabled CVBS SV amp YPbPr out WR_REG VID_DEC 0x01 WR_REG VID_DEC 0x01 0xBO Enables fast processor mode WR_REG VID_DEC 0x01 0xE9 0x00 WR REG VID DEC 0x01 OxE8 0x63 OxEE 0x01 Holds processor in reset WR REG VID DEC 0x01 OxEO 0x01 WR REG VID_DEC 0x01 0x00 Releases processor reset 5160 I2C Registers SD WR_REG VID_DEC 0x01 0x04 0x3F Auto Switch Mask WR_REG VID_DEC 0x01 0x06 0x40 Pedestal off WR_REG VID_DEC 0x01 0x34 0x11 Outputs Enabled WR_REG VID_DEC 0x01 0x35 0x2A GPIO 0 GLCO AVID and FID Enabled WR_REG VID_DEC 0x01 0x36 OxAF HS and VS Enabled WR REG VID_DEC 0x01 0x75 0x1A amp V Bit Control WR_REG VID_DEC 0x01 0x7F 0x01 Analog Output Enabled WR_REG VID_DEC 0x01 0x59 0x07 Enabled SDRAM and set SDRAM size _REG VID_DEC 0x01 0x0D 0x84 Chrominance Processing Ctrl 1 Reg 3DYC 3DNR Enabled DV7311 I2C Registers NTSC all DACs Output EG 0x54 0 01 0 01 0x08 CLK Align Enabled SD Oversampled EG 0x54 0 01 0 40 0x10 Selects NTSC SSAF Luma Filter EG 0x54 0x01 0x42 0x41 Enables DAC Outputs PrPb SSAF EG 0x54 0x01 0x44 0x06 C Enabled EG 0x54 0x01 0x48 0x14 nables Double Buffering SD 10 bit DNR disabled EG 0x54 0x01 0x7C 0x02 lobal 10 bit enable Q rm o oO
10. gt Property Sheets gt and green TVP5160 Output Control set the YCbCr output format to 10 bit 4 2 2 ITU R BT 656 with embedded syncs mode and click Apply Video standard auto switch Autoswitch masks are not set correctly Go to Edit Property Sheets gt does not work on the video TVP5160 Mode Selection page decoder side check all standards to be included in auto switch processing and click Apply Video decoder is not in auto switch Go to Edit Property Sheets gt mode TVP5160 Mode Selection page set the drop down box to Multi Standard and click Apply Video standard auto switch Auto switch polling is not enabled Click Real Time Polling in the Tools does not work on the video menu Click Enable All and OK encoder side 32 TVP5160EVM User s Guide TEXAS INSTRUMENTS SLEU063 Table 10 Troubleshooting Symptom Solution No slave address is wrong Close and restart WinVCC4 Choose the alternate slave communication address in the WinVCC4 Configuration dialog Parallel cable is not connected from Connect cable PC parallel port to the EVM DB25 connector EVM is not powered on The power supply must be plugged into a 100 V to 240 V 47 Hz to 63 Hz power source and the cord must be plugged into the power connector on the EVM Wrong type of parallel cable Some parallel cables are not wired straight through pin for pin Use the cable supplied with the EVM PC parallel port mode
11. 22 General Error Report The error report shown in Figure 22 appears when an FC error occurs at any time other than after the system test In this example there was an acknowledge error at slave address 0x54 the video decoder module The error occurred on Read Cycle Phase 1 on the device slave address byte I2C Error Report Read Dev 0 54 Addr 0x00 Data 0 00 ACKN RD1 DEV lgnore I2C Acknowledge Errors Exit Program Figure 22 Error 36 TVP5160EVM User s Guide TEXAS INSTRUMENTS SLEU063 10 TVP5160EVM Schematics This chapter contains the TVP5160EVM schematics TVP5160EVM User s Guide 37 1 2 3 4 5 6 ADV7311 Board Revision 1 0 D Feb 2005 ADV7311 MODULE REV 1 0 B Testpoints Testpoints A Title ENCODER EVM BLOCK DIAGRAM Size Number Revision REV 1 0 Date 16 Feb 2005 Sheet of File CAUserdata EVM Design FilesMODULAREAEDBEVMSAADV73IIEVM i RHVI OADV7311EVM MODULE REV I 0 Ddb 2 3 4 5 6 15 03 R2 22k R3 22k U2D R6 DBI7 74AHCOS 13 74AHCOS 0 DB9 7 05 74AHCOS 594 DA 74AHCOS U2E 7 R9 Title ENCODER EVM I2C Size e Number Revision REV 1 0 Date T6 Feb 2005
12. SDRAM DQM FSS SELECTION SDRAM 1 2 SCART Default D 10 JP6 xu si 2 3 Analog RGB Overlay D 12 D 13 D 14 iP ai D 15 55 RGB D 7 rm 007 Es D5 D4 ESS 2 FSSSEL D3 n 222 9 D2 DI E FSS_SCART RESETB PWDN SCART SCART 20 SV Y SCRT CVBS CVBS Yin SCART CVBS OUT 5 ig CVBS YinG ND CVBS YoutGND fe FSS 5 M I2C ADDRESS SELECTION PWDN SELECTION I IS ret Dorno 1 NO POP 1 2 Base Addr 1 2 Normal Operation Default 1 12 SCART DATA SCART GREEN Data 2 3 Base Addr 0 8 Default 2 3 Power Down 4 10 SCART A CLKout ii SCART_VIDSTAT 100 SCART BLUE _ 7 gt D3 3V 5 42 Aarono SCART GREEN e 2 tp em Deu repete 2 T C107 A i Lu 33pF 5 EEO GLCO DCA 2 12C ADDR PWDN 2 SPWDN 3 a JP10 a 8 1 2 R50 10k 5 ol TVP5146EVM MAIN Size Number Revision REV 2 0 16 Feb 2005 Sheet CAUserdataEVM Design Files MOD HSVMSVTVPSISOEVMNTVPSTQDEVM
13. Sheet File CAUserdata EVM Design Files MODUL ARIZEDBEV MS ADV7311EVM_MODUJLE_RH 6 1 0 ADV73 1 1EVM_MODULE_REV1 0 Ddb 2 3 4 6 D OPTIONAL SV 3 0A DC INPUT MAIN SUPPLY FROM CONNECTOR psy FUSE ASV 12 T L3 4 PI 002BH HI 1 0 luF 1 5526 3 1 1 s7 x OUT GND BYPASS EN TPS76233 g m 22uF POWER ON LED 5V RESET ON POWER UP Ds Remove R8 to disable R12 RESET from Connector R10 100k 330 C10 0 1uF CONTROL VDD 5 RESIN RESET Wai GND RESET RESET F RESET TLCT7331PW B Title ENCODER EVM POWER Size Number Revision id REV 1 0 Date I6 Feb 2005 Sheet File CAUserdata EVM Design FIIeSMODULAREAEDBEN MSWADV73IEVM MODULE RE 2 3 4 6 1 0 ADV73 1 1EVM_MODULE_REV1 0 Ddb 2 4 6 8 10 12 14 16 18 20 HEADER 10 2 2 4 6 8 10 12 14 16 18 20 HEADER 10X2 H4 o1 2b JHSYNC INSYNC Mr BLANK 95 6p 07 o9 wp CKN C O 11 120 HEADER 6X2 PI s ma E TR
14. are enabled simultaneously NOTE To ensure the TVP5160 is working properly go to Video Status by clicking on Edit gt Property Sheets gt TVP5160PNP gt Video Decoder Status and check the H V C lock status and the video standard This is only a check on the TVP5160 board and not the ADV7311 board or the TV display monitor TVP5160EVM User s Guide x TEXAS INSTRUMENTS SLEU063 8 WinVCC4 in Depth The following describes how to use WinVCC4 in depth It discusses various features and screens which the user may encounter while evaluating the TVP5160EVM 8 1 Starting WinVCCA The Port95NT parallel port driver must be installed before using WinVCC4 WinVCC4 may be started by clicking on Start gt All Programs TVP5160EVM Software Win VCC4 If the dialog shown in the figure below is displayed it means one of two things 1 WinVCCA did not run to completion the last time it ran In this case click OK to exit the program and restart WinVCCA 2 There is more than one instance of WinVCC4 running at the same time In this case click OK to exit the program Then press CTRL ALT DELETE to bring up the Task Manager Select and click End Task all occurrences of WinVCC4 or WinVCC4 CONFIGURATION Then restart WinVCC4 WinVCC4 D If the previous run of Win CC4 was terminated abnormally click OK and start again Otherwise more than one instance of Win CC4 may be running Click OK to close this program Then
15. design Customers are responsible for their products and applications using components To minimize the risks associated with customer products and applications customers should provide adequate design and operating safeguards does not warrant or represent that any license either express or implied is granted under any patent right copyright mask work right or other TI intellectual property right relating to any combination machine or process in which products or services are used Information published by regarding third party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof Use of such information may require a license from a third party under the patents or other intellectual property of the third party a license from under the patents or other intellectual property of Reproduction of information data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties conditions limitations and notices Reproduction of this information with alteration is an unfair and deceptive business practice is not responsible or liable for such altered documentation Resale of products or services with statements different from or beyond the parameters stated by for that product or service voids all express and any implied warranties for the associ
16. device To open this first open the register map editor in the Edit menu for the TVP5160 Then click the Edit Indirect Registers button The operation of the controls of the indirect register editor is explained in Table 6 5146 0x88 Indirect 12C Registers Base Address Selector 80 0500 Data Processor Control BASE ADDR OFFSET 43 o 9 4 oH 0 LOOP COUNT 1 E Write Close 1 999 NOTES gt LSB data at the lowest address gt Base Address Selector allows quick input of base addresses by functional block gt Any base address can be typed directly into the BASE ADDR edit box gt Loop count applies to both read and write buttons Figure 16 Indirect Register Editor Table 6 Indirect Register Controls Control Definition Base Address Selector The indirect registers use a 24 bit address internally The base address selector allows quick entry of the base address The list contains base addresses for the major functional blocks of the TVP5160 decoder Base Address Edit Box This allows the 24 bit base address to be typed in directly Address Offset Edit Box This contains the lowest byte of the 24 bit internal address The full 24 bit address is formed by adding the base address to the address offset The address up down arrows increment decrement the address offset by 4 Data Edit Boxes This contains the 32 bit data word that will be written to or read from the i
17. is not set Reboot PC enter BIOS setup program set parallel port correctly LPT1 mode Addr 378h to ECP mode or bidirectional mode sometimes called PS 2 mode or byte mode If already set to one of these two modes switch to the other setting See Section 4 2 1 Device was placed power down Press the reset button the TVP5160EVM mode EVM was configured for an external Reinstall 0 resistors R5 and R6 Control EVM using the master PC parallel port Still no communication The PC may not be capable of operating in the required parallel port mode This is true of some laptop computers Use a different computer preferably a desktop PC When WinVCC4 is started and the WinVCC4 Configuration dialog box is closed with OK the FC system test is performed unless the 2 System Test program options button was disabled If the system test fails a dialog box will appear Figure 18 reports that a read from TVP5160 failed using slave address 0xB8 subaddress OxBD The data read was 0x00 The expected data was 0x01 After noting which device had a problem click OK to continue Next the Corrective Action Dialog box appears to help fix the problem TVP5160EVM User s Guide 33 X TEXAS SLEUOGS3 INSTRUMENTS I2C Test Report TVP5146 FAILED Read Dev 0xB8 Addr BB 0 10 Miscompare wrote 0x00 Figure 18 System Failure Dialog Box 9 2 Corrective Action Dialogs After closing the
18. press Ctl Alt Delete Highlight and click End Task to terminate all instances of Windows Video Control Center or WINVCC4 Configuration Figure 7 WinVCC4 Multiple Occurrences Error Message TVP5160EVM User s Guide 15 TEXAS SLEUOGS3 INSTRUMENTS 8 2 WinVCC4 Configuration Dialog Box The WinVCC4 Configuration dialog box as seen in Figure 8 should now be visible This dialog configures the bus on the TVP5160EVM All settings from this dialog box are stored in the Windows registry and are restored the next time the program is started After initial installation VID will be set to TVP5160 and VID will be set to ADV7311 The slave address for each device must match the slave address selected by jumpers on the TVP5160EVM These jumpers are set by the factory to use OxB8 for the video decoder and 0x54 for the video encoder It is also important to select the correct specific devices The TVP5160 and ADV7311 must be selected for the TVP5160EVM All Program Options must be enabled Disabling these options is only required if you are debugging a problem with the bus itself Clicking OK begins FC communication with the selected devices WinVCC4 Configuration 120 SYSTEM CONFIGURATION DEVICE FAMILY SPECIFIC DEVICE 120 SLAVE ADDR VID DEC DVB C Video Decoder VID 7311 Encoder gt 54h C 56h Video Encoder TvP7000
19. 1 3 5 6 3V C12 C14 CVBS O 1uF 0 luF 0 luF I AD8062 RCA CvBs 3 7 12 ADDRESS SELECTION QR RIS RIT 2 1 2 Base Addr 0x56 604 2 ASV 2 3 Base Addr 0x54 Default x e aem POP lt CLKIN RI R20 560 aa __ 560 10k BLANK JHSYNC ALSB 2 gm 7 E USA sv Y 3 8062 RIA n R22 10k RI V 5 ENSY VIDEO 0 7 3 9 560 R28 560 5 7 8 3V AD8062 5 Ebr R23 R26 6 604 121 VAM 0 52222222052202 9 c 1 ne C31 gt R24 NO ee 48 IBLANK Lik Yo 47 RSETI RO VREF 1 1 cour R2 E CVBS 2 560 Ya 43 SV Y 0 luF Ys DACC Y6 7 XT 40 7 AGND DACD x Yo 36 CO COMP 55 RSET2 PUR L10 LII c P 2 12uH 0 85 C44 850 75 ii YPBPR RCA RGB CLKIN 16 18 e fYYYA 5 d 12uH 0 ha 4 C36 R38 75 270pF AS SCL C380 95 c32 NOJ 03 3v R42 6 agi 200 R47 560 4 99k 680 NS 1 RSETI m 12 19 R44 1 2uH 0 SoH R39 0 1uF 75 Sy E 0 1uF COMP2 R45 Title SZ V ENCODER EVM ADV7311 Size Number Revision id REV 1 0 Date 16
20. 2005 Sheet File CAUserdata EVM Design Files MODULAREAEDBEV MS ADV7311EVM_MOD 6 1 0 ADV73 1 1EVM_MODULE_REVI1 0 Ddb li 3 4 6 Revision 2 0 evision 2 m Feb 2005 Tuner Interface VBI Decoder Interface Tuner Interface VBI Decoder Interface 5160 5160 E Fin SSS A m a __________ _______ Ss ue ge pecu a pe B Ss Testpoints Testpoints A Title TVP5160EVM BLOCK DIAGRAM TSOPII 50 SDRAM TSOPII 54 SDRAM TSOPII 86 SDRAM Size Number Revision TSOPII 50 SDRAM TSOPII 54 SDRAM TSOPII 86 SDRAM B REV 2 0 Date 16 Feb 2005 Sheet of File C Userdata EVM Design FilesMODULABEZSEIDBEVMSYTVP5160EVMYTVPS160EV 1 3 4 6 M_MODULE_REV2 0 TVP5160EVM_MO T 03 3V NA 22k RS U2D 74AHCOS 74AHCOS 02 12 D3 3V 74AHCOS R53 22k R54 22k 74AHCOS 74AHCOS U2E TAAHCOS D B A Title 5160 DC Size Number Revision 5 2 0 Date 16 Feb 2005 File CAUserdata EVM Desig
21. 311 be used This will ensure the video decoder within the display monitor will not be used Description Overview The TVP5160EVM is powered by a single 5 V universal supply FC communication is emulated using a PC parallel port configured for ECP extended capability port or bidirectional mode The parallel port mode can be changed using the PC BIOS setup available during the reboot process The TVP5160 video decoder converts the analog video input signal into digital component data This digital data and the associated clocks from the video decoder are sent to the ADV7311 video encoder The video encoder converts the digital data back into analog video The analog video outputs provided by the ADV731 1 encoder include CVBS S Video SV and YPbPr These are all output simultaneously Control of the TVP5160EVM is provided by WinVCC4 Windows based application developed by Texas Instruments and provided free of charge This application uses the parallel port to provide communication to the TVP5160EVM WinVCC4 provides a graphics user interface GUI and a register level interface to program and vary the controls available within the TVP5160 decoder and the ADV7311 encoder TVP5160EVM User s Guide 3 TEXAS SLEU063 INSTRUMENTS 2 Board Level Description Figure 1 illustrates the various features available on the TVP5160EVM Sia iy 5 52008
22. 4 onto the PC No reboot is required 4 Run WinVCC4 exe NOTE A shortcut to WinVCC4 should now be available on the desktop WinVCC4 and additional TVP5160 related documentation can also be found at Start Programs TVP5160EVM Software TVP5160EVM User s Guide 11 TEXAS SLEUOGS3 INSTRUMENTS 7 WinVCC4 Quick Start The following describes the steps to take within WinVCC4 in order to get video out of the TVP5160EVM 1 Once WinVCC4 is executed the WinVCC4 Configuration screen appears This dialog box is used to configure the bus Next to VID DEC select the TVP5160 and ensure the PC address is set to 0 8 This should match the 122 ADDR jumper on the TVP5160 board NOTE If WinVCC4 is running and the TVP5160 board address is changed power must be cycled on the EVM 4 Configuration 120 SYSTEM CONFIGURATION DEVICE FAMILY SPECFIC DEVICE 122 SLAVE ADDR MD DEC DVB 5 Video Decoder MD 7311 Encodes s amp amp h fide o DVB USED Hideo and Graphics THSe200 NOT USED IHOTV SDTV REB DACI OFTIONS _ ENABLE 120 System Test ake clicking DE ENABLE Derce nhen opening a E Program Figure 3 WinVCCA4 Configuration Screen 2 Next to VID select the ADV7311 and ensure the address is set
23. B RED amp CVBS shared w SV 6 82pF Title TVP5160EVM ANTI ALIASING FILTERS Size Number Revision B REV 2 0 Date 16 Feb 2005 Sheet of File C Userdata EVM Design Filee MODULABEZEIDBEV MS TVPS 160EVM TVP5160EV 6 M_MODULE_REV2 0 TVP5160EVM_MO 4 5 6 D SV 3 0A DC INPUT psy Fl FUSE T V T PJ 002BH mem 1 gt 3 B ARZENER 1 5526 HEADER 3 1 A TVP5160 POWER SUPPLY VOUTI IS 3 3V 1A VOUT2 IS 1 8V 2A 142 3V eed au C40 C43 22uF 0 1uF R20 249k RIOJ c 8 lt NO POP POWER ON LED 5V ee m E s 2 23 VINIA VOUTIA 1 3 4 2 X L 5 sy 2 I Zur CT onr 1 7 Eus RIO j RESET X mm Mk DI 8V perd 9ND iS 5 t 5 1 1 VIN2A vouta 1 1 4 12 VIN2B VOUT2B T SREO noo R61 C50 TPS70451 LEDI 220 0 luF RESET ON POWER UP 0 R23 100k B u3 C47 1 CONTROL VDD 5 RESET 3 RESIN RESET TLCTT33IPW A Tile 5160 P
24. C_TMMS_120PIN_M_RA T Title TVP5160EVM CONNECTOR Size Number Revision 5 2 0 16 Feb 2005 Sheet of CAUserdataEVM Design Files MODI HSVMSVTVPSIGOEVMNTVPST MODULE REV2 OTVPSIGOEVM MODULE REV 2 0 ddb 2 4 5 6 D Dsv H6 519 0 e o 1 2p amp 9 i 5 CI SDA 5 S 7 sp 9 SS onu meo bs 16b En Xp B M Ys 9 D VS VBLNK Y7 a HSYNC 25 2 Y6 FID YS AVID Q2 O31 me CBATACIKC Yi a FE 5 GLCO 12 ei GNDI GND2 HEADER 20X2 GND GND D33V A33V 5 CVBS OUT CVBS_OUF ScaRT OUT S_DATA DI sv Lav ALSV Lav iz DATA SCART SCART CLK VIDSTAT ur A Tile TVP5160EVM TESTPOINTS Size Number Revision 2 0 Date 16 2005 Sheet File CAUserdataVEVM Design Files MODUL IDEBVMSVTVPSTSUEVMNTVPSTQDEVM MODULE REV2 0NTVPSI60EVM MODULE REV 2 0 ddb 2 3 4 5 6
25. DVB USED BSh C Video and Graphics Digitizer THS8200 NOT USED 7 40h 42h HDTV SDTV RGB DAC PROGRAM OPTIONS ENABLE 120 System Test after clicking ENABLE I2C Acknowledge Checking ENABLE Auto Update from Device when opening or selecting window Figure 8 Address Configuration TVP5160EVM User s Guide TEXAS 8 4 INSTRUMENTS SLEU063 83 System Test The system test of selected registers runs immediately after closing the WinVCC4 Configuration dialog box with OK unless the system test program options button was disabled If the PC system test passes then only a PASS message will appear If the test failed then a dialog box like Figure 9 will appear See Section 9 Troubleshooting for details on how to resolve this issue The system test can be run at anytime by clicking Run System 2 Testin the Tools menu 12C Test Report TVP5146 FAILED Read 8 Addr 0 BB Data 0x10 Miscompare Wrote 0x00 Figure9 System Failure Real Time Polling Real time polling provides polling functions that execute in the background continuously when enabled via the Real Time Polling dialog There are two polling functions The function that applies to the TVP5160 decoder is VIDEO STANDARD AUTO SWITCH POLLING When the TVP5160 decoder detects a change in the input video standard it automatically switches to operat
26. Decoder 8 9 S Video Interface i 8 8 mee ope anes iem et ts ADV7311 g TVP5160 S YPbPr 8 2 SD ED E e Testpoints Address Reset Select FSS 12C Select Address Select Figure 1 TVP5160EVM Block Diagram 2 1 Analog Inputs The TVP5160EVM makes use of all the available inputs on the TVP5160 decoder The following inputs are available for use Composite CVBS S Video YPbPr SD ED SCART CVBS and component RGB Tunerinterface CVBS decoder interface analog digital RGB NOTE The S Video Y C input is shared with the SCART CVBS and R inputs and must not be connected simultaneously Table 1 shows the pins used for the inputs described above 4 TVP5160EVM User s Guide TEXAS INSTRUMENTS Table 1 Input Type CVBS S Video YPbPr SCART Tuner interface CVBS VBI decoder interface analog RGB 2 2 Anti Aliasing Filters SLEU063 Analog Inputs and Pin Terminals TVP5160 Pin s VI 1 VI 3 Y 9 C VI 5 Y VI 11 Pb VI 8 Pr VI 3 CVBS 9 R 6 G 12 B VI 2 VI 7 R VI 4 10 B Each analog input has an anti alias filter installed by default to ensure the input to the TVP5160 decoder is of the best quality and does not alias The filters are elliptical in design in order to minimize the cost and still provide the best roll off D
27. OWER Size Number Revision fe REV 2 0 Date I6 Feb 2005 Sheer File CAUserdataEVM Design Files MODUL IDEBVMSVTVPSTSOEVMNTVPSTSDEVM 2 3 4 6 ODULE_REV2 0 TVP5160EVM_MODULE_REV 2 0 ddb B 4 S 6 D VDD SDRAM_SOTSOPII B A Title TVP5160EVM SDRAM 50 PIN TSOP II Size Number Revision B REV 2 0 Date 16 Feb 2005 Sheet of File C Userdata EVM Design Filee MODULABEZEIDBEV 5 5 160 5160 MODULE 2 5160 MO B 4 5 6 il 2 3 4 S 6 D 1 2 1 4 5 8 7 8 0 1 L d B B D22 topo D23 VDD SDRAM 86TSOPII AOL LL O A Title TVP5160EVM SDRAM 86 PIN TSOP II Size Number Revision B REV 2 0 Date 16 Feb 2005 Sheet of File C Userdata EVM Design Filee MODULABEZEIDBEV 5 5 160 5160 MODULE 2 5160 MO 1 2 3 4 5 6 Vss SDRAM_S4TSOPII D TVP5160EVM SDRAM 54 PIN TSOP II Size Number Revision B REV 2 0 Date 16 Feb 2005 Sheet of File C Userdata EVM Design Filee MODULABEZEIDBEV MS TVPS 160EVM TVP5160EV 6 M_MODULE_REV2 0 TVP5160EVM_MO SAMTE
28. Register 7 14 Register 8 _ NOTE Any address not shown in the list can be accessed by typing the address and then clicking Read or Write Address M ount Radix E __ Dec 1 994 Hex _ Applies to Write Data and Read buttons Figure 14 Encoder Module Editor 26 TVP5160EVM User s Guide x TEXAS INSTRUMENTS SLEU063 8 5 2 3 Generic Register Editor The Generic Editor as shown in Figure 15 allows the display and editing of any device on the bus This editor works like the Register Map Editor except that the slave address must be entered and the Read All button is disabled To open this click on Edit Register Map in the Edit menu and then click on Generic 2 The video encoder module registers can be edited using subaddress 0x54 default or 0x56 if the alternate slave address is being used Generic 2 Register Addiess Data RAW Name Description Loop Count 12 Slave Address Address HM Radix p 1 Dect 1 999 ce Data Applies to Write Read buttons ani 06 Close Figure 15 Generic Register Editor TVP5160EVM User s Guide 27 TEXAS SLEU063 INSTRUMENTS 8 5 24 Indirect Register Editor 28 The indirect register editor as shown in Figure 16 allows the display and editing of the indirect registers or hardware registers of the
29. am 8 WinVCCA Configuration 12 WinVCC4 Real Time Polling Screen eee enne 13 WInVCCA4 Main Sereen raan draai troie 13 WINVCC4 System Initialization 13 WinVCC4 Multiple Occurrences Error Messapgg esee 15 WinVCC4 Address Configuration sssssssssssssssssssssssssssssssssessssssssssssesssessssesessssees 16 lC Systeim Failure de rc ceci roe Te scu 17 Real Time Polling Dialog BOx oo eei et Doce tt 18 WinVC C4 Mali rerit eter omnes rerit cee 19 System etait pro ci cO 20 Hegister Map eee 24 Encoder Module een eee 26 Generic Register 27 Indirect 5 eroe o iine te caes Ce ceo Ses eara 28 Property cd ef rh cn n EE 30 System Failure Dialog 34 Corrective Action Dialog BOX 34 Corrective Action Required 2 35 Corrective Action Required
30. ated product or service and is an unfair and deceptive business practice Tl is not responsible or liable for any such statements Following are URLs where you can obtain information on other Texas Instruments products and application solutions Products Applications Amplifiers amplifier ti com Audio www ti com audio Data Converters dataconverter ti com Automotive www ti com automotive DSP dsp ti com Broadband www ti com broadband Interface interface ti com Digital Control www ti com digitalcontrol Logic logic ti com Military www ti com military Power Mgmt power ti com Optical Networking www ti com opticalnetwork Microcontrollers microcontroller ti com Security www ti com security Telephony www ti com telephony Video amp Imaging www ti com video Wireless www ti com wireless Mailing Address Texas Instruments Post Office Box 655303 Dallas Texas 75265 Copyright 2005 Texas Instruments Incorporated
31. by backend processing or re encoding These outputs are then fed into a high end or studio quality display monitor such as a Sony Trinitron At the same time the CVBS output from the encoder may also be fed into a video test measurement system such as the Tektronix VM700 This allows various tests to be run and also allows the user to analyze the video waveform or vectorscope Tektronix Tektronix TG2000 NTSC PAL CVBS VM700 Video 5160 Monitor Video Source Measurement Figure 2 TVP5160EVM System Level Block Diagram TVP5160EVM User s Guide TEXAS 4 INSTRUMENTS SLEU063 Required Hardware and Equipment The following lists the required hardware and equipment necessary to use the TVP5160EVM TVP5160EVM provided Universal 5 V power supply provided Parallel cable provided Windows based PC 1 composite RCA video cable 1 YPbPr component RCA video cable Video source pattern generator DVD player etc TV or display monitor that supports YPbPr component video inputs TVP5160EVM User s Guide 9 SLEU063 5 TEXAS INSTRUMENTS Hardware Setup The following describes how to set up the hardware for the TVP5160EVM T Connect the TVP5160EVM boards together using the 120 pin board connector on each board Connect a CVBS input to the TVP5160 board and a component cable to the YPbPr outputs of the ADV7311 board NOTE For evaluation it is recommended that the YPbPr component video
32. cted to the digital R G and B inputs and FSO which are shared with the C bus C6 9 respectively Test Points and Jumpers Various test points are available on the TVP5160EVM for the user This includes the various power supplies as well as a few GND test points The primary test point header is H6 and provides access to the video data video clocks 5 V and GND There are three jumpers available on the TVP5160 board that configure the power down mode address select and the FSS select Each jumper is set by default in its preferred state for the TVP5160EVM Next to each jumper on the TVP5160 board is the silkscreen that describes the two states of the jumper configuration If the FC address is changed on either the TVP5160 board or the ADV7311 board while the TVP5160EVM is powered up then that device will not recognize the new address The reset button on the TVP5160EVM must be pressed and WinVCC4 must be reconfigured for the new address TVP5160EVM User s Guide ki TEXAS INSTRUMENTS SLEU063 2 7 2 8 2 9 SDRAM On the TVP5160EVM there are three SDRAM footprints 50 pin 54 pin and 86 pin These are provided to accommodate the user s choice of SDRAM that will be used in their final product By default the TVP5160EVM is provided with 64 Mbit SDRAM 54TSOPII If the SDRAM is changed then the SDRAM configuration register 0x59 will also need to be updated with the correct memory size This must be
33. default as seen below Windows Video Control Center WinVCC4 v4 56 DER File Edit Tools Window Help Figure 5 WinVCC4 Main Screen 7 Click the TVP5160 SD ADV7311 dataset in the window and then click the Program Dataset button to initialize the TVP5160EVM System Initialization Command File FiesNTesas Iratrumenis Ww r CCA Untidicetion VS EVM Commend Fie peissons Bytes Pet Block REPLACE APPEND PROGRAM voto Selected Dataset Oneri Device s vat Cutler Device Settings Device Settings to CND File Selected status Dataset Descriptions SOLZ ADY 7311 CVBS in 1004170555 0 Enabled 85 55 E cu 480p amp 8 07311 2045 IDNA Enabled ot TVP31ED 576p ADV7311 YFbPrSTEg 20 31 110 656 3D YC Enabled ot 1 the Facto supped irilialzatan tice brossa Progam Flies T esas Instiumant an ons cod 2 IF REPLACE APPEND functions wil be used click RELOAD viverever tre video decoder EVM is ox Figure 6 System Initialization TVP5160EVM User s Guide 13 SLEU063 TEXAS INSTRUMENTS 8 With a video source provided at the composite video input video should be viewable on the TV display monitor All ADV7311 outputs
34. e data has changed A register is flagged as changed if the value to be written is different from the value last read from that address TVP5160EVM User s Guide 31 TEXAS SLEU063 INSTRUMENTS 9 Troubleshooting This chapter discusses ways to troubleshoot the TVP5160EVM 9 1 Troubleshooting Guide If you are experiencing problems with the TVP5160EVM hardware or the WinVCC4 software see Table 9 for available solutions Table9 TVP5160EVM Troubleshooting Symptom Solution At startup the error message The parallel port driver supplied with Run Port95NT EXE on the CD to Cannot find DLL file the EVM has not been installed install the driver DLPORTIO DLL appears Blank screen Wrong video input is selected Go to Edit gt Property Sheets gt TVP5160 Analog Video page select the correct video input s and click Apply The Composite Video 1 input is default Source is connected to the wrong input Connect source to the correct input connector connector YCbCr outputs or clock output is Go to Edit gt Property Sheets gt disabled TVP5160 Output Control check the Enable YCbCr Outputs and Enable Clock Outputs check boxes and click Apply No color GLCO pin is not set to output the Go to Edit gt Property Sheets gt signal TVP5160 GPIO page set the drop down box labeled GLCO I2CA Terminal to Genlock Output and click Apply Screen colors are only magenta Wrong YCbCr output format Go to Edit
35. e family mnemonic to the slave address that was selected on the WinVCC4 Configuration dialog upon program startup This eliminates having to edit command files if the alternate slave address must be used If the literal slave address method is used then the slave address entered will be used directly This method is normally used for programming the video encoder 8 A delay may be inserted between commands using the WAIT command which is written as follows WAIT lt milliseconds TVP5160EVM User s Guide 23 SLEU063 6 5 2 Register Editing The next section describes the four available modes of register editing Register Map Editor Encoder Module Editor Generic I2C Register Editor and Property Sheets Each of these functions can be selected from the Edit menu 8 5 2 1 24 A TEXAS INSTRUMENTS Register Map Editor The register map editor as shown in Figure 13 allows the display and editing of the entire used register space of the device within a simple scrolling text box To open this click on Edit Register Map in the Edit menu and click on the device type to edit If the intended device type is not shown then use the Windows menu to activate the existing window 0 OF 00 00 5146 0 8 Register Input Select AFE Gain Control Video Standard Operation Mode Auto Switch Mask Color Killer Luminance Processin
36. en pn deb 35 PPC saci 36 Tables Analog Inputs and Pin 5 Tuner Interface Pinout 2 nunne 5 2 6 Menu SUMMAly 19 Register Map Editor COnlFols eee ort ette eee ecrit centes 25 Indirect Register Controls lesse eese eeeiseeeen 28 Use of Property Sheet Controls 31 Property Sheet Button 31 TVP5160EVM 5 32 l C Troubleshooting 33 TVP5160EVM User s Guide TEXAS 1 1 INSTRUMENTS SLEU063 Functional Description The TVP5160EVM refers to both the TVP5160 board the ADV7311 board when they are connected together Both boards share a common interface via a 120 pin connector This interface provides all data clocks communication and 5 V power to each board The ADV7311 is a professional grade 12 bit 216 MHz video encoder This device minimizes potential artifacts caused by the re encode process When evaluating the TVP5160 decoder it is highly recommended that the YPbPr component video outputs of the ADV7
37. etails on the anti aliasing filters including frequency response and the group delay are provided in a separate application note The filter on any analog input may be bypassed by removing the 0 resistors currently installed JP1 6 9 10 and shorting one of them across 1 2 Since the S Video input is shared with the SCART CVBS and these inputs share the same anti aliasing filters 23 Analog Output The analog output from the TVP5160 decoder is made available on the TVP5160EVM The output is buffered using a simple emitter follower and the output signal is automatically determined by the TVP5160 decoder If a CVBS is selected as the input then the analog output is the same looped through CVBS output If S Video or YPbPr is the selected input then only Y is output since it contains the sync information Typically the analog output is used for VCR record functions in some CE applications 2 4 Tuner Interface The tuner interface provides a method of connecting an analog TV tuner to the TVP5160EVM The expected output from the tuner module to the TVP5160EVM is baseband composite video Termination for the 75 input source is already provided on the TVP5160EVM tuner input The pinout of the tuner interface is provided in Table 2 Table 2 Description CVBS output from tuner SDA I C data SCL address GND D5V Tuner Interface Pinout H2 Pin Number 10 29 31 1 9 11 28 30 32 36 37 40 To supply the
38. g 1 Luminance Processing 2 Luminance Processing 3 address not shown in the list can be accessed by typing the address and then clicking Read or Write Edit Indirect Registers Loop Count Write 1 Dec 1 999 Hex _ Bed Applies to Write and Read buttons Figure 13 Register Map Editor TVP5160EVM User s Guide TEXAS INSTRUMENTS Control Register Window Address Edit Box Data Edit Box Write Button Read Button Read All Button Hex Button Dec Button Close Button Loop Count Edit Indirect Registers SLEU063 Table 5 Register Map Editor Controls Definition Scrolling text box that displays the address and data for the registers that are defined for the device This contains the subaddress that will be accessed using the Write and Head buttons Clicking on a row selects 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 The device has not yet been read The address up down arrows are used to jump to the next previous subaddress that is defined for the device If an address is not defined for the device then it can still be accessed by typing the subaddress in the Address Editbox This contains the data which will be written to or was read from the C subaddress The data up down arrows incr decr the data value by 1 Writes the byte in the Data Ed
39. guide above WinVCC4 This program NOT work with the current parallel port mode setting in BIOS IF the I2C communication problem CANNOT BE RESOLVED IN ANOTHER WAY Correct device type and or slave address settings reset or power cycle the EVM restart this computer and enter the BIOS setup program Change the LPT1 parallel port base address 0x378 to ECP mode or to BI DIRECTIONAL mode also called 5 2 mode or BYTE mode If one of these two modes is already selected change to the opposite mode The Following parallel port modes were Found to be Functional ECP Bidirectional SPP BI DIRECTIONAL Figure 21 Corrective Action Required 9 2 1 Setting the PC Parallel Port Mode NOTE Only run the PC BIOS setup program if the C communication problem cannot be resolved in another way Correct slave address settings reset or power cycle the EVM and or check that the device type selected was TVP5160 TVP5160EVM User s Guide 35 TEXAS SLEUOGS3 INSTRUMENTS 1 Restart the PC 2 During the boot process enter the BIOS setup program by pressing the required key usually the initial text screen tells you which key to press 3 Find the place where the parallel port settings are made Set the parallel port LPT1 at address 378h to ECP mode or bidirectional mode sometimes called PS 2 mode or byte mode If one of these two modes is already selected change to the opposite mode 5 Exit and save changes 9
40. he property sheets were designed so that the data displayed is always current Certain actions cause the entire register map to be read from the device and to update the property sheets This happens when 1 Property sheets are initially opened 2 When tabbing from one page to another 3 When Read Allis clicked 4 When making the Property Sheets window the active window by clicking on it 5 When making a Hegister Map Editor window the active window by clicking on it TVP5160EVM User s Guide 29 TEXAS SLEUOGS3 INSTRUMENTS 8 5 3 2 Auto Update from Device 30 Items 4 and 5 above are referred to as the Auto Update feature Auto Update can be disabled by setting its program option button to DISABLED This button is located on the initial dialog box WinVCC4 Configuration With Auto Update enabled default the user can open both the Property Sheets and the Register Map Editor at the same time Changes made to the Property Sheets and applied are updated in the register map window as soon as the Register Map window is clicked on It also works the other way changes made in the Register Map Editor are updated in the Property Sheets as soon as the Property Sheets window is clicked on 5146 Property Sheets Macrovision Detection Video Decoder Status SCART GPIO Component Gain 7 Offset AFE Gain Mode Selection Input Selection AGC ChromaDatsPah Synchronizatio
41. ion in the detected standard which includes all necessary register initialization for proper decoding of the input video The ADV7311 encoder does not have this feature For this reason WinVCC4 must update the video encoder TVP5160EVM User s Guide 17 TEXAS SLEUOGS3 INSTRUMENTS If the WinVCC4 autoswitch polling function is enabled then the detected video standard status from the TVP5160 decoder is polled until a change in the input video standard or in the TVP5160 sampling mode is detected When a change is detected the video encoder is reprogrammed as needed for the detected standard Using this feature the video source can change its video standard and the system will display using the new standard without user intervention To enable autoswitch polling recommended the video standard autoswitch polling function must be enabled in the Real Time Polling dialog box as shown in Figure 10 The Real Time Polling dialog can also be accessed once WinVCC4 is up and running by clicking Real Time Polling in the Tools menu Real Time Polling Click to Enable or Disable ENABLED VIDEO STANDARD AUTO SWITCH POLLING Polls TV PERS for a video standard switch and updates the video output device DISABLED Video standard auto switch is only displayable via digital outputs ENABLED Video standard auto switch is also displayable at the video outputs LINE COUNT CORRECTION POLLING Polls for changes in
42. itbox to the address in the Address Editbox The register is written to whether or not the data is different from the last time the register was read Reads the data from the address in the Address Editbox into the Data Editbox and the register window Reads all defined readable registers from the device and updates the register window Converts all values in the register window and address and data edit boxes to hexadecimal Converts all values in the register window and address and data edit boxes to decimal Closes the dialog 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 number from 1 to 999 Opens the indirect register editor of the TVP5160 TVP5160EVM User s Guide 25 TEXAS SLEUOGS3 INSTRUMENTS 8 5 2 2 Encoder Module Editor The encoder module editor as shown in Figure 14 allows the display and editing of the video encoder registers This editor works like the Register Map Editor To open this click on Edit Register Map in the Edit menu and click on Encoder Module Encoder Module 0x54 Register Address 11 Mode Register 0 3F Mode Register 1 63 Register 2 01 Register 3 06 Register 4 00 R w Register 5 AD Register 00 R w
43. n Output Control Select Auto Switch or a Fixed Video Standard z Sampling Mode Multi standard X ITU R BT 601 Video Auto Switch Mask Auto Switch Status C Square Pixel Iz ENABLED PAL Video Input has Blanking Pedestal PAL NTSC 4 43 Check all video standards SECAM to be INCLUDED in auto switch processing Detected Video Standard 5 Read All OK Cancel Apply Figure 17 Property Sheets TVP5160EVM User s Guide TEXAS INSTRUMENTS SLEU063 Table 7 Use of Property Sheet Controls Up Down arrows Type a number After Apply Slider Slide a lever Immediately Pushbutton Initiate an action Immediately Dialog Control When is Hardware Updated Read Only Edit Box N A Drop Down List After Apply Edit Box After Apply Edit Box with Up Down Arrows Immediately Sidealever Initiate an action Table 8 Property Sheet Button Controls Button Control Definition OK Writes to all writeable registers whose data has changed A register is flagged as changed if the value to be written is different from the value last read from that address Closes the dialog Cancel Causes all changes made to the property page since the last Apply to be discarded Changes made to dialog controls with immediate hardware update are not discarded since they have already been changed in hardware Does not write to hardware Closes the dialog Apply Writes to all writeable registers whos
44. n Files MODUL iD 516 ODULE_REV2 0 TVP5160EVM_MODULE_REV 2 0 ddb m 2 1 4 3 6 5 8 1 0 9 12 6 15 7 2 19 2 21 5 25 2 2 sb t 30 SAMTEC SSW 120 P G D Tile TVP5146EVM TV TUNER INTERFACE Size Number Revision 2 0 Date 16 Feb 2005 Sheet of File CAUserdataEVM Design Files MODUL 6 6 ODULE_REV2 0 TVP5160EVM_MODULE_REV 2 0 ddb R60 0 SAMTEC SSW 106 Q02 G D D5V H4 il 2 3 4 5 6 7 8 9 10 m 12 SAMTEC SSW 106 Title TVP5160EVM VBI DECODER INTERFACE Size Number Revision B REV 2 0 Date 16 Feb 2005 Sheet of File C Userdata EVM Design Filee MODULABEZEIDBEV MS TVPS 160EVM TVP5160EV 6 M_MODULE_REV2 0 TVP5160EVM_MO COMPONENT C3 5 6pF C9 220pF 220pF C6 82pF C8 C10 330pF 330pF C21 82pF CVBS amp S VIDEO 5 6 82pF C24 82pF NOTE SV Y C is shared with SCART CVBS RED These anti aliasing filters are used for both sets of inputs SCART CVBS amp RG
45. ndirect address The LSB data is at the lowest address The data is written read LSB first The data up down arrows increment decrement the data value by 1 Write Button Writes the 4 bytes in the Data Editboxes starting at the 24 bit indirect address BASE OFFSET Read Button Reads 4 consecutive data bytes starting at the 24 bit indirect address BASE OFFSET to the Data Editboxes Loop Count Edit Box Causes subsequent write or read operations to be performed N times N is entered as a decimal number from 1 to 999 Close Button Closes the dialog NOTE The indirect register editor can remain open with other windows Use the Window menu to navigate TVP5160EVM User s Guide TEXAS INSTRUMENTS SLEU063 6 5 3 Property Sheets The Property Sheets represent the register data in a user friendly format The data is organized by function with each function having its own page and being selectable via tabs at the top 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 registers in the device are read from hardware to initialize the dialog pages Values on the page are changed by manipulating the various dialog controls as seen in Figure 17 There are OK Cancel and Apply buttons at the bottom of each property page These are explained in detail below 8 5 3 1 Reading the Register T
46. outputs be used in order to bypass the internal video decoder of the TV or video display Connect the parallel port cable from the TVP5160EVM to the PC NOTE There are footprints for a dc jack and a DB25 connector on the ADV7311 board but the default power and is provided by the TVP5160 board via the 120 pin connector P2 Connect the 5 V power supply to the dc jack on the TVP5160 board A green LED on each board should now be lit TVP5160EVM User s Guide TEXAS INSTRUMENTS SLEU063 6 Software Installation WinVCC4 is a Windows application that uses the PC parallel port to emulate providing access to each device on the bus WinVCC4 makes use of CMD files a text editable file that allows preset video setups to be programmed easily This feature allows the user to easily set multiple registers with the press of a button WinVCC4 also has Property Sheets for TVP5160 which allows the user to control the registers with a GUI All necessary software for the TVP5160EVM is provided on the enclosed CD The following provides the steps required to install WinVCC4 1 Insert the provided TVP5160EVM CD 2 Install Port95NT exe This is the parallel port driver used by WinVCC4 This driver must be installed and the PC must be rebooted before WinVCC4 will operate correctly Install Setup exe Click Next at all prompts and click Finishto complete the installation process This will install WinVCC
47. programmed before 3DYC or 3DNR is enabled Common Board Interface The TVP5160EVM uses a 120 pin connector to connect the TVP5160 board to the ADV7311 board This interface shares all common signals including the and the 5 V supply The purpose is to modularize the TVP5160 board and allow users to interface it to a variety of other Texas Instruments products including triple video DACs DVI transmitters or to any other platform that shares the same interface This connector shares all digital video data Y 9 0 C 9 0 all video clocks SCLK VS HS GLCO AVID and FID reset FC and 5 V as mentioned above Video Encoder Analog Outputs The analog outputs of the ADV7311 board include CVBS S Video and YPbPr All of the outputs are available simultaneously For evaluation purposes it is recommended that the YPbPr component video outputs be used in order to bypass the video decoder internal to the display monitor TVP5160EVM User s Guide 7 3 TEXAS SLEUOGS3 INSTRUMENTS System Level Description The system block diagram illustrated in Figure 2 provides an example of how the TVP5160EVM may be used for evaluation Typically the analog input is a CVBS signal provided by a video source such as a pattern generator or a DVD player running a test DVD The TVP5160EVM itself is configured with the provided 5 V supply and the parallel port cable The analog output is typically YPbPr to reduce the number of artifacts caused
48. r custom data set and send it with a press of the Program button NOTE The command file CMD must be saved as plain text 8 5 1 2 Command Files The command file is a text file that can be generated using any common editor however it must be saved as plain text Command files are especially useful for quickly switching between the various system configurations These CMD files are unrelated to the typical Windows CMD files A default command file has been provided on the CD This command file should contain most of the desired setups This command file is located at c Program Files Texas Instruments WinVCC4 TVP5160 Mnitialization Files Initialize cmd A command file can contain up to 250 data sets A data set is a set of register settings to initialize the video decoder and or video encoder for a particular video mode Each data set includes a description that is displayed in one row of the dataset descriptions list The register settings may be located in the command file itself and or may be stored in separate include file s with an INC file extension and be included into the command file using the INCLUDE statement TVP5160EVM User s Guide 21 TEXAS SLEU063 INSTRUMENTS 8 5 1 3 Example Command File An example of one data set within a command file is shown below Each command file may contain individual write to register WR_REG commands BEGIN_DATASET Dataset 1 DATASET NAME TVP5160 SD
49. to 0x54 This should match the 2 ADDR jumper on the ADV7311 board 3 Ensure that all other boxes are selected as Not Used and that all Program Options buttons are set to Enabled Click OK 4 If there no communication issues then the Real Time Polling window will display next If there are issues an 22 Test Report box will display Completely exit out of WinVCC4 double check the parallel port cable connections cycle power on the TVP5160EVM and re run WinVCCA 12 TVP5160EVM User s Guide x TEXAS INSTRUMENTS SLEU063 5 At the Real Time Polling window ensure that VIDEO STANDARD AUTO_SWITCH POLLING is enabled and click OK Real Time Polling Cik bo Enebi ENABLED VIDED STANDARD AUTO SWITCH POLLING Pols for a viden standard swch ard updstes the video output device DISABLED Video standard e arly via digdal culpte ENABLED Video standard stdo cwtch sso displepeble a the wideo ED UNE COUNT CORRECTION POLUNG Fol kx changes n TV FEX line count end updates the video device DISABLED Homa operation ENABLED Vertical stablity can demanstiated vih nea standard number of ines Figure 4 WinVCC4 Real Time Polling Screen 6 Load the provided TVP5160EVM CMD file into WinVCC4 by clicking on Tools gt System Initialization gt Browse The CMD should be available by
50. tuner module D5V supply and GND pins are provided The pins SDA and SCL are connected to the communications bus on the TVP5160EVM Control of the tuner module is available within the TVP5160EVM software as discussed later TVP5160EVM User s Guide 5 TEXAS SLEU063 INSTRUMENTS 2 5 2 6 VBI Decoder Interface This interface provides a method of connecting an external VBI decoder module to the TVP5160EVM via the H3 and H4 headers The VBI decoder may be a closed caption decoder teletext decoder or any other VBI decoder currently available on the market that provides the same signals The pinout of the VBI decoder interface is provided below Table 3 Decoder Interface Pinout Description H4 Pin Number Tuner CVBS input from tuner CVBS input from TVP5160EVM Analog RGB 11 9 7 B HSYNG E Te c FSS for analog overlay Digital RGB 7 9 11 DR DG DB SDA I C data 8 SCL FC address La 10 FSO for digital overlay 12 GND 5 6 With this interface there are two methods of overlaying the RGB character data output from the VBI decoder onto the input signal to the TVP5160 decoder Analog RGB overlay Digital RGB overlay Separate sets of the RGB inputs are provided depending on which overlay method is preferred The analog RGB inputs are connected to the TVP5160 analog inputs as discussed in Section 2 1 The digital RGB inputs and FSO are conne
51. u displays the dialog shown below This provides the means for initializing the video decoder and or video encoder for a particular video mode The details of the initialization are contained in the command file with a CMD file extension The command file is loaded using the Browse button Once the command file is opened a text list displays 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 Selected Dataset button to run the selected data set which loads the devices via the bus When the device initialization has completed the status indicator reads Ready NOTE If Ready does not display then the devices are not initialized and the bus is not communicating See Section 9 Troubleshooting for possible solutions Click the Close button to close the dialog box Each time the System Initialization dialog is closed the initialization file pathname and the data set selection number are saved in the Windows registry to allow these settings to be retained for the next time WinVCC4 runs System Initialization CommandFie C Progian F les Iratrumernds Ne ri CCAN TY PST E Command Fie Dpeissons Bytes Per Block REPLACE APPEND PROGRAM Baan Selected Dataset Oneri Devicefs 0 vat Cunat Device Settings srg Device Setting to CND File Datsret status
52. x TEXAS TVP5160EVM User s Guide NSTRUMENTS SLEUO63 March 2005 ONO 10 TVP5160EVM User s Guide Digital Video Department Contents Functional DESCH DION eet d itle tette tacet 3 14 Description OVOrvigW e RS oc Quir dn em 3 Board Level Descriptio e i ee discessit es eee 4 I BUS eui tare ot m baton dd ad 4 22 Anl Allasing 5 23 Analog OUIDUL ite Dd 5 ZI WEE ditte ec 5 25 GCOS interfaca te RN 6 2 6 Testpoints JUMpers acon 6 ZT t SDRAM cT 7 2 8 Common Board Interface anea a elt erat e qe ete Db ap adt e Dus Dub adt lad 7 2 9 Video Encoder Analog o c ora i bea ux lue d euet 7 System Level Deseriptlon sc ee ee eens 8 Required Hardware and 9 m 10 Software Installatloni 11 WInVCCA QUICK Slalt eere redimit 12 WHR VC CAN N Depi mem 15 8 1 Starting
Download Pdf Manuals
Related Search
Related Contents
DeLOCK USB 2.0 Card Reader micro SD/micro SDHC gi179 (pdf Samsung PL65 manual de utilizador Smeg SBD102LFR sink MANUAL DE INSTRUCCIONES PH 600 - PH 610 Y ﯾوﻧﯾﮐﺎﺳت - United Pharmaceuticals Fujitsu LIFEBOOK T730 Manual de usuario Copyright © All rights reserved.
Failed to retrieve file