internet ic protocol i2c
hi
1->
if u take serial eeproms for example ,atmel24c series,the device address field consiste of 7 bits,+ 1 bit for read/ write signal
higher nibble is fixed i.e (1010) a in hexa decimal
where as rest of 4 bits have two purpose, bit0 is used for signaling write /read
u will use bit0 as 0 if ur writing slave device , or 1 when ur reading slave device
where as bit1 bit2 and bit3 are used to address the device as u have wired it for example 24c01 uses all 3 of bit1,bit2,bit3 u will have to hardwire the a0,a1,a2 pins of ic ,and give that particular combination to address ic, i.e if u have wired a0,a1,a2 as ground in hardware,u will use bit1,bit2,bit3 as 0,0,0 respectively.
confiquratoin of bit1,bit2,bit3 are different for 24C04 and others
PLZ check out DATASHEET.
Shakeel
2->repeated start condition may be even sent in conditions where u get not acknowlge from slave, for example u send the device address for writing and u get not ack from device u can send repeated start condition and send address again
3->there are so many example on net for soft I2c implementation