Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to use 4 EEPROMs that have 1 address bit (I2C)

Status
Not open for further replies.

jeetz_mail

Newbie level 6
Joined
Jan 25, 2011
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,376
Hi

I am trying to connect multiple (4) EEPROMs (M24M02) on the I2C lines. The M24M02 has only one address bit. Is there any way or trick that I can use 4 of these as I2C slaves?

Thanks.
 

multiplexing ic
3230647685_76db1946b6.jpg
 

Having a quick look at the datasheet, scl and sda lines paralleled and use 4 io pins for E2.

I think there is no need for extra IC
 

Having a quick look at the datasheet, scl and sda lines paralleled and use 4 io pins for E2.

I think there is no need for extra IC

What do you mean by"scl and sda lines paralleled" and "use 4 io lines for e2"? Please elaborate.

- - - Updated - - -

multiplexing ic
3230647685_76db1946b6.jpg

This is a feasible idea. Thanks.
 

"Paralleled" means that the SCL and SDA lines go to all 4 chips. You do not need to multiplex them.

You would then have a separate I/O line that goes to the E2 pin of each memory chip. To talk to a single chip, you will hold the E2 line of that one chip at one logic level while holding the other 3 at the other logic level. Then, by setting bit 3 (the E2 Chip enable bit) of the device select code byte to the same logic level as the one chip you are communication with, that one will be active and the other 3 will ignore the command because the select code doesn't match.
 

"Paralleled" means that the SCL and SDA lines go to all 4 chips. You do not need to multiplex them.

You would then have a separate I/O line that goes to the E2 pin of each memory chip. To talk to a single chip, you will hold the E2 line of that one chip at one logic level while holding the other 3 at the other logic level. Then, by setting bit 3 (the E2 Chip enable bit) of the device select code byte to the same logic level as the one chip you are communication with, that one will be active and the other 3 will ignore the command because the select code doesn't match.

Thanks a bunch. Very nicely explained.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top