electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

I2C / TWI slave device addressing


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> I2C / TWI slave device addressing
Author Message
krunal_299



Joined: 24 Jan 2008
Posts: 58


Post03 Nov 2009 11:44   

I2C / TWI slave device addressing


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...
Back to top
pauloynski



Joined: 06 Oct 2004
Posts: 277
Helped: 34
Location: Brazil


Post03 Nov 2009 16:55   

Re: I2C / TWI slave device addressing


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.
Back to top
Google
AdSense
Google Adsense




Post03 Nov 2009 16:55   

Ads




Back to top
GetDeviceInfo



Joined: 30 Mar 2009
Posts: 103


Post04 Nov 2009 15:44   

Re: I2C / TWI slave device addressing


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.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> I2C / TWI slave device addressing
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
I2C device addressing - why 4 MSB are fixed? (1)
I2C and TWI (2)
help:books addressing device physics on EDA (3)
Regarding I2c slave (5)
Regarding I2c slave (2)
I2C slave clock (2)
slave i2c and picbasicpro ? (1)
I2C slave code needed (8)
sti5518 i2c master slave problem (1)
I2C slave code for Hitech (5)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS