On Mon, Feb 03, 2003 at 11:57:24AM -0500, Jai Dhar wrote: > Those two manuals were my first references to turn to , and the reason why I > went software is because in the Mid-range ref manual, page 248 (design tips): > "Question 2: Using I2C mode, I do not seem able to make the master mode work. > Answer: The SSP module does not have the master mode fully automated in > hardware. If you require a fully automated hardware implementation of I2C > MasteR Mode, please refer to the ...." > > This seems to indicate that it is not capable - but reading other paragraphs > in the reference indicates that I2C Master Mode can be implemented. I guess I > got confused and decided to write my own routines - doing so unsuccessfully > thusfar. Either way, I cannot find examples of I2C Master Mode > initialization/implementation in either manual. You got bit by the same issue I did my friend: the 16F877 doesn't have SSP which is chapter 15 of the midrange manual. It has MSSP which is covered in a quite long chapter 17. It's way to easy to overlook. I would suggest that you take some time to go over the chapter and examine the code. BTW the end of the chapter points to several application notes on the subject. BAJ -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.