Apr 16, 2008 #1 kit_714 Member level 4 Joined Jul 5, 2006 Messages 70 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 2,011 ds1307 with twi 8051 Hi all, i would like to 2 i2c devices (slaves), ds1307 real time clock and eeprom 24c256 with 8051 (master). can both slaves share the same SCL and SDA pin, which means that using only 2 pins to interface two slaves rather than separately (4 pins)?? Thanks in advanced. Andy
ds1307 with twi 8051 Hi all, i would like to 2 i2c devices (slaves), ds1307 real time clock and eeprom 24c256 with 8051 (master). can both slaves share the same SCL and SDA pin, which means that using only 2 pins to interface two slaves rather than separately (4 pins)?? Thanks in advanced. Andy
Apr 16, 2008 #2 S sjerr4u Junior Member level 1 Joined Jun 15, 2007 Messages 15 Helped 2 Reputation 4 Reaction score 1 Trophy points 1,283 Activity points 1,370 24c256 8051 both devices will share sda and scl pin but you will have to provide two different port pins for address line of each i2c device.
24c256 8051 both devices will share sda and scl pin but you will have to provide two different port pins for address line of each i2c device.
Apr 16, 2008 #3 L laktronics Banned Joined Jan 6, 2007 Messages 942 Helped 176 Reputation 352 Reaction score 18 Trophy points 1,298 Activity points 0 24c256 and 8051 Hi, Both can share the same I2C bus, address is embedded in the communication frame, so no need for separate port pins. Please also refer for a similar project. Regards, Laktronics
24c256 and 8051 Hi, Both can share the same I2C bus, address is embedded in the communication frame, so no need for separate port pins. Please also refer for a similar project. Regards, Laktronics
Apr 16, 2008 #4 S sjerr4u Junior Member level 1 Joined Jun 15, 2007 Messages 15 Helped 2 Reputation 4 Reaction score 1 Trophy points 1,283 Activity points 1,370 24c256 c51 sorry and thanks for clarification...
Apr 17, 2008 #5 H H_D_R Full Member level 6 Joined Jan 31, 2008 Messages 329 Helped 26 Reputation 52 Reaction score 9 Trophy points 18 Location India Activity points 0 ds1307 two devices kit_714 said: Hi all, i would like to 2 i2c devices (slaves), ds1307 real time clock and eeprom 24c256 with 8051 (master). can both slaves share the same SCL and SDA pin, which means that using only 2 pins to interface two slaves rather than separately (4 pins)?? Thanks in advanced. Andy Click to expand... please check these threads of the forum.. may be it can give answers to your questions.. -->> https://en.wikipedia.org/wiki/I²C -->> -->> -->> -->> Click to expand...
ds1307 two devices kit_714 said: Hi all, i would like to 2 i2c devices (slaves), ds1307 real time clock and eeprom 24c256 with 8051 (master). can both slaves share the same SCL and SDA pin, which means that using only 2 pins to interface two slaves rather than separately (4 pins)?? Thanks in advanced. Andy Click to expand... please check these threads of the forum.. may be it can give answers to your questions.. -->> https://en.wikipedia.org/wiki/I²C -->> -->> -->> -->> Click to expand...