Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

I2C / TWI slave device addressing

Status
Not open for further replies.

krunal_299

Member level 4
Joined
Jan 24, 2008
Messages
68
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Activity points
1,800
Hi to every being!!!
I am confused with I2C interface use with multi-slave mode.

How to determine the address of individual slave device....is it predefined by manufacturer of the slave devices or arbitrarily determine by the user?
Pls clearify this issue if possible with an example....

I want to interface 5 temperature sensor equipped with I2C feature.

Regards...
 

P

pauloynski

Guest
If you intend to use a temperature sensor like the LM75, part of the address is constant (1001) plus 3 aditional bits that can be connected to either ground or Vcc (pins A0,A1 and A2) to form up to 8 different combinations.
Therefore, the complete slave address is: 1 0 0 1 A2 A1 A0
If you intend to use another type of sensor please let us know.
 

GetDeviceInfo

Advanced Member level 4
Joined
Mar 30, 2009
Messages
109
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,298
Activity points
1,904
I2C does use an address assignment based on the Philips protocol. Similar devices typically have low bits available for sequential addressing within the group. TWI as a protocol does not specify addressing.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top