CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

cascading eeprom!!!

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
guest
Guest







cascading eeprom!!!
PostPosted: Tue Jan 31, 2006 4:08 am     Reply with quote

Hi everyone,

I am using the 24lc256's driver file (24256.c) as a driver to my Atmel's 24cxx eeprom(32kbytes). I was wondering if there is any way to cascade two or more such eeproms to get larger capacity (of 64kbytes or more ).
If there is a way to cascade then what hardware connections are needed and how each cascaded memory is to be addressed in the code.
I have a compiler version ver 3.203.

Regards
ft
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Tue Jan 31, 2006 8:31 am     Reply with quote

It is very straightforward to connect multiple devices. Except if you are using the MOSP
package, up to 8 devices can be connected sharing the same I2C bus + 3 address lines
(A0, A1, A2)
to select them. The datasheet get you this info.

Humberto
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Tue Jan 31, 2006 9:23 am     Reply with quote

And I wrote a driver for the RAMTRON FRAM FM24C256
http://www.ccsinfo.com/forum/viewtopic.php?t=24099
That shows the memory as a flat address space.

note that FM24C256 and your chip are not the same...
Fram is much faster.

But this will give you ideas on how to handle a multi-write that spans
2 chips.

ie you have to do a stop at last address. Then a start, addr of next chip
...
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group