>I too, am having some problem with SPI. > >I'm using a PIC16C63 and trying to talk to a Xicor X25128 SPI EEPROM. I >think I'm able to write to it okay but I not so sure about reading using >SPI. I write "ABCDEFGHI" but I only read "ACEG" I believe this might be caused by the write delay all EEPROMs have, it take s a few milliseconds to write to EEPROM, and if you try to write another byte wh ile the unit is still actually storing the previous byte it will not get written . Why I say this is because you say you write ABCDEFG and only get back ACEG, w ell it seems that while you told it to write the B, D, and F it was still writin g the previous byte, A, C, E respectivly. Hope this helps. TTYL -----== Sent via Deja News, The Discussion Network ==----- http://www.dejanews.com/ Easy access to 50,000+ discussion forums