Help using I2C protocol
Hi ,
Ive read the documentation about I2c protocl in Gunther's Book "Programming the SX microcontroller" , but i could not understand technically how to assign an address for each device connected to the bus.
suppose for example i have DS-1302 and DS-1620 connected to the I2c bus .
How to assign addresses to these chips and communicate with them.
note : Iam using Assembly for coding.
Regards.
·
Ive read the documentation about I2c protocl in Gunther's Book "Programming the SX microcontroller" , but i could not understand technically how to assign an address for each device connected to the bus.
suppose for example i have DS-1302 and DS-1620 connected to the I2c bus .
How to assign addresses to these chips and communicate with them.
note : Iam using Assembly for coding.
Regards.
·
Comments
Iam not that expert in reading data sheets , i just started recently programming SX m.c .
could you please guide me where to look exactly.
i attached a data sheet file for the DS1302.
Regards.
I think now the situation is clearer to me.