Re: Need help on selecting one (and only one) i2c bus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux