2023-09-25 05:57 AM - last edited on 2024-01-08 04:55 AM by Peter BENSCH
Hi,
We are currently working on retimer board for internal purpose, we are using M24M02-DRCS6TP/K EEPROM IC in our design. Actually we are facing difficulties in choosing device slave address.
In below attached image, how to choose the MSB address bits for b2(A17) and b1(A16) for accessing the memory array. Kindly help us in setting the I2C slave address for this device.
Kindly resolve this issue as soon as possible.
2023-09-25 06:09 AM - edited 2023-09-25 06:32 AM
Those are the upper 2 bits of the address. You choose them based on what memory address you're writing to or reading from.
If you're writing to byte 0-0xFFFF, they are both 0
If you're writing to byte 0x10000-0x1FFFF, they are 0 and 1.
If you're writing to byte 0x20000-0x2FFFF, they are 1 and 0.
If you're writing to byte 0x30000-0x3FFFF, they are both 1.