Rather than answer if it's possible or not... you have me curious.
You are wanting to make an I2C Slave with a Stamp? Making an I2C slave is a lot more complicated than talking to an I2C device as master. What would tha Stamp be doing as a slave that is not already done by existing I2C devices.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There's nothing like a new idea and a warm soldering iron.
I am planning to let the stamp and the PIC16F877A to talk to each other through I2C protocol. I think its possible but just wanted to get an idea from experienced people.
I assume you're using the PIC as as intermediary to the Stamp in order to provide it with I2C slave capabilities — such capabilities being impossible with the Stamp alone. Since the '877 mediates I2C bus transfers in software, there's no technical reason you couldn't assign it any address you want.
-Phil
Update: Oh, 'looks like our posts crossed in the tubes. The Stamp, as master, can talk to an '877 operating as an I2C slave, but not the other way around.
Post Edited (Phil Pilgrim (PhiPi)) : 8/31/2007 6:43:25 PM GMT
Most people use a single pin (or two pins, one each way) (plus a common ground) to talk using "SERIN"/"SEROUT" between such devices. That's usually a much more robust protocol, easier to implement, and doesn't have the "Oh, you can't be 'slave'?" limitations of I2C.
Comments
You are wanting to make an I2C Slave with a Stamp? Making an I2C slave is a lot more complicated than talking to an I2C device as master. What would tha Stamp be doing as a slave that is not already done by existing I2C devices.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There's nothing like a new idea and a warm soldering iron.
-Phil
Update: Oh, 'looks like our posts crossed in the tubes. The Stamp, as master, can talk to an '877 operating as an I2C slave, but not the other way around.
Post Edited (Phil Pilgrim (PhiPi)) : 8/31/2007 6:43:25 PM GMT
See Nuts & Volts article #28 for examples.
http://www.parallax.com/dl/docs/cols/nv/vol1/col/nv28.pdf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There's nothing like a new idea and a warm soldering iron.