Re: [uCsimm] I2C

From: Andrew Kohlsmith (akohlsmith@benshaw.com)
Date: Wed Oct 25 2000 - 12:44:30 EDT


> Does anyone know if ucsimm SPI port is compatible with
> I2C bus ?

I2C and SPI are competing standards. No they're not compatible. However it
is pretty easy to bit-bang I2C; just use open-collector outputs (or drive
the SDA and SCL lines with NPN transistors -- float the collectors to +V and
connect the emitters to ground; the output will be taken from the junction
of the collector and the resistor and the output will be the opposite of
what you spit out to the port.

Regards,
Andrew
This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:38 EST