[linux-dvb] any help as a good help

Patrick Boettcher patrick.boettcher at desy.de
Fri Aug 31 14:27:51 CEST 2007


Hi,


On Fri, 31 Aug 2007, zhenhao huang wrote:

> * * I  had been trying to work with demod board ,but i haven't been able to
> communicate
> with the part of tuner,so anyone can advice me how to set demodulator i2c
> interface in
> "bridge" mode.
> 
> Here is our platform i2c write mode.
> Write mode Start | Circuit_Address | 0 | Ack REGISTER_address| Ack | Data |
> Ack | Stop.
> 
> Example
> At address 0x12 write 0XF0 IN REGISTER 0X01
> Start | 0001001 | 0 | Ack | 0x01 | Ack | 0xF0| Ack | Stop.
> 
> If i2c communicate with dib7070p tuner part , What shoud i do ?
> Can you give me example write 0xff in tuner register 0x01.
> Thanks!

The DiB7000P has 16 bit address size and 16 bit data size. So you need to 
write 2 bytes where you just using 1. e.g:

Start | 0001001 | 0 | Ack | addr_byte_msb | Ack | addr_byte_lsb | Ack 
| val_byte_msb | Ack | val_byte_lsb | Ack | Stop

Why don't you use the driver from LinuxTV and just change the back-end ?

regards,
Patrick.



More information about the linux-dvb mailing list