cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Communication with M24C128

anil23
Associate II
Posted on July 07, 2006 at 09:16

I2C Communication with M24C128

3 REPLIES 3
anil23
Associate II
Posted on March 28, 2006 at 13:38

Hi:

The AN1782 talks about the I2C Communication with the M24CXX. I'm trying to make the communication between the I2C bus with a M24C128 EEPROM to work. Do we have any limitations on the size of the EEPROM part that can be connected on the I2C bus? The E0, E1, E2 pins are held high. So, the slave address followed after start condition is 0xAE. This following condition is never met in the EEPROM_send()�

while (I2C_FlagStatus (I2C0, DIRECT, I2C_ENDAD)==RESET);

Any pointers for I2C communication with M24C128 part. If available, please forward me an example.

Regards,

[ This message was edited by: iamanil on 28-03-2006 23:43 ]

fbordeleau
Associate II
Posted on June 27, 2006 at 11:55

Hi,

I have the same question as the guy before.

I am working with a STR710.

The I2C addressing seems to be limited to 10 bits which correspond to 1024 addresses. Am I wrong?

So the maximum EEPROM memory that could be connected would be a 1024 x 8 bit memory or 1K x 8 (Assuming that only one memory is connected)?

Thanks

Frank

ahmad
Associate II
Posted on July 07, 2006 at 07:03

hi,

looking at RISC code, i'm confused with I2C_ByteSend. Does it send the address or does it send a data byte to write or both? if so how to differentiate the function.

thanks