SPI is simply enough that you can just 'bit-bang' on a couple of pins. Bob Ammerman RAm Systems ----- Original Message ----- From: "Ted Larson" To: Sent: Thursday, April 15, 2004 11:09 AM Subject: [PIC:] I2C & SPI on the same PIC... > All this talk about SPI devices, has me thinking about an interesting > problem I have, that perhaps someone can suggest an easy solution for. > > I am not too familiar with SPI, I am just learning about it, however, I am > pretty familiar with I2C at this point. I have a circuit that has a > PIC18F252 as an I2C master, and it talks to several I2C slave devices. I > have recently been presented with an SPI device that I need to interface to > the same I2C master PIC. The SSP hardware on the PIC is pretty much I2C or > SPI, and not both. Short of switching everything to SPI, what are my > options? Is there some kind of I2C to SPI converter out there? I have > poked around, and there doesn't appear to be a PIC with more than one SSP on > it...perhaps there is one I am missing? > > Thanks, > > - Ted > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu