Home

Texas Instruments TVP5154EVM User's Manual

image

Contents

1. CHI_AVDD CH2_AVDD CH3_AVDD CH4_AVDD AVDD_REF IOVDD El C79 CSL C83 C85 C86 C88 090 1 092 094 096 E Q 0 1uF 0 1uF OUE O luF OUE OtuF OtuF otuF Olur 01uF Sera AE E 9 ot gt CHI_PLL VDD CH2 PLL VDD CH3 PLL VDD CHA PLL VDD DYDD 50 ee clado Hu CRO 82 C84 C87 c89 091 093 095 C97 0 luF 0 luF 0 luF 0 luF OluF 0 1uF Otur Otur Our Ya 1431818MHz cus 1 cm CHI DO 33pF 33pF CHI Di THI D THI D CH4_AVDD CHI Di INPUT V DIVIDER NETWORK ae CH3 PLL VDD CHI D THI Di FOR 0 0 75V INPUT RANGE Me Su Sr SCLKI GPCLI VBLKI AVIDI REMEMBER 75ohm TERMINATION HSYNCI VSYNCI PALII FIDU GLCO PLL BNCI BNCS JPI 185 BNC_RA BNC_RA EE RI04374 ms o RUS a R108 R116 37 4 m 374 al e LA IN 1A Ol 18 IN 1B 0 CHIA 698 0 1uH CHI B C99 Jg af 2 TH2 DO FRE JP2 P JP6 P CH2 DI QN R10537 4 E a RUG mp BEE Di REFP2 CH2 D3 I 117 CH2 D4 374 CH2 Ds e al CH2 Dn LIN 2A 0 EIN 2B 0 CH2 A 6100 0 1uH CH2 D7 SCLKS2 CH2 B C101 SCLK2 BNCT GPCL VBLK2 SS R10637 4 BNC RA d R11437 4 ME N CHIA C ie Ed E CH3 B REFM3 R110 118 REFP3 WEE 37 4 37 4 AVID2 HSYN
2. 25 9 1 Development and Purpose of DM642 Code 25 9 2 Details of the DM642 Code and Control Registers 26 10 Hime mE 33 104 Troubleshooting BEI 33 10 2 Gorrectve Action Dial 35 11 TVP5154EVM Schematics uan 37 SLEU069A February 2006 Revised July 2006 Table of Contents 3 Submit Documentation Feedback A List of Figures 1 TVP5154EVM Block Diagram siris crr KR a SX KENNS tara aaa a aaa aaa au OE arar 2 Anti Aliasing Filter Selection annnnnnnnnnnnnnnnnnennnnnnnnnnnnnnnnnnnnnunnnunennnnnnnunnnnnnnnnnnnnnnnnnnnnnnnnnnnee 8 3 TVP5154EVM System Level Block Diagram iii 9 4 WinVCG I2C Configuration Screen ee EE EER aaa aaa aa aa ate ea SX SEENEN EN ENER ha Rasa saca ae ER GEE RE EE EE RE 11 5 Real Time Polling Dialog EE 12 6 Decoder I C Write and Read Enable 12 7 WinV GG VERE EE EE ia vest ee ddie aan eten een meed 12 8 WINVGG System Initialization sesse santen nen ennen i deelen i iii ded iii inne ia 18 9 WinVCC Multiple Occur
3. LOCATE R PACK NEAR DSP DSP EMULLL 0 RN23RPACKS 39 DSP EMUIL DSP EMUIO DSP EMUS DSP_EMUS DSP_EMU7 DSP_EMU6 DSP_EMUS DSP_EMU4 DSP_EMU3 BIZ DSP EMU2 XDS EMUI CI4 DSP EMUI XDS EMUO B14 DSP EMUU XDS TCKRET C amp XDS TCK BI2 XDS TDO 87 DSP_TDO gt Bi XDS TMS B2 XDS_TRSTF_ C3 RN2ARPACK8 39 CI CI BIS BI Ik BS XDS_TDI XDS TMS XDS_TRST SA D33V C131 0 luF 9 4 R4 C226 RI21 100 1 NZ D3 3V 18pF JES SN74LVC1G32DCKR C132 10 SN74LVC1G32DCKR jamtec SOLC 115 02 5 Q A 33 TEXAS INSTRUMENTS INC 12500 TI BLVD DALLAS TEXAS 75243 JTAG Size FCSM No e DWG No Scale Sheet 15 of 17 RESET ON POWER UP POWER ON LED 5V SV 3 0A DC INPUT Dav psy win iy i m FI FUSE uz un cinia wer p AS 330 Se den common vo i L DI o S 3 o mo n la D Lj EE DI B SS26 TCTTSSIPWR HEADER 3 WZ ES VOUTI IS 3 3V IA VOUT2 IS 1 8V 2A mi D 249k r pa Mi C S Connect at pin 1 zd vnia vOUTIA Bosoe SA 3 3 sq in AGND min thermal pad Sets Voltage SE ger cm
4. Ei me mm ber evo BS Li 1 T mE I pe e PE A 1 m Te be ur Ha HEADER 2 i cus We i s S id SR m p em BR piss HE Pa Ska ZC as m he Ar ke E kenen dE cm Hem ee CH4 AVDD Si Br ms aneu von POWER ESTIMATES BASED ON SPRU190 L Lad as 7 I fa mm I fa 14V 600MHz 1 09 W 0 778A SC pr EAR Ce Ee Ju 33V 600MHz 0 52 W 0 157A no emif clk s e _4 gi He MEASURED CURRENT ON C6416TEB 0 7A OSV oni bo G EACH REGULATOR CAN SUPPLY UP TO 3A OF CURRENT HOWEVER COMPONENT VALUES HAVE BEEN SELECTED FOR 1 5A OPERATION VALUES CALCULATED WITH SWIFT DESIGN TOOL 2 0 us gt avon ses us S cua FOLLOW TPS54310 EVM LAYOUT Es BET HEADER 2 CUAL 5 HEADER 2 Jr Fi 33V SUPPLY no gne IA SC Se e ms e b 4 E e SL iat Danne e EE E E Lav SUPPLY i aces Sr zeen Rom mom NE ly IIII EE E T i 1 Se ES EI 163 HEADER 2 TEXAS INSTRUMENTS INC 12500 TI BLVD DALLAS TEXAS 75243 POWER STERN DWG No Tev D 1 Sat ae em DSV DSV DSV DSV TEXAS INSTRUMENTS INC 12500 TI BLVD DALLAS TEXAS 75243 CONNECTOR Size FCSM No DWG No c Scale T 16 of 17 IMPORTANT NOTICE Texas Instruments Incorporated and
5. Y 7 0 gt C 7 0 3 DM642 N video as gt Parallel Port CVBSY CH 1 i SUBE 3 3V Reg 3 3V Reg 1 8V Reg 1 4V Reg CVBSY 12C Bus CH2 y CVBS C CH1 CLK AV CH2 CLK AV S TVP5154 cH3 CLK AV FER CHA CLK AV CVBS Y CH3 CVBS C CV8SY Flash CH4 Memory CVBS C 120 pin male board connector 12C Bus Y 7 0 C 7 0 Video dl Video Cks Encoder gt CVBS 5 10 38uu02 pieog ajeuiaj UEL Figure 1 TVP5154EVM Block Diagram 2 1 Test Points and Jumpers The TVP5154EVM was designed with test points and jumpers to help in evaluation and troubleshooting Each jumper is set by default in its preferred state for the TVP5154EVM There are test points for SCL SDA 3 3 V and 1 8 V All digital video data for each decoder core are brought out to a dual row header which allows easy hookup to test equipment The I C address selection is made with two shunt jumpers which are only read after a reset or at power up The default address is OxB8 If the address needs to be changed the TVP5154 must receive a reset Table 1 CC Address Selection Jumpers I2CSEL1 JP9 and I2CSEL2 JP10 JP9 JP10 12C ADDRESS 2 3 2 3 0xB8 1 2 2 3 OxBA 2 3 1 2 OXBC 1 0 1 2 OXBE Tabl
6. Scale Sheet 8 of 17 4 6 CORE CAPACITORS ARE 0402 SIZE D3av SEV n 2 LEN _ pa es e fer Tes ile cn nie Our O 0luF O 0luF 0 0luF basal Ke 0 01uF PE 1 co eso Ion cae Cu CIT 622 026 C30 C33 OluF our O 1uF 0 1uF ona ootur oonr 001 oonr Ton D33V SS DSP_CVDD T i C cw cal CH cas Vom CH 019 cn cn d L niet ote ote omg ote or oomF oomr ooir oonr 4 4 Y D33V DSP_CVDD ik ps x T T T T C c lo ess c C50 cis cis C24 C28 cai cM Our Tue otr fonr otr OUE om pte oomr Tome 0 01uF ootur J D33V 7 DSP em T T T T c59 cos 66 c69 csi cs2 css Ca C55 C56 x 0 luF 0 luF OUE 0 luF 0 1uF 001uF 0 01uF oni Ion Ootur OOIE 4 4 DSP_CVDD Wa NA 6170 CITI C172 3 C58 C60 66 C64 C67 Cn Ke Ee Ee gt ABT ou otr otr otr ote our 10uF 10uF 10uF Iu 4 4 Jl gt _ABIO e y 2 D3av 3 NZ c62 ce ces Lem AC D33V DSP CVDD Ap Otur oir oir our D33V R90 ROT n lt 0173 CITA C175 33ul Bur 33uF TMXS20D
7. 21 57 23 24 25 26 27 28 TECLKOU EKOUT TEDI6 29 30 31 TEDI7 32 33 TEDIS 34 TEDI9 35 36 TED20 37 TED21 38 39 TED22 40 ai 42 ES ICS All BAO BAL AlO AP A0 AL A2 DOM2 VDD NC D16 VSSQ DI7 DIS VDDQ DI9 D20 VSSQ D21 D2 VDDQ D23 VDD TBEL TECLKOUTI TSDCKE MT48LC4M32 ZTG 6 DI9 D21 TEDS4 En B2 TEDSST 42 pe DI VDD VSSQ VSS TBESH TECLKOUTI TSDCKE TBET MT48LC4M32B2TG 6 TEXAS INSTRUMENTS INC 12500 TI BLVD DALLAS TEXAS 75243 SDRAM Size FCSM No Rev e 1 Scale Sheet 13 of 17 XDS TMS XDS_TRST XDS TDI lo XDS TDO Salo 8 XDS_TCKRET 9 10 XDS_TCK TI 12 XDS_EMUO 0000000 F 0000 OO D D XDS EMUI HEADER 732 Emulation ROUTE TRACES AS ONE GROUP MATCH SIGNAL LENGTH
8. Address Data RAW Name Description 00 FC RAW Power Mode Register 38 RAW Mode Select Register RAW Mode Register 0 RAM RGB Matrix 0 R w RGB Matrix 1 RAW RGB Matrix 2 RAV RGB Matrix 3 RAV RGB Matrix 4 RAM RGB Matrix 5 NOTE 1 Any address not shown in the list can be accessed by typing the address and then clicking Read or Write Loop Count Address wit 1 Applies to Write GEEN gt Wil and Read buttons Dec ET 1 999 Hex Read Histogram on Loop Count Reads AND Fr Readall T Enable Mask Show Close Data Figure 17 7311 Encoder Module Register Map Editor 8 5 2 3 Generic FC Register Editor The Generic C Register editor see Figure 18 allows the display and editing of any device on the DC bus This editor works like the TVP5154 Register Map editor except that the I C slave address must be entered and the Read All button is disabled To open this click on Register Map in the Edit menu and then click on Generic IC SLEU069A February 2006 Revised July 2006 TVP5154EVM User s Guide 21 Submit Documentation Feedback WinVCC in Depth da TEXAS INSTRUMENTS www ti com The DM642 1 C registers can be edited using DC sub address 0x40 See Section 9 for details about the DM642 registers The video encoder module registers can be edited using IC sub address 0x54 default or 0x56 if the alternate slave address is being used Generic 12C Register Map Address
9. 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 is provided on the CD This command file contains many examples of the desired setups This command file is located at c Program Files Texas Instruments TVP5154EVM Initialization A command file can contain up to 250 datasets A dataset is a set of register settings to initialize the TVP5154 decoder 7311 encoder and or DM642 for a particular video mode Each dataset 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 8 5 1 3 Example Command File An example of one dataset within a command file is shown below BEGIN DATASET DATASET NAME TVP5154 Auto switch Stable Sync Fast lock 656 Out Initialize video encoder using an include file INCLUDE EncoderNTSC656 RTC INC Program TVP5154 registers WR REG VID DEC 1 0x7F 0x00 Reset 5154 microprocessor WR REG VID DEC 1 0x03 0x0D Enable YCbCr outputs and syncs WR REG VID DEC 1 0x15 0x81 Enable Stab
10. C204 82pF C206 8 2pF L6 22uH 17 22uH C214 215 C216 C217 330pF 330pF 330pF 330pF C205 8 2pP C2078 2pF Lg 22uH 1 10 22uH C218 C220 C222 C224 330pF 330pF 330pF 330pF C208 82pF C209 8 2pF L11 22uH 6223 225 330pF 330pF TEXAS INSTRUMENTS INC 12500 TI BLVD DALLAS TEXAS 75243 ANTI ALIASING FILTERS Size FCSM No DWG No Rev B 1 Scale Sheet 3 4 5 11 of 17 6 DB25F_182 25F ND D3 3V 6106 N Il T O 1uF 22k R83 R82 22k TP23 TR p2 Ux UD RO4 6 5 9 SCL 1 lt 3 0 DH SN74AHCOSDR SN74AHCOSDR U2F 817 13 12 S N74AHCOSDRP 33V DB9 TP24 DBII TR 0 Di gm R85 R86 ROS 22k 22k SN74AHCOSDR A U 2E Il E 10 N74AHCOSDR TEXAS INSTRUMENTS INC 12500 TI BLVD DALLAS TEXAS 75243 DC Size FCSM No e DWG No Rev Scale Sheet 17 of 17 C109 CIL 0113 CIS C117 C119 121 123 C125 C127 0 1uF Out 0 luF O 1uF 0 1uF Out 0 luF Q IuF 0 1uF Out D33V e C108 CIO 0112 CIA 016 C118 C120 Ci22 C124 C126 C128 Q IuF 0 1uF Out 0 luF O 1uF Div Out O luF ii O 1uF 0 1uF 0 luF TBEOH C129 O luF C130 O luF prennan TSDWEF TSDCAST TSDRAST TCEDE
11. e a SSC cn kem Es 5 mur TJ our Rizo KR sd T cm Wm see E L sum GND aan av pu vn NGR E EMI SUPPRESION LOCATE NEAR EACH REGULATOR BE T EE iav Ts E ow GND E Sie E 23 f av DE 1 tow 6 VIAS FROM PAD TO PLANE OR DIRECT TIE one Door Sr i 7 Ro 1 ro 2 10 18 SUPPLY jy 3 1 JUMPER SN LIS Fr 3 psv Cer LIT 27H m nnr norol SI Lau OF LESR 17 E S pn 100 uF 2 FERRITE To um win 7 HEADER 2 SE KH p TPSSISIOPWP Did OPTIONAL CROSS COUPLE 7 R 18V SUPPLY 3 JUMPER Connect at pin 1 14V gt 174K 1 p 3 1 2V gt 28 0K 1 3 3 sq in AGND min thermal pad 2 ci mmm S dna d PAC 1V gt gt 422K 1 3 T MURSI20T3 CHI_PLL VDD 8 ar 1 T mursiors JUMPER i FERRITE ib D RS piss 192 pue a6 FERRITE TARTS DIE HERDER Can a P SES w3 pus zur lur Tur lur HEADER 2 cos Ras Wen T mursiz0r3 ud zur Jur Pur 4 D 3 cio 1 E ou nma IE TUMPER 1 DIT JUMPER 1 Y 7 MURSIZOTS 3 TORT 5 1 2 us m sis ci Am A si Hs T m pu um Q as mmm ES 1
12. 66MHz DEFAULT 1 33MHz TEXAS INSTRUMENTS INC 12500 TI BLVD DALLAS TEXAS 75243 DM642 VIDEO PORT Size FCSM No DWG No c Scale Sheet S of 17 D33V MT D33V RSI 22k D3 3V CIE L2 DOON D33V BLM21P221SN y2 TP3 RNI C166 4 TR RPACK4 10k O luF 1000pF R61 Jm 33 50 00MHz C168 NO POP D33V TPT TPS SNE R7 R39 DSP_CLKIN AC2 NO POP 10k 4 l DSP_ECLKIN Hs AA2 AES R70 360 R30 RS PCI EEAT 15 Ik NO POP RI2 GPO4 B R71 360 NO POP 6105 E 6506 Er GPOT EI B4 P4 RESET 13 T 4 R31 DSP_PLL_VDD Ik v6 BLM21P221SN c4 167 0 1uF 1000pF R3 zi Ha TMX320DM642CGDK TP10 RIO NO POP D33V SE DSP ECLKIN El S RII NO POP DE U3 C6 7 lt 0 1uF s1 50 MULTIPLY OUTPUT 0 0 AX 100 MHz 0 OPEN 5 33x 133 25 MHz D33V 0 A BE 125 MHz RI4 NO POP EMAC_ENABLE 2 OPEN 0 RET 2 62 5 MH R32 dk PCI EEAI OPEN OPEN 2x 50 MHz RIS NO POP LENDIAN MODE OPEN 1 3 33x 83 25 MHz E 0 6x 150 MHz 3 i OPEN 3X 75 MHz Di RI6 ds 1 di 8X 200 MHz No P GP07 R75 150 Place all PLL external components as close to the DSP All PLL external components must be on a single side of the board PCI
13. Data RAW Name 12C Slave Address 4 Use Repeated Start AND 02 Enable Ve FF Show Loop Count Loop Count Radi Address Witte EEN Applies to Write e 00 Read and Read AL Dec 1 999 Hex Read Histogram on Loop Count Reads or Read Alls Close Data Figure 18 Generic DC Register Map Editor 8 5 2 4 Memory Map Editor The memory map editor see Figure 19 allows the display and editing of the data memory and hardware registers of the device such as the scaler setting registers To open this click on Memory Map in the Edit menu and click on the device type to edit The operation of the memory map editor controls are explained in Table 5 TVP5154 0xB8 Edit Memory Address Range H w Registers 300 3FF ADDR OFFSET MSB LSB ES Hay 564 LOOP COUNT 1 Write Close 1 999 Histogram on Loop Count Reads AND Enable Ha FFFFFFFF Show NOTES gt Loop count applies to both read and write buttons Figure 19 Memory Map Editor 22 TVP5154EVM User s Guide SLEU069A February 2006 Revised July 2006 Submit Documentation Feedback d TEXAS INSTRUMENTS www ti com Win VCC in Depth Table 5 Memory Map Editor Controls CONTROL DEFINITION Base Address Selector The hardware registers use a 10 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 th
14. EEPROM AUTO INIT CONFIGURATION R16 R32 MODE SELECTED 0 PCI EEPROM DISABLED DEFAULT 1 PCI EEPROM ENABLED PCIEN 1 ENDIAN MODE CONFIGURATION RIS R34 MODE SELECTED 0 BIG ENDIAN MODE 1 LITTLE ENDIAN MODE DEFAULT EMAC MODE CONFIGURATION R14 R33 MODE SELECTED 0 ETHERNET MAC DISABLED 1 ETHERNET MAC ENABLED 12500 TI BLVD DALLAS TEXAS 75243 TEXAS INSTRUMENTS INC DM642 CLOCKS amp RESET Size FCSM No Scale Sheet 6 of 17 D33V RI9 NO POP EMIF_ECLKINSEL 1 0 ba TEAI9 TEA20 TEAI9 MODESELECTED 3 TEA20 0 0 ECLKIN DEFAULT R20 0 1 CPU CLOCK 4 EMIF CLOCK NO POP 1 0 CPU CLOCK 6 EMIF CLOCK 1 1 RESERVED MEA EA3 8 MIEAI EM 7 10 TEA4 N26EAS EAS 6 TI TEAS N24EAO EA 5 12 TEAT NO3EAT EA6 4 13 TEAG P26EAS EAIO 3 14 TEAIO dh EIS P24 EAS EA 2 15 TEA9 BEAT EAR 1 16 TEAS DSP IDO BIS RN7 RPACK8 33 DSP TCLK 1 16 TEAIL 2 15 TEAI
15. Edit Box with Up Down arrows Use up down arrows or type a number Up Down arrows Immediately Type a number After Apply Slider Slide a lever Immediately Pushbutton Initiate an action Immediately Table 7 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 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 9 Programming the TMS320DM642 This chapter discusses how to change settings for the TMS320DM642 on this EVM The DM642 settings can be controlled by using the DM642 Control Window which is found by clicking on Tools gt DM642 Control or through the Generic DC registers 9 1 Development and Purpose of DM642 Code The TVP5154EVM was developed by the Tl Digital Video Department which is responsible for the TVP5146 and TVP5150AM1 video decoders currently used on the DM642EVM released by Spectrum Digital Th
16. February 2006 Revised July 2006 Submit Documentation Feedback i INSTRUMENTS www ti com System Level Description 3 System Level Description A system level block diagram incorporating the TVP5154 is shown in Figure 3 Typical commercially available test equipment is also shown The primary features of this configuration are e Power is provided by a single 5 V power supply provided with the EVM and is shared between both modules via the 120 pin connector e Supported analog inputs include composite video and S video e Re encoded composite video and S video are output via the encoder module e Component YPbPr video is output via the encoder module e C bus initializes the video devices via a PC parallel port e The TVP5154 video decoder performance parameters may be measured with a video analyzer Computer diene Camera Supply Video Source Camera Composite Composite Video Tektronix Source TVP5154 Video S Video NTSCIPAL pelin DM642 Encoder Monitor M 1000 t Camera Module Module Component rd Video Source TVP5154EVM Camera Video Source Figure 3 TVP5154EVM System Level Block Diagram 4 Required Hardware and Equipment The required hardware and equipment necessary to use the TVP5154EVM are e TVP5154EVM provided e Universal 5 V power supply provided e Parallel cable provided e Windows based PC with CD ROM drive and Win95 or later e Composite or S video c
17. THS8200 for the THS8200 device WinVCC translates the device family mnemonic to the slave address that was selected in the WinVCC Configuration dialog box upon program startup This eliminates having to edit command files if the alternate slave address must be used SLEUO69A February 2006 Revised July 2006 TVP5154EVM User s Guide 19 Submit Documentation Feedback 20 da TEXAS INSTRUMENTS www ti com WinVCC in Depth If the literal slave address method is used the slave address entered is used directly This method is normally used for programming the video encoder The slave address 0x40h is used to access the DM642 A delay may be inserted between commands using the WAIT command which is written as WAIT tt milliseconds gt 8 5 2 Register Editing The next section describes the five available modes of register editing TVP5154 Register Map editor 7311 Encoder Module Register Map editor Generic DC Register Map editor TVP5154 memory map editor and TVP5154 Property Sheets Each of these functions can be selected from the Edit menu 8 5 2 1 Register Map Editor The TVP5154 Register Map editor see Figure 16 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 Table 4 describes how to use each of the controls in the TVP5154 Register Map editor TVP5154 0xB8 R
18. TVP5154EVM 1 Once WinVCC is executed the WinVCC Configuration screen appears as shown in Figure 4 This dialog box configures the IC bus Next to VID DEC select the TVP5154 and ensure the I C address is set to 0xB8 default setting on EVM This must match the IC ADDR jumper on the TVP5154 board 2 Next to VID ENG select the 7311 Encoder and ensure the DC address is set to 0x54 default setting on EVM This must match the I C ADDR jumper on the encoder board Note If WinVCC is running and the TVP5154 or encoder board PC address is changed power must be cycled on the EVM 10 TVP5154EVM User s Guide SLEUO69A February 2006 Revised July 2006 Submit Documentation Feedback d TEXAS INSTRUMENTS www ti com WinVCC Quick Start WinYCC Configuration 12C SYSTEM CONFIGURATION DEVICE FAMILY SPECIFIC DEVICE 12C BUS MASTER 12C SLAVE ADDR TYP9000 NOT USED vi Audio Video Processor 12C Slave Addr TYP9900 NOT USED B8h C Bah DAMA SB Receiver VID DEC I DVB tr BBh C BAK Video Decoder BCh BEh VID ENC 7311 Encoder gt 54h 56h Video Encoder TWP7000 DVB NOT USED v B8h B h Video Graphics Digitizer THS8200 NOT USED D 42h HDTV SDTV RGB DAC PROGRAM OPTIONS ENABLE 12C System Test after clicking OK ENABLE 12C Acknowledge Checking ENABLE Auto Update from Device when activating a window or tabbing between property pages Figure 4 WinVCC PC Conf
19. When tabbing from one page to another e When Read All is clicked e When making the TVP5154 Property Sheets window the active window by clicking on it e When making a TVP5154 Register Map editor window the active window by clicking on it 8 6 1 1 Auto Update From Device The last two items in the Property Sheet Refresh list see section 8 6 1 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 WinVCC Configuration With Auto Update enabled default the user can open both the TVP5154 Property Sheets and the TVP5154 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 Additionally changes made in the TVP5154 Register Map editor are updated in the TVP5154 Property Sheets as soon as the property sheets window is clicked on 24 TVP5154EVM User s Guide SLEU069A February 2006 Revised July 2006 Submit Documentation Feedback i INSTRUMENTS www ti com Programming the TMS320DM642 Table 6 Use of Property Sheet Controls PROPERTY SHEETS DIALOG CONTROL WHAT DO DO WITH IT When is Hardware Updated Read Only Edit Box Read status information N A Check Box Toggle a single bit After Apply Drop Down List Select from a text list After Apply Edit Box Type a number After Apply
20. X TEXAS INSTRUMENTS INC 12500 TI BLVD DALLAS TEXAS 75243 F amp V BIT BREAKOUT Size FCSM No e DWG No Scale Sheet 12 of 17 SCL SDA CHL OUTI7 0 CH2 OUTI7 0 H3 CH2_OUTO CH2 OUTI CH2 OUT CH2 OUTS CH2 OUT CH2 OUTS CH2 OCT CH2 OUT SCKS2 SCK2 VB2 AVI HS2 V52 FIDI 30 32 ADER 16 CH3 QUT 7 0 H4 CH3_OUTO al CHS OUTT d CH3 OUT CHS OCT CH3_OUTI CH3_OUTS CHS OUTG CHS OUT SCKS3 SCK3 AVI H53 V53 FIDI E CH4 OUTI7 CH4_OUTO CH4 OUTI CEA OUT2 CEA OUTS CH4 OUTA CH OUTS CH4 OUTG CH4 OUT7 SCKS4 SCKT VET AVI HST VST E HEADER 16X2 TEXAS INSTRUMENTS INC 12500 TI BLVD DALLAS TEXAS 75243 DAUGHTERCARD INTERFACE Size FCSM No DWG No e Scale Sheet 3of17
21. and image size for that given decoder 1 4 Flash EG Major Minor Reads the data from the Flash Version registers and writes it into the register window LED Control Changes LED 1 7 status Checked LED is ON Unchecked LED is OFF Immediate register update 9 2 2 DM642 Virtual DC Register Map Table 9 DM642 Virtual DC Register Map REGISTER DESCRIPTION ADDRESS DATA DEFAULT Decoder 1 Register 00h 02h Decoder 2 Register 01h 12h Decoder 3 Register 02h 22h Decoder 4 Register 03h 32h Decoder 1 Input Format Register 04h 01h Decoder 2 Input Format Register 05h 01h Decoder 3 Input Format Register 06h 01h Decoder 4 Input Format Register 07h 01h LED Control 08h 00h Flash Version Major 09h 01h Flash Version Minor OAh OOh SLEU069A February 2006 Revised July 2006 TVP5154EVM User s Guide 27 Submit Documentation Feedback TEXAS INSTRUMENTS www ti com Programming the TMS320DM642 9 2 3 DM642 Virtual UC Register Details Table 10 Decoder 1 Register Address 00h Default 02h 7 6 5 4 3 2 1 0 Reserved Position o Capture Size Capture Size Bit 2 Bit 1 Bit 0 Unscaled 0 0 0 QSIF 176 x 120 0 0 1 SIF 352 x 240 1 4 NTSC default 3 QCIF 176 x 144 0 1 1 CIF 352 x 288 1 4 PAL 1 0 0 QVGA 320 x 240 1 0 1 VGA 640 x 480 1 1 0 Reserved 1 1 1 Capture Enable Bit 3 Disable default 0 Enable 1 Pos
22. browse to c Program Files Texas InstrumentsNwin v CCATVP5154Initialization cmd 2 IF REPLACE or APPEND functions will be used click RELOAD whenever the video decoder EVM is reset or power cycled Figure 8 WinVCC System Initialization 9 With video sources provided at the BNC connectors and the EVM output connected to a monitor video from the source connected to CH1 should be viewable on the display monitor 10 The other datasets in the command file are provided to demonstrate examples of 5154 scaling performance Refer to the TVP5154 data sheet SLES163 or Scaler application report for more details on programming the TVP5154 scaler The DM642 settings can be controlled by using the DM642 Control Window which is found by clicking on Tools gt DM642 Control Refer to Chapter 9 for details on programming the DM642 through this window or through the Generic IC registers WinVCC in Depth The following sections describe how to use Windows Video Control Center WinVCC in depth It discusses various features and screens that the user may encounter while evaluating the TVP5154EVM Starting WinVCC The Port95NT parallel port driver must be installed before using WinVCC WinVCC may be started by clicking on Start AIl Programs T VP5154EVM Software gt WinVCC If the dialog box shown in Figure 9 is displayed it means one of two things e WinVCC did not run to completion the last time it ran In this case click OK to exit the progr
23. its subsidiaries TI reserve the right to make corrections modifications enhancements improvements and other changes to its products and services at any time and to discontinue any product or service without notice Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete 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 Tl assumes no liability for applications assistance or customer product design Customers are responsible for their products and applications using TI components To minimize the risks associated with customer products and applications customers should provide adequate 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 Tl intellectual property right relating to any combination machine or process in which TI products or services are used Information published by TI regarding th
24. port PC parallel port mode is not set correctly DO THIS AS A LAST RESORT Reboot PC enter BIOS setup program and set parallel port 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 10 2 Still no BC communication 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 WinVCC is started and the WinVCC Configuration dialog box is closed with OK the 1 C system test is performed unless the DC System Test program options button was disabled If the IC system test fails a dialog box see Figure 22 appears This example reports that a read from TVP5154 failed using slave address 0xB8 sub address OxDO The data read was 0x78 The expected data was 0x00 After noting which device had a problem click OK to continue Next the Corrective Action Dialog box appears to fix the problem TVP5154EVM User s Guide SLEUO69A February 2006 Revised July 2006 Submit Documentation Feedback INSTRUMENTS www ti com Troubleshooting 12C Test Report TVP5154 FAILED Read Dev 0xB8 Addr 0xD0 Data 0x78 Miscompare Wrote 0x00 7311 Encoder Module NOT TESTED Figure 22 DC System Failure Dialog Box 10 2 Corrective Action Dialogs After closing the 12C syst
25. 54 and 7311 Encoder must be selected for this EVM All Program Options must be enabled Disabling these options is only required if debugging a problem with the DC bus Clicking OK begins I C communication with the selected devices WinVCC Configuration I2C SYSTEM CONFIGURATION DEVICE FAMILY SPECIFIC DEVICE 12C BUS MASTER I2C SLAVE ADDR TYP9000 NOT USED E amp udio Video Processor 12C Slave Addr TYP9900 NOT USED v B8h Bah Q4MA SB Receiver VID DEC DVB En v B8h BAh Video Decoder BCh BEh VID ENC 7311 Encoder v 54h 56h Video Encoder TWP7000 DVB NOT USED BBh Video Graphics Digitizer THS8200 NOT USED 40h HDTV SDTV RGB DAC PROGRAM OPTIONS ENABLE 12C System Test after clicking OK ENABLE 12C Acknowledge Checking ENABLE Auto Update from Device when activating a window or tabbing between property pages Figure 10 WinVCC PC Address Configuration 8 3 FC System Test The DC system test of selected registers runs immediately after closing the WinVCC Configuration dialog box with OK unless the I C system test program options button was disabled If the IC system test passes only a PASS message appears If the test failed a dialog box like the one shown in Figure 11 appears See Section 10 Troubleshooting for details on how to resolve this issue 14 TVP5154EVM User s Guide SLEU069A February 2006 Revised July 2006 Submit Documentation Feedback U INSTRU
26. 54EVM User s Guide 29 Submit Documentation Feedback da TEXAS INSTRUMENTS www ti com Programming the TMS320DM642 Table 12 Decoder 3 Register Address 01h Default 22h 7 6 5 3 2 1 0 Reserved Position pus Capture Size Capture Size Bit 2 Bit 1 Bit 0 Unscaled 0 0 0 QSIF 176 x 120 0 0 1 SIF 352 x 240 1 4 NTSC 0 1 0 default QCIF 176 x 144 0 1 1 CIF 352 x 288 1 4 PAL 1 0 0 QVGA 320 x 240 1 0 1 VGA 640 x 480 1 1 0 Reserved 1 1 1 Capture Enable Bit 3 Disable default 0 Enable 1 Position Bit 5 Bit 4 Quadrant 1 0 0 Quadi laudo Quadrant 2 0 1 Quadrant 3 default 1 0 HEEN Quadrant 4 1 1 Table 13 Decoder 4 Register Address 01h Default 32h 7 6 5 3 2 1 0 Reserved Position pond Capture Size Capture Size Bit 2 Bit 1 Bit 0 Unscaled 0 0 0 QSIF 176 x 120 0 0 1 SIF 352 x 240 1 4 NTSC default d 1 i QCIF 176 x 144 0 1 1 CIF 352 x 288 1 4 PAL 1 0 0 QVGA 320 x 240 1 0 1 VGA 640 x 480 1 1 0 Reserved 1 1 1 30 TVP5154EVM User s Guide SLEU069A February 2006 Revised July 2006 Submit Documentation Feedback d TEXAS INSTRUMENTS www ti com Programming the TMS320DM642 Capture Enable Bit 3 Disable default 0 Enable 1 Position Bit 5 Bit 4 Quadrant 1 0 0 Quadi Quad Quadrant 2 0 1 Quadrant 3 1 0 Guia aca
27. C slave address OxBE If you choose to change the address you must exit restart WinVCC and configure the software to use the new I2C slave address 6 Software Installation WinVCC is a Windows application that uses the PC parallel port to emulate 1 C providing access to each device on the IC bus WinVCC 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 IC registers with the press of a button WinVCC also has property sheets for the TVP5154 which allows the user to control the I C registers with a GUI All necessary software for the TVP5154EVM is provided on the enclosed CD Perform the following steps to install WinVCC 1 Explore the provided TVP5154EVM Software CD 2 Install Port95NT exe This is the parallel port driver used by WinVCC This driver must be installed and the PC must be rebooted before WinVCC operates correctly This does not affect normal parallel port operation 3 Install Setup exe Click Next at all prompts and click Finish to complete the installation process This installs WinVCC onto the PC No reboot is required 4 Run WinVCC exe Note A shortcut to WinVCC should now be available on the desktop WinVCC and additional TVP5154 related documentation can also be found at Start gt Programs gt TVP5154EVM Software 7 WinVCC Quick Start Perform the following steps in order to see a video output from the
28. C2 3A OUT 34 our CH3_A C102 0 1u VSYNC2 PALD FIDZ GLCO2 CH3_B C103 o 1uH CH3 DO CH3 DI JP4 CH3_D2 ME RONA ERA C CH4 B CH3 D3 TH D4 RII R119 THB DS mm 374 374 TH3 D6 TH3 D7 am EAS MOT A QUT a CH4 B C105 0 1ur TVPSTSAPNI SCLKS3 STG GPCL3 VBLK3 AVIDI DC ADDRESS SELECTION POWERDOWN ae VSYNC3 PALI3 E FID3 GLCO3 1 2 Normal Operation Default CHA DO CHi Di 2 3 Base Addr 0xB8 Default 2 3 Powerdown CHI D CHi Di CHi Di CHi D CH4 D IOVDD IOVDD TOVDD CD SCLKS4 R54 R55 R56 SCLKI 10k 10k 10k GPCLA VBLK4 AVIDI HSYNC4 VSYNCA PALIA DCSEL 2 DCSEL2 2 Dn PDN 2 181 FID GLCO4 HSE De DN Le C ADR DC ADR Z PDN D R57 R58 lt 7 10k 10k IOVDD RI20 100 TMS R59 10k 1 C178 C180 SE C183 C184 C186 ca luF luF luF luF luF luF luF C179 C182 C185 lt l lE i E E E E E zl Z L RNI6 RPACK8 33 VSYNCUPALIT RPACKS 33 RNIS RPACK8 33 FID3 GLCO RPACK8 33 RN22 RPACK8 33 CHI OUTO TEXAS INSTRUMENTS INC 12500 TI BLVD DALLAS TEXAS 75243 TVPS154 Size FCSM No DWG No Rev 6 1 Scale Sheet 2 of 17 3 4 5 6 NOTE FILTERS DESIGNED FOR CVBS INPUTS ADC SAMPLING RATE 27MHz C202 8 2pF C203 8 2pF IA 22uH L5 22uH C210 C211 212 C213 330pF 330pF 330pF 330pF
29. I2CSEL1 JP9 and I2CSEL2 JP 7 2 Power Down Mode Selection Jumper PDN JP 11 eee eneen eenn em III II nennen venen 7 3 Main Menu Summary ta Eege 16 4 TVP5154 Register Map Editor Controls RARR RE RR RE RARR RARR RARR ER RR RR AR RE RR Re RR RR GR RR 21 5 Memory Map Editor GontfOlS amina t 23 6 Use of Property Sheet Controls sessies a ph recu rec eec Ee GE i E S DR DN heat ia na 25 7 Property Sheet Button COMMONS sec oia o Sexe EE Ee den 25 8 DM642 Control Window Controls viii sde e deeg eege Eege DEN PPM E daca EE 27 9 DM642 Virtual PC Register Map nani EERS Ee ER EER naeh unc xa NENNEN SEENEN Rara E ER aa al NEEN e 27 10 Decoder Register NE at da ie sata a atata ala daia ata ata atata 28 11 Decoder Ee EE 29 12 Decoder Ee E 20 13 Decoder 4 Register sn ae eee gege cue 20 14 Decoder 1 Input Format Register ER ERGER KARP RR RE ER AR GR RR GR RR ARE RR RE ER RR GR RA 31 15 Decoder 2 Input Format Register lt RR RE en 31 16 Decoder 3 Input Format Register EE 32 17 Decoder 4 Input Format Register EE ae 18 LED Gontolifiedistet ss RE EE AE a lake fa ER a aia eter Ee eie 32 19 Flash Major Version Register r e RR EER RR ER RR RR E
30. MCG 101562 000 Y G fa os sd EF Fe ziele ft Fr rd FF ord ER pee E EIE EE Ar A EE E ERE SERERE eee SNE TEXAS INSTRUMENTS INC 12500 TI BLVD DALLAS TEXAS 75243 DM642 POWER PINS Size FCSM No DWG No e Scale 907 2 3 A 5 IT R50 10k DI 38 1 RDYBY 2 P 24 9 CRESET gt 12 RESET 10k ACC ER R26 NO POP EF AM29LV033C 90EI S SA TEXAS INSTRUMENTS INC 12500 TI BLVD DALLAS TEXAS 75243 FLASH MEMORY Size FCSM No DWG No Rev e 1 Scale Sheet 14 of 17 3 3V_SUPPLY HE cn cs c6 ZM OIE Ost Luet O luF 33V SUPPLY mn mm mo TP22 Th Tk TA E E E E Us 42 gt Al a sl 5 Se by u6 1A1 1B1 i axo vee it 142 182 zd H 109 1A3 183 p vos gt 144 184 B vor y 145 185 H vos I 1A6 1B6 Sis vos gt 1A7 187 6 vos 1A8 188 sn vos 42 2A1 2B1 TEES vor 8 242 282 vor 2A3 2B3 gt 10 voo R 244 284 om mb 2A5 2B5 Ge a ALCEZVIOR IOPC S 2A7 287 33V SU 2A8 288 10E 1 IDIR 339 ZOE 2DIR js cola 5 n EN 39 gt GND GND P 21 GND GND SN74LVT16245BDGGR OE DIR OPERATION A lt B A gt B ISOLATION L L H L H
31. MENTS 8 4 www ti com WinVCC in Depth The IC system test can be run at anytime by clicking Run System I C Test in the Tools menu 12C Test Report TVP5154 FAILED Read Dev 0xB8 Addr 0xD0 Data 0x78 Miscompare Wrote 0x00 7311 Encoder Module NOT TESTED Figure 11 0 System Failure Real Time Polling Real time polling provides polling functions that execute continuously in the background when enabled via the Real Time Polling dialog There are two polling functions The function that applies to the TVP5154 is VIDEO STANDARD AUTO SWITCH POLLING When the TVP5154 detects a change in the input video standard it automatically switches to operation in the detected standard which includes all necessary DC register initialization for proper decoding of the input video To enable auto switch on the TVP5154 the Set Video Standard register must be set to auto switch mode Reg 0x28 0x00 If the WinVCC auto switch polling function is enabled the detected video standard status from the TVP5154 is polled until a change in the input video standard or in the TVP5154 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 displays using the new standard without user intervention When using the TVP5154 EVM with the DM642 and a composite output from the 7311 encoder it is req
32. NTS www ti com Programming the TMS320DM642 Details of the DM642 Code and Control Registers Details of the DM642 code and control registers are 9 2 9 2 1 26 The DM642 device address is 0x40h by default The DM642 is setup as an IC slave The DM642 executes code on power up from the flash using the PCI GPIO to control the address MSB Virtual DC registers are created within the DM642 in order to control the capture and display of the scaled unscaled data from the TVP5154 video decoder These registers are described in Table 9 The virtual 12C registers support scaled and unscaled video outputs independently for each of the four video decoders with the option to overlay scaled video onto unscaled video and to define the quadrant location of each scaled channel The virtual 12C registers provide easy control access to the GPIOs currently tied to LEDs Please refer to the TVP5154EVM schematics for options to associate an LED on off with a register setting The DM642 is not responsible for any scaling All video scaling is performed by the TVP5154 The DM642 is only responsible for image capture and display The DM642 virtual registers can be controlled by using the DM642 Control Window or through the Generic 12C registers DM642 Control Window The DM642 settings can be easily controlled by using the DM642 Control window This window represents the DM642 register data in a user friendly format The data is organized for each of the
33. R RE ER RR RE RR RARR RR ER RR ER RR RE RR RR ER RR ER RR RR RR RE RR RR ER RR ee 32 20 Flash Minor Version Register eneen RR ER RR RR ER RE RR RR ER RR I RR hme m RR RE nnn ne nn RR RE RR nen 32 21 TVP5154EVM Troubleshooting EN 33 SLEUO69A February 2006 Revised July 2006 List of Tables 5 Submit Documentation Feedback 35 TEXAS User s Guide INSTRUMENTS SLEUO69A February 2006 Revised July 2006 1 1 TVP5154EVM User s Guide Functional Description The TVP5154EVM evaluation module is a printed circuit board designed for evaluation of the TVP5154 quad video decoder The board includes the TMS320DM642 digital signal processor DSP and is designed with a 120 pin connector which allows a connection to multiple backends the evaluation module EVM is shipped with a professional encoder module The board is designed to provide ease of use while allowing full evaluation of the video decoder Description Overview The TVP5154EVM uses the PC parallel port to emulate the IC bus which provides communication with the TVP5154 video decoder DM642 and the video encoder The Windows Video Control Center WinVCC application software that communicates with the devices via the 12C is provided on the EVM CD ROM The analog video inputs supported by the TVP5154EVM include composite video and S video More detail about the video inputs is discussed in section 2 3 Video Input Description In general the
34. TS INC 12500 TI BLVD DALLAS TEXAS 75243 DM642 BLOCK DIAGRAM Size FCSM No DWG No c Scale Sheet 4of 17 U25B RPACK4 33 AFI4 1 8 AFIZ G T 3 6 AEIT ri 5 ACIT 17 RNG A RPACK4 33 AFS 1 8 AFIO p 7 5 6 AF4 4 5 AES RN26 D33V T LI SEN BLM21P221SN vi ci ES 1 4 OUE 1000pF RI 33 p 3 AT RPACKI33 Als 27MHz_MIH_MMD 1 8 2 7 B8 3 6 DT 4 5 CT RN27 TPI TR zl ACI TMX320DM642CGDK AFI AE AFIG AEIG CHI OUTO CHI OUTI CHI OUT ADI6 CHI OUTZ ACI ABIG AEIS ADIS A CHI_OUTA CHI OUTS CHI OUT6 CHI OUT7 4 CH2 OUTO 461 ABIA ADB ACI ABT 65 OUTI 65 OUT CH2 OUT3 65 OUT4 CH2 OUTS ADI CH2 0016 ACIZ AES ADG AC6 AET AD7 ACT ADS ACS AES ADI ACI CH2 OUT7 CH3 OUTO CH3 OUTI OUT2 OUT3 CH3 OUT4 OUTS CH3 OUT6 CH3 OUTT CH4 OUTO ADIO CEA OUTT ACIO AEI ADIT ACII ABIL ABIZ ALO BIO CIO DIO AI BI CI DII EI B CI2 DI END EIS OUT2 CEA OUT3 OUT CEA OUTS CH4_OUT6 CH4_OUT7 ENC YO ENC YT ENC_Y7 ENC_Y3 ENC Y4 ENC YS ENC Y6 ENC Y7 ENC C0 ENC CT ENC C7 ENC C3 ENC C4 ENC C5 ENC C6 ENC C7 CHI OUT 7 0 CH2 OUTJ7 0 CH3 OUTJ7 0 CH4 Ol ENC YIZO ENC CIZO TP2 D33V TR R6 a NO POP R29 Ik PCI FREQ CONFIGURATION R6 R27 MODE SELECTED 0
35. TVP5154EVM User s Guide Literature Number SLEUO69A February 2006 Revised July 2006 B TEXAS INSTRUMENTS SLEU069A February 2006 Revised July 2006 Submit Documentation Feedback Contents 1 Functional DEescriptioni i aa pont ta a ia io i d E Sege EE RE aa 6 1 1 Description OvervieW Lc 6 2 Board Level Description css otet e a aie aa VV de 7 2 1 Test Pomnts and JUMPSNS as as acea DE aa ataca aa i aa it a a d aa rj 2 2 Common Board Interface a EE EE 8 2 3 Video Input 0 sesse se easet ege eege get aia ai aia a a UEM EE DUE RR DEN GEN EIE Na ia a 8 2 4 Video Output Description pem 8 3 System Level Description edel et de ege ege Ree nend aad Ne aie aaa d EN ao cu ala ani eege ata 3 9 4 Required Hardware and Equipment 9 5 Hardware Setup as 9 6 Software Installation irre toon a e ux ala i na a ai ta 10 7 WINVCG e Te E sn var cica sen ane aa ina ta vern a is 10 8 need m oare alt pata area aia aratat aa aa ta la aaa ara ata delta al i 13 8 1 Starting TI 13 8 2 WinVCC Configuration Dialog Box 14 8 3 EG System 188 seess EE RE RR EE RE pa al at lata 14 8 4 Real Time PolliNg ses arat aaa ti taca ia ia ia dintata ta aaa aa iai dota ati taiata iai d 15 8 5 Main OT E 16 8 6 TVP5154 Property AS ii a 23 9 Programming the TMS320DM642
36. Z DSP EMU LL 0 3 14 TEAI3 4 13 TEAI4 5 12 TEAIS 3 6 Ti TEAIG NL DSP 1 E 7 10 TEAI7 DSP EMUS DIG EI 9 IEAIS N DSP_EMU7 L EA 22 3 DSP_EMUS CIR RNI3 RPACK4 33 DSP EMUS BIG 1 8 TEAI9 TPI6 TPI7 ms DSP EMU 2 7 TEAJO 3 6 TEMI y DSP_EMU3 4 5 TEA22 DSP EMU2 BIS El E DSP EMU CH RNI4 RPACK4 33 DSP_EMUU 1 TCEOH rees 3 TCE TPH D33V 4 TCE TR TSO EH 33 R67 PDT 33 R68 33 ROY TECLKOUTZ GEE RNI2 RPACKS 33 1 16 2 15 3 14 4 13 5 12 6 TT 7 10 EI 9 E TMX320DM642CGDK spas solls alalelalelela B TA SERERE TEDI63 9 deeler ERESSE E Gre E 2 gafael gie S TEA22 TEA2I MODE SELECTED D33V 0 0 NO BOOT DEFAULT 0 1 HPUPCI BOOT MODE PCIEN NOTE PLACE ALL 33 OHM RESISTORS AND RESISTOR NETWORKS AS CLOSE AS POSSIBLE TO THE CORRESPONDING U25 PINS 1 1 EMIF 8 BIT ROM BOOT R21 NO POP TEXAS INSTRUMENTS INC 12500 TI BLVD DALLAS TEXAS 75243 DM642 EMIF amp JTAF Size FCSM No DWG No i Scale Sheet 10 of 17 TMX320DM642CGDK D3 3V R23 NO POP R37 1k HPI WIDTH SELECTION HWDTHSEL MODE SELECTED 0 16 BITS 1 32 BITS PCI SELECTION PCIEN MODE SELECTED 0 PCI DISABLED PCI ENABLED D3 3V R24 NO POP HWDTHSEL R25 NO POP TEXAS INSTRUMENTS INC 12500 TI BLVD DALLAS TEXAS 75243 DM642 PCI HPI EMAC Size FCSM No DWG No Orcad B
37. ables for inputs e Composite S video or component cable for output e Video sources security camera pattern generator Quantum generator DVD player etc e Display monitor that supports composite S video or component video input 5 Hardware Setup Figure 1 shows the TVP5154EVM layout and indicates the location of the power supply and the appropriate connectors All connectors are labeled according to their function To prepare the EVM for evaluation connect the following TVP5154 module to encoder module Parallel port cable from TVP5154EVM to the PC Analog video sources to TVP5154EVM inputs Analog video out from TVP5154EVM to monitor 5 V power supply to the dc jack on the TVP5154 board A green LED on each board should now be lit DON SLEUO69A February 2006 Revised July 2006 TVP5154EVM User s Guide 9 Submit Documentation Feedback TEXAS INSTRUMENTS www ti com Software Installation The system comes with the anti alias filters bypassed To connect the filters you must rotate the appropriate jumpers JP1 JP8 as described in section 2 3 The I C slave address can be selected with jumpers JP9 and JP10 There are four possible addresses B8 BA BC and BE The default setting for these jumpers is for the shunt to short pins 2 3 which selects 0xB8 These are connected to pins 117 and 118 which are read at power up If you move both the jumpers to positions 1 2 and reset the board the video decoder now responds to 1
38. am and restart WinVCC e There is more than one instance of WinVCC 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 on all occurrences of WinVCC or WinVCC CONFIGURATION Then restart WinVCC WinVCC If the previous run of WinYCC was terminated abnormally click OK and start WinvCC again Otherwise more than one instance of WinYCC may be running Click OK to close this program Then press Ctl Alt Delete Highlight and click End Task to terminate all instances of Windows Video Control Center or WINYCC Configuration Figure 9 WinVCC Multiple Occurrences Error Message TVP5154EVM User s Guide 13 Submit Documentation Feedback i INSTRUMENTS www ti com WinVCC in Depth 8 2 WinVCC Configuration Dialog Box The WinVCC Configuration dialog box see Figure 10 should now be visible This dialog box configures the DC bus on the TVP5154EVM 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 DEC is set to TVP5154 and VID ENC is set to 7311 Encoder The 0 slave address for each device must match the DC slave address selected by jumpers on the TVP5154EVM These jumpers are set by the factory to use 0xB8 for the TVP5154 and 0x54 for the Encoder It is also important to select the correct Specific Device type for the video decoder TVP51
39. and 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 datasets contained within the command file Click once on the desired dataset description to select it Click the Program Device s Using Selected Dataset button to run the selected dataset which loads the devices via the 1 C bus When the device initialization has completed the status indicator reads Ready Note If Ready does not display the devices are not initialized and the 12C bus is not communicating See Chapter 10 Troubleshooting for possible solutions Click the OK button to close the dialog box Each time the System Initialization dialog box is closed the initialization file pathname and the dataset selection number are saved in the Windows registry to allow these settings to be retained for the next time WinVCC runs SLEU069A February 2006 Revised July 2006 TVP5154EVM User s Guide 17 Submit Documentation Feedback da TEXAS INSTRUMENTS www ti com WinVCC in Depth 8 5 1 1 System Initialization Command File C Program Files Texas Instruments TVP5154E VMlInitializationNTVP5154 ROM DM642 7311 Encoder cmd Browse Command File Operations Bytes Per Block Ali Reload REPLACE APPEND PROGRAM Selected Dataset Current Device s 0 S with Current Device Settings Using Verify Device Settings to CMD File Selected Dat
40. aset Status ek Rea Close Dataset Descriptions 1 TVP5154 ROM Initialize for NTSC Decoders in default mode DM642 Enabled ADV7311 setup MUST DISABLE POLLING 2 TVP5154 ROM Initialize for PAL Decoders in default mode DM642 Enabled ADV7311 setup MUST DISABLE POLLING 3 4 TVP5154 NTSC Scaler Example Enabled Decoder s Scaled from NTSC 720x480 to SIF 352 240 default DM642 quad position 5 TVP5154 NTSC Scaler Example Enabled Decoder s Scaled from NTSC 7204480 to QSIF 176x120 default DM642 quad position 6 TVP5154 NTSC Scaler Example Decoder 1 0SIF Quad 1 2 0SIF Quad 3 3 0WGA Quad 3 4 unscaled Quad 1 7 8 TVP5154 PAL Scaler Example Enabled Decoder s Scaled from PAL 720x576 to CIF 3524288 default DMB42 quad position 9 TVP5154 PAL Scaler Example Enabled Decoder s Scaled from PAL 720x576 to QCIF 176x144 default DM642 quad position 10 TVP5154 PAL Scaler Example Decoder 1 0CIF Quad 1 2 QCIF Quad 3 3 QVGA Quad 3 4 unscaled Quad 1 11 12 TVP5154 Decoder 1 unscaled full screen Decoders 2 3 4 disabled 13 TVP5154 Decoder 2 unscaled full screen Decoders 1 3 4 disabled 14 TYP5154 Decoder 3 unscaled full screen Decoders 1 2 4 disabled 3 15 TUPRIRA Derader d 1mecaled full sereen Mercader 1 2 3 disabled NOTES 1 To access the factory supplied initialization files browse to c Program Files T exas Instruments Win CC4 TYP51 54 Ini
41. d Quadrant 4 default 1 1 Table 14 Decoder 1 Input Format Register Address 04h Default 01h 7 6 5 4 3 2 1 0 Reserved Input Color Standard Input Color Standard Bit 2 Bit 1 Bit 0 NTSC B D G H I N PAL default Reserved 0 0 0 0 0 1 The Input Color Standard register is used to inform the DM642 of the input color standard for that given decoder 1 4 The output format of the DM642 is set to the standard with the largest majority based on Registers 04h 07h If the number of input color standards is equal the DM642 automatically default to PAL output Table 15 Decoder 2 Input Format Register Address 05h Default 01h 7 6 5 4 3 2 1 0 Reserved Input Color Standard Input Color Standard Bit 2 Bit 1 Bit 0 SLEUO69A February 2006 Revised July 2006 NTSC B D G H I N PAL default Reserved Submit Documentation Feedback 0 0 0 0 0 1 TVP5154EVM User s Guide 31 da TEXAS INSTRUMENTS www ti com Programming the TMS320DM642 Table 16 Decoder 3 Input Format Register Address 06h Default 01h 7 6 5 4 3 2 1 0 Reserved Input Color Standard Input Color Standard Bit 2 Bit 1 Bit 0 NTSC 0 0 0 B D G H I N PAL default 2 1 Reserved Table 17 Decoder 4 Input Format Register Address 07h Default 01h 7 6 5 4 3 2 1 0 Reserved Input Color Standard Inp
42. dit When the property sheet function is started or whenever the user tabs 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 described in Table 6 OK Cancel and Apply buttons are at the bottom of each property page These are described in Table 7 SLEU069A February 2006 Revised July 2006 TVP5154EVM User s Guide 23 Submit Documentation Feedback da TEXAS INSTRUMENTS www ti com WinVCC in Depth TVP5154 0xB8 Property Sheets Video Decoder Status Scaler BT 656 Controls Mode Selection Analog Video Automatic Gain Control Chroma Data Path Luma Data Path Synchronization Dutput Control Macrovision Detection Select Auto Switch or a Fixed Video Standard Mult Standard Mode Video Auto Switch Mask Auto Switch Status ENABLED v PAL Nc PAL NTSC 4 43 T SECAM Video Input has Blanking Pedestal Check all video standards to be EXCLUDED from auto switch processing Detected Video Standard MINTSC Read All OK Cancel Figure 20 TVP5154 Property Sheets 8 6 1 Property Sheet Refresh The property sheets are 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 e Property sheets are initially opened e
43. dit box Data Edit Box Contains the data which will be written to or was read from the I2C subaddress The data up down arrows increment decrement the data value by 1 Write Button Writes the byte in the Data Edit box to the address in the Address Edit box The C 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 Converts all values in the register window and address and data edit boxes to hexadecimal Dec Button Converts all values in the register window and address and data edit boxes to decimal Close Button 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 read or read all operations to be performed N times N is entered as a decimal Loop Gount number from 1 to 999 8 5 2 2 Encoder Module Register Map Editor The Encoder Module Register Map editor see Figure 17 allows the display and editing of the video encoder registers This editor works like the TVP5154 Register Map editor To open this click on Register Map in the Edit menu and click on 7311 Encoder Module 7311 Encoder Module 0x54 Register Map
44. e TVP5154 Address Offset Edit Box Contains the lowest byte of the 10 bit internal address The full 10 bit address is formed by adding the base address to the address offset The address up down arrows increment decrement the address offset by 1 Data Edit Boxes Contains the 16 bit data word that is written to or read from the register 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 2 bytes in the data edit boxes starting at the 10 bit register address BASE OFFSET Read Button Reads 2 consecutive data bytes starting at the 10 bit register address BASE OFFSET to the data edit boxes 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 Histogram on Loop Count Reads Creates a histogram of the results from the Loop Count Reads Close Button Closes the dialog Note The memory map editor can remain open with other windows Use the Window menu to navigate 8 6 TVP5154 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 see Figure 20 To open this click on Edit Property Sheets in the Edit menu and select the device type to e
45. e 2 Power Down Mode Selection Jumper PDN JP11 PWDN 1 2 Normal operation 2 3 Power down SLEU069A February 2006 Revised July 2006 Submit Documentation Feedback TVP5154EVM User s Guide 7 TEXAS INSTRUMENTS www ti com Board Level Description 2 2 2 3 2 4 Note If the IC address is changed on either the TVP5154 board or the encoder board while the TVP5154EVM is powered up that device will not recognize the new I2C address The reset button on the TVP5154EVM must be pressed and WinVCC must be reconfigured for the new PC address Common Board Interface The TVP5154EVM uses a 4 row 120 pin connector to share common signals and the 5 V power supply between the boards This connection allows multiple backends to be connected to the TVP5154EVM The EVM package is shipped with an encoder module This connector shares all digital video bits Y 7 0 all video clocks VS HS GLCO FID and DATACLK 5 V ground IC bus SCL and SDA and reset Video Input Description The TVP5154EVM decoder has an analog input channel that accepts two video inputs for each decoder core The decoder supports a maximum input voltage range of 0 75 V therefore an attenuation of one half is needed for most input signals with a peak to peak variation of 1 5 V The parallel termination before the input to the device is 75 Q The two analog inputs can be connected as either two selectable composite video inputs or
46. e Settings Using Verify Status Ready Close to CMD File Selected Dataset Device Settings dd dd Dataset Descriptions 1 TVP5154 ROM Initialize for NTSC Decoders in default mode DMB42 Enabled ADV7311 setup MUST DISABLE POLLING 2 TVP5154 ROM Initialize for PAL Decoders in default mode DM642 Enabled ADV7311 setup MUST DISABLE POLLING 4 TVP5154 NTSC Scaler Example Enabled Decoder s Scaled from NTSC 720x480 to SIF 2524240 default DM642 quad position 5 TVP5154 NTSC Scaler Example Enabled Decoder s Scaled from NTSC 720x480 to QSIF 176x120 default DMB42 quad position B TVP5154 NTSC Scaler Example Decoder 1 Q5IF Quad 1 2 0SIF Quad 3 3 0VGA Quad 3 4 unscaled Quad 1 7 8 TVP5154 PAL Scaler Example Enabled Decoder s Scaled from PAL 720x576 to CIF 352x288 default DM642 quad position 9 TVP5154 PAL Scaler Example Enabled Decoder s Scaled from PAL 720x576 to QCIF 176x144 default DMB42 quad position 10 TVP5154 PAL Scaler Example Decoder 1 QCIF Quad 1 2 QCIF Quad 3 3 QVGA Quad 3 4 unscaled Quad 1 11 12 TVP5154 Decoder 1 unscaled full screen Decoders 2 3 4 disabled 13 TVP5154 Decoder 2 unscaled full screen Decoders 1 3 4 disabled 14 TVP5154 Decoder 3 unscaled full screen Decoders 1 2 4 disabled E 15 TUPRIRA Nernder d rinscaled full screen Mercader 1 2 3 disabled NOTES 1 To access the factory supplied initialization files
47. e TVP5154EVM hardware and software are both based on this DM642EVM The TVP5154EVM was designed specifically for security customers interested in a quad video decoder The TVP5154EVM showcases the TVP5154 with various scaled unscaled display modes while making the DM642 transparent to the customer during evaluation This is made possible by placing the DM642 into an 12C slave mode and controlling the capture display modes using virtual IC registers The entire TVP5154EVM is controlled by a PC emulating ISC via the parallel port By downloading the DM642 code from flash at power up it is not required to use Code Composer Studio software to program the DM642 all relevant DM642 control registers can be accessed and controlled through a generic 12C address In addition to the command file provided with this EVM additional command files to be used with Tl s EVM control software WinVCC can be provided from Tl to support easy programming of the TVP5154 and DM642 registers to show the most common scaling configurations for both NTSC and PAL formats When using these command files or when setting the register values through a standard DC bus interface it is important to enable and program the 5154 outputs before configuring the DM642 registers The DM642 portion of the TVP5154EVM consists only of the DM642 SDRAM and flash memory SLEU069A February 2006 Revised July 2006 Submit Documentation Feedback TVP5154EVM User s Guide 25 TEXAS INSTRUME
48. e various dialog controls as described in Table 8 The data is organized for each of the four decoders allowing independent control of each decoder Table 8 DM642 Control Window Controls CONTROL DEFINITION Read All Reads all defined readable registers from the device and updates the register window Causes all changes made to the page since the last Apply to be discarded Changes made to dialog controls with immediate register update are not discarded since they have already been changed in the DM642 Close registers Does not write to registers Closes the dialog Image Capture Enables image capture in the DM642 for that given decoder 1 4 Immediate register update Video Standard Used to inform the DM642 of the input color standard for that given decoder 1 4 No change in register until Apply is clicked Does not change the video standard setting for the TVP5154 Image Size Used to inform the DM642 of the input image size for that given decoder 1 4 No change in register until Apply is clicked Actual scaling is done in the TVP5154 Image Position Defines the quadrant location for the input of that given decoder 1 4 Immediate register update Immediately changes DM642 registers for input image size and input color standard for that given decoder 1 4 Apply Enables TVP5154 scaler and programs correct scaling register settings into TVP5154 based on selected input standard
49. egister Map Address Name Description Wideo Input Source Select 1 Analog Channel Controls Operation Mode Controls Misc Controls Auto Switch Standard Mack Ou Clock Control Color Killer Ctrls Luminance Processing Ctrl 1 Luminance Processing Ctrl 2 NOTE 1 Any address not shown in the list can be accessed by typing the address and then clicking Read or Write Address i Loge Court Applies to Write FEE Edit Indirect Registers 02 gt wie and Read buttons ils DS Read Histogram on Loop Count Reads nae wH AS GC E B ee Figure 16 TVP5154 Register Map Editor TVP5154EVM User s Guide SLEU069A February 2006 Revised July 2006 Submit Documentation Feedback d TEXAS INSTRUMENTS www ti com Win VCC in Depth Table 4 TVP5154 Register Map Editor Controls CONTROL DEFINITION Register Window Scrolling text box that displays the address and data for the DC registers that are defined for the device Address Edit Box Contains the DC subaddress that will be accessed using the Write and Read 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 it can still be accessed by typing the subaddress in the Address E
50. em test report dialog box a dialog box see Figure 23 appears Win CC A Is a parallel cable connected from the computer s LPT1 port to the evaluation module EVM and power applied to the EYM 7 No Figure 23 Corrective Action Dialog Box 1 If the parallel port cable is NOT connected between to PC and the TVP5154EVM or if the EVM power is not on a Click NO b The dialog box shown in Figure 23 appears instructing you to correct the problem c Correct the problem d Click OK to continue The Real Time Polling dialog appears SLEUO69A February 2006 Revised July 2006 TVP5154EVM User s Guide 35 Submit Documentation Feedback da TEXAS INSTRUMENTS www ti com Troubleshooting 10 2 1 36 WinVCC4 A Connect a parallel cable from the computer s LPT1 port to the EVM and apply power to the EYM Then click OK Figure 24 Corrective Action Required If the cable is connected from the PC parallel port to the TVP5154EVM and the EVM power is on a Click Yes b The dialog box shown in Figure 24 appears This dialog box appears if the PC parallel port mode setting may need to be changed Note Only run the PC BIOS setup program if the BC 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 TVP5154 Click OK to continue The real time polling dialog appears Click OK to close it and get to the ma
51. four decoders see Figure 21 To open this click on DM642 Control in the Tools menu DM642 Control Decoder 1 Decoder 2 mage Capture Image Capture Disabled Disabled Video Standard C Quad3 C Quad4 Video Standard PAL h PAL Apply Click to Program Video Standard and Image Size Image Position Quad Image Position C Quad2 C Quad Quad2 C Quad3 C Quad4 Apply Click to Program Video Standard and Image Size mage Size SIF 352x240 v Image Size SIF 352x240 gt Decoder 3 Decoder 4 mage Capture Image Capture Disabled Disabled Video Standard Quad3 Quad4 Video Standard PAL vi PAL h Image Position C Quad Image Position C Quad 2 C Quad1 Quad2 C Quad3 e Quad4 mage Size Flash Major 01 TVP5154EVM User s Guide SIF 352x240 gt Flash M 5 Apply Click to Program Video Standard and Image Size inor LED Control EMI E E mo mo mo E Image Size Apply Click to Program Video Standard and Image Size SIF 352x240 y Close Figure 21 DM642 Control Window SLEU069A February 2006 Revised July 2006 Submit Documentation Feedback d TEXAS INSTRUMENTS www ti com Programming the TMS320DM642 When the DM642 Control window is opened all readable registers for the device are read from software to initialize the dialog page Register details are given in Table 8 Values on the page are changed by manipulating th
52. gmt power ti com Optical Networking www ti com opticalnetwork Microcontrollers microcontroller ti com Security www ti com security Low Power Wireless www ti com lpw 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 O 2006 Texas Instruments Incorporated
53. hich decoder only one will receive I C Read commands Decoder 1 is Enabled by default enable the other three decoders by clicking on each decoder s enable button TWP5154 DC Write Enable s TVP5154 2C Read Enable Decoder 1 Decoder 2 Decoder3 Decoder 4 Decoder Decoder 2 Enabled Disabled Disabled Disabled Fe Er zc Figure 6 Decoder DC Write and Read Enable Load the provided Initialization command CMD file into WinVCC by clicking on Tools System Initialization gt Browse The default directory is C Program Files Texas Instruments T VP5154EVMiinitialization Windows Video Control Center DO File Edit Tools Window Help Figure 7 WinVCC Main Screen In the System Initialization Window see Figure 8 click the TVP5154 ROM Initialize for NTSC or TVP5154 ROM Initialize for PAL dataset in the window and then click the PROGRAM Device s Using Selected Dataset button to initialize the TVP5154EVM TVP5154EVM User s Guide SLEUO69A February 2006 Revised July 2006 Submit Documentation Feedback d TEXAS INSTRUMENTS www ti com 8 1 SLEU069A February 2006 Revised July 2006 Win VCC in Depth System Initialization Command File C Program Files T exas Instruments TVP5154EVMMInitializationNTVP5154 ROM DM642 7311 Encoder cmd Browse Command File Operations Bytes Per Block Ali Reload REPLACE APPEND PROGRAM Peel Selected Dataset Current Device s 0 z with Current Devic
54. iguration Screen 3 Ensure that all other boxes are selected as Not Used and that all program options buttons are set to ENABLE Click OK 4 If there are no IC communication issues the Real Time Polling dialog window displays next as shown in Figure 5 If there are 12C issues an DC Test Report box displays Completely exit out of WinVCC double check the parallel port cable connections 1 C address settings cycle power on the TVP5154EVM and re run WinVCC 5 When using the TVP5154 EVM with a composite output from the 7311 encoder it is required to disable auto switch polling in the Real Time Polling dialog box by clicking on the ENABLED button Click OK and then the Main Control Window is seen as shown in Figure 7 SLEU069A February 2006 Revised July 2006 TVP5154EVM User s Guide 11 Submit Documentation Feedback i INSTRUMENTS www ti com WinVCC Quick Start Real Time Polling Click to Enable or Disable ENABLED VIDEO STANDARD AUTO SWITCH POLLING Polls TYPEXXX for a video standard switch and updates the video output device LINE COUNT CORRECTION POLLING Polls for changes in TVPEXXX line count and updates the video output device Disable All DK Enable Al Figure 5 Real Time Polling Dialog 6 The TVP5154 I C Write Enable s and Read Enable pop up window is displayed as shown in Figure 6 This is used to select which decoder or decoders any combination of all four will receive 1 C Write commands and w
55. in menu Click Exit in the File menu to exit the program See the troubleshooting guide in Table 21 OB WinVCC4 This program MAY 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 EYM 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 P5 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 25 Corrective Action Required Setting the PC Parallel Port Mode Note Only run the PC BIOS setup program if the IPC 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 TVP5154 Restart the PC During the boot process enter the BIOS setup program by pressing the required key usually the initial text screen indicates which key to press 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 Exit and sa
56. ird 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 or a license from TI under the patents or other intellectual property of TI Reproduction of information in TI 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 TI is not responsible or liable for such altered documentation Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI 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 M
57. ition Bit 5 Bit 4 Quadrant 1 default 0 0 Quadi Quad Quadrant 2 0 1 Quadrant 3 1 0 dute P Quadrant 4 1 1 28 Scaled capture sizes always take priority over unscaled capture sizes Decoder priorities are always such that Decoder 1 is the highest priority Decoder 2 is the second highest etc For example if Decoders 1 and 4 are scaled to 1 4 size and Decoders 2 and 3 are unscaled this display results Decoder 1 Decoder 2 Scaled Unscaled Decoder 2 Decoder 4 Unscaled Scaled TVP5154EVM User s Guide SLEUO69A February 2006 Revised July 2006 Submit Documentation Feedback d TEXAS INSTRUMENTS www ti com Programming the TMS320DM642 Note The unscaled Decoder 2 displays in both Quadrant 2 and 3 since Decoder 2 takes priority over Decoder 3 when both are unscaled Table 11 Decoder 2 Register Address 01h Default 12h 7 6 5 4 3 2 1 0 Reserved Position Geh Capture Size Capture Size Bit 2 Bit 1 Bit 0 Unscaled 0 0 0 QSIF 176 x 120 0 0 1 SIF 352 x 240 1 4 NTSC default 1 9 QCIF 176 x 144 0 1 1 CIF 352 x 288 1 4 PAL 1 0 0 QVGA 320 x 240 1 0 1 VGA 640 x 480 1 1 0 Reserved 1 1 1 Capture Enable Bit 3 Disable default 0 Enable 1 Position Bit 5 Bit 4 Quadrant 1 0 0 uag Er Quadrant 2 default 0 1 Quadrant 3 1 0 duada lona Quadrant 4 1 1 SLEU069A February 2006 Revised July 2006 TVP51
58. le Sync mode WR REG VID DEC 1 0x02 0x80 Enable Fast lock mode END DATASET Each command file may contain individual write to register WR REG commands e The comment indicator is the double slash e The command file is not case sensitive and ignores all white space characters e All numbers can be entered as hexadecimal beginning with Ox or as decimal e Every dataset in a command file begins with BEGIN DATASET and ends with END DATASET The maximum number of datasets is 250 e 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 box when the command file is opened e 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 must 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 e The write to register command is written as WR REG lt DeviceFamily gt Number of data bytes N gt lt subaddress gt lt Data1 gt lt DataN gt or WR REG lt Literal slave address gt lt Number of data bytes N gt lt subaddress gt lt Data1 gt lt DataN gt The valid device family mnemonics are VID DEC for the video decoders VID ENC for the video encoders
59. oes not work on the video encoder side Auto switch polling is not enabled Click real time polling in the Tools menu Click Enable All and OK This should be disabled if using a composite output SLEUO69A February 2006 Revised July 2006 Submit Documentation Feedback TVP5154EVM User s Guide 33 Troubleshooting 34 da TEXAS INSTRUMENTS www ti com Table 21 TVP5154EVM Troubleshooting continued SYMPTOM CAUSE SOLUTION No BC communication Decoder I C slave address is wrong Make sure I2C slave address jumpers on the TVP5154 decoder module are across pins 2 and 3 Encoder I2C slave address is wrong Slave address is hard coded to be 0x54 in the command file Make sure the 12C slave address jumper on encoder module is across pins 2 and 3 Parallel cable is not connected from PC parallel port to the TVP5154 decoder module DB25 connector Connect cable EVM is not powered on 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 Device was placed in power down mode Press the Reset button on the TVP5154 Decoder Module EVM was configured for an external 12C master Reinstall 0 Q resistors R5 and R6 Control EVM using the PC parallel
60. one S video input The TVP5154EVM allows the user to have up to two composite inputs or one S video input for each of the four channels The EVM software sets up and controls this input selection The S video input uses two connectors one for the luma channel and one for the chroma channel The EVM has a resistor network on each of the inputs These networks attenuate the signal and allow a 75 Q resistor to ground to be placed after the anti alias filter for termination Each input has an anti alias filter that can be in circuit or bypassed by jumpers JP1 JP8 To select the filter the shunts need to be positioned to short positions 1 3 and 2 4 To bypass the filter the shunts need to be moved to short positions 1 2 and 3 4 as shown in Figure 2 The boards are shipped with the filter bypassed Filter bypassed Filter in circuit AAA AA loor Figure 2 Anti Aliasing Filter Selection Video Output Description The 8 bit digital video outputs of the TVP5154 are routed to the four 32 pin headers H2 H5 the DM642 and finally to the 120 pin edge connector along with all video clocks on the TVP5154 module The encoder module connects to the 120 pin connector and is capable of receiving digital video with or without embedded syncs The analog outputs of the encoder module are composite S video and component For the user s convenience all of these outputs come out of the encoder module simultaneously TVP5154EVM User s Guide SLEU069A
61. put s and click Apply The composite video input 1 is selected by default Source is connected to the wrong input connector Connect source to the correct input connector YCbCr outputs or clock output is disabled Go to Edit Property Sheets TVP5154 Output Control page check the enable YCbOr outputs and enable clock outputs check boxes and click Apply No color Wrong mode is selected for color subcarrier genlock output Go to Edit Property Sheets gt TVP5154 Synchronization page set the Fsc control format to RTC and click Apply GLCO pin is not set to output the GLCO signal Go to Edit Property Sheets gt TVP5154 Output Control page set the drop down box labeled FID GLCO pin 23 to genlock output GLCO and click Apply Screen colors are only magenta and green Wrong YCbCr output format Go to Edit Property Sheets TVP5154 Output Control page set the YCbCr output format to 8 bit 4 2 2 YCbCr w ITU R BT 656 embedded sync mode and click Apply Video standard auto switch does not work on the video decoder side Auto switch masks are not set correctly Go to Edit Property Sheets TVP5154 Mode Selection page uncheck all standards to be included in auto switch processing and click Apply Video decoder is not in auto switch mode Go to Edit Property Sheets TVP5154 Mode Selection page set the drop down box to multistandard and click Apply Video standard auto switch d
62. rences Error 85580 13 10 WinVCC EG Address Configuration iseer ea ER ss GE ata EE SEENEN sen aa sa esa assai paa taiata ai taiata 14 11 Beds UI AE OE RR OE m 15 12 Real Time Polling Dialog isca EK SR GE ina Vra DE aaa io 16 13 WinVGG MAIN Screen ER EE EE a da EE N 16 14 Decoder PC Write nd Read Enable ii e ae cae aaa BE EER EE DE iii i ia 17 15 System initialization ss AA EE Ke Ee 18 16 TVP5154 Register Map Editor enen RR EER RR ER nnn e RE nme nm nmn RR ER eh enne nnne RR ER Rae 20 17 7311 Encoder Module Register Map Editor HI nme nm nnne nnn 21 18 Generic PC Register Map Editor s ccs EE dE ca A ad 22 19 Memory Map sro ror 22 20 TVP5154 Property Sheets nino Ie a ta HE SE a GEE a DI A EE FA EPA DS EE a i EE 24 21 DM642 Control WindOW t C 26 22 PG System Failure Dialog BOX s venet r osa nnn a Ee GN EG iii 25 23 Gorrective Action Dialo BOK inzenden soarta cca a a ia ed a a tt a iv it at a iat 35 24 Corrective Action Required EEN 36 25 Corrective Action ole de N OE EE emde 36 26 ESE TITO 37 List of Figures SLEUO69A February 2006 Revised July 2006 Submit Documentation Feedback List of Tables 1 ISC Address Selection Jumpers
63. rol FQ12xx series only Multiple Byte 12C Transfers Set DC Bit Rate Run System I2C Test Run Continuous DC Test Read VBI FIFO Capture Live VBI Data DM642 Control Window Allows selection of the active window Multiple windows can be open at the same time Help Displays program version 16 TVP5154EVM User s Guide SLEU069A February 2006 Revised July 2006 Submit Documentation Feedback U INSTRUMENTS www ti com 8 5 1 WinVCC in Depth The TVP5154 DC Write Enable s and Read Enable pop up window is displayed as shown in Figure 14 This is used to select which decoder or decoders any combination of all four will receive 12C Write commands and which decoder only one will receive IPC Read commands Decoder 1 is Enabled by default enable the other three decoders by clicking on each decoder s enable button T P5154 I2C Write Enable s TVP5154 I2C Read Enable Decoder 1 Decoder2 Decoder3 Decoder 4 Decoder Decoder 2 Enabled Disabled Disabled Disabled Figure 14 Decoder C Write and Read Enable System Initialization Clicking System Initialization in the Tools menu displays the dialog box shown in Figure 15 This dialog box provides the means for initializing the TVP5154 decoder s and or video encoder for a particular video mode as well as programming settings for the DM642 through the Generic IFC registers The details of the initialization are contained in the comm
64. tialization cmd 2 If REPLACE or APPEND functions will be used click RELOAD whenever the video decoder EVM is reset or power cycled Figure 15 System Initialization Adding a Custom Dataset After programming the EVM via the System Initialization tool using the factory supplied command file you can customize the device register settings to fit your needs Perform the following steps to save your custom settings 1 2 3 4 5 Reopen the System Initialization dialog box via the Tools menu Click the Append Current Device Settings to Command File button A dialog box requesting a description of the new dataset appears Optionally click the drop down box and select one of the existing descriptions Modify the description text or type your own description Click OK All nondefault register values from the TVP5154 DM642 and encoder are appended to the current command file as an additional dataset Now you can select your custom dataset and send it with a press of the Program button By using the same procedure above with the Replace Selected Dataset with Current Device Settings button you can overwrite an existing dataset with the current settings 18 TVP5154EVM User s Guide If editing the command file CMD using a standard editor the file must be saved as plain text Note SLEUO69A February 2006 Revised July 2006 Submit Documentation Feedback i INSTRUMENTS www ti com WinVCC in Depth
65. uired to disable auto switch polling by clicking on the ENABLED button in the Real Time Polling dialog box as shown in Figure 12 The real time polling dialog can also be accessed once WinVCC is up and running by clicking Real Time Polling in the Tools menu SLEU069A February 2006 Revised July 2006 TVP5154EVM User s Guide 15 Submit Documentation Feedback da TEXAS INSTRUMENTS www ti com WinVCC in Depth Real Time Polling Click to Enable or Disable ENABLED VIDEO STANDARD AUTO SWITCH POLLING Polls TYPEXXX for a video standard switch and updates the video output device LINE COUNT CORRECTION POLLING Polls for changes in TYPEX line count and updates the video output device Disable All DK Enable All Figure 12 Real Time Polling Dialog 8 5 Main Menu After closing the real time polling dialog the main menu is displayed as shown in Figure 13 The menus which are used to operate WinVCC are File Edit Tools Window and Help The File menu s only function is Exit which terminates the program Table 3 summarizes the main menu contents Windows Video Control Center DO File Edit Tools Window Help Figure 13 WinVCC Main Screen Table 3 Main Menu Summary MENU CONTENTS File Exit Edit Register Map TVP5154 7311 Encoder Module Generic 12C Memory Map TVP5154 7311 Encoder Module Property Sheets TVP5154 7311 Encoder Module Tools System Initialization Real time Polling TV Tuner Cont
66. ut Color Standard Bit 2 Bit 1 Bit 0 NTSC 0 0 0 B D G H I N PAL default o 2 Reserved Table 18 LED Control Register Address 08h Default 00h 7 6 5 4 3 2 1 0 Reserved LED 7 Status LED 6 Status LED 5 Status LED 4 Status LED 3 Status LED 2 Status LED 1 Status 32 LED 1 7 Status 0 LED off 1 LED on Table 19 Flash Major Version Register Address 09h Default 01h 7 6 5 4 3 2 1 0 Flash Major Version Table 20 Flash Minor Version Register Address OAh Default OOh f 6 5 4 3 2 1 0 Flash Minor Version TVP5154EVM User s Guide SLEUO69A February 2006 Revised July 2006 Submit Documentation Feedback d TEXAS INSTRUMENTS www ti com Troubleshooting This chapter discusses ways to troubleshoot the TVP5154EVM 10 1 Troubleshooting Guide Troubleshooting If you are experiencing problems with the TVP5154EVM hardware or the WinVCC software see Table 21 for available solutions Table 21 TVP5154EVM Troubleshooting SYMPTOM CAUSE SOLUTION At startup the error message Cannot find DLL file DLPORTIO DLL appears The parallel port driver supplied with the EVM has not been installed Run Port95NT EXE on the CD to install the driver Blank screen Wrong video input is selected Go to Edit Property Sheets TVP5154 Analog Video page select the correct video in
67. ve changes TVP5154EVM User s Guide SLEU069A February 2006 Revised July 2006 Submit Documentation Feedback INSTRUMENTS www ti com TVP5154EVM Schematics 10 2 2 General PC Error Report The 10 Error Report shown in Figure 26 appears when an IC error occurs at any time other than after the 12C system test In this example there is acknowledge error at slave address 0x54 the video encoder module The error occurred on Read Cycle Phase 1 on the device slave address byte 12C Error Report Read Dev 0x54 Addr 0x00 Data 0x00 NO ACEN RD1 DEV Ignore I2C Acknowledge Errors 3 Exit Program Figure 26 I C Error 11 TVP5154EVM Schematics SLEU069A February 2006 Revised July 2006 TVP5154EVM User s Guide 37 Submit Documentation Feedback TVP5154EVMDVB REV 1 2 DC Power e 7 Power age 17 DC DM642 page 4 DM642 Daughtercard Interface page 3 Daughtercard Int F amp V Bit Breakout Flash Memory page 12 F amp V Bit Brifik page 14 Flash TEXAS INSTRUMENTS INC 12500 TI BLVD DALLAS TEXAS 75243 TVP5154EVM BLOCK DIAGRAM Size FCSM No DWG No 6 Scale Sheet Lof 17 TEXAS INSTRUMEN
68. video decoder converts the analog video input signal into digital component data This data and the associated clocks from the video decoder are sent to the DM642 which provides various image capture and display modes The DM642 is setup in I C slave mode and is controlled through virtual C registers The video encoder then converts the digital data from the DM642 back into analog video The analog video outputs supported by the EVM include composite video S video and component video These are all output simultaneously To experiment with the programmable features of the TVP5154 video decoder and the video encoder the parallel port of the TVP5154 is connected to the parallel port of a PC WinVCC a Windows compatible application provides the user interface for performing register level and high level control of the TVP5154 video decoder and the video encoder Code Composer Studio is a trademark of Texas Intruments All other trademarks are the property of their respective owners 6 TVP5154EVM User s Guide SLEUO69A February 2006 Revised July 2006 Submit Documentation Feedback d TEXAS INSTRUMENTS www ti com 2 Board Level Description The TVP5154EVM consists of the TVP5154EVM module and the encoder EVM module A 4 row 120 pin Board Level Description connector connects the boards The block diagram of the EVM set is shown in Figure 1

Download Pdf Manuals

image

Related Search

Related Contents

PDF-Datei - Lipinski Telekom  UH 700 - Hilti  Home Decorators Collection 16648 Installation Guide  CoPilot and CoPilot Premium  Installatiehandleiding Manual de instalação Manual de Instalación  RemoteOLV User Manual  Smeg SCM1-1 coffee maker  The PC Sound Card as a Voltage Measurement  

Copyright © All rights reserved.
Failed to retrieve file