[linux-dvb] [PATCH] make the registers of the stv0297 visible for other applications (e.g. i2cdump)

Oliver Endriss o.endriss at gmx.de
Wed Jun 6 23:17:50 CEST 2007


Trent Piepho wrote:
> I'm still unclear on exactly what the stv0297 requires.  The datasheet says
> one can't use a repeated start, but must have a stop between a read and a
> write.  That's simple enough, but has anyone actually verified that the
> datasheet is really correct?  I know many datasheets provide some
> _examples_ of i2c transactions, but it's by no means an exahstive list.
> Just because something isn't listed doesn't mean it won't work too.

Ack.

> Does the stv0297 require that no other i2c traffic, to a different device,
> appear between the write and the read?  Something like:
> 
> S stv_addr_W A reg_addr A P
> S tuner_addr_W A tuner_data1 A tuner_data2 A P
> S stv_addr_R A reg_data NA P
> 
> Will the i2c message to the tuner between the two parts of the stv register
> reading sequence be a problem?

AFAICS no I2C device may assume that two consecutive I2C accesses go to
its own device address, or the device is totally broken.

CU
Oliver

-- 
----------------------------------------------------------------
VDR Remote Plugin 0.3.9: http://www.escape-edv.de/endriss/vdr/
----------------------------------------------------------------




More information about the linux-dvb mailing list