Texas Instruments TVP5146EVM quick start Adding a Custom Data Set, Command Files

Page 21

SLEU063

8.5.1.1Adding 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.

4.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 your 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.2Command 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 WindowsTM .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\Initialization 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

Image 21
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 Output Anti-Aliasing FiltersTuner Interface Analog Inputs and Pin TerminalsVBI Decoder Interface Test Points and JumpersVBI Decoder Interface Pinout 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