I2C address?

Discussion in 'General Electronics Chat' started by sportsfan27, Nov 4, 2009.

  1. sportsfan27

    Thread Starter Active Member

    Jan 29, 2009
    43
    0
    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
     
  2. Nanophotonics

    Active Member

    Apr 2, 2009
    365
    3
  3. sportsfan27

    Thread Starter Active Member

    Jan 29, 2009
    43
    0
    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?
     
  4. Papabravo

    Expert

    Feb 24, 2006
    10,137
    1,786
    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?
     
Loading...