I have implemented a subset up I2C to provide an interface to the 24LC64 Serial EEProm. Mail me if you would like the code for the 16F84. (Ian@Allanon.Demon.co.uk) The high level interface is provided via four Macros Firstly to move four bytes of data MOV4FE <8 bit FileRegeister Address>,<16 bit EEProm Address> MOV4EF <16 bit EEProm Address>,<8 bit FileRegeister Address> and secondly to move 8 bytes of data MOV8FE <8 bit FileRegeister Address>,<16 bit EEProm Address> MOV8EF <16 bit EEProm Address>,<8 bit FileRegeister Address> I think they are reasonably well optimised! ---------- From: James Cameron[SMTP:cameron@STL.DEC.COM] Reply To: pic microcontroller discussion list Sent: 12 October 1998 00:22 To: PICLIST@MITVMA.MIT.EDU Subject: Re: EEPROM To 16F84 birko@HOME.COM wrote: > Can somebody tell me what would be the EEPROM number to buy for first > time user of EEPROM chips? Also, if there is anything to make this job > easier would certainly like to hear it. What do you want the EEPROM to do? Hold data? Hold code? Be a part of a microcontroller itself or be spoken to by a 16F84? I'd suggest you browse the EEPROM parts that are available, mention a few here, and some of us could say "Yes, used that one," or "Not available here." Depends on whether this is a once-off or production run. -- James Cameron (cameron@stl.dec.com) Digital Equipment Corporation (Australia) Pty. Ltd. A.C.N. 000 446 800 ! Courtesy of Anarksoft Ltd. !