Texas Instruments TVP5146EVM quick start I2C Troubleshooting

Page 33

 

 

 

SLEU063

 

 

Table 10. I2C Troubleshooting

 

 

 

 

 

 

Symptom

Cause

Solution

 

 

 

 

 

 

No I2C

I2C slave address is wrong.

Close and restart WinVCC4. Choose the alternate slave

 

communication

 

address in the WinVCC4 Configuration dialog.

 

 

 

 

 

 

 

Parallel cable is not connected from

Connect cable.

 

 

PC parallel port to the EVM DB25

 

 

 

 

connector.

 

 

 

 

 

 

 

 

 

EVM is not powered on.

The 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.

 

 

 

PC parallel port mode is not set

Reboot PC, enter BIOS setup program, set parallel port

 

 

correctly.

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 4.2.1.

 

 

 

 

 

 

 

Device was placed in power–down

Press the reset button on the TVP5160EVM.

 

 

mode.

 

 

 

 

EVM was configured for an external

Reinstall 0-?resistors R5 and R6. Control EVM using the

 

 

I2C master.

PC parallel port.

 

 

 

Still no I2C communication

The 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 WinVCC4 is started and the WinVCC4 Configuration dialog box is closed with OK, the I2C system test is performed (unless the I2C System Test program options button was disabled).

If the I2C system test fails, a dialog box will appear. Figure 18 reports that a read from TVP5160 failed, using slave address 0xB8, subaddress 0xBD. The data read was 0x00. The expected data was 0x01.

After noting which device had a problem, click OK to continue. Next, the Corrective Action Dialog box appears to help fix the problem.

TVP5160EVM User’s Guide

33

Image 33
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