How can I copy a 93C86 eeprom to another 93C86 eeprom

Hello!

I am trying to use an arduino I got from SparkFun to copy a 93C86 eeprom to another 93C86 eeprom. There is a tutorial on SparkFun's website (here) for reading and writing eeproms but it is for a 24LC256 that, from what I understand, uses a 2 wire I2C serial interface. If I'm understanding correctly the 93C86 uses a three wire serial interface. In addition the sketch code would be different due to memory addressing, clock speed, and and size of the eeprom.

I have experience with computers and programming but I'm fairly new to arduinos so I really don't know how to change the wiring setup for the 93C86 or what the addressing and stuff would be for the sketch code. I believe I have all of the necessary parts I just am having a hard time figuring out how to set them up.

I have attached what I think is the datasheet for the 93C86.

Any help would be appreciated.

21132F.pdf (203 KB)

It looks like an SPI interface except CS is reversed from the usual usage with most other SPI devices. I think a few tries with the different SPI modes will find one that works.

Hardware SPI cannot be used for the microwire protocol due to clockings in other than 8 bit increments. Here is a library that implements the needed clocking via bit banging:

With it, you should be able to cobble together a read device 1, write device 2 duplicator.