Texas Instruments TVP5146EVM quick start SLEU063

Models: TVP5146EVM

1 56
Download 56 pages 52.14 Kb
Page 23
Image 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

Page 23
Image 23
Texas Instruments TVP5146EVM quick start SLEU063