> -----Original Message----- > From: Olin Lathrop [SMTP:olin_piclist@EMBEDINC.COM] > Sent: Thursday, May 17, 2001 5:21 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: I2C slave software for the PC to talk to a PIC > > > The I2C resources on the piclist.com site and in the archives and on > google > > don't seem to include PC I2C slave software... > > > > ...which would seem to be very useful for testing PIC I2C masters... > > > > ...am I just missing it? > > What hardware would you have the PC use for IIC? "Standard" PCs don't > come > with IIC ports. IIC requires two open collector drivers. I vaguely > remember that some of the parallel port control lines are open collector, > but am not sure. Even if so, you would need to write a custom kernel mode > device driver to mess with the parallel port in a non-standard way. It > would be easier to hook a PIC to a serial port or parallel port and have > it > do IIC for the PC. > > Besides, IIC is not well suited for distance like RS-232 is. I think of > IIC > as being an "on board" bus. > I2C master out of the parallel port is very simple, even through VB and on NT based OS with freely available port drivers. There is a linux I2C driver available. The "slave " part of the topic is the tricky bit... Mike -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics