On Wed, 11 Mar 2009 14:27:33 +0800, 伊泽 wrote:
> > As you said,i2c address 0x00 is not allowed for common i2c slave device,it
> > is reserved as broadcast address.Unfortunately,our project has a sensor
> > cy8c201a0 on i2c-bus,it use 0x00 address.
Not true. You need to provide a firmware for that device and this
firmware selects the I2C slave address. Read the datasheet again.
(page 5):
"The I2C address is programmable during configuration. It can be locked
to prevent accidental change by setting a flag in a config-uration
register."
> > We met much phone hang problem with i2c,errors such as "waiting for bus
> > free" or "exhausted retries" are all with this sensor.
Same reason. Without a firmware, the chips does not have its I2C core
set up and hence it's blocking SDA and/or SCL.
Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html