Texas Instruments TVP5154EVM manual Details of the DM642 Code and Control Registers

Page 26

www.ti.com

Programming the TMS320DM642

9.2Details of the DM642 Code and Control Registers

Details of the DM642 code and control registers are:

The DM642 device address is 0x40h by default. The DM642 is setup as an I2C slave.

The DM642 executes code on power up from the flash using the PCI GPIO to control the address MSB.

Virtual I2C 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 I2C 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 I2C 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 I2C registers.

9.2.1DM642 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 four decoders (see Figure 21).

To open this, click on DM642 Control in the Tools menu.

Figure 21. DM642 Control Window

26

TVP5154EVM User's Guide

SLEU069A –February 2006 –Revised July 2006

Image 26
Contents Users Guide Submit Documentation Feedback Contents List of Figures List of Tables TVP5154EVM Users Guide Description OverviewPower-Down-Mode Selection Jumper PDN, JP11 Test Points and JumpersVideo Output Description Common Board InterfaceVideo Input Description System-Level Description Software Installation WinVCC I2C Configuration Screen Real-Time Polling Dialog Starting WinVCC WinVCC System InitializationWinVCC Configuration Dialog Box I2C System TestReal-Time Polling I2C System FailureMain Menu Main Menu SummaryDecoder I2C Write and Read Enable System Initialization Adding a Custom Dataset Command Files Example Command FileRegister Editing Register Map EditorGeneric I2C Register Editor TVP5154 Register Map Editor ControlsEncoder Module Register Map Editor Generic I2C Register Map Editor Memory Map Editor TVP5154 Property Sheets Memory Map Editor ControlsAuto-Update From Device TVP5154 Property Sheets Property Sheet RefreshProperty Sheet Button Controls Development and Purpose of DM642 CodeUse of Property Sheet Controls Details of the DM642 Code and Control Registers 1 DM642 Control WindowDM642 Control Window Controls 2 DM642 Virtual I2C Register Map3 DM642 Virtual I2C Register Details Decoder 1 Register Decoder 2 Register Decoder 3 Register Decoder 4 RegisterDecoder 1 Input Format Register Decoder 2 Input Format RegisterLED Control Register Decoder 3 Input Format RegisterDecoder 4 Input Format Register Flash Major Version RegisterTroubleshooting Guide TVP5154EVM TroubleshootingSymptom Cause Corrective Action Dialogs I2C System Failure Dialog BoxCorrective Action Required General I2C Error Report I2C ErrorReset SCL SDA SDA SCL Reset1AIN Reset 1BIN SCL 2AIN SDA 2BIN SDA SCL /RESETAV2 Encsclk Dsptdi Dsptdo Dsptms Dsptclk DSPTRST#SCKS1 AV1 Enchs SCKS3 Encvs AV3 EncfidRPACK4-33 A9 ENCY0 B9 ENCY1 C9 ENCY2 D9 ENCY3Dspclkin EmacenableLendianmode Reset DspeclkinTEA19 TED0 TED1 TED2 TED3 TED4 TED5 TED6 TED7TED15 TEA20Hwdthsel Dspcvdd DSP CvddTEA14 TCE1# TSDCAS# TSDWE# ResetTEA11 TEA12 TEA13 CH4OUT2 CH4OUT0CH4OUT1 CH4OUT3D5V SCL SDA Reset X1/OSC Agnd Avdd REFP1 REFM1 INX /OSC Outx PDN Resetb SCL SDACH1AVDD CH2AVDD CH3AVDD CH4AVDD Avddref CH1PLLVDD CH2PLLVDD CH3PLLVDD CH4PLLVDD1AOUT 2AIN DB9 SN74AHC05DR U2ETED46 TED6 TED38 TED47 TED7 TED39TED14 TED5 TED13 TED37 TED45DSPEMU11 DSPEMU10 DSPEMU9 DSPEMU8 Xdstms Xdstdi Xdstdo Xdstckret XDSEMU0XDSTRST# XDSEMU1 DSPEMU2 XDSEMU1Power on LED +5V ENCC5 ENCC7ENCC6 ENCC4Important Notice