This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TVP5147M1 composite video capture: HSYNC and VSYNC not locked

Other Parts Discussed in Thread: TVP5147, TVP5147M1

Hello TI teams!

In continue to this topic: http://e2e.ti.com/support/data_converters/videoconverters/f/376/t/291018.aspx

Still exist problem with Hsync and Vsync lock.

I use "i2c_rdwr.out util" to config of TVP5147M via i2c bus.

After power on (PAL camera constantly connected to composite video on expansion I/O board for Mistral DM8148 EVM) I make next sequence (please look at attched script):

 

1) Reset decoder (write to 0x03 register value 0x01 and after this write value 0x00):

# ./i2c_rdwr.out -w 0x5c 0x03 0x01

I2C (0x5c): 0x03 = 0x01

# ./i2c_rdwr.out -w 0x5c 0x03 0x00

I2C (0x5c): 0x03 = 0x00

 

2) select composite video input VI_2_B (write to 0x00 input select value 0x05) :

# ./i2c_rdwr.out -w 0x5c 0x00 0x05

I2C (0x5c): 0x00 = 0x05

 

3) set recommended setting as desribe "SLES140G" - 4.1.2:

# ./i2c_rdwr.out -w 0x5c 0x08 0x00

I2C (0x5c): 0x08 = 0x00

# ./i2c_rdwr.out -w 0x5c 0x0E 0x04

I2C (0x5c): 0x0e = 0x04

# ./i2c_rdwr.out -w 0x5c 0x34 0x11

I2C (0x5c): 0x34 = 0x11

 

4) Read "Status 1" register for check is H/V -syncs are locked

# ./i2c_rdwr.out -r 0x5c 0x3a 1

I2C (0x5c): 0x3a = 0x11

 

 

And register 0x3A always has value = 0x11 (as signal not present)

 

Please what is worng in my sequence? Any idea?

How I can test that I/O board isn't damaged?

 

0602.tvp5147_tst.txt
#!/bin/sh       

cd bin

# perform reset
./i2c_rdwr.out -w 0x5c 0x03 0x01
./i2c_rdwr.out -w 0x5c 0x03 0x00

# set capture from VI_2_B
./i2c_rdwr.out -w 0x5c 0x00 0x05

./i2c_rdwr.out -w 0x5c 0x08 0x00
./i2c_rdwr.out -w 0x5c 0x0E 0x04
./i2c_rdwr.out -w 0x5c 0x34 0x11

./i2c_rdwr.out -r 0x5c 0x3a 1
./i2c_rdwr.out -r 0x5c 0x3a 1
./i2c_rdwr.out -r 0x5c 0x3a 1
./i2c_rdwr.out -r 0x5c 0x3a 1
./i2c_rdwr.out -r 0x5c 0x3a 1
./i2c_rdwr.out -r 0x5c 0x3a 1
./i2c_rdwr.out -r 0x5c 0x3a 1
./i2c_rdwr.out -r 0x5c 0x3a 1
./i2c_rdwr.out -r 0x5c 0x3a 1
./i2c_rdwr.out -r 0x5c 0x3a 1






