Robert, The /CS is require to invoke the writing sequence amongst other things, y= ou will need to control it rather than tie it high. Regards Gary "Robert E. Griffith" wrote: > Hello, > > I am interfacing a MicroChip 25LC640P serial EEProm (SPI interface) to = a > PIC16F877. > > It is the only SPI device and I don=92t care about the hardware write p= rotect > (it=92s not necessary is it?), so I would like to just tie off the CS\ = (Chip > Select), WP\ (write protect), and HOLD\ on the eeprom. > > However, the data sheet for the eeprom says that =93After power-up, a h= igh to > low transition on CS is required prior to any sequence being initiated.= =94 Is > there a simple way around connecting it to a PIC output just so that th= e PIC > can send it a pulse at start up? Is the 3-wire (SPI) interface really a > 4-wire interface? > > Also, is the HOLD line of the eeprom necessary to connect? I plan to u= se > the MSSP on the 16F877 for the SPI interface. Do you need to assert th= e > HOLD line during interrupts so that the eeprom waits until the interrup= t is > done? (assuming the MSSP is interrupted). > > And one more general question; If I tie HOLD\ and WP\ (and maybe CS\) h= igh, > should I connect them to Vcc directly, or through a resistor? > > Thanks, > > --BobG > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu -- Information in this communication and any attachments are confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. If you have received this communication in error, please notify the sender immediately and the= n destroy any copies of it. There is no intention to create any legally binding contract or other commitment through the use of this email. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu