At 09:49 20.01.1998 +0100, you wrote: Hi, >Then there is one thing I do not understand. If you take a look in the >datasheets for the 16C62A it says that the SSP can be configured as I2C >firmware controlled Master mode (SSPCON Register). Does firmware mean that >you have to implement it in software?? Do anybody have the code or some unfortunately yes. >documentation for a I2C Master?? There is no documentation for the code at >Microchip's webpage, so it's not easy to figure out the way they do it!! Look for AN554 "Softwareimplementation of I2C Bus Master". I've got it from the "Embedded Control Handbook" but I it's available in WWW also. Have a look at: http://www.microchip.com/10/Appnote/PIC16CXX.htm. There is a pdf 00554c.pdf and the sources in 00554.zip. Regards Thomas =8-) ********************************************************** * Thomas Magin FON: ++49-761-4543-489 * * marquette-Hellige GmbH FAX: -507 * * Emergency Systems email: magin@hellige.de * * Munzinger Str. 3 * * D-79111 Freiburg / Germany * **********************************************************