3835.tvp5147_reg_dump.txt.txt
 I2C (0x5c): 0x00 = 0x05
 I2C (0x5c): 0x01 = 0x0f
 I2C (0x5c): 0x02 = 0x00
 I2C (0x5c): 0x03 = 0x00
 I2C (0x5c): 0x04 = 0x23
 I2C (0x5c): 0x05 = 0x10
 I2C (0x5c): 0x06 = 0x00
 I2C (0x5c): 0x07 = 0x00
 I2C (0x5c): 0x08 = 0x00
 I2C (0x5c): 0x09 = 0x80
 I2C (0x5c): 0x0a = 0x80
 I2C (0x5c): 0x0b = 0x80
 I2C (0x5c): 0x0c = 0x00
 I2C (0x5c): 0x0d = 0x00
 I2C (0x5c): 0x0e = 0x04
 I2C (0x5c): 0x0f = 0x00
 I2C (0x5c): 0x10 = 0x80
 I2C (0x5c): 0x11 = 0x80
 I2C (0x5c): 0x12 = 0x80
 I2C (0x5c): 0x13 = 0x80
 I2C (0x5c): 0x14 = 0x80
 I2C (0x5c): 0x15 = 0x80
 I2C (0x5c): 0x16 = 0x55
 I2C (0x5c): 0x17 = 0x00
 I2C (0x5c): 0x18 = 0x25
 I2C (0x5c): 0x19 = 0x03
 I2C (0x5c): 0x1a = 0x00
 I2C (0x5c): 0x1b = 0x00
 I2C (0x5c): 0x1c = 0x40
 I2C (0x5c): 0x1d = 0x00
 I2C (0x5c): 0x1e = 0x04
 I2C (0x5c): 0x1f = 0x00
 I2C (0x5c): 0x20 = 0x07
 I2C (0x5c): 0x21 = 0x00
 I2C (0x5c): 0x22 = 0x01
 I2C (0x5c): 0x23 = 0x00
 I2C (0x5c): 0x24 = 0x15
 I2C (0x5c): 0x25 = 0x00
 I2C (0x5c): 0x26 = 0x00
 I2C (0x5c): 0x27 = 0x00
 I2C (0x5c): 0x28 = 0xcc
 I2C (0x5c): 0x29 = 0x00
 I2C (0x5c): 0x2a = 0x00
 I2C (0x5c): 0x2b = 0x00
 I2C (0x5c): 0x2c = 0x00
 I2C (0x5c): 0x2d = 0x00
 I2C (0x5c): 0x2e = 0x00
 I2C (0x5c): 0x2f = 0x00
 I2C (0x5c): 0x30 = 0x00
 I2C (0x5c): 0x31 = 0x05
 I2C (0x5c): 0x32 = 0x00
 I2C (0x5c): 0x33 = 0x40
 I2C (0x5c): 0x34 = 0x11
 I2C (0x5c): 0x35 = 0xff
 I2C (0x5c): 0x36 = 0xff
 I2C (0x5c): 0x37 = 0xff
 I2C (0x5c): 0x38 = 0xff
 I2C (0x5c): 0x39 = 0x00
 I2C (0x5c): 0x3a = 0x11
 I2C (0x5c): 0x3b = 0x58
 I2C (0x5c): 0x3c = 0x00
 I2C (0x5c): 0x3d = 0x29
 I2C (0x5c): 0x3e = 0xc5
 I2C (0x5c): 0x3f = 0x81
 I2C (0x5c): 0x40 = 0x00
 I2C (0x5c): 0x41 = 0x00
 I2C (0x5c): 0x42 = 0x0d
 I2C (0x5c): 0x43 = 0x02
 I2C (0x5c): 0x44 = 0x80
 I2C (0x5c): 0x45 = 0x04
 I2C (0x5c): 0x46 = 0x20
 I2C (0x5c): 0x47 = 0x20
 I2C (0x5c): 0x48 = 0x20
 I2C (0x5c): 0x49 = 0x20
 I2C (0x5c): 0x4a = 0x00
 I2C (0x5c): 0x4b = 0x09
 I2C (0x5c): 0x4c = 0x00
 I2C (0x5c): 0x4d = 0x09
 I2C (0x5c): 0x4e = 0x00
 I2C (0x5c): 0x4f = 0x09
 I2C (0x5c): 0x50 = 0x00
 I2C (0x5c): 0x51 = 0x09
 I2C (0x5c): 0x52 = 0x00
 I2C (0x5c): 0x53 = 0x00
 I2C (0x5c): 0x54 = 0x1f
 I2C (0x5c): 0x55 = 0x1f
 I2C (0x5c): 0x56 = 0x64
 I2C (0x5c): 0x57 = 0x00
 I2C (0x5c): 0x58 = 0x00
 I2C (0x5c): 0x59 = 0x00
 I2C (0x5c): 0x5a = 0x00
 I2C (0x5c): 0x5b = 0x00
 I2C (0x5c): 0x5c = 0x00
 I2C (0x5c): 0x5d = 0x00
 I2C (0x5c): 0x5e = 0x00
 I2C (0x5c): 0x5f = 0x00
 I2C (0x5c): 0x60 = 0x00
 I2C (0x5c): 0x61 = 0x00
 I2C (0x5c): 0x62 = 0x00
 I2C (0x5c): 0x63 = 0x00
 I2C (0x5c): 0x64 = 0x00
 I2C (0x5c): 0x65 = 0x00
 I2C (0x5c): 0x66 = 0x00
 I2C (0x5c): 0x67 = 0x00
 I2C (0x5c): 0x68 = 0x00
 I2C (0x5c): 0x69 = 0x00
 I2C (0x5c): 0x6a = 0x0a
 I2C (0x5c): 0x6b = 0x45
 I2C (0x5c): 0x6c = 0x08
 I2C (0x5c): 0x6d = 0xff
 I2C (0x5c): 0x6e = 0xff
 I2C (0x5c): 0x6f = 0x04
 I2C (0x5c): 0x70 = 0x07
 I2C (0x5c): 0x71 = 0x00
 I2C (0x5c): 0x72 = 0x00
 I2C (0x5c): 0x73 = 0x19
 I2C (0x5c): 0x74 = 0x00
 I2C (0x5c): 0x75 = 0x16
 I2C (0x5c): 0x76 = 0x8a
 I2C (0x5c): 0x77 = 0x64
 I2C (0x5c): 0x78 = 0x06
 I2C (0x5c): 0x79 = 0x1e
 I2C (0x5c): 0x7a = 0x40
 I2C (0x5c): 0x7b = 0x00
 I2C (0x5c): 0x7c = 0x00
 I2C (0x5c): 0x7d = 0x00
 I2C (0x5c): 0x7e = 0x03
 I2C (0x5c): 0x7f = 0x00
 I2C (0x5c): 0x80 = 0x51
 I2C (0x5c): 0x81 = 0x47
 I2C (0x5c): 0x82 = 0x00
 I2C (0x5c): 0x83 = 0x09
 I2C (0x5c): 0x84 = 0x10
 I2C (0x5c): 0x85 = 0x10
 I2C (0x5c): 0x86 = 0x10
 I2C (0x5c): 0x87 = 0x01
 I2C (0x5c): 0x88 = 0x10
 I2C (0x5c): 0x89 = 0x10
 I2C (0x5c): 0x8a = 0x10
 I2C (0x5c): 0x8b = 0x01
 I2C (0x5c): 0x8c = 0x7d
 I2C (0x5c): 0x8d = 0x00
 I2C (0x5c): 0x8e = 0x00
 I2C (0x5c): 0x8f = 0x00
 I2C (0x5c): 0x90 = 0x00
 I2C (0x5c): 0x91 = 0x20
 I2C (0x5c): 0x92 = 0x1d
 I2C (0x5c): 0x93 = 0x64
 I2C (0x5c): 0x94 = 0x03
 I2C (0x5c): 0x95 = 0x00
 I2C (0x5c): 0x96 = 0x00
 I2C (0x5c): 0x97 = 0x00
 I2C (0x5c): 0x98 = 0x00
 I2C (0x5c): 0x99 = 0x00
 I2C (0x5c): 0x9a = 0x0b
 I2C (0x5c): 0x9b = 0x02
 I2C (0x5c): 0x9c = 0x00
 I2C (0x5c): 0x9d = 0x24
 I2C (0x5c): 0x9e = 0x00
 I2C (0x5c): 0x9f = 0x06
 I2C (0x5c): 0xa0 = 0x00
 I2C (0x5c): 0xa1 = 0x00
 I2C (0x5c): 0xa2 = 0x00
 I2C (0x5c): 0xa3 = 0x00
 I2C (0x5c): 0xa4 = 0x00
 I2C (0x5c): 0xa5 = 0x00
 I2C (0x5c): 0xa6 = 0x00
 I2C (0x5c): 0xa7 = 0x00
 I2C (0x5c): 0xa8 = 0x00
 I2C (0x5c): 0xa9 = 0x00
 I2C (0x5c): 0xaa = 0x00
 I2C (0x5c): 0xab = 0x00
 I2C (0x5c): 0xac = 0x00
 I2C (0x5c): 0xad = 0x00
 I2C (0x5c): 0xae = 0x00
 I2C (0x5c): 0xaf = 0x00
 I2C (0x5c): 0xb0 = 0x00
 I2C (0x5c): 0xb1 = 0x00
 I2C (0x5c): 0xb2 = 0x00
 I2C (0x5c): 0xb3 = 0x00
 I2C (0x5c): 0xb4 = 0x00
 I2C (0x5c): 0xb5 = 0x00
 I2C (0x5c): 0xb6 = 0x00
 I2C (0x5c): 0xb7 = 0x00
 I2C (0x5c): 0xb8 = 0x00
 I2C (0x5c): 0xb9 = 0x00
 I2C (0x5c): 0xba = 0x00
 I2C (0x5c): 0xbb = 0x00
 I2C (0x5c): 0xbc = 0x00
 I2C (0x5c): 0xbd = 0x80
 I2C (0x5c): 0xbe = 0x00
 I2C (0x5c): 0xbf = 0x00
 I2C (0x5c): 0xc0 = 0x00
 I2C (0x5c): 0xc1 = 0x00
 I2C (0x5c): 0xc2 = 0x1e
 I2C (0x5c): 0xc3 = 0x00
 I2C (0x5c): 0xc4 = 0x22
 I2C (0x5c): 0xc5 = 0x00
 I2C (0x5c): 0xc6 = 0x50
 I2C (0x5c): 0xc7 = 0x00
 I2C (0x5c): 0xc8 = 0x00
 I2C (0x5c): 0xc9 = 0x00
 I2C (0x5c): 0xca = 0x00
 I2C (0x5c): 0xcb = 0x00
 I2C (0x5c): 0xcc = 0x00
 I2C (0x5c): 0xcd = 0x00
 I2C (0x5c): 0xce = 0x00
 I2C (0x5c): 0xcf = 0x00
 I2C (0x5c): 0xd0 = 0x00
 I2C (0x5c): 0xd1 = 0x00
 I2C (0x5c): 0xd2 = 0x00
 I2C (0x5c): 0xd3 = 0x00
 I2C (0x5c): 0xd4 = 0x00
 I2C (0x5c): 0xd5 = 0x08
 I2C (0x5c): 0xd6 = 0x06
 I2C (0x5c): 0xd7 = 0x1b
 I2C (0x5c): 0xd8 = 0xff
 I2C (0x5c): 0xd9 = 0x00
 I2C (0x5c): 0xda = 0xff
 I2C (0x5c): 0xdb = 0x00
 I2C (0x5c): 0xdc = 0x00
 I2C (0x5c): 0xdd = 0x00
 I2C (0x5c): 0xde = 0x00
 I2C (0x5c): 0xdf = 0x00
 I2C (0x5c): 0xe0 = 0xc6
 I2C (0x5c): 0xe1 = 0xc6
 I2C (0x5c): 0xe2 = 0xff
 I2C (0x5c): 0xe3 = 0x00
 I2C (0x5c): 0xe4 = 0xc6
 I2C (0x5c): 0xe5 = 0xc6
 I2C (0x5c): 0xe6 = 0xc6
 I2C (0x5c): 0xe7 = 0xc6
 I2C (0x5c): 0xe8 = 0x01
 I2C (0x5c): 0xe9 = 0x00
 I2C (0x5c): 0xea = 0x00
 I2C (0x5c): 0xeb = 0x00
 I2C (0x5c): 0xec = 0x00
 I2C (0x5c): 0xed = 0x00
 I2C (0x5c): 0xee = 0x00
 I2C (0x5c): 0xef = 0xc6
 I2C (0x5c): 0xf0 = 0x00
 I2C (0x5c): 0xf1 = 0x00
 I2C (0x5c): 0xf2 = 0x00
 I2C (0x5c): 0xf3 = 0x00
 I2C (0x5c): 0xf4 = 0x00
 I2C (0x5c): 0xf5 = 0x00
 I2C (0x5c): 0xf6 = 0x00
 I2C (0x5c): 0xf7 = 0x00
 I2C (0x5c): 0xf8 = 0x00
 I2C (0x5c): 0xf9 = 0xc6
 I2C (0x5c): 0xfa = 0xc6
 I2C (0x5c): 0xfb = 0xc6
 I2C (0x5c): 0xfc = 0xc6
 I2C (0x5c): 0xfd = 0xc6
 I2C (0x5c): 0xfe = 0xc6
 I2C (0x5c): 0xfe = 0xc6