Thanks guys. I have a print out of the spi section of the midrange manual. I have written the routines but not tested yet. I'm a little unclear about the sck/rc3 operation. Does it output 8 pulses after loading sspbuf and then stop or does it keep going. I was wondering if the eeprom is going to get clocked while my routines are doing other things. ANd I wasn't planning to use interrupts but rather check the interupt bit to see if the W/R operation was complete. Thanks Jim Is it just me or is Microchip vague on some details?. -----Original Message----- From: Jim To: PICLIST@MITVMA.MIT.EDU Date: Friday, May 31, 2002 9:58 PM Subject: [PIC]: pic 2 spi eeprom I would like to read/write to an spi eeprom with a pic 16f874 does anyone know where I could find an assembly programming example of the routines?. Thanks Jim -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads