| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| guest Guest
 
 
 
 
 
 
 
			
			
			
			
			
			
			
			
			
 
 | 
			
				| cascading eeprom!!! |  
				|  Posted: Tue Jan 31, 2006 4:08 am |   |  
				| 
 |  
				| 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
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Tue Jan 31, 2006 8:31 am |   |  
				| 
 |  
				| 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
 
 
			      
 
 | 
			
				|  |  
				|  Posted: Tue Jan 31, 2006 9:23 am |   |  
				| 
 |  
				| 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
 ...
 |  | 
	
		|  | 
	
		|  |