······ hey, does anyone know if you can connect more than one I2C device (say the 16K EEPROM part number·<!--StartFragment --> 602-00013 ) to the same two I/O pins?
Mutiple I2C chips·require different addresses. Unlike SPI [noparse][[/noparse]which has·single 'chip select' wire to each device], it is·sometimes called up in software [noparse][[/noparse]NOTE -- I may be confusing One-wire and I2C.· True I2C appears to only have 3 address pins and not a software address function.]
Some devices, like EEPROM·would get bogged down a bit by the need to call its address in software to get its attention and to exclude other devices.·
You will note that the EEPROM has three 'Address Pins' and these allow it to share with up to 8 similar devices.· There is no internal 'software address'.
If you have few devices, you can just pull the unused pins appropriately high or low.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
Comments
http://www.parallax.com/dl/docs/prod/oem/24LC128-v2.0.pdf
Parallax has it all.....
Chet
Some devices, like EEPROM·would get bogged down a bit by the need to call its address in software to get its attention and to exclude other devices.·
You will note that the EEPROM has three 'Address Pins' and these allow it to share with up to 8 similar devices.· There is no internal 'software address'.
If you have few devices, you can just pull the unused pins appropriately high or low.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
Post Edited (Kramer) : 1/6/2006 8:55:57 AM GMT