David P Harris wrote: > Paul van der Linden wrote: > >> Hi, >> I'm trying to design a board while waiting for the ethernet chip to >> become available. >> The problem is the device are using SPI and I2C, how to connect this >> to a single PIC, and which PIC do you recommend (18F with enhance >> flash is preferable)? >> The problem is, I can only solder normal PDIP packages, no SMD parts. >> >> The following things must be connected to the PIC: >> - 1-8 x memory: 24FC512 (through I2C) >> - 1 x digital potentiometer: MCP42010 (through SPI) >> - 1 x ethernet: ENC28J60 (through SPI) >> - and there must still be enough I/O lines to connected a LCD display >> (datasheet: http://www.lcdchina.com/PDF/GDM1602A-5.pdf) >> >> Paul >> > You will probably have to use bit-bashing for teh SPI, but it is > pretty easy. > David > > I just found this: http://www.i2cchip.com/mix_spi_i2c.html all about mixing SPI and I2C on the same pins! David -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist