Texas Instruments TVP5146EVM quick start SLEU063

Page 23

SLEU063

7. The write to register command is written as follows:

WR_REG, <DeviceFamily>, <Number of data bytes (N)>, <subaddress>, <Data1>,…, <DataN>

or

WR_REG, <Literal slave address>, <Number of data bytes (N)>, <subaddress>, <Data1>,…, <DataN>

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 device 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,<# milliseconds>

TVP5160EVM User’s Guide

23

Image 23
Contents TVP5160EVM User’s Guide Property Sheets 2C System Failure Dialog Box Corrective Action Required 2C Error TablesDescription Overview Functional DescriptionAnalog Inputs Board Level DescriptionAnalog Inputs and Pin Terminals Anti-Aliasing FiltersAnalog Output Tuner InterfaceVBI Decoder Interface Pinout VBI Decoder InterfaceTest Points and Jumpers Video Encoder Analog Outputs Common Board InterfaceSystem Level Description TVP5160EVM System Level Block DiagramRequired Hardware and Equipment Hardware Setup Software Installation WinVCC4 Quick Start WinVCC4 I2C Configuration ScreenWinVCC4 Real Time Polling Screen SLEU063 Starting WinVCC4 WinVCC4 in DepthWinVCC4 I2C Address Configuration WinVCC4 Configuration Dialog BoxReal-Time Polling I2C System TestReal-Time Polling Dialog Box Main Menu Summary Main MenuSystem Initialization Adding a Custom Data Set Command FilesExample Command File SLEU063 Register Editing Control Definition Encoder Module Editor Generic I2C Register Editor BASE+OFFSET Indirect Register EditorReading the Register Map Property SheetsProperty Sheets Auto-Update from DeviceProperty Sheet Button Controls Use of Property Sheet ControlsTroubleshooting Guide TroubleshootingI2C Troubleshooting I2C System Failure Dialog Box Corrective Action DialogsSetting the PC Parallel Port Mode General I2C Error Report 10 TVP5160EVM Schematics ADV7311 Module REV Encoder EVM Block DiagramEncoder EVM I2C Encoder EVM Power Optional 5V, 3.0A DC Input Main Supply from ConnectorEncoder EVM Testpoints UV0 Encoder EVM ConnectorEncoder EVM ADV7311 I2C Address SelectionCvbs TVP5160EVM I2C TVP5146EVM TV Tuner Interface TVP5160EVM VBI Decoder Interface Cvbs & S-VIDEO TVP5160EVM Power TVP5160 Power Supply Power on LED +5VTVP5160EVM Sdram 50-PIN Tsop TVP5160EVM Sdram 86-PIN Tsop TVP5160EVM Sdram 54-PIN Tsop TVP5160EVM Connector TVP5160EVM Testpoints OUT TVP5146EVM MainImportant Notice