[linux-dvb] I2C address for STV0297 and tuner TUA6020

Kein Yuan kein.yuan at gmail.com
Wed Apr 13 06:01:05 CEST 2005


HI all,
    I am using STV0297 and tuner TUA6020 on our DVB-C platform, with
Linux 2.6.10.
I can see from Linux DVB kernel code(
drivers/media/dvb/ttpci/av7110.c) that when access STV0297 it was
using  .demod_address = 0x1C  which on STV0297 datasheet, the I2C
address is 0011100b.  When access the TUA6020 it was using I2C address
0x63, which on TUA6020 datasheet the address was: 1100 0 MA1 MA0,  MA1
and MA0 was decided by voltage at AS pin,  so seems on av7110 DVB-C
card the  MA1 =1 and MA0 =1?   Is that correct?

The platform I am working on, set MA1 = MA0 = 0, so the I2C address to
access TUA6020 should be  1100  000b = 0x03, however when access this
address I2C controller always can't got a ACK.   I tried other address
such as 0x63/43/23/03 but all of them give me a I2C bus error, 
without ACK after send data out.   I onlky got it works when set the
address to 0x60, that is  0000011, seems is  LSB to MSB of 0x03.

Does anydoby know what it the correct address I need to set when
access TUA6020's PLL?   In fact I think it should be 0x03, but it
always give me failures.  Is there any other thing I missed?   I had
turn I2C repeater in STV0297 on everytime I acess  TUA6020.


Thanks a lot!

Kein




More information about the linux-dvb mailing list