It is currently Sun May 19, 2013 3:41 pm

All times are UTC + 10 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Microchip Serial Eeprom Cross Reference Guide
PostPosted: Mon Oct 22, 2012 10:09 am 
Offline
I practically live here!
I practically live here!

Joined: Sun Mar 28, 2010 1:36 pm
Posts: 683
Microchip Serial Eeprom Cross Reference Guide

http://ww1.microchip.com/downloads/en/D ... 21621d.pdf


Top
 Profile  
 
 Post subject: Re: Microchip Serial Eeprom Cross Reference Guide
PostPosted: Tue Oct 23, 2012 9:46 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:30 pm
Posts: 1860
Very handy reference, thanks Chuck!


Top
 Profile  
 
 Post subject: Re: Microchip Serial Eeprom Cross Reference Guide
PostPosted: Fri Jan 18, 2013 12:44 pm 
Offline
decided to stick around...
decided to stick around...

Joined: Wed Jan 16, 2013 1:17 pm
Posts: 32
So far I²C ones top out at 128KB. I would welcome much denser ones because they are easier to use than the SPI ones (I'm using a tiny 4Mx8 SPI one right now in SO-8); but because of I²C's relative slowness, we probably can't expect the industry to ever make them in greater density. Large files (like for pictures) would simply take too long to load or store. One nice thing about I²C is that all the I²C parts I've seen work at 5V.

I have a sample circuit for bit-banging I²C with a 6522 VIA at http://wilsonminesco.com/6502primer/pot ... ITBANG_I2C, with links to accompanying working code.

For I²C though, you can make tiny modules with a minimum of only four pins: power, ground, clock, and data. On the forum, we defined a 6-pin standard connector called I2C-6 for I²C modules, adding the IRQ (interrupt request) line which will be needed for I²C devices like a keyboad scanner IC which could interrupt when a key is pressed, or a real-time clock IC that would interrupt when an alarm comes due. The last pin is cut off and the socket's hole is plugged for keying, so you can't plug it in upside-down. I have some serial EEPROM modules that are half the size of a postage stamp. One is pictured here:
Image
That's a 4-pin socket on the right end, to fit onto a 2x2 header of .025" square posts. (Again, I would encourage use of the 6-pin I2C-6 standard for new ones, which Daryl adhered to in the EEPROM modules he sells at http://sbc.rictor.org/sale.html.) The shorting bar on the left is on a 1x2 pin header for write-protect. The LED tells when it's powered down so you can unplug it from the computer board, although this is just the first of many I made and after this first one I put LEDs on the computer to show the status of the I²C power and clock lines.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources


Top
 Profile E-mail  
 
 Post subject: Re: Microchip Serial Eeprom Cross Reference Guide
PostPosted: Sat Jan 19, 2013 7:58 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:30 pm
Posts: 1860
Thanks Garth. I am working with SPI at the moment, but haven't actually used I²C before. I did hear it was slower, but easier to use.


Top
 Profile  
 
 Post subject: Re: Microchip Serial Eeprom Cross Reference Guide
PostPosted: Sat Jan 19, 2013 8:32 am 
Offline
decided to stick around...
decided to stick around...

Joined: Wed Jan 16, 2013 1:17 pm
Posts: 32
I²C is slower because of the passive pull-ups (just resistors) on the clock and data lines, and the resistors have to charge the bus capacitance. In many cases you can have the clock line fed with a totem-pole output from the master, but that definitely wouldn't work with the data line.

Then there's Dallas Semiconductor's 1-Wire which takes this to a more-ridiculous extreme to get the clock, and the data, and sometimes even the power, all on a single wire! And yes, it is super slow. It's usually used for things like digital thermometers though where the reading is not going to be changing quickly at all.

SPI is fast enough for your digital camera to record video in realtime, sometimes up to 100 megabits per second.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources


Top
 Profile E-mail  
 
 Post subject: Re: Microchip Serial Eeprom Cross Reference Guide
PostPosted: Sat Jan 19, 2013 8:57 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:30 pm
Posts: 1860
Getting everything on one wire sounds like Apple trying to get everything into one button!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme made by Keenen Wheeler