cancel
Showing results for 
Search instead for 
Did you mean: 

i2c communication

mailtoarup
Associate II
Posted on January 05, 2006 at 02:40

i2c communication

1 REPLY 1
mailtoarup
Associate II
Posted on January 05, 2006 at 02:40

dear sir,

I am communicating ST7(master) with 24c08 serial eeprom thru' i2c communication.

a) in random access read mode 24c08 supports following sequence:

START + Device Addr + W bit + ACK + Adrress of the device location + ACK + START + Device Addr + R bit + ACK + DAta Byte1 + ACK + .... +Data Byte N + NoACK + STOP.

b) In read mode ST7 will be used as a 7 bit MASTER RECEIVER and it's sequence as per attached document of the datasheet .:

S + EV5 + Address + A + EV6 + Data1 + A+ EV7 +......+Data N + NA+ EV7 + P

My question is if it follows exactly same sequence then

1)How it will know the address location from where it should read.

2)It's only sending one address .is it meant to device select address or address of the device location.

3)This sequence is not following exact read sequence for the slave as mentioned above(point a.).

I havn't written the code.Pls clarify me why difference between these two sequence.and pls tell me what exact sequence to follow for READ operation thro I2C bus of ST7.

Thanks,

Arup

null

________________

Attachments :

I2C_SEQUENCE.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0C0&d=%2Fa%2F0X0000000bVs%2FaHNLPANQlKu0YiImrxdN0Dyc0KQNcUBTIYLwBCkA5uA&asPdf=false