I2C address?

Thread Starter

sportsfan27

Joined Jan 29, 2009
43
Hi,
I'm confused about I2C addresses. I understand somewhat how I2C works, but I don't understand how to determine the address of a particular slave device on the bus. Thanks for any help
 

Thread Starter

sportsfan27

Joined Jan 29, 2009
43
I understand that part; what I don't get is how to set the addresses. Does anyone know anything specific about how to do that?
 

Papabravo

Joined Feb 24, 2006
21,227
The addresses of most I2C devices are fixed and documented in the respective datasheet. Some I2C devices allow a few bits out of the 7 or 10 address bits to be configured by hardware values on pins labeled A0, A1, and A2 for example. So the address in the I2C command word would have to match the fixed bits defined in the datasheet AND the variable bits specified by the hardware jumpers.

From your reading of the datasheets what did you imagine was going on?
 
Top