I think i2c software slave might be possible at 100kHz, using interrupt-on-change featured pins and running on 20 MHz. Polling could be achievable, but only with a very carefull designed program. So this way, you won't have an universal library. And as for 1k flash. That's not much and even if you can squeeze the code in there, there will be hardly any room left for application code.
You can of course slow down the i2c bus speed or use an other protocol. Joep 2009/11/13 funlw65 <[email protected]> > > it have only 1kb flash, how much processing space will remain?... but > I am interested :) > > Vasi > On Nov 13, 10:31 am, mattschinkel <[email protected]> wrote: > > Hey guys, I was wondering if anyone plans to create a I2C software > > slave, I see you have a hardware slave version. > > > > I would like to make a I2C software to serial software program for a > > little 8 pin 12f675 PIC (which costs only $1). This way I can free up > > 2 pins on my larger PIC by putting multiple devices on the I2C bus. > > > > This pic has an internal OSC so the schematic only requires GND and > > VCC. Then of course 2 I2C pins, and 2 serial pins > > > > For now, I'll just use a larger pic with hardware I2C > > > > Thanks, > > Matt. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
