Microchip Serial Eeprom Cross Reference Guide

Post here to teach people how to do something.

Moderators: Chuckt, Garth, bitfogav

Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Chuckt
I practically live here!
I practically live here!
Posts: 1127
Joined: Sun Mar 28, 2010 1:36 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Microchip Serial Eeprom Cross Reference Guide

Post by Chuckt » Mon Oct 22, 2012 10:09 am

Microchip Serial Eeprom Cross Reference Guide

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

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Microchip Serial Eeprom Cross Reference Guide

Post by brad » Tue Oct 23, 2012 9:46 pm

Very handy reference, thanks Chuck!

Garth
I practically live here!
I practically live here!
Posts: 232
Joined: Wed Jan 16, 2013 1:17 pm
Contact:

Re: Microchip Serial Eeprom Cross Reference Guide

Post by Garth » Fri Jan 18, 2013 12:44 pm

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

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Microchip Serial Eeprom Cross Reference Guide

Post by brad » Sat Jan 19, 2013 7:58 am

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.

Garth
I practically live here!
I practically live here!
Posts: 232
Joined: Wed Jan 16, 2013 1:17 pm
Contact:

Re: Microchip Serial Eeprom Cross Reference Guide

Post by Garth » Sat Jan 19, 2013 8:32 am

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

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Microchip Serial Eeprom Cross Reference Guide

Post by brad » Sat Jan 19, 2013 8:57 pm

Getting everything on one wire sounds like Apple trying to get everything into one button!

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 3 guests