I need to use 2 i2c memories on the same bus line and i referenced i2c codes in 24c128.c I can totally use one i2c mem but two i2c mem; i have no idea how to use it.One friend said that i need to configure i2c via sending addresses before R/W.I use functions in 24cxxx.c that :
write_ext_eeprom and read_ext_eeprom.Should i rewrite them all? If so,
how? How to configure 2 or more memories to R/W?
Thanks.
Analyzer
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
In your test code, you referenced 24c128.c?? Are you using a 24c128 or a 24lc256? Your orginal post said 24LC256. It makes a difference. The 2 devices are not addressed the same.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum