SparkFun Forums 

Where electronics enthusiasts find answers.

General project discussion / help
Did you make a robotic coffee pot which implements HTCPCP and decafs unauthorized users? Show it off here!
User avatar
By free-bee
#184069
The XLS93LC46P (<- link to datasheet) is a 1024-bit serial EEPROM. I tried to use the datasheet before in an attempt to interface with it, but I was really confused at the time. I just re-read it and I think I finally figured it out. I just need verification.

The datasheet says that the chip is controlled by 7 (different) 9-bit commands, given in the table at the bottom of page 2-77 (page 2).

For example, if I wanted to write 231 to address 10, I would send "0b1/01/001010/0000000011100111" (slashes to separate parts of the data) yes? And then would I send all this in a single operation? And after I do send it, I should read DO to read when the write operation is complete. And if I did this on arduino, could I use:
Code: Select all
shiftOut(data,clock,0x01);
shiftOut(data,clock,0x4A);
shiftOut(data,clock,0X00);
shiftOut(data,clock,0xE7);
Or might I have to bit-bang it?